joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d8c4
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 0x44d9e9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0044d6d4
mov esi, eax
mov eax, dword [0x526324]
cmp byte [eax], 0
je 0x44d991
mov eax, dword [0x526328]
call fcn.004603d0
call fcn.0046005c
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 [0x44d89c]
call fcn.0046401c
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 0x44da04
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x44d9cd
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x526198]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x52672c]
call fcn.00464224
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 0x44d9f0
lea eax, [ebp - 4]
mov edx, dword [0x44d89c]
call fcn.0046413c
ret

Function at 0x44ebb0
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 0x44ec86
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0046273c
lea eax, [ebp - 4]
call fcn.0046318c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00462774
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x44ec70
mov eax, ebx
call fcn.0045fe6c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x44ec69
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.00462774
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x44ec53
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x44ec98
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x44ec53
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 0x44ec70
mov eax, dword [ebp - 0x10]
call fcn.0045fe88
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ec8d
lea eax, [ebp - 4]
call fcn.004626d8
ret
Function at 0x44fbd0
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.00462068
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 0x44fb7a
mov eax, edi
add eax, eax
call fcn.0045fe6c
mov esi, eax
jmp 0x44fb7c
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 0x44fbb5
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 0x44fb9f
mov eax, esp
cmp esi, eax
je 0x44fbc2
mov eax, esi
call fcn.0045fe88
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 0x44fbfc
cmp bl, 0
je 0x44fbf8
cmp bl, 0x41
jl 0x44fbf3
cmp bl, 0x5a
jg 0x44fbf3
or bl, 0x20
xor al, bl
inc esi
jmp 0x44fbd7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x44fb3c

Function at 0x460268
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.004626e8
test esi, esi
jne 0x4602a0
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.00462824
jmp 0x4602be
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004601ac
mov edi, eax
test esi, esi
je 0x4602be
cmp dword [ebx], 0
je 0x4602be
dec esi
jmp 0x4602a7
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x461a88
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x528d88], 0
je 0x461ae9
cmp word [0x529064], 0xd7b2
jne 0x461ab1
cmp dword [0x52906c], 0
jbe 0x461ab1
mov eax, 0x529060
call dword [0x52907c]
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 0x461b14
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x51e364], 0
jne 0x461b05
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret

Function at 0x461c74
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 [0x51e330], 0
je 0x461c9a
mov edx, esi
mov eax, ebx
call dword [0x51e330]
jmp 0x461ca9
mov eax, 8
call fcn.0045fe6c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x528d89], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x461c3c
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 0x464708
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 0x46486f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004626e8
cmp si, word [0x51eb08]
jb 0x4647a2
cmp si, word [0x51ed08]
ja 0x4647a2
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x4647a2
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x51eb08]
jae 0x46477c
mov edi, ebx
dec edi
jmp 0x46479d
cmp si, word [ebx*8 + 0x51eb08]
jbe 0x46478c
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x46479d
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x51eb0c]
call fcn.00464618
jmp 0x4647a2
cmp edi, dword [ebp - 0xc]
jae 0x464766
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x464851
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x464851
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.004628e8
push dword [ebp - 0x164]
push 0x46488c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.004628e8
push dword [ebp - 0x168]
push 0x46489c
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.004628e8
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00462ca0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464876
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.004626e0
ret
Function at 0x4648a0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 6], edx
mov word [ebp - 2], ax
xor eax, eax
push ebp
push 0x464a86
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x52b89c
call sub.KERNEL32.DLL_EnterCriticalSection
movzx eax, word [0x52b8b4]
cmp ax, word [ebp - 2]
jne 0x4648f8
mov eax, dword [ebp - 6]
mov edx, 0x52b8b8
mov ecx, 0x55
call fcn.004628e8
push 0x52b89c
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x464a70
push 0x52b89c
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, dword [ebp - 6]
xor edx, edx
call fcn.004626e8
push 2
movzx eax, word [ebp - 2]
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x464a38
cmp byte [0x52b898], 0
je 0x4649ee
call dword [0x52b890]
mov word [ebp - 0x16], ax
movzx eax, word [ebp - 2]
push eax
call dword [0x52b894]
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor ecx, ecx
push ebp
push 0x4649e7
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0x38
call dword [0x52b88c]
test al, al
je 0x4649c0
mov eax, dword [ebp - 0xc]
add eax, eax
call fcn.0045fe6c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x38
call dword [0x52b88c]
mov edx, dword [ebp - 0xc]
sub edx, 2
test edx, edx
jb 0x4649b5
inc edx
xor eax, eax
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
jne 0x4649b1
mov ecx, dword [ebp - 0x10]
mov word [ecx + eax*2], 0x2c
inc eax
dec edx
jne 0x46499e
mov eax, dword [ebp - 6]
mov edx, dword [ebp - 0x10]
call fcn.00462894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464a38
movzx eax, word [ebp - 0x16]
push eax
call dword [0x52b894]
cmp dword [ebp - 0x10], 0
je 0x4649e6
mov eax, dword [ebp - 0x10]
call fcn.0045fe88
ret
mov edx, dword [ebp - 6]
movzx eax, word [ebp - 2]
call fcn.00464708
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp ax, word [ebp - 2]
je 0x464a38
mov eax, dword [ebp - 6]
cmp dword [eax], 0
je 0x464a1d
mov eax, dword [ebp - 6]
mov edx, 0x464aa0
call fcn.00462afc
mov eax, dword [ebp - 6]
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 0x1c]
call fcn.00464708
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 6]
call fcn.00462afc
mov eax, dword [ebp - 6]
push 0x52b89c
call sub.KERNEL32.DLL_EnterCriticalSection
movzx eax, word [ebp - 2]
mov word [0x52b8b4], ax
push 0xaa
mov eax, dword [ebp - 6]
mov eax, dword [eax]
call fcn.00462774
push eax
push 0x52b8b8
call sub.KERNEL32.DLL_lstrcpynW
push 0x52b89c
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464a8d
lea eax, [ebp - 0x1c]
call fcn.004626d8
ret
Function at 0x464cc4
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.004626d0
xor eax, eax
push ebp
push 0x464ea9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x464d04
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x464d1e
push 0x105
mov eax, dword [ebp - 4]
call fcn.00462774
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.KERNEL32.DLL_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x464e93
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x464eb8
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x464dad
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x464eb8
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x464dad
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x464eec
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x464dad
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x464f20
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x464e93
xor eax, eax
push ebp
push 0x464e8c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00464ac8
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 0x464e1c
mov eax, dword [ebp - 0x10]
call fcn.0045fe6c
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.00462894
jmp 0x464e67
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x464f60
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x464e67
mov eax, dword [ebp - 0x10]
call fcn.0045fe6c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x464f60
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00462894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464e93
cmp dword [ebp - 8], 0
je 0x464e82
mov eax, dword [ebp - 8]
call fcn.0045fe88
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 0x464eb0
lea eax, [ebp - 4]
call fcn.004626d8
ret
Function at 0x465174
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.004626d0
mov eax, dword [ebp - 0x21c]
call fcn.004626d0
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x465313
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.004626e8
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.00462774
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 0x465214
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x465226
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x465211
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x4652df
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 0x46524f
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.00464cc4
cmp dword [ebp - 0x220], 0
je 0x465287
push ebp
mov eax, dword [ebp - 0x220]
call fcn.00465068
pop ecx
mov ebx, eax
jmp 0x4652df
push ebp
call sub.KERNEL32.DLL_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.004648a0
mov eax, dword [ebp - 0x224]
call fcn.00465068
pop ecx
mov ebx, eax
test bl, bl
jne 0x4652d2
cmp byte [0x52b898], 0
jne 0x4652d2
push ebp
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.004648a0
mov eax, dword [ebp - 0x228]
call fcn.00465068
pop ecx
mov ebx, eax
test bl, bl
jne 0x4652df
push ebp
call fcn.00465118
pop ecx
mov ebx, eax
test bl, bl
je 0x4652f5
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.004628e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46531a
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.004626e0
ret

Function at 0x465a9c
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 0x465b88
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x529620], 1
jae 0x465c31
call fcn.0045cdf4
call fcn.0045fc48
call fcn.00464488
mov byte [0x51e350], 2
mov dword [0x528d44], 0x514f22
mov dword [0x528d48], 0x514f40
mov byte [0x528d8a], 2
call fcn.00465a9c
mov dword [0x528d8c], eax
mov dword [0x528d30], 0x4639a0
call fcn.004609b0
mov word [0x528d94], 0xd7b0
mov word [0x529064], 0xd7b0
mov word [0x529334], 0xd7b0
call sub.KERNEL32.DLL_GetCommandLineW
mov dword [0x528d7c], eax
call fcn.0045e240
mov dword [0x528d78], eax
call sub.KERNEL32.DLL_GetACP
mov dword [0x529608], eax
mov dword [0x52960c], 0x4b0
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x528d70], eax
call fcn.00465ab0
ret
Function at 0x47ca48
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.004626e8
push 0
mov eax, esi
movzx eax, al
push eax
call sub.USER32.DLL_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x47ca8f
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.004628e8
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x48228c
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 0x4823c5
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 [0x43dc8c]
call fcn.0043ee90
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x48239b
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, SysStringLen
mov eax, dword [ebp - 0xc]
call fcn.0043ef78
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.004628e8
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x4823e0
call fcn.00462bbc
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0043f1f4
test al, al
je 0x482385
lea ecx, [ebp - 4]
mov edx, 0x482454
mov eax, dword [ebp - 0xc]
call fcn.0043faf0
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.004503c0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x48237e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x48246c
mov eax, dword [ebp - 8]
push eax
call fcn.0041ea30
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x51f40c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482385
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 0x4823a2
mov eax, dword [ebp - 0xc]
call fcn.00460afc
ret

Function at 0x4824d0
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 0x482517
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4824fa
add bx, 0x2000
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x48250b
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x482517
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x489b98
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 0x489b9e
ret
Function at 0x495174
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 0x495331
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x49530d
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x49530d
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 [0x495140]
call fcn.0046401c
add esp, 4
lea eax, [ebp - 4]
call fcn.004654c8
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x5264b4]
push eax
call fcn.0051581c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00463e54
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.004604c0
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 [0x4884d8]
call fcn.00491b00
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x4952eb
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.0049377c
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.00492420
call fcn.0048cb88
push eax
call sub.GDI32.DLL_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.0049278c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49530d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495338
lea eax, [ebp - 8]
mov edx, dword [0x495140]
call fcn.0046413c
lea eax, [ebp - 4]
call fcn.004654c8
ret