joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41006b
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push 0x100
push 0x42e184
push 0x159
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov byte [ebp - 0x230], 0
push 0x104
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4100f9
lea eax, [ebp - 0x104]
push eax
mov ecx, 0x42f940
call fcn.00404e7b
push 0x42f940
push 0x100
push 0x42e184
call fcn.00404f64
add esp, 0xc
push 0x42f940
push 0x104
lea ecx, [ebp - 0x230]
push ecx
call fcn.0040514c
add esp, 0xc
call fcn.0042176a
mov dword [0x42c6b4], eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0x410408
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x11c], edx
push str.A1_AppIcon
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x118], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x114], eax
push 0
call fcn.0040781b
add esp, 4
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0x42c4b4
lea ecx, [ebp - 0x12c]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
and eax, 0xffff
test eax, eax
jne 0x410193
xor eax, eax
jmp 0x410250
mov dword [ebp - 0x128], 0x4105dc
push 0x42c4c4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x120], 4
mov dword [ebp - 0x108], 0x42c4d4
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
and eax, 0xffff
test eax, eax
jne 0x4101ea
xor eax, eax
jmp 0x410250
mov dword [ebp - 0x128], 0x4105dc
push str.MYOBChildIcon
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x120], 4
mov dword [ebp - 0x108], 0x42c4f4
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.USER32.dll_RegisterClassA]
and eax, 0xffff
test eax, eax
jne 0x410241
xor eax, eax
jmp 0x410250
mov dword [0x42e01c], 0x412cc7
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x410254
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xffff
and eax, 0xffff
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x304]
and eax, 0xff
and eax, 0xff
shl eax, 8
mov ecx, dword [ebp - 0x304]
shr ecx, 8
and ecx, 0xff
or eax, ecx
xor edx, edx
cmp eax, 0x30a
setge dl
mov dword [0x42e160], edx
mov eax, dword [ebp + 8]
mov dword [0x4304fc], eax
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push 0x105
mov edx, dword [0x4304fc]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x100
lea eax, [ebp - 0x300]
push eax
push 0x159
mov ecx, dword [0x4304fc]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
push 0
lea edx, [ebp - 0x300]
push edx
push 0x42e184
call fcn.0040a67d
add esp, 0x10
test eax, eax
jne 0x410358
lea eax, [ebp - 0x100]
push eax
push 0x42c504
lea ecx, [ebp - 0x100]
push ecx
call fcn.00418f7d
add esp, 0xc
lea edx, [ebp - 0x100]
push edx
push 0x42e184
lea eax, [ebp - 0x100]
push eax
call fcn.00418f7d
add esp, 0xc
lea ecx, [ebp - 0x100]
push ecx
push 0x42c508
lea edx, [ebp - 0x100]
push edx
call fcn.00418f7d
add esp, 0xc
push 0x100
lea eax, [ebp - 0x200]
push eax
push 0x183
mov ecx, dword [0x4304fc]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.00418f7d
add esp, 0xc
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
push 0x80000000
push 0x80000000
push 0
push 0
push 0x2cf0000
lea eax, [ebp - 0x100]
push eax
push str.MYOBFrameClass
call fcn.004078df
add esp, 0x2c
mov dword [0x42e7d0], eax
cmp dword [0x42e7d0], 0
jne 0x4103d6
xor eax, eax
jmp 0x410404
push 3
mov ecx, dword [0x42e7d0]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x42e7d0]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [0x42d9d0], 0
jne 0x4103ff
xor eax, eax
jmp 0x410404
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x413a38
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [0x430808], 1
push 0x42e3e8
push 0x42e3ec
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00408c44
add esp, 0x10
push 1
push 5
push 0xffffffffffffffff
lea edx, [ebp - 4]
push edx
push 0x84
call fcn.004139bd
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x413aad
mov word [ebp - 0xc], 0
movsx eax, word [ebp - 0xc]
cmp eax, 1
je 0x413aa1
lea ecx, [ebp - 0xc]
push ecx
push 0
call fcn.00413919
add esp, 8
jmp 0x413a88
mov edx, dword [ebp - 8]
push edx
call fcn.0041853b
add esp, 4
push 1
call fcn.004215ad
mov esp, ebp
pop ebp
ret 8
Function at 0x4264d1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42ced8
cmp edx, dword [eax]
je 0x4264f3
add eax, 8
inc ecx
cmp eax, 0x42cf68
jl 0x4264e4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42ced8]
jne 0x426621
mov eax, dword [0x430e40]
cmp eax, 1
je 0x4265fb
test eax, eax
jne 0x426524
cmp dword [0x42c754], 1
je 0x4265fb
cmp edx, 0xfc
je 0x426621
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42655b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00421490
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00420540
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42659e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00420540
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42a964
push edi
call fcn.00421040
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00421490
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004214a0
lea eax, [ebp - 0xa0]
push 0x42a944
push eax
call fcn.004214a0
push dword [esi + 0x42cedc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004214a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0042897b
add esp, 0x2c
pop edi
jmp 0x426621
lea eax, [ebp + 8]
lea esi, [esi + 0x42cedc]
push 0
push eax
push dword [esi]
call fcn.00420540
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402bac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x479008], 0x8088405
inc edx
mov dword [ebx + 0x479008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403004
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x479024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40309c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40307c
xor eax, eax
push ebp
push 0x403075
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4030b8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40307c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x479024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x479024], ax
mov esp, ebp
pop ebp
ret

Function at 0x403d60
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47c048], 0
je 0x403dc1
cmp word [0x47c21c], 0xd7b2
jne 0x403d89
cmp dword [0x47c224], 0
jbe 0x403d89
mov eax, 0x47c218
call dword [0x47c234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x479070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403de8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x479034], 0
jne 0x403ddd
push 0
push 0x479068
push 0x479070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405a90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405af6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040414c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402bc8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ae0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405afd
lea eax, [ebp - 0x10]
call fcn.00403edc
ret

Function at 0x40ace0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ad19
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fcc
jmp 0x40ad22
mov eax, ebx
mov edx, esi
call fcn.00403f30
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ad2c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ad4d
mov al, byte [esp]
jmp 0x40ad4f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bcec
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bdc2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f74
lea eax, [ebp - 8]
call fcn.004043ec
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040439c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bdac
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bda5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040439c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bd8f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bdd4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bd8f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bdac
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bdc9
lea eax, [ebp - 8]
call fcn.00403edc
ret
Function at 0x40c34c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c3b0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040414c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040802c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c3b7
lea eax, [ebp - 0xc]
call fcn.00403edc
ret

Function at 0x41a64c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47c884
cmp dword [edi], 0
jne 0x41a6c8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47c880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4793f0
mov ecx, 2
call fcn.004028c8
mov edx, 0x41a624
lea eax, [esi + 5]
call fcn.0041a644
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a644
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 0x41a69d
mov dword [0x47c880], 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 0x41bc54
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 0x41bc5a
ret

Function at 0x41e164
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 0x41e1b5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e19c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e18c
jmp 0x41e1b5
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 0x41e19d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428108
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040438c
xor eax, eax
push ebp
push 0x428236
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x428209
xor eax, eax
push ebp
push 0x428202
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040419c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4281d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4281c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040419c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040439c
mov edx, ebx
pop ecx
call fcn.004028c8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4281cd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x47acd8]
mov dl, 1
mov eax, dword [0x406e68]
call fcn.0040b558
call fcn.00403918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42823d
lea eax, [ebp - 4]
call fcn.00403edc
ret
Function at 0x428244
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4283f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040458c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42840c
call fcn.004041e8
mov eax, ebx
call fcn.00419be0
mov edi, eax
dec edi
test edi, edi
jl 0x4282fc
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00419bb4
mov edx, dword [0x430378]
call fcn.00403318
test al, al
je 0x4282f8
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00419bb4
lea edx, [ebp - 0x14]
call fcn.0043961c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040458c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040425c
inc esi
dec edi
jne 0x4282aa
mov al, byte [0x428410]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42841c
mov eax, dword [ebp - 0xc]
call fcn.0040c924
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00403f74
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043961c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42840c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0043961c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42840c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42840c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x428428
call fcn.00408bc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4283fc
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00403f00
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403f00
lea eax, [ebp - 0x14]
call fcn.00403edc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403f00
ret

Function at 0x433cfc
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x433c48
call sub.user32.dll_EnumWindows
ret
Function at 0x433e1c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x433e99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043387c
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x433e41
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043347c
cmp dword [ebp - 4], 0
je 0x433e83
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040439c
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433ea0
lea eax, [ebp - 4]
call fcn.00403edc
ret

Function at 0x43716c
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 - 9]
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
cmp dword [0x47cb80], 0
je 0x4372bb
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x47af0c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4372bb
mov eax, dword [0x47cb84]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x47cb80]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43728a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x47cb80]
call fcn.00413c04
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x437282
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x437282
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x437282
mov eax, dword [ebp - 0x14]
call fcn.0043fe04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x437282
push ebp
call fcn.00437128
pop ecx
test al, al
jne 0x437282
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43723e
mov eax, dword [ebp - 0x14]
call fcn.0043e934
dec eax
jle 0x437282
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403388
cmp byte [ebp - 1], 0
je 0x437282
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x437282
mov edx, dword [ebp - 0x14]
mov eax, dword [0x47cb84]
call fcn.004368f4
inc edi
dec ebx
jne 0x4371d1
mov eax, dword [0x47cb84]
cmp dword [eax + 8], 0
jle 0x4372a2
mov eax, dword [0x47cb84]
call fcn.00436984
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4372bb
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00436f90
pop ecx
test al, al
jne 0x4372bb
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 0x43a89c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x43a8e8
mov eax, esi
call fcn.0045058c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43a8e8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43a8e8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43aa27
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43a928
cmp eax, 0x108
ja 0x43a928
mov eax, esi
call fcn.0045058c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43aa1e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43aa27
jmp 0x43aa1e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43aa07
cmp eax, 0x20a
ja 0x43aa07
test byte [esi + 0x50], 0x80
jne 0x43a95a
sub eax, 0x203
je 0x43a957
sub eax, 3
je 0x43a957
sub eax, 3
jne 0x43a95a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43a96e
dec eax
je 0x43a983
dec eax
je 0x43a9a0
dec eax
je 0x43a983
jmp 0x43a9a7
mov ecx, ebx
mov eax, dword [0x47af0c]
mov eax, dword [eax]
mov edx, esi
call fcn.00459dc8
jmp 0x43aa1e
cmp byte [esi + 0x5d], 1
jne 0x43a999
mov eax, esi
mov si, 0xffed
call fcn.00403388
jmp 0x43aa27
or word [esi + 0x54], 1
jmp 0x43aa1e
and word [esi + 0x54], 0xfffe
jmp 0x43aa1e
mov eax, dword [0x47cb3c]
cmp byte [eax + 0x20], 0
je 0x43aa1e
mov eax, dword [0x47cb3c]
cmp dword [eax + 0x1c], 0
je 0x43aa1e
mov eax, dword [ebx]
mov edx, dword [0x47cb3c]
cmp eax, dword [edx + 0x1c]
jne 0x43aa1e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004504d0
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403388
jmp 0x43aa27
cmp eax, 0xb00b
jne 0x43aa1e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004391bc
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret