joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c6f00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xec9960]
xor edx, edx
cmp eax, edx
jne 0x4c6f26
xor eax, eax
mov byte [eax + 0xec9860], al
inc eax
cmp eax, 0x100
jl 0x4c6f0e
mov dword [0xec9960], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xec9860
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4c6fb7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4c6f8a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4c6f58
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4c6fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4c7013
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4c6ffa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cd9a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fb39e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004ce2c0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xe76b3c
call fcn.004ec882
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4cda33
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004ec882
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4cda2c
push 0
mov ecx, eax
call fcn.004c4b40
mov dword [esi + 0xc], eax
jmp 0x4cda35
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4cda35
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4eeef8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4eef30
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.004ecf9c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ecf74
jmp 0x4eef3c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4f05e6
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 0x4f0628
call fcn.004f6224
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4f0628
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4f061f
xor eax, eax
jmp 0x4f0630
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004f0636
pop edi
pop esi
pop ebx
ret 4

Function at 0x4f6754
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 0x4f6782
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4f67a0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004f66ba
jmp 0x4f67a0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4f67a0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004f66ba
test edi, edi
mov eax, edi
jne 0x4f678a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x4582df]
shl eax, 2
mov dword [0x4582e3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0044ce8c
pop edx
call fcn.0044cdf0
call fcn.0044cecc
push 0
call fcn.0044e0f0
pop ecx
push 0x458288
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4582e7], eax
push 0
jmp fcn.00452304

Function at 0x40c490
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.0044ac0c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x40c4df
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.0044ae3c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41269c
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 0x4126a2
ret

Function at 0x414b80
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 0x414bd1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x414bb8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x414ba8
jmp 0x414bd1
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 0x414bb9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d2e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45d158
cmp dword [edi], 0
jne 0x41d35c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x45d154]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4592c8
mov ecx, 2
call fcn.00449d30
mov edx, 0x41d2b8
lea eax, [esi + 5]
call fcn.0041d2d8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d2d8
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 0x41d331
mov dword [0x45d154], 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 0x41d478
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41d4c8]
test si, 4
je 0x41d48c
or bl, 1
test si, 8
je 0x41d496
or bl, 4
test si, 1
je 0x41d4a0
or bl, 8
test si, 2
je 0x41d4aa
or bl, 0x10
test si, 0x10
je 0x41d4b4
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x41d4c3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x41d4cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41d504]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x41d4e5
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x41d4f4
or bl, 4
test esi, 0x20000000
je 0x41d4ff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x423a54
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x423a66
add esp, 0xfffffff0
call fcn.0044a49c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043f1a8
mov eax, ebx
call fcn.00423da0
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x438ec8]
call fcn.0044a16c
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x438ec8]
call fcn.0044a16c
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x438ec8]
call fcn.0044a16c
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x438ec8]
call fcn.0044a16c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x438ec8]
call fcn.0044a16c
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, 0x420544
push eax
push 0
push 0
mov eax, dword [0x45ce8c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x411bc4]
call fcn.004130fc
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x411bc4]
call fcn.004130fc
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x411bc4]
call fcn.004130fc
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.00424180
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42409c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42409c
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42409c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x423b75
call fcn.0044a4f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x423e80
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 0x42402b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x42400c
mov dl, 1
mov eax, dword [0x439204]
call fcn.0044a16c
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.0044ac0c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x423ffb
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.00438160
test al, al
je 0x423fee
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, 0x42403c
lea eax, [ebp - 0x254]
call fcn.004455b8
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x423fee
xor eax, eax
push ebp
push 0x423fe7
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 0x424074
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x423fd0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0044ae3c
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 0x423fd0
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0044ae3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423fee
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x423ef1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0043c23c
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 0x424032
lea eax, [ebp - 0x260]
call fcn.0044ac0c
ret

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

Disassembly:
push ecx
mov eax, dword [0x45d148]
cmp byte [eax + 0x95], 0
jne 0x4248e9
cmp dword [0x45d164], 0
jne 0x4248aa
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x424834
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x45d164], eax
cmp dword [0x45d160], 0
jne 0x4248c5
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x45d160], eax
cmp dword [0x45d168], 0
jne 0x4248e9
push esp
push 0
push 0
push 0x4247d8
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x45d168], eax
pop edx
ret
Function at 0x4249e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4249f7
add esp, 0xfffffff0
call fcn.0044a49c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043f1a8
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x438ec8]
call fcn.0044a16c
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x438ec8]
call fcn.0044a16c
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 [0x412554]
call fcn.00419794
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x424b6c
mov eax, dword [0x45d020]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00419b64
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x426568
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45d020]
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.004469dc
test eax, eax
je 0x424aea
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00444f6c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00446a04
test eax, eax
je 0x424afe
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.0044ae3c
mov eax, dword [0x45d024]
cmp byte [eax], 0
jne 0x424b2f
mov eax, ebx
call fcn.00424c58
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 0x424b61
call fcn.0044a4f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x424ec8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45d148]
cmp dword [eax + 0x24], 0
je 0x424f6b
cmp dword [ebx + 0x84], 0
jne 0x424f65
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x424e58
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x424f65
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 0x424f2e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x424f65
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.0043a57c
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x424f3d
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x425978
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 0x4259ad
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.0044acf4
jmp 0x4259b7
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.0044ac60
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4268dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x426914
mov eax, esi
call fcn.00433e90
test al, al
je 0x426914
mov eax, dword [ebx + 0x74]
call fcn.00433b94
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x426914
push 0
mov eax, dword [ebx + 0x74]
call fcn.00433b94
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x42b884
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 [0x45d1a8], 0
sete dl
or al, dl
jne 0x42b9c4
mov eax, dword [0x45d1ac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45d1a8]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42b993
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x45d1a8]
call fcn.0043a57c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42b98b
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x42b98b
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x42b98b
mov eax, dword [ebp - 0x14]
call fcn.00433b94
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x42b98b
push ebp
call fcn.0042b840
pop ecx
test al, al
jne 0x42b98b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x42b947
mov eax, dword [ebp - 0x14]
call fcn.00432520
dec eax
jle 0x42b98b
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.0044a378
cmp byte [ebp - 1], 0
je 0x42b98b
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x42b98b
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45d1ac]
call fcn.0042b08c
inc edi
dec esi
jne 0x42b8da
mov eax, dword [0x45d1ac]
cmp dword [eax + 8], 0
jle 0x42b9ab
mov eax, dword [0x45d1ac]
call fcn.0042b11c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42b9c4
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042b6a8
pop ecx
test al, al
jne 0x42b9c4
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 0x43152c
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 0x43155d
je 0x4315b7
sub eax, 7
je 0x43157e
dec eax
je 0x4315a8
sub eax, 0x17
je 0x43165c
jmp 0x43169a
add eax, 0xffffff00
sub eax, 9
jb 0x431648
add eax, 0xffffff09
sub eax, 0xb
jb 0x431610
jmp 0x43169a
mov eax, ebx
call fcn.0041d5c4
mov edi, eax
test edi, edi
je 0x4316fa
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x431703
jmp 0x4316fa
test byte [ebx + 0x44], 0x20
jne 0x431703
jmp 0x4316fa
mov edx, esi
mov eax, ebx
call fcn.0042eb2c
cmp dword [esi + 0xc], 0xffffffff
jne 0x431703
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00442e50
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042d660
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00431404
test eax, eax
je 0x431703
mov dword [esi + 0xc], 1
jmp 0x431703
mov edx, esi
mov eax, ebx
call fcn.00431498
test al, al
je 0x4316fa
cmp dword [esi + 0xc], 0
jne 0x431703
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.00433b94
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x431703
mov eax, ebx
call fcn.0042e1c8
test al, al
jne 0x431703
jmp 0x4316fa
mov eax, ebx
call fcn.00433b94
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x4316fa
cmp dword [0x4594bc], 0
je 0x4316fa
mov eax, dword [0x4594bc]
cmp ebx, dword [eax + 0x24]
jne 0x4316fa
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4594bc]
call fcn.0042ea60
jmp 0x4316fa
mov eax, dword [0x45d170]
cmp byte [eax + 0x20], 0
je 0x4316fa
mov eax, dword [0x45d170]
cmp dword [eax + 0x1c], 0
je 0x4316fa
mov eax, dword [esi]
mov edx, dword [0x45d170]
cmp eax, dword [edx + 0x1c]
jne 0x4316fa
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.0041d508
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.0044a378
jmp 0x431703
mov edx, esi
mov eax, ebx
call fcn.0042eb2c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret