joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4011e0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
ror esi, 0xf4
neg edx
add edi, 0xb1
rol edi, 0x5f
add edx, 0x6f
rol eax, 0xd
rcl edi, 0x17
bswap edx
rol esi, 0x3d
imul eax
imul esi
add edx, 0xa9
neg edi
neg esi
not edx
inc edi
not edx
neg edi
rcr edx, 0xa0
neg ebx
inc eax
bswap esi
sub ebx, 0xe
rol edx, 0x2c
or eax, 0xd9
or ebx, 0x8e
rol eax, 0xdb
ror eax, 0xa5
ror edx, 0x4a
bswap esi
add ebx, 0x99
ror esi, 0x11
imul esi
bswap ebx
imul eax
rol edx, 0x45
add esi, 0x29
inc esi
inc edx
rcr edi, 0xa8
ror edi, 0xc2
inc eax
add esi, 0x9a
add ebx, 0x5d
sbb eax, 0xc6
sbb edx, 0xc7
neg eax
not esi
and edi, 0xa8
not edx
xor ecx, ecx
xor edi, edi
add edi, 0xe8
sub ebx, 0xea
bswap edx
inc edx
not eax
sbb edi, 0xa
bswap ebx
dec edx
not edi
bswap edx
ror eax, 0x91
rcr edi, 9
rcr ebx, 0x9f
dec ebx
dec esi
mov ebx, 0x71
dec edi
imul edi
ror eax, 0xdc
dec eax
and ebx, 0xfa
dec ebx
mov edi, 0xa1
dec edi
not ebx
mov esi, 0x30
bswap edi
bswap eax
bswap edx
mov ebx, 0x54
dec edx
sub esi, 0xfe
not edi
bswap ebx
neg esi
or edx, 0xcf
rcr edx, 0x5f
add eax, 0x2f
rcl ebx, 0xf1
imul eax
sbb eax, 0x94
add edi, 0xbc
ror esi, 0x4c
imul ebx
inc edx
and edi, 0x21
imul edi
sbb esi, 0x78
imul eax
rcr edx, 0xe4
mov ecx, dword [ebp + 0xc]
sub eax, 0x73
inc edx
bswap edi
imul eax
and esi, 0xe6
mov edx, 0xd4
not ebx
mov edx, 0x4b
rcr edi, 0xdb
bswap esi
ror edi, 0xbf
rol edi, 0xee
add edi, 0xc3
bswap ebx
bswap eax
ror esi, 0xcd
or ebx, 0xf1
and esi, 0x75
imul eax
ror eax, 0xd2
dec edx
bswap edi
inc ebx
add edi, 0xfe
rcr edx, 0xec
rcl edi, 0xb2
rol ebx, 0xa4
ror edi, 0x69
imul esi
inc ebx
or ebx, 0x60
sbb edx, 1
dec eax
or eax, 0xac
and edi, 0x54
and edx, 0xc0
rcl edx, 0x11
ror ebx, 0xe0
bswap ebx
mov edi, 0xd4
dec esi
not eax
sbb eax, 0xb4
imul edx
ror eax, 0xf0
rcr edi, 0x63
rcl esi, 0x65
inc edi
imul ebx
rcl esi, 0x79
mov edi, dword [ebp + 8]
mov ebx, ebx
mov esi, esi
mov esi, esi
not byte [edi]
mov eax, ebx
xor eax, ebx
mov ebx, ebx
sub byte [edi], 0x88
mov eax, eax
xor esi, esi
xor ebx, esi
add byte [edi], 0x49
mov ebx, eax
mov eax, eax
xor eax, eax
imul byte [edi]
inc edi
loop 0x4013aa
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x405d83
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404c72
and dword [ebp - 4], 0
cmp dword [0x40e260], 0
mov ebx, eax
jne 0x405e34
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405ee5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405ee5
push eax
call fcn.00404c00
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e260], eax
call esi
push eax
call fcn.00404c00
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e264], eax
call esi
push eax
call fcn.00404c00
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e268], eax
call esi
push eax
call fcn.00404c00
pop ecx
mov dword [0x40e270], eax
test eax, eax
je 0x405e34
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404c00
pop ecx
mov dword [0x40e26c], eax
mov eax, dword [0x40e26c]
cmp eax, ebx
je 0x405e8c
cmp dword [0x40e270], ebx
je 0x405e8c
push eax
call fcn.00404c7b
push dword [0x40e270]
mov esi, eax
call fcn.00404c7b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405e8c
test edi, edi
je 0x405e8c
call esi
test eax, eax
je 0x405e83
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405e83
test byte [ebp - 0xc], 1
jne 0x405e8c
or dword [ebp + 0x10], 0x200000
jmp 0x405ec5
mov eax, dword [0x40e264]
cmp eax, ebx
je 0x405ec5
push eax
call fcn.00404c7b
pop ecx
test eax, eax
je 0x405ec5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405ec5
mov eax, dword [0x40e268]
cmp eax, ebx
je 0x405ec5
push eax
call fcn.00404c7b
pop ecx
test eax, eax
je 0x405ec5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e260]
call fcn.00404c7b
pop ecx
test eax, eax
je 0x405ee5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405ee7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407889
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40da08]
jne 0x407893
repz ret
jmp fcn.00408d85

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402e0c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404498
test esi, esi
jne 0x402e43
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404588
jmp 0x402e64
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402ca8
mov dword [esp], eax
test esi, esi
je 0x402e64
cmp dword [ebx], 0
je 0x402e64
dec esi
jmp 0x402e4b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403538
Capabilities:
Query or enumerate registry value

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

Function at 0x404314
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49004c], 0
je 0x404375
cmp word [0x490220], 0xd7b2
jne 0x40433d
cmp dword [0x490228], 0
jbe 0x40433d
mov eax, 0x49021c
call dword [0x490238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48d06c
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 0x40439c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48d030], 0
jne 0x404391
push 0
push 0x48d064
push 0x48d06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4063d0
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 0x406436
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.00404708
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004030fc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406420
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40643d
lea eax, [ebp - 0x10]
call fcn.00404498
ret

Function at 0x408f0c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404958
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408f25
test al, 0x10
jne 0x408f29
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ba9c
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 0x40bad5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404588
jmp 0x40bade
mov eax, ebx
mov edx, esi
call fcn.004044ec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c1a0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c008
mov eax, dword [0x48f3a0]
cmp byte [eax], 0
je 0x40c21c
mov eax, dword [0x48f0d0]
call fcn.00402f2c
call fcn.00402bd4
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.00409244
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 0x40c264
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c252
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48f060]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x490668]
call fcn.004057fc
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 0x40cb2c
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 0x40cc02
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404530
lea eax, [ebp - 8]
call fcn.004049a8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404958
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cbec
mov eax, ebx
call fcn.00402a48
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cbe5
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.00404958
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cbcf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cc14
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cbcf
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 0x40cbec
mov eax, dword [ebp - 0x10]
call fcn.00402a78
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc09
lea eax, [ebp - 8]
call fcn.00404498
ret

Function at 0x40d21c
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 0x40d280
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.00404708
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408a44
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d287
lea eax, [ebp - 0xc]
call fcn.00404498
ret

Function at 0x40e05c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc00
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00404498
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.00404958
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableA
mov ebx, eax
cmp ebx, 0x400
jge 0x40e0a1
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00404588
jmp 0x40e0ba
mov edx, ebx
dec edx
mov eax, esi
call fcn.00404ae4
push ebx
mov eax, dword [esi]
call fcn.00404958
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableA
add esp, 0x400
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x422858
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x490888
cmp dword [edi], 0
jne 0x4228d4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x490884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48d4a4
mov ecx, 2
call fcn.00402c68
mov edx, 0x422830
lea eax, [esi + 5]
call fcn.00422850
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422850
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 0x4228a9
mov dword [0x490884], 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 0x423e68
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 0x423e6e
ret

Function at 0x4263ec
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 0x42643d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x426424
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x426414
jmp 0x42643d
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 0x426425
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f808
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404948
xor eax, eax
push ebp
push 0x42f938
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42f90b
xor eax, eax
push ebp
push 0x42f904
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404758
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42f8d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42f8c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404758
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404958
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402c68
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 0x42f8cf
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x48efdc]
mov dl, 1
mov eax, dword [0x407890]
call fcn.0040c348
call fcn.00403eac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f93f
lea eax, [ebp - 4]
call fcn.00404498
ret
Function at 0x42f948
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 0x42faf9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404b48
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42fb10
call fcn.004047a4
mov eax, ebx
call fcn.00421dec
mov edi, eax
dec edi
test edi, edi
jl 0x42fa00
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00421dc0
mov edx, dword [0x441cec]
call fcn.00403864
test al, al
je 0x42f9fc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00421dc0
lea edx, [ebp - 0x14]
call fcn.00456c64
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404b48
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404818
inc esi
dec edi
jne 0x42f9ae
mov al, byte [0x42fb14]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42fb20
mov eax, dword [ebp - 0xc]
call fcn.0040d7f8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404530
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.00456c64
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42fb10
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.00456c64
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42fb10
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, 0x42fb10
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, 0x42fb2c
call fcn.00409964
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fb00
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004044bc
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004044bc
lea eax, [ebp - 0x14]
call fcn.00404498
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044bc
ret
Function at 0x434494
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404958
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4344ec
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x48f524]
mov dl, 1
mov eax, dword [0x43404c]
call fcn.0040c384
call fcn.00403eac
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00434154
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Function at 0x444a80
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 0x444afd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004444e0
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 0x444aa5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004440e0
cmp dword [ebp - 4], 0
je 0x444ae7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404958
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 0x444b04
lea eax, [ebp - 4]
call fcn.00404498
ret

Function at 0x446da8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446df8]
test si, 4
je 0x446dbc
or bl, 1
test si, 8
je 0x446dc6
or bl, 4
test si, 1
je 0x446dd0
or bl, 8
test si, 2
je 0x446dda
or bl, 0x10
test si, 0x10
je 0x446de4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446df3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x446dfc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446e34]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446e15
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446e24
or bl, 4
test esi, 0x20000000
je 0x446e2f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44d4f8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44d50a
add esp, 0xfffffff0
call fcn.00403a44
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004217c8
mov eax, dword [0x48f070]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d89c
mov eax, dword [0x48f07c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d8a8
mov eax, ebx
call fcn.0044d8b4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416b04]
call fcn.0040369c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416b04]
call fcn.0040369c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416b04]
call fcn.0040369c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416b04]
call fcn.0040369c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416b04]
call fcn.0040369c
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, 0x449ccc
push eax
push 0
push 0
mov eax, dword [0x48f260]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42323c]
call fcn.004249d4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42323c]
call fcn.004249d4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42323c]
call fcn.004249d4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044ddb8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44dc38
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44dc38
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44dc38
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d647
call fcn.00403a9c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret