joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4043d0
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
mov eax, 0x100c
call fcn.0040fc30
mov eax, dword [0x414044]
xor eax, esp
mov dword [esp + 0x1008], eax
mov edx, dword [ebx]
mov eax, dword [esp + 0x1010]
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_recv]
push edi
xor edi, edi
push edi
push 4
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x1c], eax
call ebp
cmp eax, 4
je 0x404428
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.004046d0
add esp, 0x100c
ret
cmp dword [esp + 8], edi
jbe 0x40446b
push esi
nop
mov ecx, dword [ebx]
push 0
push 0x1000
lea eax, [esp + 0x1c]
push eax
push ecx
call ebp
mov esi, eax
test esi, esi
je 0x40446a
mov edx, dword [esp + 0x10]
push edx
push esi
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.004059e9
add edi, esi
add esp, 0x10
mov dword [0x417494], edi
cmp edi, dword [esp + 0xc]
jb 0x404430
pop esi
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0040580b
mov ecx, dword [esp + 0x1014]
add esp, 4
cmp edi, dword [esp + 8]
pop edi
sbb eax, eax
pop ebp
xor ecx, esp
inc eax
call fcn.004046d0
add esp, 0x100c
ret

Function at 0x4044a0
Capabilities:
Get common file path
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x414044]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.0040af40
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x4045a6
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4044e2
sub eax, edx
sar eax, 1
je 0x4045a6
cmp ebx, edi
je 0x4045a6
cmp dword [0x417498], 3
jne 0x404531
push 0x104
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x412cdc
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.00405010
add esp, 0xc
jmp 0x404541
lea ecx, [esp + 0xc]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.00405010
push 0x412c54
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0040516a
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x40458b
push eax
push 1
push 0x1e0
push ebx
call fcn.004059e9
mov edx, dword [esp + 0x14]
push edx
call fcn.0040580b
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004046d0
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.004046d0
add esp, 0x214
ret
Function at 0x4045c0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
push 0
push 0
push 3
push 0
push 3
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4045e4
xor eax, eax
pop esi
pop ecx
ret
push edi
push 2
push 0
push 0xfffffb52
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, eax
test edi, edi
je 0x40461d
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x4ae
push edx
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x4046d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x414044]
jne 0x4046da
repz ret
jmp fcn.00405ff5

Function at 0x40e857
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.00407e5d
and dword [ebp - 4], 0
cmp dword [0x415be4], 0
mov ebx, eax
jne 0x40e908
push 0x412480
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e9b9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x412474
push edi
call esi
test eax, eax
je 0x40e9b9
push eax
call fcn.00407deb
mov dword [esp], 0x412464
push edi
mov dword [0x415be4], eax
call esi
push eax
call fcn.00407deb
mov dword [esp], 0x412450
push edi
mov dword [0x415be8], eax
call esi
push eax
call fcn.00407deb
mov dword [esp], 0x412434
push edi
mov dword [0x415bec], eax
call esi
push eax
call fcn.00407deb
pop ecx
mov dword [0x415bf4], eax
test eax, eax
je 0x40e908
push 0x41241c
push edi
call esi
push eax
call fcn.00407deb
pop ecx
mov dword [0x415bf0], eax
mov eax, dword [0x415bf0]
cmp eax, ebx
je 0x40e960
cmp dword [0x415bf4], ebx
je 0x40e960
push eax
call fcn.00407e66
push dword [0x415bf4]
mov esi, eax
call fcn.00407e66
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e960
test edi, edi
je 0x40e960
call esi
test eax, eax
je 0x40e957
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e957
test byte [ebp - 0xc], 1
jne 0x40e960
or dword [ebp + 0x10], 0x200000
jmp 0x40e999
mov eax, dword [0x415be8]
cmp eax, ebx
je 0x40e999
push eax
call fcn.00407e66
pop ecx
test eax, eax
je 0x40e999
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e999
mov eax, dword [0x415bec]
cmp eax, ebx
je 0x40e999
push eax
call fcn.00407e66
pop ecx
test eax, eax
je 0x40e999
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x415be4]
call fcn.00407e66
pop ecx
test eax, eax
je 0x40e9b9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e9bb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x466303]
shl eax, 2
mov dword [0x466307], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0045add8
pop edx
call fcn.0045ad3c
call fcn.0045ae18
push 0
call fcn.0045c03c
pop ecx
push 0x4662ac
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x46630b], eax
push 0
jmp fcn.00461328

Function at 0x401668
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
mov ax, 0x202
push esp
push eax
call sub.WSOCK32.DLL_WSAStartup
test eax, eax
je 0x401684
mov eax, 1
jmp 0x401686
xor eax, eax
add esp, 0x190
ret
Function at 0x40d7cc
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.00458778
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x40d81b
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.004589a8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41377c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x413782
ret

Function at 0x415c1c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x415c6d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x415c54
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x415c44
jmp 0x415c6d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x415c55
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cd18
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46cff4
cmp dword [edi], 0
jne 0x41cd94
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x46cff0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4691cc
mov ecx, 2
call fcn.004576ec
mov edx, 0x41ccf0
lea eax, [esi + 5]
call fcn.0041cd10
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041cd10
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41cd69
mov dword [0x46cff0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41ceb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41cf00]
test si, 4
je 0x41cec4
or bl, 1
test si, 8
je 0x41cece
or bl, 4
test si, 1
je 0x41ced8
or bl, 8
test si, 2
je 0x41cee2
or bl, 0x10
test si, 0x10
je 0x41ceec
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x41cefb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x41cf04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41cf3c]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x41cf1d
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x41cf2c
or bl, 4
test esi, 0x20000000
je 0x41cf37
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x42348c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x42349e
add esp, 0xfffffff0
call fcn.00458008
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044e768
mov eax, ebx
call fcn.004237d8
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x446414]
call fcn.00457cb0
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x446414]
call fcn.00457cb0
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x446414]
call fcn.00457cb0
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x446414]
call fcn.00457cb0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x446414]
call fcn.00457cb0
mov dword [ebx + 0x70], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x41ff7c
push eax
push 0
push 0
mov eax, dword [0x46cccc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x412f00]
call fcn.004141dc
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x412f00]
call fcn.004141dc
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x412f00]
call fcn.004141dc
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.00423bb8
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x423ad4
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x423ad4
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x423ad4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4235ad
call fcn.00458060
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4238b8
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 0x423a63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x423a44
mov dl, 1
mov eax, dword [0x4468c8]
call fcn.00457cb0
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00458778
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x423a33
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.00435d68
test al, al
je 0x423a26
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, 0x423a74
lea eax, [ebp - 0x254]
call fcn.0045306c
push eax
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x423a26
xor eax, eax
push ebp
push 0x423a1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x423aac
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x423a08
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004589a8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x423a08
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004589a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423a26
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x423929
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00449f18
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423a6a
lea eax, [ebp - 0x260]
call fcn.00458778
ret

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

Disassembly:
push ecx
mov eax, dword [0x46cfe4]
cmp byte [eax + 0x95], 0
jne 0x424321
cmp dword [0x46d000], 0
jne 0x4242e2
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x42426c
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x46d000], eax
cmp dword [0x46cffc], 0
jne 0x4242fd
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x46cffc], eax
cmp dword [0x46d004], 0
jne 0x424321
push esp
push 0
push 0
push 0x424210
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x46d004], eax
pop edx
ret
Function at 0x424418
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x42442f
add esp, 0xfffffff0
call fcn.00458008
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044e768
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x446414]
call fcn.00457cb0
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x446414]
call fcn.00457cb0
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x413634]
call fcn.004191cc
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x4245a4
mov eax, dword [0x46ce60]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041959c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x425f18
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46ce60]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.USER32.DLL_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00454398
test eax, eax
je 0x424522
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00452a0c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004543c0
test eax, eax
je 0x424536
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.004589a8
mov eax, dword [0x46ce64]
cmp byte [eax], 0
jne 0x424567
mov eax, ebx
call fcn.00424690
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x424599
call fcn.00458060
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x424900
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46cfe4]
cmp dword [eax + 0x24], 0
je 0x4249a3
cmp dword [ebx + 0x84], 0
jne 0x42499d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x424890
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x42499d
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 0x424966
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x42499d
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00447eac
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x424975
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x4253b0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x4253e5
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00458860
jmp 0x4253ef
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.004587cc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x42628c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x4262c4
mov eax, esi
call fcn.00431a88
test al, al
je 0x4262c4
mov eax, dword [ebx + 0x74]
call fcn.0043178c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4262c4
push 0
mov eax, dword [ebx + 0x74]
call fcn.0043178c
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x429450
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x46d044], 0
sete dl
or al, dl
jne 0x429590
mov eax, dword [0x46d048]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46d044]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42955f
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x46d044]
call fcn.00447eac
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x429557
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x429557
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x429557
mov eax, dword [ebp - 0x14]
call fcn.0043178c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x429557
push ebp
call fcn.0042940c
pop ecx
test al, al
jne 0x429557
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x429513
mov eax, dword [ebp - 0x14]
call fcn.00430118
dec eax
jle 0x429557
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00457ebc
cmp byte [ebp - 1], 0
je 0x429557
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x429557
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46d048]
call fcn.00428c58
inc edi
dec esi
jne 0x4294a6
mov eax, dword [0x46d048]
cmp dword [eax + 8], 0
jle 0x429577
mov eax, dword [0x46d048]
call fcn.00428ce8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x429590
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00429274
pop ecx
test al, al
jne 0x429590
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f124
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x42f155
je 0x42f1af
sub eax, 7
je 0x42f176
dec eax
je 0x42f1a0
sub eax, 0x17
je 0x42f254
jmp 0x42f292
add eax, 0xffffff00
sub eax, 9
jb 0x42f240
add eax, 0xffffff09
sub eax, 0xb
jb 0x42f208
jmp 0x42f292
mov eax, ebx
call fcn.0041cffc
mov edi, eax
test edi, edi
je 0x42f2f2
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x42f2fb
jmp 0x42f2f2
test byte [ebx + 0x44], 0x20
jne 0x42f2fb
jmp 0x42f2f2
mov edx, esi
mov eax, ebx
call fcn.0042c724
cmp dword [esi + 0xc], 0xffffffff
jne 0x42f2fb
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00450384
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042b258
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042effc
test eax, eax
je 0x42f2fb
mov dword [esi + 0xc], 1
jmp 0x42f2fb
mov edx, esi
mov eax, ebx
call fcn.0042f090
test al, al
je 0x42f2f2
cmp dword [esi + 0xc], 0
jne 0x42f2fb
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.0043178c
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x42f2fb
mov eax, ebx
call fcn.0042bdc0
test al, al
jne 0x42f2fb
jmp 0x42f2f2
mov eax, ebx
call fcn.0043178c
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x42f2f2
cmp dword [0x4693ac], 0
je 0x42f2f2
mov eax, dword [0x4693ac]
cmp ebx, dword [eax + 0x24]
jne 0x42f2f2
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4693ac]
call fcn.0042c658
jmp 0x42f2f2
mov eax, dword [0x46d00c]
cmp byte [eax + 0x20], 0
je 0x42f2f2
mov eax, dword [0x46d00c]
cmp dword [eax + 0x1c], 0
je 0x42f2f2
mov eax, dword [esi]
mov edx, dword [0x46d00c]
cmp eax, dword [edx + 0x1c]
jne 0x42f2f2
lea eax, [ebp - 0x110]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0041cf40
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.00457ebc
jmp 0x42f2fb
mov edx, esi
mov eax, ebx
call fcn.0042c724
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret