joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420cf8
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd04
mov eax, 0x630974
call fcn.005da0b4
mov dword [ebp - 0xc], 4
lea edx, [ebp + 0x18]
lea eax, [ebp + 0x18]
call fcn.005e6fc8
inc dword [ebp - 0xc]
lea edx, [ebp + 0x14]
mov word [ebp - 0x18], 8
lea eax, [ebp + 0x14]
call fcn.005e6fc8
inc dword [ebp - 0xc]
lea edx, [ebp + 0x10]
lea eax, [ebp + 0x10]
call fcn.005e6fc8
inc dword [ebp - 0xc]
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.005e6fc8
inc dword [ebp - 0xc]
xor edx, edx
mov word [ebp - 0x18], 0x14
mov dword [ebp - 4], edx
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov cl, byte [ebp + 8]
test cl, cl
je 0x420eb3
mov dword [ebp - 0x48], 2
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], 1
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x420d95
mov ecx, dword [ebp + 0x10]
jmp 0x420d9a
mov ecx, 0x628438
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x420da9
mov edx, dword [ebp + 0xc]
jmp 0x420dae
mov edx, 0x628439
mov dword [ebp - 0x38], edx
xor eax, eax
mov dword [ebp - 0x2c], eax
push 1
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x420dc4
mov eax, dword [ebp + 0x14]
jmp 0x420dc9
mov eax, 0x62843b
push eax
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x420dd6
mov ecx, dword [ebp + 0x18]
jmp 0x420ddb
mov ecx, 0x62843a
push ecx
lea eax, [ebp - 0x48]
push eax
call sub.MPR.DLL_WNetAddConnection2A
test eax, eax
je 0x420dee
cmp eax, 0x55
jne 0x420e51
mov al, 1
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0xc]
call fcn.005e7218
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0xc]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0xc]
lea eax, [ebp + 0x14]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0xc]
lea eax, [ebp + 0x18]
mov edx, 2
call fcn.005e7218
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x420f2a
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0xc]
call fcn.005e7218
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0xc]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0xc]
lea eax, [ebp + 0x14]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0xc]
lea eax, [ebp + 0x18]
mov edx, 2
call fcn.005e7218
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x420f2a
push 0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x420ec1
mov eax, dword [ebp + 0xc]
jmp 0x420ec6
mov eax, 0x62843c
push eax
call sub.MPR.DLL_WNetCancelConnectionA
mov al, 1
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0xc]
call fcn.005e7218
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0xc]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0xc]
lea eax, [ebp + 0x14]
mov edx, 2
call fcn.005e7218
dec dword [ebp - 0xc]
lea eax, [ebp + 0x18]
mov edx, 2
call fcn.005e7218
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x48b76e
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
jne 0x48b789
xor eax, eax
jmp 0x48b7d1
mov edx, dword [esp + 0x10]
sub edx, 1
jb 0x48b799
je 0x48b7a0
dec edx
je 0x48b7ba
jmp 0x48b7cf
mov eax, 3
jmp 0x48b7d1
mov eax, dword [esp + 8]
test eax, eax
jne 0x48b7af
mov eax, 4
jmp 0x48b7d1
test eax, eax
jbe 0x48b7ba
mov eax, 5
jmp 0x48b7d1
cmp dword [esp + 4], 5
jae 0x48b7c8
mov eax, 6
jmp 0x48b7d1
mov eax, 7
jmp 0x48b7d1
xor eax, eax
add esp, 0x94
ret

Function at 0x48cfb4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push es
mov ax, 0x101f
mov es, eax
xor eax, eax
mov esi, eax
mov ecx, 0x8000
xor al, byte es:[esi]
inc esi
loop 0x48cfc9
pop es
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x48cfdd
mov byte [ebp - 1], 0x55
mov al, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop esi
pop ecx
pop ebp
ret
Function at 0x4a15e8
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [esi*4 + 0x661cdc]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
cmp ecx, eax
jge 0x4a16b6
mov edx, dword [ebp + 0xc]
mov al, byte [edx]
test al, al
je 0x4a168c
xor edx, edx
mov dl, al
mov cl, byte [edx + 0x661730]
mov byte [ebp - 5], cl
xor ecx, ecx
mov eax, dword [ebp + 0xc]
cmp esi, ecx
lea ebx, [eax + 1]
mov eax, dword [ebp - 0x10]
mov edx, eax
mov dword [ebp - 0xc], edx
jle 0x4a166e
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
xor eax, eax
mov al, byte [edx + ecx]
xor edx, edx
mov dl, byte [ebp - 5]
add eax, edx
mov edi, 0xff
cdq
idiv edi
mov eax, edx
mov dl, byte [ebx]
and eax, 0xff
mov al, byte [eax + 0x661630]
xor dl, al
mov byte [ebx - 1], dl
inc ecx
inc ebx
cmp esi, ecx
jg 0x4a163b
mov ecx, esi
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 1]
jmp 0x4a1680
mov dl, byte [eax]
inc ecx
mov byte [eax - 1], dl
inc eax
mov edx, dword [ebp + 0x10]
add edx, esi
dec edx
cmp ecx, edx
jl 0x4a1679
jmp 0x4a16a5
xor ecx, ecx
mov eax, dword [ebp + 0xc]
inc eax
jmp 0x4a169b
mov dl, byte [eax]
inc ecx
mov byte [eax - 1], dl
inc eax
mov edx, dword [ebp + 0x10]
add edx, esi
dec edx
cmp ecx, edx
jl 0x4a1694
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jl 0x4a1611
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4adca7
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 str.SoftwareBorlandDatabase_Engine
push reloc.WINIO32.DLL_Ordinal_2
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4adcff
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 str.DLLPATH
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4adcf5
mov bx, 0x2a04
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
jmp 0x4add03
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4c8b2c
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 0x4c8b70
lea eax, [esp + 0x10c]
push eax
call sub.KERNEL32.DLL_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.005c1a7c
add esp, 0x200
pop ebx
ret

Function at 0x4d30d8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0x40]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4d3113
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, dword [esi + 0x40]
call fcn.005b128c
mov al, byte [eax + 0x2a0]
xor al, 1
push eax
mov edx, ebx
mov eax, dword [esi + 0x40]
call fcn.005b128c
pop edx
mov byte [eax + 0x2a0], dl
inc ebx
dec edi
jne 0x4d30eb
pop edi
pop esi
pop ebx
ret
Function at 0x4dfca0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp + 8]
lea edx, [ebp - 0x210]
push edx
call sub.USER32.DLL_wvsprintfA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x208
jl 0x4dfcee
push 0x10e
push str.C:Program_Files__x86_BorlandCBuilder6include_vclutilcls.h
push 0x668c34
call fcn.004dba70
add esp, 0xc
cmp eax, 2
jne 0x4dfcee
call sub.KERNEL32.DLL_DebugBreak
lea ecx, [ebp - 0x210]
push ecx
call sub.KERNEL32.DLL_OutputDebugStringA
mov esp, ebp
pop ebp
ret

Function at 0x4e31d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e3341
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e331c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.005d5b4c
lea eax, [ebp - 0x118]
mov edx, 0x4e3358
call fcn.005d5c2c
mov eax, dword [ebp - 0x118]
call fcn.005d5e1c
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x4e328e
lea eax, [ebp - 0x111]
call fcn.005c183c
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.005d5a5c
jmp 0x4e3295
mov eax, esi
call fcn.005d596c
cmp bl, 0x61
jae 0x4e32b6
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.005c5e9c
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.005d59c0
jmp 0x4e32d0
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.005c5e10
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.005d59c0
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4e3364
call fcn.005c1ff8
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.005d59c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3323
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
Function at 0x5267e4
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 0x526730
call sub.USER32.DLL_EnumWindows
ret

Function at 0x526908
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 0x526985
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00526354
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 0x52692d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00525fac
cmp dword [ebp - 4], 0
je 0x52696f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.005d5e1c
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 0x52698c
lea eax, [ebp - 4]
call fcn.005d596c
ret
Function at 0x537bd4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x537d94
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.0057a7cc
mov eax, dword [ebx]
cmp byte [eax + 0x210], 0
je 0x537d79
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebx]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x537c37
mov eax, dword [ebx]
add eax, 0x21c
call fcn.005d596c
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebx]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x537d08
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [0x677608]
and eax, 0xff
bt dword [edx], eax
jae 0x537cca
push 1
push 0x102
push 0x102
mov eax, dword [ebx]
call fcn.0057b7d4
push eax
lea eax, [ebp - 0x24]
push eax
call sub.USER32.DLL_PeekMessageA
test eax, eax
je 0x537d48
mov eax, dword [ebx]
push dword [eax + 0x21c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.005d5b4c
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.005d5b4c
push dword [ebp - 0x2c]
mov eax, dword [ebx]
add eax, 0x21c
mov edx, 3
call fcn.005d5ce4
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x537d48
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.005d5b4c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx]
add eax, 0x21c
call fcn.005d5c2c
jmp 0x537d48
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.005d5c24
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.005d5ebc
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.005d5c24
mov edx, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.005c5a48
cmp al, 2
je 0x537ce8
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.005d5c24
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.005d5ebc
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.005d5c24
test eax, eax
jle 0x537d62
push ebp
call fcn.00537aec
pop ecx
jmp 0x537d79
xor edx, edx
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebx]
mov si, 0xffeb
call fcn.005d4d58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x537d9b
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.005d5990
ret

