joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446f94
Capabilities:
Check for time delay via gettickcount
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x4d29f0]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x44716d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0043f144
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00440378
mov eax, dword [esi]
call fcn.0045cf4c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x447006
mov eax, dword [esi]
call fcn.0045cf4c
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.0045cf58
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x44702a
mov eax, dword [esi]
call fcn.0045cf58
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0045cf40
cmp eax, dword [ebp - 0x18]
jle 0x447040
mov eax, dword [esi]
call fcn.0045cf40
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0045cf34
cmp eax, dword [ebp - 0xc]
jle 0x447056
mov eax, dword [esi]
call fcn.0045cf34
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0044591c
push eax
call sub.user32.dll_SetWindowPos
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x44711d
mov eax, ebx
call fcn.00404d58
cmp eax, 0x64
jge 0x44711d
cmp dword [0x4cdb80], 0
je 0x44711d
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x44711d
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x4470e0
mov bl, 2
jmp 0x4470fb
lea edx, [ebp - 0x20]
mov eax, dword [0x4d3ab4]
call fcn.0044a27c
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x4470f9
xor ebx, ebx
jmp 0x4470fb
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x4cdc88]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.0044591c
push eax
call dword [0x4cdb80]
mov eax, dword [0x4d27ec]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.00443050
push 4
mov eax, dword [ebp - 4]
call fcn.0044591c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447174
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x44a38c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4d2a20]
cmp byte [eax + 0xc], 0
je 0x44a4f9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a4f2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d3b08], 0
jne 0x44a3e0
push 0x44a500
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44a508
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d3b08], eax
cmp dword [0x4cdcb0], 0
jne 0x44a4db
push 0x44a518
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4cdcb0], eax
cmp dword [0x4cdcb0], 0
je 0x44a4db
push 0x44a524
mov eax, dword [0x4cdcb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d3b0c], eax
push 0x44a534
mov eax, dword [0x4cdcb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d3b10], eax
push 0x44a548
mov eax, dword [0x4cdcb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d3b14], eax
push 0x44a560
mov eax, dword [0x4cdcb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d3b18], eax
push 0x44a578
mov eax, dword [0x4cdcb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d3b1c], eax
push 0x44a58c
mov eax, dword [0x4cdcb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d3b20], eax
push 0x44a5a4
mov eax, dword [0x4cdcb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d3b24], eax
push 0x44a5bc
mov eax, dword [0x4cdcb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d3b28], eax
push 0x44a5d8
mov eax, dword [0x4cdcb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d3b2c], eax
push 0x44a5e4
mov eax, dword [0x4cdcb0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d3b30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a4f9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44ed68
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404a88
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44edb7
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404d08
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4565ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4565fc]
test si, 4
je 0x4565c0
or bl, 1
test si, 8
je 0x4565ca
or bl, 4
test si, 1
je 0x4565d4
or bl, 8
test si, 2
je 0x4565de
or bl, 0x10
test si, 0x10
je 0x4565e8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4565f7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x456600
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x456638]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x456619
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x456628
or bl, 4
test esi, 0x20000000
je 0x456633
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45ccfc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45cd0e
add esp, 0xfffffff0
call fcn.00403f74
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423ea0
mov eax, dword [0x4d2538]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d0a0
mov eax, dword [0x4d2544]
mov dword [eax + 4], ebx
mov dword [eax], 0x45d0ac
mov eax, ebx
call fcn.0045d0b8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41839c]
call fcn.00403bcc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41839c]
call fcn.00403bcc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41839c]
call fcn.00403bcc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41839c]
call fcn.00403bcc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41839c]
call fcn.00403bcc
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, 0x4594d0
push eax
push 0
push 0
mov eax, dword [0x4d2730]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425960]
call fcn.00426dc8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425960]
call fcn.00426dc8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425960]
call fcn.00426dc8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045d508
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d3d0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d3d0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45d3d0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ce4b
call fcn.00403fcc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45d1b4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d35f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45d340
mov dl, 1
mov eax, dword [0x418a00]
call fcn.00403bcc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a88
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45d32f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044a6ec
test al, al
je 0x45d322
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45d370
lea eax, [ebp - 0x254]
call fcn.0040ac80
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45d322
xor eax, eax
push ebp
push 0x45d31b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45d3a8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45d304
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d08
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45d304
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d322
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45d225
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d738
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d366
lea eax, [ebp - 0x260]
call fcn.00404a88
ret

Function at 0x45dca8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4d3b54]
cmp byte [eax + 0xa5], 0
jne 0x45dd19
cmp dword [0x4d3b6c], 0
jne 0x45dcda
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45dc64
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d3b6c], eax
cmp dword [0x4d3b68], 0
jne 0x45dcf5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d3b68], eax
cmp dword [0x4d3b70], 0
jne 0x45dd19
push esp
push 0
push 0
push 0x45dc08
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4d3b70], eax
pop edx
ret
Function at 0x45e3ac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d3b54]
cmp dword [eax + 0x30], 0
je 0x45e456
cmp dword [ebx + 0x94], 0
jne 0x45e450
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e33c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e450
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45e416
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e450
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041ad60
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e425
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45efb4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45efe9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404b78
jmp 0x45eff6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404adc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x460198
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4601d9
mov eax, esi
call fcn.00445c20
test al, al
je 0x4601d9
mov eax, dword [ebx + 0x84]
call fcn.0044591c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4601d9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044591c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x460fc8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x417b68]
call fcn.004057ec
xor eax, eax
push ebp
push 0x46110c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4cdee4], 0
jne 0x46101b
mov ecx, dword [0x4d2448]
mov dl, 1
mov eax, dword [0x408538]
call fcn.0040dc1c
call fcn.004043dc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040344c
mov eax, ebx
call fcn.0040540c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46111c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406a08
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0040541c
test eax, eax
jle 0x4610b3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4610ac
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404d20
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404d08
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004094cc
test eax, eax
jne 0x4610ac
mov ebx, 0x15
jmp 0x4610b8
mov ebx, 0x10
jmp 0x4610b8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4cdee4]
call fcn.00460e40
mov eax, dword [ebp - 8]
call fcn.00460e40
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406a20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461113
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404aac
lea eax, [ebp - 0x10]
mov edx, dword [0x417b68]
call fcn.004058b0
ret

Function at 0x462120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor esi, esi
mov eax, ebx
call fcn.00407ef0
cmp ax, 0xffff
jne 0x462141
neg ebx
mov eax, ebx
shr eax, 4
and eax, 0xffff
inc eax
and ebx, 0xf
push 6
push eax
push edi
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x4621cd
push eax
push edi
call sub.kernel32.dll_LoadResource
mov edi, eax
test edi, edi
je 0x4621cd
push edi
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
mov eax, ebx
dec eax
test eax, eax
jl 0x46218e
inc eax
mov edx, dword [ebp - 8]
movzx edx, word [edx]
add edx, edx
add edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
dec eax
jne 0x46217a
mov eax, dword [ebp - 8]
movzx esi, word [eax]
add dword [ebp - 8], 2
cmp dword [ebp - 4], 0
je 0x4621cd
cmp dword [ebp + 8], 0
jle 0x4621cd
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.0042ca30
mov esi, eax
test esi, esi
jle 0x4621c4
mov ecx, esi
add ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00407f04
mov eax, dword [ebp - 4]
mov word [eax + esi*2], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x462e4c
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 0x462eb0
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
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.00404d08
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409e08
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462eb7
lea eax, [ebp - 0xc]
call fcn.00404a88
ret

Function at 0x462f5c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x462fb8
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x462f87
call fcn.0040f008
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00402d14
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x462fb8
call fcn.0040f008
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x482e70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x482ff4
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebx + 0x276]
sub al, 2
jb 0x482fd9
cmp byte [ebx + 0x268], 0
je 0x482fd9
mov eax, dword [ebp - 4]
call fcn.004883f8
mov word [ebp - 6], ax
xor eax, eax
push ebp
push 0x482fd2
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp - 6]
sub ax, 8
je 0x482f16
dec ax
je 0x482eec
sub ax, 0x12
jne 0x482f30
call fcn.00404488
jmp 0x482fd9
cmp byte [ebx + 0x269], 0
je 0x482fb8
mov eax, ebx
call fcn.00434d64
test al, al
je 0x482fb8
xor edx, edx
mov eax, ebx
call fcn.00434d88
jmp 0x482fb8
mov eax, dword [esi]
call fcn.0040541c
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.00405608
jmp 0x482fb8
cmp byte [ebx + 0x269], 0
je 0x482f4d
mov eax, ebx
call fcn.00434d64
test al, al
jne 0x482f4d
mov dl, 1
mov eax, ebx
call fcn.00434d88
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp + 8]
sub eax, dword [edx]
cmp eax, 0x4e2
jb 0x482f65
mov eax, esi
call fcn.004051e0
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp + 8]
mov dword [edx], eax
push 0
push 1
lea eax, [ebp - 0x10]
mov dx, word [ebp - 6]
call fcn.004052f8
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi]
lea eax, [ebp - 0xc]
call fcn.00405488
mov ecx, dword [ebp - 0xc]
mov edx, edi
mov eax, ebx
call fcn.00482ca0
test al, al
je 0x482fb8
lea eax, [ebp - 0x14]
mov dx, word [ebp - 6]
call fcn.004052f8
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.00405428
mov word [ebp - 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482fd9
mov eax, dword [ebp - 4]
mov dx, word [ebp - 6]
call fcn.0048842c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482ffb
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004051f8
ret

Function at 0x485ea0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x4d24d0]
cmp byte [eax], 0
jne 0x485ece
mov ecx, 0xaf
mov edx, 0x485f1c
mov eax, 0x485f70
call fcn.004049e4
mov eax, ebx
call fcn.004051e0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x485f0d
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00405374
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485f84
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x4d24d0]
cmp byte [eax], 0
jne 0x485fa7
mov ecx, 0xbd
mov edx, 0x485fe8
mov eax, 0x48603c
call fcn.004049e4
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
mov edi, eax
mov eax, ebx
add eax, 0xffffffd0
sub ax, 0xa
jae 0x485fda
mov esi, ebx
sub si, 0x30
add si, 0x30
cmp si, di
je 0x485fda
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x485fda
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x49cacc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
call fcn.00404f48
xor eax, eax
push ebp
push 0x49cb5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404a88
mov eax, dword [ebp - 8]
call fcn.00404d58
test al, al
jbe 0x49cb40
mov byte [ebp - 9], al
mov bl, 1
lea eax, [ebp - 0x10]
xor edx, edx
mov dl, bl
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + edx - 1]
xor ecx, ecx
mov cl, bl
movzx edi, byte [ebp - 1]
add ecx, edi
xor edx, ecx
call fcn.00404c70
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.00404d60
inc ebx
dec byte [ebp - 9]
jne 0x49cb10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cb65
lea eax, [ebp - 0x10]
call fcn.00404a88
lea eax, [ebp - 8]
call fcn.00404a88
ret

Function at 0x49e4d4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov dword [esp], ecx
mov esi, edx
mov edi, eax
mov eax, dword [esp]
inc eax
cmp eax, 5
jge 0x49e4f1
xor eax, eax
jmp 0x49e579
mov cl, byte [esi]
and cl, 0xff
and ecx, 0xff
mov eax, ecx
mov ebx, 9
cdq
idiv ebx
mov dword [esp + 4], edx
mov eax, ecx
mov ecx, 9
cdq
idiv ecx
mov ecx, eax
mov eax, ecx
mov ebx, 5
cdq
idiv ebx
mov dword [esp + 8], edx
mov eax, ecx
mov ecx, 5
cdq
idiv ecx
mov dword [esp + 0xc], eax
xor ebx, ebx
xor eax, eax
mov ecx, eax
shl ecx, 3
lea edx, [eax + 1]
mov dl, byte [esi + edx]
and dl, 0xff
and edx, 0xff
shl edx, cl
add ebx, edx
inc eax
cmp eax, 4
jne 0x49e536
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, edi
call fcn.0049dfc4
test al, al
jne 0x49e570
xor eax, eax
jmp 0x49e579
mov edx, ebx
mov eax, edi
call fcn.0049df74
add esp, 0x10
pop edi
pop esi
pop ebx
ret