joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411360
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4352fc
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x442c34]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], 0
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x1c], 1
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 8], eax
mov byte [esp + 0x20], 2
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [esp + 0x24], 3
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x28], 4
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x2c], 5
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x30], 6
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x34], 7
mov eax, dword [edi + 0x20]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x38], 8
mov eax, dword [edi + 0x24]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [esp + 0x3c], 9
mov eax, dword [edi + 0x28]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x40], 0xa
mov eax, dword [edi + 0x2c]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [esp + 0x44], 0xb
mov eax, dword [edi + 0x30]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [esp + 0x48], 0xc
mov edi, dword [edi + 0x34]
sub edi, 0x10
push edi
call fcn.00404fa0
add esp, 0x38
add eax, 0x10
mov dword [esi + 0x34], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4114e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x435246
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x442c34]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], 0
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x1c], 1
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 8], eax
mov byte [esp + 0x20], 2
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [esp + 0x24], 3
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x28], 4
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x2c], 5
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x30], 6
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x34], 7
mov eax, dword [edi + 0x20]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x38], 8
mov eax, dword [edi + 0x24]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [esp + 0x3c], 9
mov eax, dword [edi + 0x28]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x40], 0xa
mov edi, dword [edi + 0x2c]
sub edi, 0x10
push edi
call fcn.00404fa0
add esp, 0x30
add eax, 0x10
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x412930
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x43515b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x442c34]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x442c34]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
mov eax, dword [esp + 0x45c]
mov ebp, dword [esp + 0x458]
xor esi, esi
push esi
push esi
push esi
push esi
push str.Http
mov edi, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
je 0x412b2d
push 1
push 0
push 3
push 0
push 0
push 0x50
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
je 0x412b12
push 1
push bind
push 0
push 0
push 0
push ebp
push 0
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x412b12
mov eax, str.Accept:_image_gif__image_x_xbitmap__image_jpeg__image_pjpeg____r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4129f0
push 0
push 0
sub eax, edx
push eax
push str.Accept:_image_gif__image_x_xbitmap__image_jpeg__image_pjpeg____r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x412b12
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x20000013
push esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x412b12
cmp dword [esp + 0x18], 0xc8
jne 0x412b12
xor ebp, ebp
push 0x400
lea eax, [esp + 0x41]
push ebp
push eax
mov dword [esp + 0x24], ebp
mov byte [esp + 0x48], 0
call fcn.00421a10
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.00413820
mov ecx, dword [esp + 0x20]
push ebp
push 0x1001
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x45c], ebp
call fcn.00413c96
test eax, eax
je 0x412afe
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea esp, [esp]
push 0x401
lea edx, [esp + 0x40]
push 0
push edx
call fcn.00421a10
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x400
lea ecx, [esp + 0x44]
push ecx
push esi
call edi
test eax, eax
je 0x412ae9
mov eax, dword [esp + 0x18]
push eax
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x34]
mov byte [esp + eax + 0x44], 0
call fcn.00413556
cmp dword [esp + 0x18], 0
jne 0x412aa0
lea ecx, [esp + 0x2c]
call fcn.004137ba
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x450], 0xffffffff
call fcn.00413928
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
test edi, edi
je 0x412b22
push edi
call ebx
test esi, esi
je 0x412b29
push esi
call ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.0041dec5
add esp, 0x440
ret 8
Function at 0x412c20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x436039
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x442c34]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
call fcn.004132ad
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x412c63
push 0x80004005
call fcn.00404f80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], ebx
lea edi, [esi + 4]
call fcn.004132ad
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x412c92
push 0x80004005
call fcn.00404f80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov ecx, esi
mov byte [esp + 0x18], 3
call fcn.00404d20
mov ecx, edi
call fcn.00404d20
mov ecx, esi
call fcn.004026a0
mov dword [esi + 0x28], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x412d20
Capabilities:
Get hostname
Get mac address on windows

Disassembly:
sub esp, 0x14
push ebp
push esi
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
sub eax, 0x10
mov dword [esp + 0x10], 0x10
mov edx, dword [eax + 8]
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, 0x10
xor ebp, ebp
or ecx, edx
jge 0x412d53
push 0x10
mov ecx, esi
call fcn.00404e40
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x412d80
push ecx
push eax
call fcn.0041ec31
add esp, 8
test eax, eax
jl 0x412ee7
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x412ee7
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
push edi
push 0x288
mov byte [eax + edx], 0
call fcn.00420d0b
mov edi, eax
add esp, 4
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x288
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x412ddb
push edi
call fcn.0042098d
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00420d0b
add esp, 8
mov dword [esp + 0xc], eax
mov edi, eax
jmp 0x412de3
test eax, eax
jne 0x412edc
lea edx, [esp + 0x10]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x412eb7
push ebx
mov ebx, dword [edi + 0x190]
mov dword [esp + 0x1c], ebx
test ebx, ebx
jbe 0x412eb6
lea ebx, [ebx + ebx*2]
push ebx
call fcn.00412f7c
mov ebp, eax
mov eax, dword [esp + 0x20]
add esp, 4
xor edi, edi
xor esi, esi
add eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x412e5c
jmp 0x412e30
mov eax, dword [esp + 0x10]
movzx ecx, byte [edi + eax + 0x194]
push ecx
mov edx, ebx
push str._02X_
sub edx, esi
push edx
lea eax, [esi + ebp]
push eax
call fcn.0041e181
inc edi
add esp, 0x10
add esi, eax
cmp edi, dword [esp + 0x1c]
jb 0x412e30
mov ecx, dword [esp + 0x10]
movzx edx, byte [edi + ecx + 0x194]
push edx
push str._02X
sub ebx, esi
push ebx
add esi, ebp
push esi
call fcn.0041e181
mov ecx, dword [esp + 0x38]
add esp, 0x10
add ecx, 4
test ebp, ebp
jne 0x412e8b
xor eax, eax
jmp 0x412e99
mov eax, ebp
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412e90
sub eax, esi
push eax
push ebp
call fcn.00404ef0
push ebp
call fcn.00412f71
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
add esp, 4
mov ebp, 1
pop ebx
push edi
call fcn.0042098d
add esp, 4
test ebp, ebp
je 0x412edc
cmp dword [esp + 0x1c], 0
je 0x412edc
mov eax, 1
pop edi
mov dword [esi + 8], eax
pop esi
pop ebp
add esp, 0x14
ret 4
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x14
ret 4
push 0x80070057
call fcn.00404f80
int3

Function at 0x41dec5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x442c34]
jne 0x41decf
repz ret
jmp fcn.004240ab
Function at 0x4311ba
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00425d9e
and dword [ebp - 4], 0
cmp dword [0x4469a4], 0
mov ebx, eax
jne 0x43126b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43131c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43a914
push edi
call esi
test eax, eax
je 0x43131c
push eax
call fcn.00425d2c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4469a4], eax
call esi
push eax
call fcn.00425d2c
mov dword [esp], 0x43a8f0
push edi
mov dword [0x4469a8], eax
call esi
push eax
call fcn.00425d2c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4469ac], eax
call esi
push eax
call fcn.00425d2c
pop ecx
mov dword [0x4469b4], eax
test eax, eax
je 0x43126b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00425d2c
pop ecx
mov dword [0x4469b0], eax
mov eax, dword [0x4469b0]
cmp eax, ebx
je 0x4312c3
cmp dword [0x4469b4], ebx
je 0x4312c3
push eax
call fcn.00425da7
push dword [0x4469b4]
mov esi, eax
call fcn.00425da7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4312c3
test edi, edi
je 0x4312c3
call esi
test eax, eax
je 0x4312ba
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4312ba
test byte [ebp - 0xc], 1
jne 0x4312c3
or dword [ebp + 0x10], 0x200000
jmp 0x4312fc
mov eax, dword [0x4469a8]
cmp eax, ebx
je 0x4312fc
push eax
call fcn.00425da7
pop ecx
test eax, eax
je 0x4312fc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4312fc
mov eax, dword [0x4469ac]
cmp eax, ebx
je 0x4312fc
push eax
call fcn.00425da7
pop ecx
test eax, eax
je 0x4312fc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4469a4]
call fcn.00425da7
pop ecx
test eax, eax
je 0x43131c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43131e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x434a48
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x434a79
call fcn.0041fa82
mov dword [eax], esi
call fcn.0041fa6f
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0041e73d
add esp, 0x14
push 0x16
pop eax
jmp 0x434ace
test dword [ebp + 0xc], 0xfffffff9
jne 0x434a55
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x434aa6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041fa95
pop ecx
call fcn.0041fa6f
mov eax, dword [eax]
jmp 0x434ace
test al, 0x10
jne 0x434acc
test al, 1
je 0x434acc
test byte [ebp + 0xc], 2
je 0x434acc
call fcn.0041fa82
mov dword [eax], 5
call fcn.0041fa6f
mov dword [eax], 0xd
jmp 0x434a9d
xor eax, eax
pop esi
pop ebp
ret
Function at 0x403770
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x420030]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x403813
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.0040b9e0
pop ecx
pop ecx
test eax, eax
je 0x4037fc
test ebx, ebx
je 0x4037f0
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0040b9e0
pop ecx
pop ecx
test eax, eax
jle 0x4037fc
push ebx
call fcn.00404730
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.0040470f
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x4037bd
xor edi, edi
cmp ebx, edi
jne 0x403817
xor eax, eax
jmp 0x403883
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x403846
call fcn.00404730
pop ecx
cmp dword [ebp - 0x70], edi
je 0x403813
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x403813
call fcn.00404730
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x403836
cmp dword [ebp - 0x70], edi
je 0x403879
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.0040470f
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004085d9
add ebp, 0x9c
leave
ret
Function at 0x404925
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x294
mov eax, dword [0x420030]
xor eax, ebp
mov dword [ebp + 0x210], eax
mov eax, dword [ebp + 0x21c]
push ebx
push esi
push edi
push 0x10
pop edi
mov dword [ebp - 0x78], eax
call fcn.00404792
push 8
mov esi, eax
call fcn.004046c8
mov ebx, eax
pop ecx
lea eax, [ebp + 0xd0]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x80], ebx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x404990
mov dword [ebx], eax
lea eax, [ebp + 0xfc]
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
test edi, edi
je 0x404997
and dword [ebx + 4], 0
jmp 0x4049ac
xor eax, eax
jmp 0x404a77
lea eax, [ebp - 0x70]
push eax
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindNextFileA]
neg eax
sbb edi, edi
lea eax, [ebp - 0x44]
and edi, eax
test edi, edi
je 0x404a5d
push edi
call fcn.00407d90
pop ecx
cmp eax, 4
jl 0x404983
add eax, edi
cmp byte [eax - 4], 0x2e
jne 0x404983
add eax, 0xfffffffd
push 0x4197ac
push eax
mov dword [ebp - 0x74], eax
call fcn.004085f0
pop ecx
pop ecx
test eax, eax
je 0x4049f2
push 0x4197a8
push dword [ebp - 0x74]
call fcn.004085f0
pop ecx
pop ecx
test eax, eax
jne 0x404983
push 0x3b
push edi
call fcn.00409780
pop ecx
pop ecx
test eax, eax
jne 0x404983
push dword [ebp - 0x78]
call fcn.00407d90
push edi
mov ebx, eax
call fcn.00407d90
mov dword [ebp - 0x74], eax
add eax, ebx
push eax
call fcn.004046c8
lea ecx, [ebx - 1]
push ecx
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
push eax
call fcn.0040b9e0
mov eax, dword [ebp - 0x74]
inc eax
push eax
push edi
mov edi, dword [ebp - 0x7c]
lea eax, [edi + ebx - 1]
push eax
call fcn.0040b9e0
mov ecx, dword [esi + 4]
add esp, 0x24
inc ecx
call fcn.004047e8
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0x80]
mov dword [ecx + eax*4], edi
inc dword [esi + 4]
jmp 0x404983
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindClose]
push dword [ebx + 4]
call fcn.00404730
push ebx
call fcn.00404730
pop ecx
pop ecx
mov eax, esi
mov ecx, dword [ebp + 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004085d9
add ebp, 0x214
leave
ret
Function at 0x407d7a
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x41e210
call fcn.0040d880
xor esi, esi
cmp dword [0x422fe8], esi
jne 0x407c3a
push esi
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x407c4d
mov dword [ebp - 0x1c], esi
jmp 0x407c83
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x407c48
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x407c48
cmp dword [eax + 0x400074], 0xe
jbe 0x407c48
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.0040d85e
test eax, eax
jne 0x407c94
push 0x1c
call fcn.0040b9e0
pop ecx
call fcn.0040d6e3
test eax, eax
jne 0x407ca5
push 0x10
call fcn.0040b9e0
pop ecx
call fcn.0040d2f3
mov dword [ebp - 4], esi
call fcn.0040b9e0
test eax, eax
jns 0x407cbe
push 0x1b
call fcn.0040b9e0
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x422fe4], eax
call fcn.0040b9e0
mov dword [0x421270], eax
call fcn.0040105b
test eax, eax
jns 0x407ce4
push 8
call fcn.0040b9e0
pop ecx
call fcn.0040cf3b
test eax, eax
jns 0x407cf5
push 9
call fcn.0040b9e0
pop ecx
push 1
call fcn.0040b9e0
pop ecx
cmp eax, esi
je 0x407d08
push eax
call fcn.0040b9e0
pop ecx
mov eax, dword [0x421294]
mov dword [0x421298], eax
push eax
push dword [0x42128c]
push dword [0x421288]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x407d35
push eax
call fcn.0040b9e0
call fcn.00408d12
jmp 0x407d6a
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0040d8c5
ret
call fcn.0040b9e0
jmp 0x407c19

Function at 0x4085d9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420030]
jne 0x4085e3
repz ret
jmp fcn.004101ab
Function at 0x440063
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x440087
cmp dword [edi + 0x54], 0
jne 0x440087
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00438e9f
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call main
push ebx
mov esi, eax
call dword [sym.imp.kernel32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x445157
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x497d50]
jne 0x445161
repz ret
jmp fcn.0044cc7d

Function at 0x44641d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x44642c
pop dword [ebp - 0x30]
mov eax, 0xaf44d961
sub eax, 0xaf007535
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x451a0
push 0
mov eax, 0x3033b265
add eax, 0xd012712f
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x465b
xor edx, edx
add edx, eax
mov edi, 0x949e1cb8
sub edi, 0x944e24b8
add edi, dword [ebp - 0x30]
mov esi, 0xf08838be
add esi, 0x83dee2e4
add dword [ebp - 0x2c], 0x3a9b80bb
mov ebx, dword [edi]
sub dword [ebp - 0x18], esi
xor ebx, esi
xor dword [ebp - 0x10], eax
mov dword [edx], ebx
sub dword [ebp - 0xc], esi
add edx, 0xba5fad58
add edx, 0x45a052ac
add edi, 4
loop 0x446487
add eax, 0x580c9448
add eax, 0xa7f477f7
mov ebx, eax
add eax, 0x92861b92
sub eax, 0x92861b8d
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x954dee
Capabilities:
Encode data using xor

Disassembly:
call fcn.00954dfe
adc byte [esi + 0x24967b1c], cl
and byte [ebx], 0xb3
salc
and eax, 0x9011e69d
adc ecx, dword [edx - reloc.MSVCRT.dll_strncpy]
bts bx, bp
bts bx, bp
jae 0x954dd8
jb 0x954dd8
cmp esp, dword [ebp + reloc.MSVCRT.dll_strncpy]
push esp
invalid

Function at 0x958a52
Capabilities:
Packed with generic packer

Disassembly:
call fcn.009569cb
push eax
call fcn.00943cd8
jmp 0x9569c6

Function at 0x95e012
Capabilities:
Check for trap flag exception

Disassembly:
push ebx
jmp 0x9437b2
pushfd
or dword [esp], reloc.MSVCRT.dll_strncpy
popfd
cpuid
nop
jmp 0x9437c9
pop ebx
ret
jmp 0x9437a6