joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42989c
Capabilities:
Create process on windows

Disassembly:
add ecx, dword [esp + edx*2]
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
insd dword es:[edi], dx
popal
outsb dx, byte [esi]
push esp
jns 0x429819
add dword gs:[eax], eax
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [eax + 0x7004297], bl
arpl word [esp + ecx*2 + 0x6f], si
imul ebp, dword [bp + 9], 0x78457463
arpl word gs:[ebp + 0x74], si
push es
arpl word [ebx + eax*2 + 0x6f], si
jo 0x429849
push cs
push ebp
push edx
insd dword es:[edi], dx
outsd dx, dword [esi]
je 0x42983d
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
insd dword es:[edi], dx
popal
outsb dx, byte [esi]
nop
sub al, 0x98
inc edx
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + ebx*4], dh
inc edx
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi + 0x68004298], al
add byte [eax], al
add byte [eax - 0x12], dl
inc edx
add ah, al
inc dword [eax + eax - 8]
mov al, byte [ebx]
aam 0xff
inc esp
add al, bl
inc dword [eax + eax - 0x34]
inc dword [eax + eax + 0x2c]
std
inc esp
add byte [eax - 3], cl
inc esp
add byte [eax - 0x53ffbc76], dl
lodsb al, byte [esi]
mov eax, dword [ebx]
add al, 0x9f
inc edx
add byte [esi], cl
add byte [eax], al
add byte [eax], al
add byte [ecx], cl
add byte [eax], al
add ah, ah
rol byte [eax + eax + 0x3c], cl
add byte [eax], al
add ah, ah
rol byte [eax + eax + 0x40], cl
add byte [eax], al
add ah, ah
rol byte [eax + eax + 0x48], cl
add byte [eax], al
add ah, ah
rol byte [eax + eax + 0x4c], cl
add byte [eax], al
add byte [eax], al
add byte [eax], al
in al, 0xd2
inc esp
add byte [eax], cl
add byte [eax], al
in al, 0xd2
inc esp
add byte [eax + eax], cl
add ah, ah
rol byte [eax + eax + 0x50], cl
add byte [eax], al
add ah, ah
rol byte [eax + eax + 0x54], cl
add byte [eax], al
add ah, ah
rol byte [eax + eax + 0x58], cl
add byte [eax], al
add ah, ah
rol byte [eax + eax + 0x5c], cl
add byte [eax], al
add ah, ah
rol byte [eax + eax + 0x60], cl
add byte [eax], al
add byte [esi], cl
push esp
push edx
insd dword es:[edi], dx
outsd dx, dword [esi]
je 0x4298f3
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
insd dword es:[edi], dx
popal
outsb dx, byte [esi]
nop
nop
nop
pushfd
cwde
inc edx
add byte [edi], al
pop es
push cs
push esp
push edx
insd dword es:[edi], dx
outsd dx, dword [esi]
je 0x42990a
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
insd dword es:[edi], dx
popal
outsb dx, byte [esi]
sub al, 0x98
inc edx
add byte [esi + ebp*8 + 0x42], ch
push cs
push ebp
push edx
insd dword es:[edi], dx
outsd dx, dword [esi]
je 0x429923
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
insd dword es:[edi], dx
popal
outsb dx, byte [esi]
add byte fs:[eax], al
nop
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [ebp - 0x74f48b25], al
ret
inc ebp
lodsb al, byte [esi]
Function at 0x4298c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], ebx
mov byte [ebp - 1], cl
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x429a5a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.0044f52c
mov dword [ebp - 0x54], 0x44
test ebx, ebx
je 0x42991c
mov eax, ebx
call fcn.00450f5c
mov ebx, eax
jmp 0x42991e
xor ebx, ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push 0
push 8
push 0
push 0
push 0
mov eax, esi
call fcn.00450f5c
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
je 0x429997
xor eax, eax
push ebp
push 0x429990
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 1], 0
je 0x429963
push 0xffffffffffffffff
mov eax, dword [ebp - 0x64]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429a3c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x64]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x64]
push eax
call sub.KERNEL32.DLL_CloseHandle
ret
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
mov eax, 0x1000
call fcn.0043d7f8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x429a2d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x1000
mov eax, dword [ebp - 8]
push eax
push 0
push ebx
push 0
push 0x1000
call sub.KERNEL32.DLL_FormatMessageA
push 0x429a74
lea edx, [ebp - 0x6c]
mov eax, ebx
call fcn.0043dce8
push dword [ebp - 0x6c]
push 0x429a94
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 8]
call fcn.00450c9c
push dword [ebp - 0x70]
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.00450e24
mov ecx, dword [ebp - 0x68]
mov dl, 1
mov eax, dword [0x43cb34]
call fcn.004415a4
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429a34
mov eax, dword [ebp - 8]
call fcn.0044eab8
ret

Function at 0x438cfc
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00438b80
dec esi
jne 0x438d1e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x439e5c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4d281c
cmp dword [edi], 0
jne 0x439ed8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4d2818]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4cd6b8
mov ecx, 2
call fcn.0044ed08
mov edx, 0x439e34
lea eax, [esi + 5]
call fcn.00439e54
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00439e54
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 0x439ead
mov dword [0x4d2818], 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 0x43b3c8
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.0043b00c
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.00450f5c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x43b426
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d2240]
mov dl, 1
mov eax, dword [0x43af04]
call fcn.0044169c
call fcn.00450548
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43b430
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.00450f5c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x43b488
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d2238]
mov dl, 1
mov eax, dword [0x43af04]
call fcn.0044169c
call fcn.00450548
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0043b03c
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 0x440df8
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
test eax, eax
jle 0x440e31
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00450b9c
jmp 0x440e3a
mov eax, ebx
mov edx, esi
call fcn.00450b00
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x440e44
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
test eax, eax
jle 0x440e65
mov al, byte [esp]
jmp 0x440e67
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4414ec
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x441364
mov eax, dword [0x4d242c]
cmp byte [eax], 0
je 0x441559
mov eax, dword [0x4d2430]
call fcn.0044f2b4
call fcn.0044ec68
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0043e398
push eax
lea eax, [esp + 0x50]
push eax
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 0x4415a0
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x44158f
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4d22e0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4d2640]
call fcn.00452218
push eax
call sub.USER32.DLL_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
add esp, 0x444
ret

Function at 0x442278
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 0x4422dc
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00450d14
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.0043ddc4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4422e3
lea eax, [ebp - 0xc]
call fcn.00450aac
ret

Function at 0x44ee94
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00450aac
test esi, esi
jne 0x44eeca
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00450b9c
jmp 0x44eee8
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0044ed48
mov edi, eax
test esi, esi
je 0x44eee8
cmp dword [ebx], 0
je 0x44eee8
dec esi
jmp 0x44eed1
add esp, 0x108
pop edi
pop esi
pop ebx
ret
Function at 0x44fc04
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4cdc48]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x44fc9c
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x44fc7c
xor eax, eax
push ebp
push 0x44fc75
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 0x44fcb8
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 0x44fc7c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4cdc48]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4cdc48], ax
mov esp, ebp
pop ebp
ret

Function at 0x4508ac
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d2bac], 0
je 0x45090d
cmp word [0x4d2d80], 0xd7b2
jne 0x4508d5
cmp dword [0x4d2d88], 0
jbe 0x4508d5
mov eax, 0x4d2d7c
call dword [0x4d2d98]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x450934
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4cdc58], 0
jne 0x450929
push 0
push 0x4cdcd0
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret

Function at 0x450a60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0044ea98
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4d2bad], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x450a28
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x45240c
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 0xf0019
push 0
push 0x45263c
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x45248f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x45263c
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x45248f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x452658
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x452518
xor eax, eax
push ebp
push 0x452511
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00452254
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4524f6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x452678
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4524f6
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452518
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpynA
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 0x452632
cmp byte [ebp - 0xd], 0
jne 0x45255f
cmp byte [ebp - 0x12], 0
je 0x452632
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x452578
dec ebx
cmp byte [ebx], 0x2e
je 0x452587
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x452577
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x452632
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4525c4
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x452632
cmp byte [ebp - 0xd], 0
je 0x452632
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x452632
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
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 0x452db0
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x4d3120], 1
jae 0x452e36
mov byte [0x4cdc44], 2
mov dword [0x4d2b70], 0x4b1d8e
mov dword [0x4d2b74], 0x4b1dac
mov byte [0x4d2bae], 2
mov dword [0x4d2b5c], 0x451a3c
call fcn.0044fbd4
test al, al
je 0x452df3
call fcn.0044fc04
call fcn.0044fcc8
mov word [0x4d2bb4], 0xd7b0
mov word [0x4d2d80], 0xd7b0
mov word [0x4d2f4c], 0xd7b0
call fcn.004518fc
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x4d2ba0], eax
call fcn.0044d734
mov dword [0x4d2b9c], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x4d2b94], eax
ret

Function at 0x45384c
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 0x453798
call sub.USER32.DLL_EnumWindows
ret

Function at 0x453970
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 0x4539ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004533bc
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 0x453995
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00453014
cmp dword [ebp - 4], 0
je 0x4539d7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00450f5c
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 0x4539f4
lea eax, [ebp - 4]
call fcn.00450aac
ret

Function at 0x45e780
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.00450aac
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45e7cf
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00450d14
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x466574
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 0x46657a
ret

Function at 0x468af4
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 0x468b45
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x468b2c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x468b1c
jmp 0x468b45
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 0x468b2d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470014
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x470064]
test si, 4
je 0x470028
or bl, 1
test si, 8
je 0x470032
or bl, 4
test si, 1
je 0x47003c
or bl, 8
test si, 2
je 0x470046
or bl, 0x10
test si, 0x10
je 0x470050
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x47005f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x470068
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4700a0]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x470081
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x470090
or bl, 4
test esi, 0x20000000
je 0x47009b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4769dc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4769ee
add esp, 0xfffffff0
call fcn.004500e0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00438dc4
mov eax, dword [0x4d244c]
mov dword [eax + 4], ebx
mov dword [eax], 0x476d80
mov eax, dword [0x4d2450]
mov dword [eax + 4], ebx
mov dword [eax], 0x476d8c
mov eax, ebx
call fcn.00476d98
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x42e0a8]
call fcn.0044fd64
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x42e0a8]
call fcn.0044fd64
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x42e0a8]
call fcn.0044fd64
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x42e0a8]
call fcn.0044fd64
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x42e0a8]
call fcn.0044fd64
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, 0x473260
push eax
push 0
push 0
mov eax, dword [0x4d25bc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x465c78]
call fcn.004670bc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x465c78]
call fcn.004670bc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x465c78]
call fcn.004670bc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00477200
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4770dc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4770dc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4770dc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x476b2b
call fcn.00450138
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret