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

Disassembly:
push ecx
mov eax, dword [0x590ae8]
xor edx, edx
cmp eax, edx
jne 0x488b86
xor eax, eax
mov byte [eax + 0x5909e8], al
inc eax
cmp eax, 0x100
jl 0x488b6e
mov dword [0x590ae8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5909e8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x488c17
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 0x488bea
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 0x488bb8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x488c20
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 0x488c73
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 0x488c5a
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 0x48f5f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c2fde
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.0048ff10
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x526a2c
call fcn.004afaab
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x48f683
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004afaab
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x48f67c
push 0
mov ecx, eax
call fcn.00486790
mov dword [esi + 0xc], eax
jmp 0x48f685
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x48f685
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 0x4b2177
Capabilities:
Get graphical window text

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

Function at 0x4b39ec
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 0x4b3a2e
call fcn.004b9f23
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b3a2e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b3a25
xor eax, eax
jmp 0x4b3a36
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b3a3c
pop edi
pop esi
pop ebx
ret 4

Function at 0x4ba453
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 0x4ba481
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ba49f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ba3b9
jmp 0x4ba49f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ba49f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004ba3b9
test edi, edi
mov eax, edi
jne 0x4ba489
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4bccc9
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x4bccf1
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x4bcd02
push 2
call edi
test ax, ax
jge 0x4bcd02
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004b17ad
cmp dword [esi + 0x30], ebx
jne 0x4bcddc
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004b17ad
cmp eax, dword [esp + 0x34]
jne 0x4bcddc
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x4bcd78
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x4bcdbd
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x4bcddc
cmp eax, 0x205
je 0x4bcddc
cmp eax, 0x201
je 0x4bcddc
cmp eax, 0x204
je 0x4bcddc
cmp eax, ebx
jne 0x4bcda3
cmp dword [esp + 0x1c], 0x1b
je 0x4bcddc
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x5a25ec]
jbe 0x4bcdd2
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x4bcd35
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x30d32821
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x3a8b24ab
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x47f393]
shl eax, 2
mov dword [0x47f397], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0045e92c
pop edx
call fcn.0045e890
call fcn.0045e96c
push 0
call fcn.0045fc7c
pop ecx
push 0x47f33c
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x47f39b], eax
push 0
jmp fcn.00465df0
Function at 0x413b08
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.0045c6ac
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x413b57
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.0045c8dc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419d14
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 0x419d1a
ret

Function at 0x41c204
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 0x41c255
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41c23c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41c22c
jmp 0x41c255
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 0x41c23d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424d08
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x487358
cmp dword [edi], 0
jne 0x424d84
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x487354]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x482ac4
mov ecx, 2
call fcn.0045b68c
mov edx, 0x424ce0
lea eax, [esi + 5]
call fcn.00424d00
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424d00
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 0x424d59
mov dword [0x487354], 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 0x424ea0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x424ef0]
test si, 4
je 0x424eb4
or bl, 1
test si, 8
je 0x424ebe
or bl, 4
test si, 1
je 0x424ec8
or bl, 8
test si, 2
je 0x424ed2
or bl, 0x10
test si, 0x10
je 0x424edc
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x424eeb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x424ef4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x424f2c]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x424f0d
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x424f1c
or bl, 4
test esi, 0x20000000
je 0x424f27
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x42b47c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x42b48e
add esp, 0xfffffff0
call fcn.0045bf3c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00450770
mov eax, ebx
call fcn.0042b7c8
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x44a490]
call fcn.0045bc0c
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x44a490]
call fcn.0045bc0c
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x44a490]
call fcn.0045bc0c
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x44a490]
call fcn.0045bc0c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x44a490]
call fcn.0045bc0c
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, 0x427f6c
push eax
push 0
push 0
mov eax, dword [0x487090]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41923c]
call fcn.0041a774
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x41923c]
call fcn.0041a774
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x41923c]
call fcn.0041a774
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.0042bba8
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42bac4
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42bac4
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42bac4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x42b59d
call fcn.0045bf94
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x42b8a8
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 0x42ba53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x42ba34
mov dl, 1
mov eax, dword [0x44a7cc]
call fcn.0045bc0c
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.0045c6ac
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x42ba23
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.004407c8
test al, al
je 0x42ba16
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, 0x42ba64
lea eax, [ebp - 0x254]
call fcn.00456f80
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x42ba16
xor eax, eax
push ebp
push 0x42ba0f
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 0x42ba9c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x42b9f8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0045c8dc
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 0x42b9f8
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0045c8dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ba16
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x42b919
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0044d804
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 0x42ba5a
lea eax, [ebp - 0x260]
call fcn.0045c6ac
ret

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

Disassembly:
push ecx
mov eax, dword [0x487348]
cmp byte [eax + 0x95], 0
jne 0x42c311
cmp dword [0x487364], 0
jne 0x42c2d2
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x42c25c
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x487364], eax
cmp dword [0x487360], 0
jne 0x42c2ed
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x487360], eax
cmp dword [0x487368], 0
jne 0x42c311
push esp
push 0
push 0
push 0x42c200
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x487368], eax
pop edx
ret
Function at 0x42c408
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x42c41f
add esp, 0xfffffff0
call fcn.0045bf3c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00450770
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x44a490]
call fcn.0045bc0c
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x44a490]
call fcn.0045bc0c
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 [0x419bcc]
call fcn.004211bc
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x42c594
mov eax, dword [0x487220]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042158c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42dfb8
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x487220]
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.00458338
test eax, eax
je 0x42c512
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00456934
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00458360
test eax, eax
je 0x42c526
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.0045c8dc
mov eax, dword [0x487224]
cmp byte [eax], 0
jne 0x42c557
mov eax, ebx
call fcn.0042c680
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 0x42c589
call fcn.0045bf94
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42c8f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x487348]
cmp dword [eax + 0x24], 0
je 0x42c993
cmp dword [ebx + 0x84], 0
jne 0x42c98d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x42c880
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x42c98d
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 0x42c956
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x42c98d
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.0044bb44
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x42c965
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x42d3a0
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 0x42d3d5
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.0045c794
jmp 0x42d3df
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.0045c700
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x42e32c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x42e364
mov eax, esi
call fcn.0043c53c
test al, al
je 0x42e364
mov eax, dword [ebx + 0x74]
call fcn.0043c240
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x42e364
push 0
mov eax, dword [ebx + 0x74]
call fcn.0043c240
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x433f14
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 [0x4873e4], 0
sete dl
or al, dl
jne 0x434054
mov eax, dword [0x4873e8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4873e4]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x434023
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x4873e4]
call fcn.0044bb44
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43401b
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x43401b
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x43401b
mov eax, dword [ebp - 0x14]
call fcn.0043c240
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x43401b
push ebp
call fcn.00433ed0
pop ecx
test al, al
jne 0x43401b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x433fd7
mov eax, dword [ebp - 0x14]
call fcn.0043abcc
dec eax
jle 0x43401b
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.0045be18
cmp byte [ebp - 1], 0
je 0x43401b
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x43401b
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4873e8]
call fcn.0043371c
inc edi
dec esi
jne 0x433f6a
mov eax, dword [0x4873e8]
cmp dword [eax + 8], 0
jle 0x43403b
mov eax, dword [0x4873e8]
call fcn.004337ac
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x434054
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00433d38
pop ecx
test al, al
jne 0x434054
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 0x439bd8
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 0x439c09
je 0x439c63
sub eax, 7
je 0x439c2a
dec eax
je 0x439c54
sub eax, 0x17
je 0x439d08
jmp 0x439d46
add eax, 0xffffff00
sub eax, 9
jb 0x439cf4
add eax, 0xffffff09
sub eax, 0xb
jb 0x439cbc
jmp 0x439d46
mov eax, ebx
call fcn.00424fec
mov edi, eax
test edi, edi
je 0x439da6
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x439daf
jmp 0x439da6
test byte [ebx + 0x44], 0x20
jne 0x439daf
jmp 0x439da6
mov edx, esi
mov eax, ebx
call fcn.004371d8
cmp dword [esi + 0xc], 0xffffffff
jne 0x439daf
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0045457c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00435d1c
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00439ab0
test eax, eax
je 0x439daf
mov dword [esi + 0xc], 1
jmp 0x439daf
mov edx, esi
mov eax, ebx
call fcn.00439b44
test al, al
je 0x439da6
cmp dword [esi + 0xc], 0
jne 0x439daf
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.0043c240
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x439daf
mov eax, ebx
call fcn.00436874
test al, al
jne 0x439daf
jmp 0x439da6
mov eax, ebx
call fcn.0043c240
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x439da6
cmp dword [0x482d68], 0
je 0x439da6
mov eax, dword [0x482d68]
cmp ebx, dword [eax + 0x24]
jne 0x439da6
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x482d68]
call fcn.0043710c
jmp 0x439da6
mov eax, dword [0x4873ac]
cmp byte [eax + 0x20], 0
je 0x439da6
mov eax, dword [0x4873ac]
cmp dword [eax + 0x1c], 0
je 0x439da6
mov eax, dword [esi]
mov edx, dword [0x4873ac]
cmp eax, dword [edx + 0x1c]
jne 0x439da6
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.00424f30
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.0045be18
jmp 0x439daf
mov edx, esi
mov eax, ebx
call fcn.004371d8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret