joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486fec
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [0x563034]
mov eax, dword [eax]
call fcn.004f2cf0
push 0
mov edx, dword [0x563034]
mov ecx, dword [edx]
push dword [ecx + 0x30]
call sub.USER32.DLL_ShowWindow
mov eax, dword [ebp - 4]
cmp word [eax + 0x24a], 0
je 0x487034
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24c]
call dword [ebx + 0x248]
pop ebx
pop ecx
pop ebp
ret

Function at 0x487038
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [0x563034]
mov eax, dword [eax]
call fcn.004f2da0
push 9
mov edx, dword [0x563034]
mov ecx, dword [edx]
push dword [ecx + 0x30]
call sub.USER32.DLL_ShowWindow
mov eax, dword [0x563034]
mov edx, dword [eax]
push dword [edx + 0x30]
call sub.USER32.DLL_SetForegroundWindow
mov ecx, dword [ebp - 4]
cmp word [ecx + 0x252], 0
je 0x48708f
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call dword [ebx + 0x250]
pop ebx
pop ecx
pop ebp
ret

Function at 0x49dad0
Capabilities:
Suspend thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0xe], 1
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, ebx
call fcn.0049d954
pop ebx
ret

Function at 0x49daf0
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.0049d954
dec esi
jne 0x49db12
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x49ec50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5645b0
cmp dword [edi], 0
jne 0x49eccc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x5645ac]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x55d3e8
mov ecx, 2
call fcn.004b4968
mov edx, 0x49ec28
lea eax, [esi + 5]
call fcn.0049ec48
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0049ec48
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 0x49eca1
mov dword [0x5645ac], 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 0x4a0158
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.004b502c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x562e38]
cmp byte [edx + 0xc], 0
je 0x4a01bc
mov edx, dword [0x562e20]
cmp dword [edx], 2
jne 0x4a01bc
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x4a01c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4a0278
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004a0158
test al, al
je 0x4a025a
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004b65b8
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4a025a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004b6978
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.004b6978
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004b66b8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4a0213
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a027f
lea eax, [ebp - 0x2c]
call fcn.004b64c8
lea eax, [ebp - 0xc]
call fcn.004b64c8
ret

Function at 0x4a0378
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.004b6978
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4a03d0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x562de4]
mov dl, 1
mov eax, dword [0x49fd30]
call fcn.004a7f98
call fcn.004b5f44
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0049fe38
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 0x4a1cd4
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 [0x48f9ac]
call fcn.004b6f20
xor eax, eax
push ebp
push 0x4a1e18
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x55d430], 0
jne 0x4a1d27
mov ecx, dword [0x562e1c]
mov dl, 1
mov eax, dword [0x4a2f40]
call fcn.004a7f5c
call fcn.004b5f44
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004b502c
mov eax, ebx
call fcn.004b6d70
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4a1e28
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.004b83fc
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004b6d80
test eax, eax
jle 0x4a1dbf
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 0x4a1db8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004b6748
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004b6730
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004a3e68
test eax, eax
jne 0x4a1db8
mov ebx, 0x15
jmp 0x4a1dc4
mov ebx, 0x10
jmp 0x4a1dc4
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 [0x55d430]
call fcn.004a1c2c
mov eax, dword [ebp - 8]
call fcn.004a1c2c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004b8414
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1e1f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004b64ec
lea eax, [ebp - 0x10]
mov edx, dword [0x48f9ac]
call fcn.004b6ff0
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004b6978
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4a4695
test al, 0x10
jne 0x4a4699
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4a76e8
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 0x4a7721
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004b65b8
jmp 0x4a772a
mov eax, ebx
mov edx, esi
call fcn.004b651c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a7734
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 0x4a7755
mov al, byte [esp]
jmp 0x4a7757
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4a8d84
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 0x4a8de8
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.004b6730
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.004a4338
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8def
lea eax, [ebp - 0xc]
call fcn.004b64c8
ret

Function at 0x4b4a94
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.004b64c8
test esi, esi
jne 0x4b4aca
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.004b65b8
jmp 0x4b4ae8
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004b49a8
mov edi, eax
test esi, esi
je 0x4b4ae8
cmp dword [ebx], 0
je 0x4b4ae8
dec esi
jmp 0x4b4ad1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4b55e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x55d95c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4b5678
push reloc.OLEAUT32.DLL_SysReAllocString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4b5658
xor eax, eax
push ebp
push 0x4b5651
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 0x4b5694
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 0x4b5658
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x55d95c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x55d95c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4b62a8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5648f4], 0
je 0x4b6309
cmp word [0x564ac8], 0xd7b2
jne 0x4b62d1
cmp dword [0x564ad0], 0
jbe 0x4b62d1
mov eax, 0x564ac4
call dword [0x564ae0]
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 0x4b6330
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x55d96c], 0
jne 0x4b6325
push 0
push 0x55d9c4
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x4b647c
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.004b4704
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x5648f5], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4b6444
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4b7fec
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 0x4b821c
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x4b806f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4b821c
push reloc.OLEAUT32.DLL_SysReAllocString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x4b806f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4b8238
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4b80f8
xor eax, eax
push ebp
push 0x4b80f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004b7e34
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 0x4b80d6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4b8258
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4b80d6
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 0x4b80f8
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 0x4b8212
cmp byte [ebp - 0xd], 0
jne 0x4b813f
cmp byte [ebp - 0x12], 0
je 0x4b8212
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4b8158
dec ebx
cmp byte [ebx], 0x2e
je 0x4b8167
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4b8157
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4b8212
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4b81a4
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 0x4b8212
cmp byte [ebp - 0xd], 0
je 0x4b8212
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 0x4b8212
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 0x4b89c4
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x564e68], 1
jae 0x4b8a4a
mov byte [0x55d958], 2
mov dword [0x5648b8], 0x53b55c
mov dword [0x5648bc], 0x53b57a
mov byte [0x5648f6], 2
mov dword [0x5648a4], 0x4b75ec
call fcn.004b55b0
test al, al
je 0x4b8a07
call fcn.004b55e0
call fcn.004b56a4
mov word [0x5648fc], 0xd7b0
mov word [0x564ac8], 0xd7b0
mov word [0x564c94], 0xd7b0
call fcn.004b74b4
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x5648e8], eax
call fcn.004b33a0
mov dword [0x5648e4], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x5648dc], eax
ret

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

Function at 0x4b9584
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 0x4b9601
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004b8fd0
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 0x4b95a9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004b8c28
cmp dword [ebp - 4], 0
je 0x4b95eb
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004b6978
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 0x4b9608
lea eax, [ebp - 4]
call fcn.004b64c8
ret

Function at 0x4cd9c0
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.004b64c8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4cda0f
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.004b6730
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d39ec
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 0x4d3c4c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4d3a4f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004d34b4
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.004a878c
cmp al, 1
jne 0x4d3a4f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004d37cc
test al, al
je 0x4d3bdb
cmp dword [ebp - 8], 0
jge 0x4d3a6d
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.004d34b4
mov eax, dword [ebp - 0x210]
call fcn.004b6780
cmp ebx, eax
jge 0x4d3ab7
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004d34b4
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x562e2c]
and eax, 0xff
bt dword [edx], eax
jae 0x4d3ab7
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4d3acb
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004d39c8
cmp ebx, dword [ebp - 8]
je 0x4d3bcd
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 0x4d3af7
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004b5974
and eax, 0x7f
movzx eax, word [eax*2 + 0x55dc38]
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 0x4d3bba
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004b5974
and eax, 0x7f
movzx eax, word [eax*2 + 0x55dc38]
push eax
push 0x100
mov eax, dword [ebp - 4]
call fcn.0050895c
push eax
call sub.USER32.DLL_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004b5974
and eax, 0x7f
movzx eax, word [eax*2 + 0x55dc38]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0050895c
push eax
call sub.USER32.DLL_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3bc1
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 0x4d3c2e
cmp dword [ebp - 8], 0
jge 0x4d3be6
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004d34b4
mov eax, dword [ebp - 0x218]
call fcn.004b6780
cmp eax, dword [ebp - 8]
jg 0x4d3c20
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004d34b4
mov eax, dword [ebp - 0x21c]
call fcn.004b6780
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d39c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3c53
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004b64ec
ret
Function at 0x4de5c0
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 0x4de5c6
ret

Function at 0x4e1008
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 0x4e1059
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4e1040
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4e1030
jmp 0x4e1059
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 0x4e1041
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ea294
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4ea2e4]
test si, 4
je 0x4ea2a8
or bl, 1
test si, 8
je 0x4ea2b2
or bl, 4
test si, 1
je 0x4ea2bc
or bl, 8
test si, 2
je 0x4ea2c6
or bl, 0x10
test si, 0x10
je 0x4ea2d0
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4ea2df
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4ea2e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4ea320]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4ea301
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4ea310
or bl, 4
test esi, 0x20000000
je 0x4ea31b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4f0c7c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4f0c8e
add esp, 0xfffffff0
call fcn.004b5adc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0049dbb8
mov eax, dword [0x563040]
mov dword [eax + 4], ebx
mov dword [eax], 0x4f1020
mov eax, dword [0x563044]
mov dword [eax + 4], ebx
mov dword [eax], 0x4f102c
mov eax, ebx
call fcn.004f1038
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x492698]
call fcn.004b5748
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x492698]
call fcn.004b5748
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x492698]
call fcn.004b5748
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x492698]
call fcn.004b5748
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x492698]
call fcn.004b5748
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, 0x4ed500
push eax
push 0
push 0
mov eax, dword [0x563354]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4dd954]
call fcn.004df108
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4dd954]
call fcn.004df108
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4dd954]
call fcn.004df108
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004f14a0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4f137c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4f137c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4f137c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4f0dcb
call fcn.004b5b34
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret