joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b30d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4cd1b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004a8190
mov eax, dword [0x4eb708]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004a80c2
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004b3c10
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4b3177
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4b316e
cmp al, 0xff
je 0x4b316e
dec al
mov byte [ecx], al
jmp 0x4b3177
push ecx
call fcn.004bcdf6
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4b31a8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4b319f
cmp al, 0xff
je 0x4b319f
dec al
mov byte [ecx], al
jmp 0x4b31a8
push ecx
call fcn.004bcdf6
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4bf45a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4bf492
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.004bd4e7
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004bd4bf
jmp 0x4bf49e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4c0b48
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 0x4c0b8a
call fcn.004c66c4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4c0b8a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4c0b81
xor eax, eax
jmp 0x4c0b92
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c0b98
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c6bf4
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 0x4c6c22
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c6c40
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c6b5a
jmp 0x4c6c40
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c6c40
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c6b5a
test edi, edi
mov eax, edi
jne 0x4c6c2a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x406243
pop dword [ebp - 0x30]
mov eax, 0x5e06cc10
sub eax, 0x5dc669cd
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xe6f5bcbf
add dword [ebp - 0x40], 0x675c888c
mov dword [ebp - 0x3c], 0xfb85ad4e
add dword [ebp - 0x3c], 0x36ad9ef7
mov dword [ebp - 0x38], 0x1291118f
add dword [ebp - 0x38], 0x39bb329f
mov dword [ebp - 0x34], 0x260201c5
add dword [ebp - 0x34], 0xd9fdfe3b
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xd8670241
add dword [ebp - 0x40], 0x9c0b6715
mov dword [ebp - 0x3c], 0xbcf888d9
add dword [ebp - 0x3c], 0x8473d89c
mov dword [ebp - 0x38], 0x2166613d
add dword [ebp - 0x38], 0x42090b2f
mov dword [ebp - 0x34], 0x2cf3e08c
add dword [ebp - 0x34], 0xd30c1f74
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x1ac91c07
sub eax, 0x1a889b07
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x35d3b
push 0
call eax
mov ecx, 0x4100aacb
sub ecx, 0x41006794
xor edi, edi
add edi, eax
mov edx, 0x380b0df2
add edx, 0xc83bd60e
add edx, dword [ebp - 0x30]
mov esi, 0x4df59068
add esi, 0x6e5c9e69
xor dword [ebp - 0x14], esi
mov ebx, dword [edx]
mov dword [ebp - 0x10], 0x735f90cc
add ebx, esi
add dword [ebp - 0x18], 0x5a5573b6
mov dword [edi], ebx
add edi, 0xb8c12467
add edi, 0x473edb9d
add edx, 0x40570cf2
add edx, 0xbfa8f312
loop 0x406362
add eax, 0xffaf
mov ebx, eax
add eax, 5
mov ecx, 0x2484b71
sub ecx, 0x2084b71
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc

Function at 0x407984
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4079bc
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4079aa
mov al, 1
jmp 0x407a06
cmp dword [ebx + 0x54], ecx
jne 0x4079b3
mov al, 2
jmp 0x407a06
cmp dword [ebx + 0x7c], ecx
jne 0x407a06
mov al, 3
jmp 0x407a06
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4079d1
mov al, 4
jmp 0x407a06
cmp ecx, 5
jne 0x4079f1
cmp ebx, 0
jne 0x4079df
mov al, 5
jmp 0x407a06
cmp ebx, 1
jne 0x4079e8
mov al, 6
jmp 0x407a06
cmp ebx, 2
jne 0x4079f1
mov al, 7
jmp 0x407a06
cmp ecx, 6
jne 0x4079fd
cmp ebx, 0
jne 0x4079ff
mov al, 8
jmp 0x407a06
cmp ebx, 1
jne 0x407a06
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x112f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
sub eax, dword [0x13374]
mov dword [ebp - 0xc], eax
mov ecx, dword [sym.imp.ntoskrnl.exe_KeServiceDescriptorTable]
add ecx, dword [ebp - 0xc]
mov dword [0x1336c], ecx
mov edx, dword [sym.imp.ntoskrnl.exe_KeServiceDescriptorTable]
sub esp, 0x10
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [0x1336c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x13374]
push eax
push 0x13008
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x24
mov ecx, dword [0x1336c]
push ecx
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx edx, al
test edx, edx
jne 0x11379
push str.pNewSSDT_is_unaviable_
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
jmp 0x11415
mov eax, dword [0x1336c]
mov ecx, dword [sym.imp.ntoskrnl.exe_KeServiceDescriptorTable]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov eax, dword [sym.imp.ntoskrnl.exe_KeServiceDescriptorTable]
mov ecx, dword [eax]
sub ecx, dword [0x13374]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov eax, dword [0x1336c]
mov dword [eax], edx
mov ecx, dword [0x1336c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx eax, al
test eax, eax
jne 0x113d5
mov ecx, dword [0x1336c]
mov edx, dword [ecx]
push edx
push str.pNewSSDT__ServiceTableBase:__X
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
jmp 0x11415
mov dword [ebp - 4], 0
jmp 0x113e7
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [0x1336c]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 8]
jae 0x11415
mov eax, dword [0x1336c]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
add eax, dword [ebp - 0xc]
mov ecx, dword [0x1336c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov dword [edx + ecx*4], eax
jmp 0x113de
mov esp, ebp
pop ebp
ret 4
Function at 0x119d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x21c], ecx
mov byte [ebp - 0xc], 0x2b
mov byte [ebp - 0xb], 0xe1
mov byte [ebp - 0xa], 0xc1
mov byte [ebp - 9], 0xe9
mov byte [ebp - 8], 2
xor edx, edx
mov word [ebp - 0x420], dx
push 0x1fe
push 0
lea eax, [ebp - 0x41e]
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov ecx, dword [str.__C:]
mov dword [ebp - 0x218], ecx
mov edx, dword [0x13178]
mov dword [ebp - 0x214], edx
mov eax, dword [0x1317c]
mov dword [ebp - 0x210], eax
mov cx, word [0x13180]
mov word [ebp - 0x20c], cx
push 0x1f2
push 0
lea edx, [ebp - 0x20a]
push edx
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x21c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [0x13374], eax
mov ecx, dword [ebp - 0x21c]
movzx eax, word [ecx + 0x24]
cdq
sub eax, edx
sar eax, 1
push eax
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x28]
push eax
lea ecx, [ebp - 0x420]
push ecx
call sub.ntoskrnl.exe_wcsncpy
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x218]
push eax
call sub.ntoskrnl.exe_wcscat
add esp, 8
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x14]
push eax
push str.uFileName............_wZ
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00011510
movzx eax, al
test eax, eax
je 0x11bd8
mov ecx, dword [0x13790]
push ecx
call fcn.00011420
mov edx, dword [0x13790]
push edx
call fcn.000112f0
call fcn.00011000
mov dword [0x1337c], eax
mov eax, dword [0x1337c]
sub eax, dword [0x13374]
add eax, dword [0x13378]
mov dword [0x13388], eax
push 5
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [0x13388]
push edx
call fcn.00011070
sub eax, 5
mov dword [0x13384], eax
mov eax, dword [0x13384]
sub eax, dword [0x13378]
add eax, dword [0x13374]
mov dword [0x13380], eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0x2c
push ecx
mov edx, dword [0x13374]
push edx
mov eax, dword [ebp - 0x21c]
add eax, 0x24
push eax
push 0x131a0
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x10
mov ecx, dword [0x13380]
push ecx
mov edx, dword [0x1337c]
push edx
push str._KiFastCallEntry:_x___HookKiFastCallEntry:_x_n
call sub.ntoskrnl.exe_DbgPrint
add esp, 0xc
mov eax, dword [0x13384]
push eax
mov ecx, dword [0x13388]
push ecx
push str.newKiFastCallEntry:_x__newHookKiFastCallEntry:_x_n
call sub.ntoskrnl.exe_DbgPrint
add esp, 0xc
call fcn.000111e0
push 5
mov edx, dword [0x13384]
push edx
mov eax, dword [0x13380]
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
call fcn.000111c0
mov esp, ebp
pop ebp
ret 4
Function at 0x11c10
Capabilities:
Create device object
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push str.passTp...load.._
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.00011be0
push str.passTp...
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
call fcn.00011270
push 0x13260
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
push 0x400
push 0
push 0x13390
call sub.ntoskrnl.exe_memset
add esp, 0xc
push str.DevicePassTp
push 0x13798
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push str.DosDevicesPassTp
push 0x137a8
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 0x11d20
mov edx, dword [ebp + 8]
mov dword [edx + 0x70], 0x11d50
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x22
push 0x13798
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x11cd7
push str.IoCreateDevice:fail_
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x11d18
push 0x13798
push 0x137a8
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x11d0c
push str.IoCreateSymbolicLink:fail_
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [ebp - 8]
jmp 0x11d18
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], 0x11970
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x405968
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 0x4059ce
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.00404080
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4059b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4059d5
lea eax, [ebp - 0x10]
call fcn.00403e10
ret

Function at 0x40a8d4
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 0x40a90d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f00
jmp 0x40a916
mov eax, ebx
mov edx, esi
call fcn.00403e64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40afc8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ae40
mov eax, dword [0x452060]
cmp byte [eax], 0
je 0x40b044
mov eax, dword [0x451e88]
call fcn.00402980
call fcn.00402824
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.00408148
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 0x40b08c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b07a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x451e38]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x453664]
call fcn.00404e7c
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 0x40b8e0
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 0x40b9b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ea8
lea eax, [ebp - 8]
call fcn.00404320
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004042d0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40b9a0
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40b999
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.004042d0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40b983
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40b9c8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40b983
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 0x40b9a0
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b9bd
lea eax, [ebp - 8]
call fcn.00403e10
ret

Function at 0x40be34
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 0x40be98
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.00404080
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407cd8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be9f
lea eax, [ebp - 0xc]
call fcn.00403e10
ret

Function at 0x419fc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x453884
cmp dword [edi], 0
jne 0x41a03c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x453880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4513ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x419f98
lea eax, [esi + 5]
call fcn.00419fb8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00419fb8
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 0x41a011
mov dword [0x453880], 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 0x41b250
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 0x41b256
ret
Function at 0x41d750
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 0x41d7a1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d788
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d778
jmp 0x41d7a1
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 0x41d789
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429ed4
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 0x429e20
call sub.user32.dll_EnumWindows
ret

Function at 0x429ff4
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 0x42a071
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00429a54
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 0x42a019
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00429654
cmp dword [ebp - 4], 0
je 0x42a05b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004042d0
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 0x42a078
lea eax, [ebp - 4]
call fcn.00403e10
ret

Function at 0x42d03c
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 [0x453b54], 0
je 0x42d18b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x452004]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42d18b
mov eax, dword [0x453b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x453b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42d15a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x453b54]
call fcn.00413590
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42d152
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42d152
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42d152
mov eax, dword [ebp - 0x14]
call fcn.00435cc8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42d152
push ebp
call fcn.0042cff8
pop ecx
test al, al
jne 0x42d152
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42d10e
mov eax, dword [ebp - 0x14]
call fcn.004347f8
dec eax
jle 0x42d152
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.004032d4
cmp byte [ebp - 1], 0
je 0x42d152
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42d152
mov edx, dword [ebp - 0x14]
mov eax, dword [0x453b58]
call fcn.0042c7c4
inc edi
dec ebx
jne 0x42d0a1
mov eax, dword [0x453b58]
cmp dword [eax + 8], 0
jle 0x42d172
mov eax, dword [0x453b58]
call fcn.0042c854
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d18b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042ce60
pop ecx
test al, al
jne 0x42d18b
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