joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46220c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov dword [esp], edx
mov ebx, eax
xor edi, edi
cmp dword [ebx + 0x68], 0xffffffff
je 0x462253
call sub.kernel32.dll_GetTickCount
mov esi, eax
cmp dword [ebx + 0x80], 0
jne 0x46223e
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 0x1388
jb 0x462227
cmp byte [ebx + 0x70], 0
je 0x462253
mov edi, ebp
mov ecx, ebp
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.0046169c
mov eax, edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4624c0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cd8
xor eax, eax
push ebp
push 0x462537
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404828
mov eax, dword [ebp - 4]
call fcn.00404ce8
mov edi, eax
push edi
call sub.ws2_32.dll_inet_addr
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x462518
push edi
call sub.ws2_32.dll_gethostbyname
test eax, eax
je 0x462518
cmp word [eax + 0xa], 0
jle 0x462518
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ebx, dword [eax]
mov edx, esi
mov eax, ebx
call fcn.0045d694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46253e
lea eax, [ebp - 4]
call fcn.00404828
ret

Function at 0x46298c
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404cd8
mov eax, dword [ebp - 8]
call fcn.00404cd8
xor eax, eax
push ebp
push 0x462a3e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x4629ce
mov eax, dword [ebp - 4]
call fcn.00404ce8
push eax
push ebx
call sub.advapi32.dll_RegDeleteKeyA
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ce8
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x462a23
xor eax, eax
push ebp
push 0x462a1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404ce8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462a23
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462a45
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040484c
ret
Function at 0x4633d4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46346b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x46344b
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount
mov esi, eax
jmp 0x46340c
push 0xa
call sub.kernel32.dll_Sleep_1
cmp byte [ebx + 0x50], 0
je 0x463420
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 0x1388
jbe 0x463405
lea eax, [ebp - 4]
call fcn.0040630c
push eax
push 0x463478
push edi
mov eax, dword [edi]
call dword [eax]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00463f1c
mov byte [ebx + 0x50], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x463455
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463472
lea eax, [ebp - 4]
call fcn.0040630c
ret

Function at 0x464aa0
Capabilities:
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x464aa8
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x464bf6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x30], eax
lea edx, [ebp - 4]
lea eax, [esi + 0x18]
call fcn.0045d480
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x34]
call fcn.00404f6c
lea edx, [ebp - 8]
lea eax, [esi + 0x118]
call fcn.0045d480
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x38]
call fcn.00404f6c
lea edx, [ebp - 0xc]
lea eax, [esi + 0x198]
call fcn.0045d480
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x3c]
call fcn.00404f6c
lea edx, [ebp - 0x10]
lea eax, [esi + 0x218]
call fcn.0045d480
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x40]
call fcn.00404f6c
lea edx, [ebp - 0x14]
lea eax, [esi + 0x298]
call fcn.0045d480
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x44]
call fcn.00404f6c
lea edx, [ebp - 0x18]
lea eax, [esi + 0x318]
call fcn.0045d480
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x48]
call fcn.00404f6c
mov eax, dword [esi + 0x398]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x39c]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x3a0]
mov dword [ebx + 0x54], eax
mov eax, dword [esi + 0x3a8]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x3ac]
mov dword [ebx + 0x5c], eax
lea edx, [ebp - 0x1c]
lea eax, [esi + 0x3b0]
call fcn.0045d480
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x60]
call fcn.00404ab0
lea edx, [ebp - 0x20]
lea eax, [esi + 0x430]
call fcn.0045d480
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x64]
call fcn.00404ab0
lea edx, [ebp - 0x24]
lea eax, [esi + 0x4b0]
call fcn.0045d480
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x68]
call fcn.00404ab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464bfd
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.00404f48
ret
Function at 0x402a70
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004046bc
test esi, esi
jne 0x402aa6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004047ac
jmp 0x402ac4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402924
mov edi, eax
test esi, esi
je 0x402ac4
cmp dword [ebx], 0
je 0x402ac4
dec esi
jmp 0x402aad
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4037c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x47d00c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403860
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403840
xor eax, eax
push ebp
push 0x403839
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 0x40387c
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 0x403840
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x47d00c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x47d00c], ax
mov esp, ebp
pop ebp
ret

Function at 0x404540
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47f04c], 0
je 0x4045a1
cmp word [0x47f220], 0xd7b2
jne 0x404569
cmp dword [0x47f228], 0
jbe 0x404569
mov eax, 0x47f21c
call dword [0x47f238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47d054
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 0x4045c8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47d01c], 0
jne 0x4045bd
push 0
push 0x47d074
push 0x47d054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406050
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406280
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4060d3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406280
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4060d3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40629c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40615c
xor eax, eax
push ebp
push 0x406155
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405e98
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40613a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4062bc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40613a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40615c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406276
cmp byte [ebp - 0xd], 0
jne 0x4061a3
cmp byte [ebp - 0x12], 0
je 0x406276
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4061bc
dec ebx
cmp byte [ebx], 0x2e
je 0x4061cb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4061bb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406276
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406208
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406276
cmp byte [ebp - 0xd], 0
je 0x406276
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406276
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b960
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 0x40b999
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004047ac
jmp 0x40b9a2
mov eax, ebx
mov edx, esi
call fcn.00404710
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b9ac
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 0x40b9cd
mov al, byte [esp]
jmp 0x40b9cf
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c054
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40becc
mov eax, dword [0x47eb48]
cmp byte [eax], 0
je 0x40c0bc
mov eax, dword [0x47e95c]
call fcn.00402ea0
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004090a8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c104
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c0f2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47e908]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47f718]
call fcn.00405e5c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40cec8
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 0x40cf2c
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.00404924
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408cf4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf33
lea eax, [ebp - 0xc]
call fcn.004046bc
ret
Function at 0x41f1b8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47fa24
cmp dword [edi], 0
jne 0x41f234
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47fa20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47d590
mov ecx, 2
call fcn.004028e4
mov edx, 0x41f190
lea eax, [esi + 5]
call fcn.0041f1b0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f1b0
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 0x41f209
mov dword [0x47fa20], 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 0x420778
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 0x42077e
ret

Function at 0x422c14
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 0x422c65
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x422c4c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422c3c
jmp 0x422c65
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 0x422c4d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4380ac
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.00404b5c
xor eax, eax
push ebp
push 0x4381da
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4381ad
xor eax, eax
push ebp
push 0x4381a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404974
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43817b
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 0x43816a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404974
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
mov edx, ebx
pop ecx
call fcn.004028e4
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 0x438171
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x47e8ac]
mov dl, 1
mov eax, dword [0x407b34]
call fcn.0040c1c4
call fcn.0040411c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4381e1
lea eax, [ebp - 4]
call fcn.004046bc
ret
Function at 0x4381e8
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 0x438399
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404d5c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4383b0
call fcn.004049c0
mov eax, ebx
call fcn.0041e758
mov edi, eax
dec edi
test edi, edi
jl 0x4382a0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041e72c
mov edx, dword [0x42dc88]
call fcn.00403adc
test al, al
je 0x43829c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041e72c
lea edx, [ebp - 0x14]
call fcn.0043f0d8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404d5c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a34
inc esi
dec edi
jne 0x43824e
mov al, byte [0x4383b4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4383c0
mov eax, dword [ebp - 0xc]
call fcn.0040d4a0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404754
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.0043f0d8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4383b0
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 + 0x2f0]
call fcn.0043f0d8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4383b0
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, 0x4383b0
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, 0x4383cc
call fcn.00409848
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4383a0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004046e0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004046e0
lea eax, [ebp - 0x14]
call fcn.004046bc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004046e0
ret

Function at 0x4399ec
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 0x439938
call sub.user32.dll_EnumWindows
ret
Function at 0x439b10
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 0x439b8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043955c
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x439b35
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004391b4
cmp dword [ebp - 4], 0
je 0x439b77
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404b6c
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 0x439b94
lea eax, [ebp - 4]
call fcn.004046bc
ret

Function at 0x43cc40
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 [0x47fbe4], 0
je 0x43cd8f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x47eae4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43cd8f
mov eax, dword [0x47fbe8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x47fbe4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43cd5e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x47fbe4]
call fcn.00416454
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43cd56
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43cd56
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43cd56
mov eax, dword [ebp - 0x14]
call fcn.0044586c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43cd56
push ebp
call fcn.0043cbfc
pop ecx
test al, al
jne 0x43cd56
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43cd12
mov eax, dword [ebp - 0x14]
call fcn.00444400
dec eax
jle 0x43cd56
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.00403b4c
cmp byte [ebp - 1], 0
je 0x43cd56
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43cd56
mov edx, dword [ebp - 0x14]
mov eax, dword [0x47fbe8]
call fcn.0043c3c4
inc edi
dec ebx
jne 0x43cca5
mov eax, dword [0x47fbe8]
cmp dword [eax + 8], 0
jle 0x43cd76
mov eax, dword [0x47fbe8]
call fcn.0043c454
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43cd8f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043ca64
pop ecx
test al, al
jne 0x43cd8f
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 0x440358
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 0x4403a4
mov eax, esi
call fcn.00455e0c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4403a4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4403a4
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 0x4404e8
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4403e4
cmp eax, 0x108
ja 0x4403e4
mov eax, esi
call fcn.00455e0c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4404df
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x4404e8
jmp 0x4404df
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4404c6
cmp eax, 0x20a
ja 0x4404c6
test byte [esi + 0x50], 0x80
jne 0x440416
sub eax, 0x203
je 0x440413
sub eax, 3
je 0x440413
sub eax, 3
jne 0x440416
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44042a
dec eax
je 0x44043f
dec eax
je 0x44045f
dec eax
je 0x44043f
jmp 0x440466
mov ecx, ebx
mov eax, dword [0x47eae4]
mov eax, dword [eax]
mov edx, esi
call fcn.0045f4f8
jmp 0x4404df
cmp byte [esi + 0x5d], 1
jne 0x440455
mov eax, esi
mov si, 0xffed
call fcn.00403b4c
jmp 0x4404e8
or word [esi + 0x54], 1
jmp 0x4404df
and word [esi + 0x54], 0xfffe
jmp 0x4404df
mov eax, dword [0x47fba0]
cmp byte [eax + 0x20], 0
je 0x4404df
mov eax, dword [0x47fba0]
cmp dword [eax + 0x1c], 0
je 0x4404df
mov eax, dword [ebx]
mov edx, dword [0x47fba0]
cmp eax, dword [edx + 0x1c]
jne 0x4404df
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.00455d50
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.00403b4c
jmp 0x4404e8
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x4404df
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043ec78
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