joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d268
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x44d29d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403e88
jmp 0x44d2a7
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403df4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44e1f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x44e22c
mov eax, esi
call fcn.004357c0
test al, al
je 0x44e22c
mov eax, dword [ebx + 0x74]
call fcn.004354c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44e22c
push 0
mov eax, dword [ebx + 0x74]
call fcn.004354c4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x456db4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457013
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x456e16
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00456904
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d054
cmp al, 1
jne 0x456e16
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00456bcc
test al, al
je 0x456fa2
cmp dword [ebp - 8], 0
jge 0x456e34
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00456904
mov eax, dword [ebp - 0x210]
call fcn.00404020
cmp ebx, eax
jge 0x456e7e
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00456904
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4cd9dc]
and eax, 0xff
bt dword [edx], eax
jae 0x456e7e
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x456e92
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00456d90
cmp ebx, dword [ebp - 8]
je 0x456f94
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x456ebe
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403230
and eax, 0x7f
movzx eax, word [eax*2 + 0x4cbc10]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x456f81
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403230
and eax, 0x7f
movzx eax, word [eax*2 + 0x4cbc10]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004354c4
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403230
and eax, 0x7f
movzx eax, word [eax*2 + 0x4cbc10]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004354c4
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456f88
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x456ff5
cmp dword [ebp - 8], 0
jge 0x456fad
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00456904
mov eax, dword [ebp - 0x218]
call fcn.00404020
cmp eax, dword [ebp - 8]
jg 0x456fe7
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00456904
mov eax, dword [ebp - 0x21c]
call fcn.00404020
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00456d90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45701a
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403dc4
ret
Function at 0x4735d3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4cca22
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47362b
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4cca43
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x473621
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x47362f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x48859c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488674
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ce954], 0
jne 0x488658
lea eax, [ebp - 4]
mov edx, 0x48868c
call fcn.00403e38
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004041e4
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x488658
mov eax, ebx
call fcn.004027c0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x488651
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x48863b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x48869c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x48863b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4ce954], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488658
mov eax, dword [ebp - 0xc]
call fcn.004027d8
ret
mov ebx, dword [0x4ce954]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48867b
lea eax, [ebp - 4]
call fcn.00403da0
ret

Function at 0x4908a8
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4ce978], 0
jne 0x4908cb
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x49082c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4ce978], eax
ret

Function at 0x492c04
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
lea eax, [esp + 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push esp
push 0
push 0x492c48
lea eax, [esp + 0x10c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.00409b64
add esp, 0x200
pop ebx
ret

Function at 0x4a4d38
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x34]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4a4d73
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, dword [esi + 0x34]
call fcn.00411c7c
mov al, byte [eax + 0x288]
xor al, 1
push eax
mov edx, ebx
mov eax, dword [esi + 0x34]
call fcn.00411c7c
pop edx
mov byte [eax + 0x288], dl
inc ebx
dec edi
jne 0x4a4d4b
pop edi
pop esi
pop ebx
ret
Function at 0x4af23c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4af274]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4af252
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4af261
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4af270
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4b08cc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004b03ac
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004041e4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4b092a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4cd688]
mov dl, 1
mov eax, dword [0x4b0238]
call fcn.0040c810
call fcn.004037ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4b0934
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.004041e4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4b098c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4cda10]
mov dl, 1
mov eax, dword [0x4b0238]
call fcn.0040c810
call fcn.004037ec
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004b03dc
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 0x4b1e40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004041d4
xor eax, eax
push ebp
push 0x4b1e91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041e4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4b1e75
test al, 0x10
jne 0x4b1e79
xor ebx, ebx
jmp 0x4b1e7b
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1e98
lea eax, [ebp - 4]
call fcn.00403da0
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004041e4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret
Function at 0x4c2250
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4c2266
add esp, 0xfffffff0
call fcn.00403394
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4c23a5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.00418b8c
mov byte [edi + 0x40], 3
mov dword [edi + 0x4c], 0x1fffffff
mov al, byte [0x4c23cc]
mov byte [edi + 0x2c], al
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c1d20]
call fcn.004c256c
mov dword [edi + 0x30], eax
xor eax, eax
mov dword [edi + 0x98], eax
test byte [edi + 0x20], 0x10
jne 0x4c230c
mov eax, dword [0x4cd25c]
cmp byte [eax], 0
jne 0x4c230c
mov byte [edi + 0xa0], 0
lea edx, [ebp - 8]
xor eax, eax
call fcn.004029d4
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00409800
mov eax, dword [ebp - 4]
call fcn.004041e4
push eax
push 0
push 0
call sub.kernel32.dll_CreateMutexA
mov esi, eax
mov dword [edi + 0x9c], esi
test esi, esi
je 0x4c230c
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x4c230c
mov byte [edi + 0xa0], 1
push 0x32
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4c1fe8]
call fcn.004c286c
mov dword [edi + 0x50], eax
mov byte [edi + 0x60], 0
xor eax, eax
mov dword [edi + 0x64], eax
mov byte [edi + 0x54], 2
xor edx, edx
mov eax, edi
call fcn.004c2168
mov dword [edi + 0x5c], 0xffffffff
xor eax, eax
mov dword [edi + 0x84], eax
xor eax, eax
mov dword [edi + 0x80], eax
mov byte [edi + 0x88], 0
mov al, byte [0x4c23d0]
mov byte [edi + 0x34], al
lea eax, [edi + 0x90]
push eax
call sub.kernel32.dll_QueryPerformanceFrequency
push 0x40a4
mov eax, dword [0x4ce4dc]
push eax
call sub.user32.dll_LoadCursorA
mov ecx, eax
mov eax, dword [0x4cd9c8]
mov eax, dword [eax]
mov edx, 0xffffff01
call fcn.0044ba28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c23ac
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403dc4
ret

Function at 0x4ca86c
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov eax, 0x4ca49c
call fcn.00407148
push 0x4ca900
push 0
push 0
call sub.kernel32.dll_CreateMutexA
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x4ca8f9
mov eax, dword [0x4cd754]
mov eax, dword [eax]
call fcn.0044d6ac
mov eax, dword [0x4cd754]
mov eax, dword [eax]
mov edx, 0x4ca914
call fcn.0044d2b0
mov ecx, dword [0x4cd3c4]
mov eax, dword [0x4cd754]
mov eax, dword [eax]
mov edx, dword [0x4c96e8]
call fcn.0044d6c4
mov eax, dword [0x4cd754]
mov eax, dword [eax]
mov byte [eax + 0x4b], 0
mov eax, dword [0x4cd754]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.00447440
mov eax, dword [0x4cd754]
mov eax, dword [eax]
call fcn.0044d744
pop ebx
call fcn.00403be4
add byte [eax + 0x72], dl
imul ebp, dword [esi + 0x74], 0x6e614d
add byte [eax], al
add bh, bh
invalid
Function at 0x402918
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402947
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403b10
jmp 0x402965
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402840
mov edi, eax
test ebx, ebx
je 0x402965
cmp dword [esi], 0
je 0x402965
dec ebx
jmp 0x40294e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402c30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402cc8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402ca8
xor eax, eax
push ebp
push 0x402ca1
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 0x402ce4
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 0x402ca8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x404fa4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405160
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405005
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x40517c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405077
xor eax, eax
push ebp
push 0x405070
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00404dfc
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405059
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40519c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405077
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405158
cmp byte [ebp - 0xd], 0
jne 0x4050b9
cmp byte [ebp - 0x12], 0
je 0x405158
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4050d2
dec ebx
cmp byte [ebx], 0x2e
je 0x4050e1
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4050d1
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405158
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40510e
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405158
cmp byte [ebp - 0xd], 0
je 0x405158
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405158
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408794
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4087cd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403b10
jmp 0x4087d6
mov eax, ebx
mov edx, esi
call fcn.00403a7c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4087e0
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 0x408801
mov al, byte [esp]
jmp 0x408803
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x413be0
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 0x413be6
ret

Function at 0x415f44
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 0x415f95
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x415f7c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x415f6c
jmp 0x415f95
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 0x415f7d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e3cc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x44376c
cmp dword [edi], 0
jne 0x41e448
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x443768]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4425e8
mov ecx, 2
call fcn.00402800
mov edx, 0x41e3a4
lea eax, [esi + 5]
call fcn.0041e3c4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041e3c4
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 0x41e41d
mov dword [0x443768], 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 0x41e564
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41e5b4]
test si, 4
je 0x41e578
or bl, 1
test si, 8
je 0x41e582
or bl, 4
test si, 1
je 0x41e58c
or bl, 8
test si, 2
je 0x41e596
or bl, 0x10
test si, 0x10
je 0x41e5a0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41e5af
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x41e5b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41e5f0]
push pe_nt_image_headers32
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41e5d1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41e5e0
or bl, 4
test esi, 0x20000000
je 0x41e5eb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x424798
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4247aa
add esp, 0xfffffff0
call fcn.004030a0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00411e9c
mov eax, ebx
call fcn.00424ae4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x40bfac]
call fcn.00402d88
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x40bfac]
call fcn.00402d88
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x40bfac]
call fcn.00402d88
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x40bfac]
call fcn.00402d88
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40bfac]
call fcn.00402d88
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x424768
push eax
push 0
push 0
mov eax, dword [0x442b6c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x413364]
call fcn.00414640
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x413364]
call fcn.00414640
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x413364]
call fcn.00414640
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.00424ec4
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x424de0
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x424de0
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x424de0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4248b9
call fcn.004030f8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret