joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441380
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e0a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004617f2
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00466e88
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004683a4
test eax, eax
je 0x44149c
mov ecx, dword [esp + 0x3c]
call fcn.00466eb5
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x441460
push edi
mov ecx, esi
call fcn.00464521
mov ecx, esi
call fcn.00441600
cmp dword [esp + 0x38], 1
jne 0x441495
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046465c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x443ec0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443ef3
push esi
call fcn.00446fc0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x443eec
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x443f79
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443f62
mov eax, dword [esi + 8]
test eax, eax
je 0x443f17
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x443f5e
cmp eax, 2
je 0x443f62
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x443f0a
cmp eax, 3
je 0x443f3d
cmp eax, 1
jne 0x443f0a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x443f0a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x443f0a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00443fa0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443f88
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00443fa0
add esp, 4
pop esi
ret

Function at 0x4625e8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x462620
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046069c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00460674
jmp 0x46262c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x463cdb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x463d1d
call fcn.0046978a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x463d1d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x463d14
xor eax, eax
jmp 0x463d25
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00463d2b
pop edi
pop esi
pop ebx
ret 4

Function at 0x469cba
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x469ce8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x469d06
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00469c20
jmp 0x469d06
mov eax, dword [esi + 0x14]
test eax, eax
je 0x469d06
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00469c20
test edi, edi
mov eax, edi
jne 0x469cf0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x41c620
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push esi
push edi
push eax
push ecx
mov esi, 1
call fcn.00427c60
add esp, 8
push esi
call fcn.00427d90
mov edi, eax
add esp, 4
test edi, edi
jge 0x41c65c
push str.Bad_status_from_ads_link__
call fcn.00423280
push 1
call fcn.00429008
add esp, 8
mov eax, edi
mov esi, 1
sub eax, 0x64
je 0x41c684
sub eax, 2
jne 0x41c639
call fcn.0041c6e0
mov esi, eax
sub esi, 0x13ec
neg esi
sbb esi, esi
and esi, 2
inc esi
jmp 0x41c639
call fcn.0041c690
jmp 0x41c672

Function at 0x41e0a0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push 0x64
push ecx
push 0x43a598
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor ecx, ecx
test eax, eax
setg cl
dec ecx
and ecx, 0xffffd88b
add ecx, 0x13ec
mov eax, ecx
ret

Function at 0x41e0e0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
sub esp, 0xc8
lea ecx, [esp]
push eax
mov eax, dword [esp + 0xd4]
push 0x64
push ecx
push 0x43a598
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jg 0x41e11a
mov eax, 0xffffec77
add esp, 0xc8
ret
mov ecx, dword [esp + 0xd8]
lea edx, [esp]
push ecx
push 2
push edx
call fcn.00425ce0
add esp, 0xc
mov eax, 0x13ec
add esp, 0xc8
ret

Function at 0x41e140
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
sub esp, 0xc8
lea ecx, [esp]
push eax
mov eax, dword [esp + 0xd4]
push 0x64
push ecx
push 0x43a598
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jg 0x41e17a
mov eax, 0xffffec77
add esp, 0xc8
ret
lea ecx, [esp]
push ecx
call fcn.00428d37
mov edx, dword [esp + 0xdc]
add esp, 4
mov word [edx], ax
mov eax, 0x13ec
add esp, 0xc8
ret

Function at 0x41e1a0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
sub esp, 0xc8
lea ecx, [esp]
push eax
mov eax, dword [esp + 0xd4]
push 0x64
push ecx
push 0x43a598
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jg 0x41e1da
mov eax, 0xffffec77
add esp, 0xc8
ret
lea ecx, [esp]
push ecx
call fcn.00428d37
mov edx, dword [esp + 0xdc]
add esp, 4
mov dword [edx], eax
mov eax, 0x13ec
add esp, 0xc8
ret
Function at 0x4231b0
Capabilities:
Terminate process

Disassembly:
jmp 0x4231c0
sub esp, 0x50
cmp dword [0x4391dc], 0
push esi
jne 0x423239
mov dword [0x4391dc], 1
mov byte [esp + 4], 0
cmp dword [0x43961c], 0
je 0x42320c
push 0x3e8
call fcn.00427de0
add esp, 4
cmp eax, 0x69
je 0x42321e
push eax
push str.ADS_link_failed_in_ads_exit______status__d
lea eax, [esp + 0xc]
push eax
call fcn.00428d42
add esp, 0xc
jmp 0x42321e
lea eax, [esp + 4]
push str.ADS_communication_buffer_not_established
push eax
call fcn.00428d42
add esp, 8
cmp byte [esp + 4], 0
je 0x423239
lea eax, [esp + 4]
push 0
push 0x439380
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, 0x4391c8
mov eax, dword [esi]
test eax, eax
je 0x423253
push eax
call fcn.004265a0
add esp, 4
mov dword [esi], 0
add esi, 4
cmp esi, 0x4391d0
jb 0x42323e
push 1
call fcn.00428430
add esp, 4
push 1
call fcn.00429008
add esp, 4
pop esi
add esp, 0x50
ret

Function at 0x42c945
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x439be0
cmp edx, dword [eax]
je 0x42c967
add eax, 8
inc ecx
cmp eax, 0x439c70
jl 0x42c958
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x439be0]
jne 0x42ca95
mov eax, dword [0x44abb0]
cmp eax, 1
je 0x42ca6f
test eax, eax
jne 0x42c998
cmp dword [0x43974c], 1
je 0x42ca6f
cmp edx, 0xfc
je 0x42ca95
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42c9cf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0042dd20
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0042bb40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42ca12
lea eax, [ebp - 0x1a4]
push eax
call fcn.0042bb40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4317c8
push edi
call fcn.004293e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0042dd20
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0042dd30
lea eax, [ebp - 0xa0]
push 0x4317a8
push eax
call fcn.0042dd30
push dword [esi + 0x439be4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0042dd30
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0042f1c8
add esp, 0x2c
pop edi
jmp 0x42ca95
lea eax, [ebp + 8]
lea esi, [esi + 0x439be4]
push 0
push eax
push dword [esi]
call fcn.0042bb40
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 0x458494
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
jmp 0x4584a4
push ebx
push ebp
push esi
mov ebx, ecx
push edi
xor edi, edi
mov esi, ebx
push 8
push edi
mov ecx, ebx
call fcn.00458504
shl eax, 0x18
mov dword [esi], eax
mov edx, 8
mov ebp, eax
mov ecx, ebp
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
dec edx
mov ebp, eax
jne 0x4584c4
push 0x20
push eax
mov ecx, ebx
mov dword [esi], ebp
call fcn.00458504
mov dword [esi], eax
inc edi
add esi, 4
cmp edi, 0xff
jle 0x4584ae
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x43cf63
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43ccda
pop edx
call fcn.0043cf92
inc eax
sub eax, 1
xor dword [ebx], edx
add esi, eax
add esi, 1
inc ebx
add esi, 1
cmp ebx, ecx
jne fcn.0043cf63
and eax, esi
ret
Function at 0x4028b8
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4028f5
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402915
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.0040412c
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402ff4
Capabilities:
Query or enumerate registry value

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

Function at 0x403d40
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45404c], 0
je 0x403da1
cmp word [0x454220], 0xd7b2
jne 0x403d69
cmp dword [0x454228], 0
jbe 0x403d69
mov eax, 0x45421c
call dword [0x454238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45206c
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 0x403dc8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x452030], 0
jne 0x403dbd
push 0
push 0x452064
push 0x45206c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405c98
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 0x405cfe
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.0040412c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402bb8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ce8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405d05
lea eax, [ebp - 0x10]
call fcn.00403ebc
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040437c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4083e9
test al, 0x10
jne 0x4083ed
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ad5c
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 0x40ad95
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fac
jmp 0x40ad9e
mov eax, ebx
mov edx, esi
call fcn.00403f10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b450
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b2c8
mov eax, dword [0x45316c]
cmp byte [eax], 0
je 0x40b4cc
mov eax, dword [0x452f80]
call fcn.00402a24
call fcn.00402844
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.0040859c
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 0x40b514
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b502
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x452f2c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x454668]
call fcn.004051ac
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 0x40bdb0
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 0x40be86
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f54
lea eax, [ebp - 8]
call fcn.004043cc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040437c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40be70
mov eax, ebx
call fcn.004026dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40be69
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.0040437c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40be53
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40be98
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40be53
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 0x40be70
mov eax, dword [ebp - 0x10]
call fcn.004026fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be8d
lea eax, [ebp - 8]
call fcn.00403ebc
ret

Function at 0x40c304
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 0x40c368
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.0040412c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408030
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c36f
lea eax, [ebp - 0xc]
call fcn.00403ebc
ret

Function at 0x41d574
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x454888
cmp dword [edi], 0
jne 0x41d5f0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x454884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4523fc
mov ecx, 2
call fcn.00402950
mov edx, 0x41d54c
lea eax, [esi + 5]
call fcn.0041d56c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d56c
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 0x41d5c5
mov dword [0x454884], 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 0x41e804
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 0x41e80a
ret
Function at 0x420c4c
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 0x420c9d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420c84
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420c74
jmp 0x420c9d
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 0x420c85
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a228
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 0x42a174
call sub.user32.dll_EnumWindows
ret

Function at 0x42a348
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 0x42a3c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00429da8
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 0x42a36d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004299a8
cmp dword [ebp - 4], 0
je 0x42a3af
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040437c
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 0x42a3cc
lea eax, [ebp - 4]
call fcn.00403ebc
ret

Function at 0x42d068
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 [0x454b58], 0
je 0x42d1b7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x453108]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42d1b7
mov eax, dword [0x454b5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x454b58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42d186
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x454b58]
call fcn.00416b44
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42d17e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42d17e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42d17e
mov eax, dword [ebp - 0x14]
call fcn.00435bcc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42d17e
push ebp
call fcn.0042d024
pop ecx
test al, al
jne 0x42d17e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42d13a
mov eax, dword [ebp - 0x14]
call fcn.004346fc
dec eax
jle 0x42d17e
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.00403380
cmp byte [ebp - 1], 0
je 0x42d17e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42d17e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x454b5c]
call fcn.0042c7f0
inc edi
dec ebx
jne 0x42d0cd
mov eax, dword [0x454b5c]
cmp dword [eax + 8], 0
jle 0x42d19e
mov eax, dword [0x454b5c]
call fcn.0042c880
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d1b7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042ce8c
pop ecx
test al, al
jne 0x42d1b7
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