joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c7a94
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5c7b36
cmp dword [ebx + 0xac], 0
jne 0x5c7b30
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5c79d0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5c7b30
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_GetWindowLongW
test al, 8
je 0x5c7af6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5c7b30
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004a9334
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5c7b05
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5c7d74
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x5e80c0]
cmp dword [eax + 0x188], 0
je 0x5c7eee
test bl, bl
jne 0x5c7e39
cmp dword [esi + 0xb4], 0
jne 0x5c7e2e
mov eax, esi
call fcn.005cad2c
push eax
push 0x5c7c68
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5c7dff
mov eax, dword [0x5e80c0]
cmp byte [eax + 0xeb], 0
je 0x5c7dff
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x5c7de0
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c7dff
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c7de8
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c7e2e
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004a9334
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c7e0e
inc dword [esi + 0xb4]
jmp 0x5c7eee
cmp dword [esi + 0xb4], 0
jle 0x5c7eee
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5c7eee
cmp dword [esi + 0x58], 0
je 0x5c7ea3
mov eax, dword [0x5e80c0]
cmp byte [eax + 0xeb], 0
je 0x5c7ea3
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5c7e84
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c7ea3
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c7e8c
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c7ed2
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004a9334
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c7eb2
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5b95cc]
call fcn.0040bf5c
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5c8b48
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5c8ba5
cmp byte [ebx + 0xeb], 0
jne 0x5c8ba5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409d18
mov eax, dword [esi]
test eax, eax
je 0x5c8b92
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5c8bb2
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409f70
jmp 0x5c8bb2
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409f70
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5ca464
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5ca4d5
mov eax, esi
call fcn.005221c4
test al, al
je 0x5ca4d5
mov eax, dword [ebx + 0x98]
call fcn.00521df0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5ca4d5
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x128]
test al, al
je 0x5ca4c6
push 0
mov eax, dword [ebx + 0x98]
call fcn.00521df0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00518920
jmp 0x5ca4d5
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005ca29c
pop esi
pop ebx
ret
Function at 0x402fe8
Capabilities:
Query or enumerate registry value

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

Function at 0x403d4c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47c04c], 0
je 0x403dad
cmp word [0x47c220], 0xd7b2
jne 0x403d75
cmp dword [0x47c228], 0
jbe 0x403d75
mov eax, 0x47c21c
call dword [0x47c238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47606c
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 0x403dd4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x476030], 0
jne 0x403dc9
push 0
push 0x476064
push 0x47606c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403f00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402724
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x47c04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403ec8
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405d98
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 0x405dfe
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.004041b4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402bac
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405de8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e05
lea eax, [ebp - 0x10]
call fcn.00403f44
ret

Function at 0x40aea4
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 0x40aedd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404034
jmp 0x40aee6
mov eax, ebx
mov edx, esi
call fcn.00403f98
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b598
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b410
mov eax, dword [0x47b150]
cmp byte [eax], 0
je 0x40b614
mov eax, dword [0x47af28]
call fcn.00402a18
call fcn.0040288c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004086e4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
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 0x40b65c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b64a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47aed4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47c668]
call fcn.00405264
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 0x40bf04
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 0x40bfda
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403fdc
lea eax, [ebp - 8]
call fcn.00404454
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404404
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bfc4
mov eax, ebx
call fcn.00402724
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bfbd
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.00404404
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bfa7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bfec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bfa7
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 0x40bfc4
mov eax, dword [ebp - 0x10]
call fcn.00402744
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bfe1
lea eax, [ebp - 8]
call fcn.00403f44
ret

Function at 0x40c4e4
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 0x40c548
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.004041b4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040820c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c54f
lea eax, [ebp - 0xc]
call fcn.00403f44
ret
Function at 0x411f80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
jmp 0x411fad
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x41202c
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0040db4c
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x411ffa
mov cx, word [esp]
sub cx, si
jmp 0x411ffc
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x411fe3
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x412022
mov cx, word [esp]
sub cx, si
jmp 0x412024
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x41200b
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x412089
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00411c60
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x412074
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x412089
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x411f8a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x414c68
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
add esp, 0xfffffff0
call fcn.00414c64
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0x64
call sub.kernel32.dll_Sleep
call fcn.00414c64
sub eax, dword [esp]
sbb edx, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, ebx
cmp dword [esp + 0xc], 0
jne 0x414cb6
cmp dword [esp + 8], 0x2faf080
jb 0x414cc1
jmp 0x414cb8
jl 0x414cc1
cmp ecx, 0x32
jb 0x414cc1
xor eax, eax
jmp 0x414cc3
mov al, 1
add esp, 0x10
pop ebx
ret
Function at 0x4254b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47c964
cmp dword [edi], 0
jne 0x425530
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47c960]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x479b20
mov ecx, 2
call fcn.00402920
mov edx, 0x42548c
lea eax, [esi + 5]
call fcn.004254ac
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004254ac
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 0x425505
mov dword [0x47c960], 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 0x426a7c
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 0x426a82
ret

Function at 0x428ed0
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 0x428f21
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x428f08
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x428ef8
jmp 0x428f21
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 0x428f09
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f3c0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x414ef4]
call fcn.004048b0
xor eax, eax
push ebp
push 0x42f504
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x479e58], 0
jne 0x42f413
mov ecx, dword [0x47ae18]
mov dl, 1
mov eax, dword [0x407128]
call fcn.0040b728
call fcn.00403904
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402b8c
mov eax, ebx
call fcn.00404780
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x42f514
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405834
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404790
test eax, eax
jle 0x42f4ab
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x42f4a4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004041cc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004041b4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00407f24
test eax, eax
jne 0x42f4a4
mov ebx, 0x15
jmp 0x42f4b0
mov ebx, 0x10
jmp 0x42f4b0
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x479e58]
call fcn.0042f318
mov eax, dword [ebp - 8]
call fcn.0042f318
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040584c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f50b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403f68
lea eax, [ebp - 0x10]
mov edx, dword [0x414ef4]
call fcn.00404980
ret

Function at 0x4356ac
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 0x4355f8
call sub.user32.dll_EnumWindows
ret

Function at 0x4357cc
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 0x435849
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043522c
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 0x4357f1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00434e2c
cmp dword [ebp - 4], 0
je 0x435833
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404404
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 0x435850
lea eax, [ebp - 4]
call fcn.00403f44
ret
Function at 0x438d1c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x438d6c]
test si, 4
je 0x438d30
or bl, 1
test si, 8
je 0x438d3a
or bl, 4
test si, 1
je 0x438d44
or bl, 8
test si, 2
je 0x438d4e
or bl, 0x10
test si, 0x10
je 0x438d58
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x438d67
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x438d70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x438da8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x438d89
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x438d98
or bl, 4
test esi, 0x20000000
je 0x438da3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43f450
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x43f462
add esp, 0xfffffff0
call fcn.0040349c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424424
mov eax, dword [0x47aedc]
mov dword [eax + 4], ebx
mov dword [eax], 0x43f7f4
mov eax, dword [0x47aee8]
mov dword [eax + 4], ebx
mov dword [eax], 0x43f800
mov eax, ebx
call fcn.0043f80c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41c71c]
call fcn.00403148
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41c71c]
call fcn.00403148
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41c71c]
call fcn.00403148
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41c71c]
call fcn.00403148
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41c71c]
call fcn.00403148
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x43bc28
push eax
push 0
push 0
mov eax, dword [0x47b04c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425e88]
call fcn.004275c4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425e88]
call fcn.004275c4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425e88]
call fcn.004275c4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0043fc2c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43fb08
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43fb08
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43fb08
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43f59f
call fcn.004034f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x43f8ec
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 0x43fa97
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x43fa78
mov dl, 1
mov eax, dword [0x41cb38]
call fcn.00403148
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f44
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x43fa67
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.0045adf8
test al, al
je 0x43fa5a
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, 0x43faa8
lea eax, [ebp - 0x254]
call fcn.00408d2c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43fa5a
xor eax, eax
push ebp
push 0x43fa53
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x43fae0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x43fa3c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041b4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x43fa3c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004041b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fa5a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x43f95d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00420614
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fa9e
lea eax, [ebp - 0x260]
call fcn.00403f44
ret

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

Disassembly:
push ecx
mov eax, dword [0x47cc10]
cmp byte [eax + 0xa5], 0
jne 0x44043d
cmp dword [0x47cc28], 0
jne 0x4403fe
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x440388
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47cc28], eax
cmp dword [0x47cc24], 0
jne 0x440419
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47cc24], eax
cmp dword [0x47cc2c], 0
jne 0x44043d
push esp
push 0
push 0
push 0x44032c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x47cc2c], eax
pop edx
ret