Function at 0x53d8e0
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.005d596c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x53d92f
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.005d5bd4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5441e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
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 0x544448
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x54424b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00543cb0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.005c5a48
cmp al, 1
jne 0x54424b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00543fc8
test al, al
je 0x5443d7
cmp dword [ebp - 8], 0
jge 0x544269
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.00543cb0
mov eax, dword [ebp - 0x210]
call fcn.005d5c24
cmp ebx, eax
jge 0x5442b3
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00543cb0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x677608]
and eax, 0xff
bt dword [edx], eax
jae 0x5442b3
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x5442c7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005441c4
cmp ebx, dword [ebp - 8]
je 0x5443c9
lea eax, [ebp - 0x108]
push eax
call sub.USER32.DLL_GetKeyboardState
mov edx, 0x100
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x5442f3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.005d4d58
and eax, 0x7f
movzx eax, word [eax*2 + 0x669d90]
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 + 0x23c], 1
xor eax, eax
push ebp
push 0x5443b6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.005d4d58
and eax, 0x7f
movzx eax, word [eax*2 + 0x669d90]
push eax
push 0x100
mov eax, dword [ebp - 4]
call fcn.0057b7d4
push eax
call sub.USER32.DLL_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.005d4d58
and eax, 0x7f
movzx eax, word [eax*2 + 0x669d90]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0057b7d4
push eax
call sub.USER32.DLL_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5443bd
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x54442a
cmp dword [ebp - 8], 0
jge 0x5443e2
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00543cb0
mov eax, dword [ebp - 0x218]
call fcn.005d5c24
cmp eax, dword [ebp - 8]
jg 0x54441c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00543cb0
mov eax, dword [ebp - 0x21c]
call fcn.005d5c24
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005441c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54444f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.005d5990
ret
Function at 0x5503f4
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 0x5503fa
ret

Function at 0x552e48
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 0x552e99
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x552e80
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x552e70
jmp 0x552e99
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 0x552e81
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55c6a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x55c6f4]
test si, 4
je 0x55c6b8
or bl, 1
test si, 8
je 0x55c6c2
or bl, 4
test si, 1
je 0x55c6cc
or bl, 8
test si, 2
je 0x55c6d6
or bl, 0x10
test si, 0x10
je 0x55c6e0
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x55c6ef
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x55c6f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x55c730]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x55c711
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x55c720
or bl, 4
test esi, 0x20000000
je 0x55c72b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x55c780
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.USER32.DLL_GetKeyboardState
mov eax, esp
call fcn.0055c734
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x56308c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x56309e
add esp, 0xfffffff0
call fcn.005d4ec0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.005b9cf8
mov eax, dword [0x677500]
mov dword [eax + 4], ebx
mov dword [eax], 0x563430
mov eax, dword [0x677504]
mov dword [eax + 4], ebx
mov dword [eax], 0x56343c
mov eax, ebx
call fcn.00563448
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x5aea48]
call fcn.005d4b2c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x5aea48]
call fcn.005d4b2c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x5aea48]
call fcn.005d4b2c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x5aea48]
call fcn.005d4b2c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x5aea48]
call fcn.005d4b2c
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, 0x55f910
push eax
push 0
push 0
mov eax, dword [0x6774cc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x54f788]
call fcn.00550f3c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x54f788]
call fcn.00550f3c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x54f788]
call fcn.00550f3c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.005638b0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x56378c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x56378c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x56378c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5631db
call fcn.005d4f18
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x563570
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 0x56371b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x5636fc
mov dl, 1
mov eax, dword [0x5af034]
call fcn.005d4b2c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.005d596c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5636eb
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.005804e4
test al, al
je 0x5636de
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, 0x56372c
lea eax, [ebp - 0x254]
call fcn.005c1f78
push eax
push reloc.WINIO32.DLL_Ordinal_2
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x5636de
xor eax, eax
push ebp
push 0x5636d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x563764
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x5636c0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.005d5bd4
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 0x5636c0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.005d5bd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5636de
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5635e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.005b3cb4
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 0x563722
lea eax, [ebp - 0x260]
call fcn.005d596c
ret

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

Disassembly:
push ecx
mov eax, dword [0x7882ec]
cmp byte [eax + 0xa5], 0
jne 0x5640c1
cmp dword [0x788304], 0
jne 0x564082
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x56400c
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x788304], eax
cmp dword [0x788300], 0
jne 0x56409d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x788300], eax
cmp dword [0x788308], 0
jne 0x5640c1
push esp
push 0
push 0
push 0x563fb0
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x788308], eax
pop edx
ret