joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443a48
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x486338]
cmp byte [eax + 0xc], 0
je 0x443bb5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443bae
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x487b98], 0
jne 0x443a9c
push 0x443bbc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x443bc4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487b98], eax
cmp dword [0x484bbc], 0
jne 0x443b97
push 0x443bd4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x484bbc], eax
cmp dword [0x484bbc], 0
je 0x443b97
push 0x443be0
mov eax, dword [0x484bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487b9c], eax
push 0x443bf0
mov eax, dword [0x484bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487ba0], eax
push 0x443c04
mov eax, dword [0x484bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487ba4], eax
push 0x443c1c
mov eax, dword [0x484bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487ba8], eax
push 0x443c34
mov eax, dword [0x484bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487bac], eax
push 0x443c48
mov eax, dword [0x484bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487bb0], eax
push 0x443c60
mov eax, dword [0x484bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487bb4], eax
push 0x443c78
mov eax, dword [0x484bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487bb8], eax
push 0x443c94
mov eax, dword [0x484bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487bbc], eax
push 0x443ca0
mov eax, dword [0x484bbc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487bc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443bb5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x447a40
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404400
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x447a8f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404670
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44f260
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f2b0]
test si, 4
je 0x44f274
or bl, 1
test si, 8
je 0x44f27e
or bl, 4
test si, 1
je 0x44f288
or bl, 8
test si, 2
je 0x44f292
or bl, 0x10
test si, 0x10
je 0x44f29c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f2ab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44f2b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f2ec]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f2cd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f2dc
or bl, 4
test esi, 0x20000000
je 0x44f2e7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4559b0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4559c2
add esp, 0xfffffff0
call fcn.00403908
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ea40
mov eax, dword [0x485d74]
mov dword [eax + 4], ebx
mov dword [eax], 0x455d54
mov eax, dword [0x485d84]
mov dword [eax + 4], ebx
mov dword [eax], 0x455d60
mov eax, ebx
call fcn.00455d6c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415880]
call fcn.004035a0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415880]
call fcn.004035a0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415880]
call fcn.004035a0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415880]
call fcn.004035a0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415880]
call fcn.004035a0
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x452184
push eax
push 0
push 0
mov eax, dword [0x485fe8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420494]
call fcn.00421c2c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420494]
call fcn.00421c2c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420494]
call fcn.00421c2c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004561bc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456084
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456084
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456084
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455aff
call fcn.00403960
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x455e68
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456013
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x455ff4
mov dl, 1
mov eax, dword [0x415ee4]
call fcn.004035a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404400
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x455fe3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00443da8
test al, al
je 0x455fd6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x456024
lea eax, [ebp - 0x254]
call fcn.004096d4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x455fd6
xor eax, eax
push ebp
push 0x455fcf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45605c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x455fb8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404670
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x455fb8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404670
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455fd6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x455ed9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a560
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45601a
lea eax, [ebp - 0x260]
call fcn.00404400
ret

Function at 0x45695c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x487be4]
cmp byte [eax + 0xa5], 0
jne 0x4569cd
cmp dword [0x487bfc], 0
jne 0x45698e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x456918
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x487bfc], eax
cmp dword [0x487bf8], 0
jne 0x4569a9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x487bf8], eax
cmp dword [0x487c00], 0
jne 0x4569cd
push esp
push 0
push 0
push 0x4568bc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x487c00], eax
pop edx
ret
Function at 0x457060
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x487be4]
cmp dword [eax + 0x30], 0
je 0x45710a
cmp dword [ebx + 0x94], 0
jne 0x457104
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x456ff0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457104
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4570ca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457104
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417fcc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4570d9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457c68
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x457c9d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004044f0
jmp 0x457caa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404454
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x458dd4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458e15
mov eax, esi
call fcn.0043f3d4
test al, al
je 0x458e15
mov eax, dword [ebx + 0x84]
call fcn.0043f0d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458e15
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f0d0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x459af8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415064]
call fcn.00404dbc
xor eax, eax
push ebp
push 0x459c3c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x484df0], 0
jne 0x459b4b
mov ecx, dword [0x485c3c]
mov dl, 1
mov eax, dword [0x407870]
call fcn.0040c224
call fcn.00403d70
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402fb0
mov eax, ebx
call fcn.00404c68
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x459c4c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405f10
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404c78
test eax, eax
jle 0x459be3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x459bdc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404688
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404670
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408778
test eax, eax
jne 0x459bdc
mov ebx, 0x15
jmp 0x459be8
mov ebx, 0x10
jmp 0x459be8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x484df0]
call fcn.00459a50
mov eax, dword [ebp - 8]
call fcn.00459a50
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405f28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459c43
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404424
lea eax, [ebp - 0x10]
mov edx, dword [0x415064]
call fcn.00404e8c
ret
Function at 0x424573
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 0x424597
cmp dword [edi + 0x54], 0
jne 0x424597
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00425f8b
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 fcn.00424534
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 0x42b6ca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42b711
call fcn.00425f8b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42b711
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42b72d
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042b242
mov esi, eax
test edi, edi
je 0x42b72b
test ebx, ebx
je 0x42b72b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42be2c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4581ef
call fcn.0043e485
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42be51
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42be97
lea ecx, [ebp - 0x10]
call fcn.00401a90
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041d923
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401160
mov eax, esi
call fcn.0043e55d
ret 8

Function at 0x43bfab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4737e0]
jne 0x43bfb5
repz ret
jmp fcn.0044352c
Function at 0x44dfb0
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.00442f39
and dword [ebp - 4], 0
cmp dword [0x477cb0], 0
mov ebx, eax
jne 0x44e061
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44e112
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x44e112
push eax
call fcn.00442ec7
mov dword [esp], 0x460b18
push edi
mov dword [0x477cb0], eax
call esi
push eax
call fcn.00442ec7
mov dword [esp], 0x460b04
push edi
mov dword [0x477cb4], eax
call esi
push eax
call fcn.00442ec7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x477cb8], eax
call esi
push eax
call fcn.00442ec7
pop ecx
mov dword [0x477cc0], eax
test eax, eax
je 0x44e061
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00442ec7
pop ecx
mov dword [0x477cbc], eax
mov eax, dword [0x477cbc]
cmp eax, ebx
je 0x44e0b9
cmp dword [0x477cc0], ebx
je 0x44e0b9
push eax
call fcn.00442f42
push dword [0x477cc0]
mov esi, eax
call fcn.00442f42
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44e0b9
test edi, edi
je 0x44e0b9
call esi
test eax, eax
je 0x44e0b0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44e0b0
test byte [ebp - 0xc], 1
jne 0x44e0b9
or dword [ebp + 0x10], 0x200000
jmp 0x44e0f2
mov eax, dword [0x477cb4]
cmp eax, ebx
je 0x44e0f2
push eax
call fcn.00442f42
pop ecx
test eax, eax
je 0x44e0f2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44e0f2
mov eax, dword [0x477cb8]
cmp eax, ebx
je 0x44e0f2
push eax
call fcn.00442f42
pop ecx
test eax, eax
je 0x44e0f2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x477cb0]
call fcn.00442f42
pop ecx
test eax, eax
je 0x44e112
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44e114
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x5ccf60e2
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x716c4cce
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40e3d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a180b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049610b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40e452
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00493fe5
mov eax, dword [eax]
push 0x54dcd4
push eax
call fcn.00483144
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00496396
test bl, bl
je 0x40e452
push 0x54dcd4
lea ecx, [esp + 0xc]
call fcn.00496726
push 0x54dce0
lea ecx, [esp + 0xc]
call fcn.00496726
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40e48e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00496396
jmp 0x40e559
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40e512
lea edx, [esp + 0x7c]
push 0x54dcdc
push edx
call fcn.00483144
add esp, 8
test eax, eax
je 0x40e512
lea eax, [esp + 0x7c]
push 0x54dcd8
push eax
call fcn.00483144
add esp, 8
test eax, eax
je 0x40e512
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40e4a2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00496396
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40ed60
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40edc2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40edd0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a188b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x604f80]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40ef08
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40ee36
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00496396
xor eax, eax
jmp 0x40ef7f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004964d3
push esi
lea ecx, [esp + 0xc]
call fcn.00496762
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x54dd14
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40ef5d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040ed60
test eax, eax
jne 0x40ef5d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040ed60
test eax, eax
jne 0x40ef5d
lea eax, [esp + 0x14]
push 0x54dcf0
push eax
call fcn.004842b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40ef3c
lea ecx, [esp + 0x14]
push 0x54dcec
push ecx
call fcn.00484230
mov esi, eax
add esp, 8
test esi, esi
jne 0x40ef3c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40ef3f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00496483
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40ee4e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00496396
xor eax, eax
jmp 0x40ef7f
mov byte [esi], 0
push 0x54dce8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00496396
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4