joyce8/EMBER2024-capa huggingface dataset:
Function at 0x542c89
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x542c96
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00542ca2

Function at 0x54c0f5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
call fcn.005058e6
mov ecx, dword [ebp + 8]
xor edi, edi
mov esi, dword [ebp + 0xc]
xorps xmm1, xmm1
movsd qword [ebp - 0x20], xmm1
mov eax, dword [eax]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], edi
mov al, byte [eax]
mov dword [esi], ecx
mov byte [ebp - 1], al
movzx eax, byte [ecx]
test byte [eax + 0x597a51], 8
je 0x54c140
inc ecx
movzx eax, byte [ecx]
test byte [eax + 0x597a51], 8
jne 0x54c130
mov dword [ebp + 8], ecx
lea eax, [ebp + 8]
push eax
call fcn.0054b785
mov esi, dword [ebp + 8]
pop ecx
mov dword [ebp - 0x18], eax
cmp byte [esi], 0x30
jne 0x54c27d
mov cl, byte [esi + 1]
cmp cl, 0x78
je 0x54c16a
cmp cl, 0x58
jne 0x54c27d
mov al, byte [ebp - 1]
add esi, 2
mov cl, byte [esi]
cmp cl, al
jne 0x54c185
cmp dword [ebp - 0xc], 0
jne 0x54c1e3
mov dword [ebp - 0xc], 1
jmp 0x54c1e0
movzx eax, cl
test byte [eax + 0x597a51], 0x10
je 0x54c1e3
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x54c1a2
cmp cl, 0x30
jne 0x54c1a2
inc dword [ebp - 0x14]
jmp 0x54c1d6
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x1e
jg 0x54c1d5
movsx eax, cl
push eax
call fcn.0054bcf0
movsd xmm1, qword [ebp - 0x20]
mulsd xmm1, qword [0x595c28]
pop ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movsd qword [ebp - 0x20], xmm1
jmp 0x54c1d6
inc edi
cmp dword [ebp - 0xc], 0
mov al, byte [ebp - 1]
je 0x54c1e0
dec edi
inc esi
jmp 0x54c170
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], edi
push 0
pop edi
add eax, ecx
je 0x54c27d
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp - 8]
mov cl, byte [esi]
shl eax, 2
cmp cl, 0x70
je 0x54c20e
cmp cl, 0x50
jne 0x54c25e
lea eax, [ebp + 8]
inc esi
push eax
mov dword [ebp + 8], esi
call fcn.0054b785
mov edx, dword [ebp + 8]
mov esi, eax
pop ecx
mov al, byte [edx]
movzx ecx, al
test byte [ecx + 0x597a51], 2
je 0x54c27d
imul ecx, edi, 0xa
movsx edi, al
add edi, 0xffffffd0
add edi, ecx
inc edx
movzx eax, byte [edx]
test byte [eax + 0x597a51], 2
mov al, byte [edx]
jne 0x54c22f
test esi, esi
je 0x54c24f
neg edi
mov ecx, dword [ebp - 8]
mov eax, ecx
mov esi, dword [ebp + 0xc]
shl eax, 2
add eax, edi
mov dword [esi], edx
cmp dword [ebp - 0x18], 0
je 0x54c26b
xorps xmm1, xmmword [0x5a6d80]
push eax
push ecx
push ecx
movsd qword [esp], xmm1
call fcn.00507c85
add esp, 0xc
jmp 0x54c27f
fldz
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x55206d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.004f6b50
mov eax, dword [0x5b925c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x1018], ebx
call fcn.00544688
push ebx
lea esi, [eax - 1]
mov dword [ebp - 0x1020], esi
call fcn.00560b83
pop ecx
pop ecx
test esi, esi
jne 0x5520e3
push 1
push ebx
push edi
call fcn.005526f7
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov ebx, eax
inc esi
push dword [ebp - 0x1018]
call fcn.00504537
pop ecx
test eax, eax
je 0x55223f
push 0
push 0
push edi
call fcn.00545ce8
jmp 0x55223a
push str.too_many_arguments
lea eax, [esi + 0x14]
push eax
push edi
call fcn.00545b5a
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov eax, dword [ebp - 0x1020]
add esp, 0xc
inc ebx
mov dword [ebp - 0x101c], esi
dec eax
mov dword [ebp - 0x1020], eax
test ebx, ebx
je 0x5520c0
push esi
push edi
call fcn.0054543e
pop ecx
pop ecx
cmp eax, 3
jne 0x5521b0
push esi
push edi
call fcn.005459e7
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x552160
mov ebx, dword [ebp - 0x1018]
push ebx
call fcn.00504988
mov esi, eax
push ebx
push esi
call fcn.005050e6
push 0x5a1800
push edi
call fcn.00544b4e
xor ebx, ebx
add esp, 0x14
cmp esi, 0xffffffff
setne bl
jmp 0x5521a8
lea eax, [ebp - 0x1014]
push eax
push edi
call fcn.0054593b
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.00546271
push dword [ebp - 0x1018]
push esi
push 1
push eax
call fcn.005054ee
mov esi, eax
lea eax, [ebp - 0x1014]
add dword [ebp - 0x100c], esi
push eax
call fcn.005462f0
xor eax, eax
add esp, 0x24
cmp eax, esi
sbb ebx, ebx
neg ebx
mov esi, dword [ebp - 0x101c]
jmp 0x552214
push 0
push esi
push edi
call fcn.00545a47
add esp, 0xc
cmp byte [eax], 0x2a
jne 0x5521c2
inc eax
movsx eax, byte [eax]
sub eax, 0x4c
je 0x552201
sub eax, 0x15
je 0x5521ee
sub eax, 0xb
je 0x5521ea
dec eax
sub eax, 1
jne 0x55222e
push dword [ebp - 0x1018]
push edi
call fcn.0055280c
pop ecx
pop ecx
jmp 0x552212
push 1
jmp 0x552203
push dword [ebp - 0x1018]
push edi
call fcn.00552683
pop ecx
xor ebx, ebx
pop ecx
inc ebx
jmp 0x552214
push 0
push dword [ebp - 0x1018]
push edi
call fcn.005526f7
add esp, 0xc
mov ebx, eax
mov eax, dword [ebp - 0x1020]
inc esi
mov dword [ebp - 0x101c], esi
test eax, eax
jne 0x552107
jmp 0x5520c0
push str.invalid_format
push esi
push edi
call fcn.0054585e
add esp, 0xc
jmp 0x552259
test ebx, ebx
jne 0x552254
push 0xfffffffffffffffe
push edi
call fcn.00545109
push edi
call fcn.00544b1c
add esp, 0xc
sub esi, dword [ebp + 0x10]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f6456
mov esp, ebp
pop ebp
ret
Function at 0x55226a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call fcn.00544688
mov edi, dword [ebp + 0x10]
pop ecx
push 1
pop esi
sub eax, edi
je 0x552330
dec eax
push edi
push ebx
mov dword [ebp - 4], eax
call fcn.0054543e
pop ecx
pop ecx
cmp eax, 3
jne 0x552303
push edi
push ebx
call fcn.00544743
pop ecx
pop ecx
push 0
push edi
push ebx
test eax, eax
je 0x5522c5
call fcn.00545295
push edx
push eax
push str._lld
push dword [ebp + 0xc]
call fcn.00518485
add esp, 0x1c
jmp 0x5522e0
call fcn.0054535e
fstp qword [esp + 4]
mov dword [esp], str._.14g
push dword [ebp + 0xc]
call fcn.00518485
add esp, 0x10
test esi, esi
je 0x5522e8
test eax, eax
jg 0x55232b
xor esi, esi
mov eax, dword [ebp - 4]
inc edi
test eax, eax
jne 0x552289
test esi, esi
jne 0x552330
push esi
push esi
push ebx
call fcn.00545ce8
add esp, 0xc
jmp 0x552333
lea eax, [ebp + 0x10]
push eax
push edi
push ebx
call fcn.00545a47
add esp, 0xc
test esi, esi
je 0x5522e8
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 1
push eax
call fcn.00504d83
add esp, 0x10
cmp eax, dword [ebp + 0x10]
jne 0x5522e8
xor esi, esi
inc esi
jmp 0x5522ea
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x552683
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.004f6b50
mov eax, dword [0x5b925c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1014]
push esi
mov esi, dword [ebp + 0xc]
push edi
push ecx
push eax
call fcn.0054593b
pop ecx
pop ecx
mov edi, 0x1000
lea eax, [ebp - 0x1014]
push edi
push eax
call fcn.00546271
push esi
push edi
push 1
push eax
call fcn.005054ee
add dword [ebp - 0x100c], eax
add esp, 0x18
cmp eax, edi
je 0x5526b6
lea eax, [ebp - 0x1014]
push eax
call fcn.005462f0
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f6456
mov esp, ebp
pop ebp
ret
Function at 0x55c483
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x5b925c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x224]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push eax
call fcn.00407780
push str._install_path_
lea ecx, [ebp - 0x23c]
call fcn.00407700
push esi
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0055c3ce
add esp, 0xc
lea ecx, [ebp - 0x23c]
xor esi, esi
push esi
push 1
call fcn.00407bf0
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004fc9d0
add esp, 0xc
lea ecx, [ebp - 0x20c]
cmp dword [ebp - 0x210], 8
lea eax, [ebp - 0x224]
cmovae eax, dword [ebp - 0x224]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00407700
cmp dword [edi + 0x14], 8
mov byte [ebp - 0x23d], 0x5c
mov byte [ebp - 0x23e], 0x2f
jb 0x55c546
mov ecx, dword [edi]
jmp 0x55c548
mov ecx, edi
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
lea eax, [ecx + eax*2]
jb 0x55c558
mov ecx, dword [edi]
jmp 0x55c55a
mov ecx, edi
lea edx, [ebp - 0x23d]
push edx
lea edx, [ebp - 0x23e]
push edx
push eax
push ecx
call fcn.004ec294
add esp, 0x10
lea ecx, [ebp - 0x224]
push esi
push 1
call fcn.00407bf0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004f6456
mov esp, ebp
pop ebp
ret

Function at 0x55c592
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x5b925c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x260]
push 0x22c
xor ebx, ebx
push ebx
push eax
call fcn.004fc9d0
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x55c5d5
xor al, al
jmp 0x55c644
lea eax, [ebp - 0x260]
mov dword [ebp - 0x260], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x55c637
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00407700
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00415cb0
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.00422f20
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00408000
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.00407bf0
lea eax, [ebp - 0x260]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x55c5ee
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f6456
mov esp, ebp
pop ebp
ret
Function at 0x55d396
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 8]
push edi
push ecx
push str.kernel32.dll
mov dword [ebx], ecx
mov dword [eax], ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x55d40b
push esi
push edi
call fcn.004f66dd
pop ecx
mov esi, eax
xor eax, eax
push esi
push edi
push eax
push str.kernel32.dll
mov dword [ebp + 8], eax
mov dword [ebp - 4], eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x55d403
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x59bf38
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x55d403
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov dword [ebx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push esi
call fcn.004f66d8
pop ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x55d411
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x24], 9
je 0x55d433
cmp word [ebp - 0x24], 6
je 0x55d433
xor al, al
jmp 0x55d435
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x402b70
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x46c008], 0x8088405
inc edx
mov dword [ebx + 0x46c008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x402fc8
Capabilities:
Query or enumerate registry value

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

Function at 0x403d24
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46e048], 0
je 0x403d85
cmp word [0x46e21c], 0xd7b2
jne 0x403d4d
cmp dword [0x46e224], 0
jbe 0x403d4d
mov eax, 0x46e218
call dword [0x46e234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46c070
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 0x403dac
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46c034], 0
jne 0x403da1
push 0
push 0x46c068
push 0x46c070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405a28
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 0x405a8e
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.00404110
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b8c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a78
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a95
lea eax, [ebp - 0x10]
call fcn.00403ea0
ret

Function at 0x40aac4
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 0x40aafd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f90
jmp 0x40ab06
mov eax, ebx
mov edx, esi
call fcn.00403ef4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b1b8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b030
mov eax, dword [0x46d9e0]
cmp byte [eax], 0
je 0x40b234
mov eax, dword [0x46d7f4]
call fcn.004029dc
call fcn.00402834
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.00408338
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 0x40b27c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b26a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46d7a4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46e664]
call fcn.00404f3c
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 0x40bad0
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 0x40bba6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f38
lea eax, [ebp - 8]
call fcn.004043b0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404360
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bb90
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bb89
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.00404360
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bb73
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bbb8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bb73
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 0x40bb90
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bbad
lea eax, [ebp - 8]
call fcn.00403ea0
ret

Function at 0x40c0b0
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 0x40c114
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.00404110
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407e80
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c11b
lea eax, [ebp - 0xc]
call fcn.00403ea0
ret

Function at 0x41a254
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46e884
cmp dword [edi], 0
jne 0x41a2d0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46e880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46c3f0
mov ecx, 2
call fcn.004028c8
mov edx, 0x41a22c
lea eax, [esi + 5]
call fcn.0041a24c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a24c
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 0x41a2a5
mov dword [0x46e880], 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 0x41b854
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 0x41b85a
ret
Function at 0x41dd88
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 0x41ddd9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41ddc0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41ddb0
jmp 0x41ddd9
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 0x41ddc1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f698
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 0x42f5e4
call sub.user32.dll_EnumWindows
ret

Function at 0x42f7b8
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 0x42f835
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042f218
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42f7dd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042ee18
cmp dword [ebp - 4], 0
je 0x42f81f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404360
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 0x42f83c
lea eax, [ebp - 4]
call fcn.00403ea0
ret

Function at 0x4329c8
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 [0x46eb54], 0
je 0x432b17
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46d980]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x432b17
mov eax, dword [0x46eb58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46eb54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x432ae6
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46eb54]
call fcn.0041380c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x432ade
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x432ade
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x432ade
mov eax, dword [ebp - 0x14]
call fcn.0043b650
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x432ade
push ebp
call fcn.00432984
pop ecx
test al, al
jne 0x432ade
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x432a9a
mov eax, dword [ebp - 0x14]
call fcn.0043a180
dec eax
jle 0x432ade
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.0040334c
cmp byte [ebp - 1], 0
je 0x432ade
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x432ade
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46eb58]
call fcn.00432150
inc edi
dec ebx
jne 0x432a2d
mov eax, dword [0x46eb58]
cmp dword [eax + 8], 0
jle 0x432afe
mov eax, dword [0x46eb58]
call fcn.004321e0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x432b17
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004327ec
pop ecx
test al, al
jne 0x432b17
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