joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d5940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x5d5a65
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.005d5750
mov esi, eax
mov eax, dword [0x730850]
cmp byte [eax], 0
je 0x5d5a0d
mov eax, dword [0x730858]
call fcn.005e8470
call fcn.005e80c4
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x5d5918]
call fcn.005ebe18
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x5d5a80
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x5d5a49
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x7306b4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x730b5c]
call fcn.005ebf0c
push eax
call sub.USER32.DLL_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.USER32.DLL_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d5a6c
lea eax, [ebp - 4]
mov edx, dword [0x5d5918]
call fcn.005ebe24
ret

Function at 0x5d6c2c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5d6d02
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.005ea5d8
lea eax, [ebp - 4]
call fcn.005eaf88
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.005ea610
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x5d6cec
mov eax, ebx
call fcn.005e7ed4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5d6ce5
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 - 4]
call fcn.005ea610
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x5d6ccf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5d6d14
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x5d6ccf
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d6cec
mov eax, dword [ebp - 0x10]
call fcn.005e7ef0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d6d09
lea eax, [ebp - 4]
call fcn.005ea574
ret
Function at 0x5d7c4c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.005ea0bc
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.KERNEL32.DLL_MultiByteToWideChar
mov edi, eax
cmp edi, 0x104
jbe 0x5d7bf6
mov eax, edi
add eax, eax
call fcn.005e7ed4
mov esi, eax
jmp 0x5d7bf8
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.KERNEL32.DLL_MultiByteToWideChar
push edi
push esi
call sub.USER32.DLL_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x5d7c31
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x5d7c1b
mov eax, esp
cmp esi, eax
je 0x5d7c3e
mov eax, esi
call fcn.005e7ef0
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x5d7c78
cmp bl, 0
je 0x5d7c74
cmp bl, 0x41
jl 0x5d7c6f
cmp bl, 0x5a
jg 0x5d7c6f
or bl, 0x20
xor al, bl
inc esi
jmp 0x5d7c53
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x5d7bb8

Function at 0x5e8308
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.005ea584
test esi, esi
jne 0x5e8340
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.005ea6c0
jmp 0x5e835e
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.005e824c
mov edi, eax
test esi, esi
je 0x5e835e
cmp dword [ebx], 0
je 0x5e835e
dec esi
jmp 0x5e8347
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x5e9b00
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x733360], 0
je 0x5e9b61
cmp word [0x73363c], 0xd7b2
jne 0x5e9b29
cmp dword [0x733644], 0
jbe 0x5e9b29
mov eax, 0x733638
call dword [0x733654]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
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 0x5e9b8c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x728bec], 0
jne 0x5e9b7d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret

Function at 0x5e9cec
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x728bbc], 0
je 0x5e9d12
mov edx, esi
mov eax, ebx
call dword [0x728bbc]
jmp 0x5e9d21
mov eax, 8
call fcn.005e7ed4
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x733361], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x5e9cb4
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x5ec41c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5ec583
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.005ea584
cmp si, word [0x72939c]
jb 0x5ec4b6
cmp si, word [0x72959c]
ja 0x5ec4b6
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x5ec4b6
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x72939c]
jae 0x5ec490
mov edi, ebx
dec edi
jmp 0x5ec4b1
cmp si, word [ebx*8 + 0x72939c]
jbe 0x5ec4a0
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x5ec4b1
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x7293a0]
call fcn.005ec32c
jmp 0x5ec4b6
cmp edi, dword [ebp - 0xc]
jae 0x5ec47a
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x5ec565
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x5ec565
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.005ea784
push dword [ebp - 0x164]
push 0x5ec5a0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.005ea784
push dword [ebp - 0x168]
push 0x5ec5b0
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.005ea784
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.005eab3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec58a
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.005ea57c
ret
Function at 0x5ec73c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5ec841
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x735e74
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x735e8c]
jne 0x5ec788
mov eax, esi
mov edx, 0x735e90
mov ecx, 0x55
call fcn.005ea784
push 0x735e74
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x5ec82b
push 0x735e74
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.005ea584
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x5ec7f9
cmp byte [0x735e70], 0
je 0x5ec7be
mov edx, esi
mov eax, ebx
call fcn.005ec61c
jmp 0x5ec7f9
mov edx, esi
mov eax, ebx
call fcn.005ec41c
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x5ec7f9
cmp dword [esi], 0
je 0x5ec7e2
mov eax, esi
mov edx, 0x5ec85c
call fcn.005ea998
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.005ec41c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.005ea998
push 0x735e74
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x735e8c], bx
push 0xaa
mov eax, dword [esi]
call fcn.005ea610
push eax
push 0x735e90
call sub.KERNEL32.DLL_lstrcpynW
push 0x735e74
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec848
lea eax, [ebp - 4]
call fcn.005ea574
ret
Function at 0x5eca80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005ea56c
xor eax, eax
push ebp
push 0x5ecc65
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x5ecac0
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x5ecada
push 0x105
mov eax, dword [ebp - 4]
call fcn.005ea610
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.KERNEL32.DLL_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x5ecc4f
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x5ecc74
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x5ecb69
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x5ecc74
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x5ecb69
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x5ecca8
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x5ecb69
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x5eccdc
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x5ecc4f
xor eax, eax
push ebp
push 0x5ecc48
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.005ec884
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x5ecbd8
mov eax, dword [ebp - 0x10]
call fcn.005e7ed4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.005ea730
jmp 0x5ecc23
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x5ecd1c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x5ecc23
mov eax, dword [ebp - 0x10]
call fcn.005e7ed4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x5ecd1c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.005ea730
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ecc4f
cmp dword [ebp - 8], 0
je 0x5ecc3e
mov eax, dword [ebp - 8]
call fcn.005e7ef0
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ecc6c
lea eax, [ebp - 4]
call fcn.005ea574
ret
Function at 0x5ecf30
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov esi, ecx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
call fcn.005ea56c
mov eax, dword [ebp - 0x21c]
call fcn.005ea56c
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x5ed0cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.005ea584
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.005ea610
push eax
lea eax, [ebp - 0x20a]
push eax
call sub.KERNEL32.DLL_lstrcpynW
lea eax, [ebp - 0x20a]
push eax
call sub.KERNEL32.DLL_lstrlenW
add eax, eax
lea edx, [ebp - 0x20a]
add eax, edx
sub eax, 2
mov dword [edi], eax
jmp 0x5ecfd0
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x5ecfe2
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x5ecfcd
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x5ed09b
add dword [edi], 2
mov eax, dword [edi]
mov word [eax], 0
lea eax, [ebp - 0x20a]
mov edx, dword [edi]
sub edx, eax
sar edx, 1
jns 0x5ed00b
adc edx, 0
mov eax, 0x105
sub eax, edx
mov dword [ebp - 0x214], eax
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x218]
call fcn.005eca80
cmp dword [ebp - 0x220], 0
je 0x5ed043
push ebp
mov eax, dword [ebp - 0x220]
call fcn.005ece24
pop ecx
mov ebx, eax
jmp 0x5ed09b
push ebp
call sub.KERNEL32.DLL_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.005ec73c
mov eax, dword [ebp - 0x224]
call fcn.005ece24
pop ecx
mov ebx, eax
test bl, bl
jne 0x5ed08e
cmp byte [0x735e70], 0
jne 0x5ed08e
push ebp
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.005ec73c
mov eax, dword [ebp - 0x228]
call fcn.005ece24
pop ecx
mov ebx, eax
test bl, bl
jne 0x5ed09b
push ebp
call fcn.005eced4
pop ecx
mov ebx, eax
test bl, bl
je 0x5ed0b1
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.005ea784
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ed0d6
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.005ea57c
ret

Function at 0x5ed858
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x5ed944
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x733bf8], 1
jae 0x5ed9ed
call fcn.005e4e70
call fcn.005e7cb0
call fcn.005ec170
mov byte [0x728bdc], 2
mov dword [0x73331c], 0x68ea9a
mov dword [0x733320], 0x68eab2
mov byte [0x733362], 2
call fcn.005ed858
mov dword [0x733364], eax
mov dword [0x733308], 0x5eb79c
call fcn.005e8a50
mov word [0x73336c], 0xd7b0
mov word [0x73363c], 0xd7b0
mov word [0x73390c], 0xd7b0
call sub.KERNEL32.DLL_GetCommandLineW
mov dword [0x733354], eax
call fcn.005e62a8
mov dword [0x733350], eax
call sub.KERNEL32.DLL_GetACP
mov dword [0x733be0], eax
mov dword [0x733be4], 0x4b0
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x733348], eax
call fcn.005ed86c
ret
Function at 0x600a00
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.005ea584
push 0
mov eax, esi
movzx eax, al
push eax
call sub.USER32.DLL_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x600a47
push 0x100
lea edx, [esp + 4]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, 0x100
call fcn.005ea784
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x606244
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x60637d
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.USER32.DLL_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x5c5bac]
call fcn.005c6db0
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x606353
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, SysStringLen
mov eax, dword [ebp - 0xc]
call fcn.005c6e98
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.005ea784
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x606398
call fcn.005eaa58
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.005c7114
test al, al
je 0x60633d
lea ecx, [ebp - 4]
mov edx, 0x60640c
mov eax, dword [ebp - 0xc]
call fcn.005c7a10
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.005d843c
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x606336
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x606424
mov eax, dword [ebp - 8]
push eax
call fcn.005a66d4
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x729c04]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60633d
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60635a
mov eax, dword [ebp - 0xc]
call fcn.005e8b9c
ret

Function at 0x606488
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x6064cf
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x6064b2
add bx, 0x2000
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x6064c3
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x6064cf
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x60db50
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 0x60db56
ret
Function at 0x61912c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x6192e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x6192c5
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x6192c5
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x6190f8]
call fcn.005ebe18
add esp, 4
lea eax, [ebp - 4]
call fcn.005ed284
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x730940]
push eax
call fcn.0068f388
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.005ebc50
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.005e8560
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x60c490]
call fcn.00615ab8
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x6192a3
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.00617734
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
call fcn.006163d8
call fcn.00610b40
push eax
call sub.GDI32.DLL_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.00616744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6192c5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6192f0
lea eax, [ebp - 8]
mov edx, dword [0x6190f8]
call fcn.005ebe24
lea eax, [ebp - 4]
call fcn.005ed284
ret
Function at 0x6219c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongW
mov edi, eax
test bl, bl
je 0x6219e1
test edi, 0x40000
je 0x6219fb
test bl, bl
jne 0x621a7c
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x621a7c
push esi
call sub.USER32.DLL_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.USER32.DLL_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x621a2e
push 0
push esi
call sub.USER32.DLL_ShowWindow
test bl, bl
je 0x621a43
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_SetWindowLongW
jmp 0x621a52
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x621a63
cmp byte [esp + 2], 0
je 0x621a7c
cmp byte [esp + 2], 0
je 0x621a74
push 6
push esi
call sub.USER32.DLL_ShowWindow
jmp 0x621a7c
push 5
push esi
call sub.USER32.DLL_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x621d28
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.USER32.DLL_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x621d4e
mov eax, esp
push eax
push 0x621cf0
call sub.USER32.DLL_EnumWindows
jmp 0x621d61
mov eax, esp
push eax
push 0x621cd0
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
call sub.USER32.DLL_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x621e24
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x621e74]
test bl, 4
je 0x621e38
or si, 1
test bl, 8
je 0x621e41
or si, 4
test bl, 1
je 0x621e4a
or si, 8
test bl, 2
je 0x621e53
or si, 0x10
test bl, 0x10
je 0x621e5c
or si, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x621e6c
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x621e78
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x621eb4]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x621e93
or bx, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x621ea3
or bx, 4
test esi, 0x20000000
je 0x621eaf
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret