joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ac10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x488d33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00479f1c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0047f692
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00480ce4
test eax, eax
je 0x44ad2c
mov ecx, dword [esp + 0x3c]
call fcn.0047f6bf
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44acf0
push edi
mov ecx, esi
call fcn.0047cc7a
mov ecx, esi
call fcn.0044ae90
cmp dword [esp + 0x38], 1
jne 0x44ad25
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047cde4
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44d760
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44d793
push esi
call fcn.00450850
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44d78c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44d819
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44d802
mov eax, dword [esi + 8]
test eax, eax
je 0x44d7b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44d7fe
cmp eax, 2
je 0x44d802
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44d7aa
cmp eax, 3
je 0x44d7dd
cmp eax, 1
jne 0x44d7aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44d7aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44d7aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044d840
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44d828
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044d840
add esp, 4
pop esi
ret

Function at 0x45a500
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x45a566
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x45a566
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x45a547
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x45a8f0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x45a928
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x45b5a0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x45b5e9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x45ba60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4894d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0045b610
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0045b690
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0045b690
lea ecx, [esi + 0xc]
call fcn.00478880
lea ecx, [esi + 0x10]
call fcn.00478880
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045cc20
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045cc20
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045cc20
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004788f5
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004788f5
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47ad12
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47ad4a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00478d9c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00478d74
jmp 0x47ad56
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47c400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47c442
call fcn.004824a7
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47c442
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47c439
xor eax, eax
jmp 0x47c44a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047c450
pop edi
pop esi
pop ebx
ret 4

Function at 0x4829d7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x482a05
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x482a23
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048293d
jmp 0x482a23
mov eax, dword [esi + 0x14]
test eax, eax
je 0x482a23
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048293d
test edi, edi
mov eax, edi
jne 0x482a0d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x549020
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9b000]
push edi
or ebp, 0xffffffff
jmp 0x549042
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x549049
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x549038
mov eax, 1
add ebx, ebx
jne 0x54905b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54906c
jne 0x54908b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54908b
dec eax
add ebx, ebx
jne 0x549078
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x549050
add ebx, ebx
jne 0x549087
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5490dd
xor ecx, ecx
sub eax, 3
jb 0x5490a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x549112
sar eax, 1
mov ebp, eax
jmp 0x5490ae
add ebx, ebx
jne 0x5490ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54907c
inc ecx
add ebx, ebx
jne 0x5490bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54907c
add ebx, ebx
jne 0x5490c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5490be
jne 0x5490da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5490be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5490fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5490ee
jmp 0x54903e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5490fc
add edi, ecx
jmp 0x54903e
pop esi
mov edi, esi
mov ecx, 0x31f1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54911a
cmp byte [edi], 0x1e
jne 0x54911a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x54911f
lea edi, [esi + 0x146000]
mov eax, dword [edi]
or eax, eax
je 0x549197
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14c128]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14c22c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54914c
mov ecx, edi
jns 0x54917b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14c230]
or eax, eax
je 0x549191
mov dword [ebx], eax
add ebx, 4
jmp 0x549169
call dword [esi + 0x14c240]
mov ebp, dword [esi + 0x14c234]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5491cb
sub esp, 0xffffff80
jmp 0x46a53d

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1002ba2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
lea eax, [ebp - 0xc]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1001464
push 0x80000002
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002cf6
push ebx
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push esi
mov ebx, 0x1001448
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 4], esi
mov esi, dword [entry0]
call esi
test eax, eax
jne 0x1002cec
cmp dword [ebp - 0x18], 7
jne 0x1002cec
mov eax, dword [ebp - 4]
push edi
push eax
mov dword [ebp - 8], eax
call fcn.01003c94
mov edi, eax
test edi, edi
pop ecx
mov dword [ebp - 0x10], edi
je 0x1002ceb
lea eax, [ebp - 4]
push eax
push edi
push 0
push 0
push ebx
push dword [ebp - 0xc]
call esi
test eax, eax
jne 0x1002ce4
mov eax, dword [ebp - 8]
cmp dword [ebp - 4], eax
jne 0x1002ce4
xor esi, esi
test eax, eax
jbe 0x1002ce4
lea ebx, [esi + edi]
push ebx
call fcn.01003750
lea esi, [esi + eax + 1]
cmp esi, dword [ebp - 8]
pop ecx
jae 0x1002ce4
add edi, esi
push edi
call fcn.01003750
push 4
push 0x1001440
push ebx
lea esi, [esi + eax + 1]
call fcn.01003f50
add esp, 0x10
test eax, eax
jne 0x1002c83
add ebx, 4
push 1
push 0x100143c
push edi
call fcn.01003f50
add esp, 0xc
test eax, eax
jne 0x1002c98
inc edi
push 4
push 0x1001440
push edi
call fcn.01003f50
add esp, 0xc
test eax, eax
jne 0x1002caf
add edi, 4
push dword [ebp + 8]
push edi
call fcn.01003e05
test eax, eax
pop ecx
pop ecx
jne 0x1002cd8
mov edi, dword [ebp + 0x10]
push edi
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x14], 1
call fcn.01002a87
and byte [ebx + edi - 1], 0
cmp esi, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
jb 0x1002c49
push edi
call fcn.01003c8f
pop ecx
pop edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, dword [ebp - 0x14]
pop esi
leave
ret 0xc

Function at 0x1002d77
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
xor esi, esi
push 0x44
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.010041e0
or dword [ebp - 0x2c], 1
push 0x10
lea eax, [ebp - 0x14]
push esi
push eax
mov dword [ebp - 0x58], 0x44
mov word [ebp - 0x28], si
call fcn.010041e0
add esp, 0x18
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1002de8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push 0x10014a8
push 0x1001498
call fcn.0100416d
add esp, 0xc
call esi
jmp 0x1002e18
cmp dword [ebp + 0xc], esi
je 0x1002e15
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
Function at 0x1002ebd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0
call edi
mov esi, eax
test esi, esi
je 0x1002f63
lea eax, [esi + 1]
push ebx
push eax
call fcn.01003c94
mov ebx, eax
test ebx, ebx
pop ecx
je 0x1002f62
push ebx
push esi
call edi
test eax, eax
je 0x1002f5b
push dword [ebp + 8]
call fcn.01003750
lea eax, [eax + esi + 1]
push eax
call fcn.01003c94
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x1002f5b
push ebx
push esi
call fcn.01003650
push dword [ebp + 8]
push esi
call fcn.01003660
push dword [ebp + 0xc]
push esi
call fcn.0100434a
add esp, 0x18
test eax, eax
mov dword [0x100cdec], eax
je 0x1002f54
push eax
push 0x10014bc
call fcn.0100427d
pop ecx
pop ecx
call fcn.01002e1d
push dword [0x100cdec]
push 0x10011c8
call fcn.0100427d
pop ecx
pop ecx
push esi
call fcn.01003c8f
pop ecx
push ebx
call fcn.01003c8f
pop ecx
pop ebx
pop edi
pop esi
pop ebp
ret 8

Function at 0x100311f
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x100c060]
xor eax, dword [ebp + 4]
push esi
mov dword [ebp - 4], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 8]
call fcn.01002a9f
test eax, eax
je 0x1003175
call fcn.01002fd9
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 8]
call fcn.01002a9f
jmp 0x10032ac
push ebx
push edi
push esi
xor edi, edi
push edi
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0xc]
call fcn.01002a9f
test eax, eax
je 0x10031a9
call fcn.01002fd9
push esi
push edi
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0xc]
call fcn.01002a9f
jmp 0x10032aa
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [edi + 0x100c040]
lea ecx, [ebp - 0x414]
push ecx
push eax
call fcn.01003e05
test eax, eax
pop ecx
pop ecx
jne 0x100329c
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0xc14]
push eax
call fcn.01003650
push dword [edi + 0x100c044]
lea eax, [ebp - 0xc14]
push eax
call fcn.01003660
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.01003650
push dword [edi + 0x100c044]
lea eax, [ebp - 0x814]
push eax
call fcn.01003660
add esp, 0x20
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xc14]
push eax
call fcn.01002ba2
test eax, eax
push 0
lea eax, [ebp - 0x814]
push eax
je 0x1003259
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
je 0x10032bc
push 0x1001354
call fcn.01002f69
lea eax, [ebp - 0x20c]
jmp 0x1003276
lea eax, [ebp - 0xc14]
push eax
call ebx
test eax, eax
je 0x10032bc
push 0x100136c
call fcn.01002f69
lea eax, [ebp - 0xc14]
push eax
call fcn.01002f69
push 0x1001348
call fcn.01002f69
lea eax, [ebp - 0x814]
push eax
call fcn.01002f69
push 0x10011c8
call fcn.01002f69
add edi, 8
cmp edi, 8
jb 0x10031af
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
call fcn.0100380c
leave
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10032aa
Function at 0x10032c4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
mov eax, dword [0x100c060]
xor eax, dword [ebp + 4]
push esi
push edi
mov dword [ebp - 4], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
xor edi, edi
call fcn.01002a9f
test eax, eax
je 0x100331d
call fcn.01002fd9
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
call fcn.01002a9f
jmp 0x10033af
mov eax, dword [0x100c040]
lea ecx, [ebp - 0x20c]
push ecx
push eax
call fcn.01003e05
test eax, eax
pop ecx
pop ecx
jne 0x10033ad
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x60c]
push eax
call fcn.01003650
push dword [0x100c044]
lea eax, [ebp - 0x60c]
push eax
call fcn.01003660
add esp, 0x10
lea eax, [ebp - 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10033ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10012e8
mov edi, eax
call fcn.01002f69
lea eax, [ebp - 0x60c]
push eax
call fcn.01002f69
mov esi, 0x10011c8
push esi
call fcn.01002f69
push 0x1001508
call fcn.01002f69
push edi
call fcn.01002f84
push esi
call fcn.01002f69
mov eax, edi
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
call fcn.0100380c
leave
ret 4

Function at 0x10044f9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 8
call fcn.01006468
xor esi, esi
inc esi
cmp dword [0x100ce40], esi
pop ecx
jne 0x1004521
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x100ce3c], esi
mov byte [0x100ce38], al
jne 0x1004587
mov ecx, dword [0x100e5e8]
test ecx, ecx
je 0x1004568
mov eax, dword [0x100e5e4]
sub eax, 4
cmp eax, ecx
jmp 0x1004561
mov eax, dword [eax]
test eax, eax
je 0x1004553
call eax
mov eax, dword [0x100e5e4]
sub eax, 4
cmp eax, dword [0x100e5e8]
mov dword [0x100e5e4], eax
jae 0x100454b
mov eax, 0x100c024
mov esi, 0x100c02c
cmp eax, esi
mov edi, eax
jae 0x1004587
mov eax, dword [edi]
test eax, eax
je 0x1004580
call eax
add edi, 4
cmp edi, esi
jb 0x1004578
mov eax, 0x100c030
mov esi, 0x100c038
cmp eax, esi
mov edi, eax
jae 0x10045a6
mov eax, dword [edi]
test eax, eax
je 0x100459f
call eax
add edi, 4
cmp edi, esi
jb 0x1004597
cmp dword [ebp + 0x10], 0
pop edi
pop esi
je 0x10045b7
push 8
call fcn.010063d4
jmp 0x10045c9
push dword [ebp + 8]
mov dword [0x100ce40], 1
call fcn.01004452
pop ecx
pop ebp
ret
Function at 0x100460c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x100c060]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x100c080]
je 0x1004639
inc eax
cmp eax, 0x12
jb 0x100462a
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x100c080]
jne 0x100476d
mov eax, dword [0x100cdf8]
cmp eax, 1
je 0x1004748
cmp eax, edx
jne 0x1004669
cmp dword [0x100c054], 1
je 0x1004748
cmp ecx, 0xfc
je 0x100476d
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10046a2
lea eax, [ebp - 0x10c]
push 0x10018e0
push eax
call fcn.01003650
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.01003750
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10046e4
lea eax, [ebp - 0x10c]
push eax
call fcn.01003750
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x10018dc
push edi
call fcn.01007050
add esp, 0x10
push edi
call fcn.01003750
push dword [esi + 0x100c084]
mov ebx, eax
call fcn.01003750
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.01004240
mov ebx, esp
push 0x10018c0
push ebx
call fcn.01003650
push edi
push ebx
call fcn.01003660
push 0x10014d4
push ebx
call fcn.01003660
push dword [esi + 0x100c084]
push ebx
call fcn.01003660
push 0x12010
push 0x1001898
push ebx
call fcn.01007fa6
add esp, 0x2c
jmp 0x100476d
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x100c084]
push dword [esi]
call fcn.01003750
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.0100380c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1007fa6
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x100d0c4], ebx
push esi
push edi
jne 0x1008026
push 0x1001cc0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1008061
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001cb4
push edi
call esi
test eax, eax
mov dword [0x100d0c4], eax
je 0x1008061
push 0x1001ca4
push edi
call esi
push 0x1001c90
push edi
mov dword [0x100d0c8], eax
call esi
cmp dword [0x100ce00], 2
mov dword [0x100d0cc], eax
jne 0x1008026
push 0x1001c74
push edi
call esi
test eax, eax
mov dword [0x100d0d4], eax
je 0x1008026
push 0x1001c5c
push edi
call esi
mov dword [0x100d0d0], eax
mov eax, dword [0x100d0d0]
test eax, eax
je 0x100806b
call eax
test eax, eax
je 0x1008052
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x100d0d4]
test eax, eax
je 0x1008052
test byte [ebp - 8], 1
jne 0x100806b
cmp dword [0x100ce0c], 4
jb 0x1008065
or byte [ebp + 0x12], 0x20
jmp 0x100808a
xor eax, eax
jmp 0x100809a
or byte [ebp + 0x12], 4
jmp 0x100808a
mov eax, dword [0x100d0c8]
test eax, eax
je 0x100808a
call eax
mov ebx, eax
test ebx, ebx
je 0x100808a
mov eax, dword [0x100d0cc]
test eax, eax
je 0x100808a
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x100d0c4]
pop edi
pop esi
pop ebx
leave
ret