joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467fb4
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 0x4680d9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00467dbc
mov esi, eax
mov eax, dword [0x6b52e0]
cmp byte [eax], 0
je 0x468081
mov eax, dword [0x6b52e8]
call fcn.004816a0
call fcn.004812f4
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 [0x467f84]
call fcn.0048567c
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 0x4680f4
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x4680bd
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x6b5148]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x6b5dcc]
call fcn.00485770
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 0x4680e0
lea eax, [ebp - 4]
mov edx, dword [0x467f84]
call fcn.00485688
ret

Function at 0x469164
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 0x46923a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00483bdc
lea eax, [ebp - 4]
call fcn.00483d44
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00484338
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x469224
mov eax, ebx
call fcn.004810f0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x46921d
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.00484338
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x469207
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x46924c
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x469207
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 0x469224
mov eax, dword [ebp - 0x10]
call fcn.0048110c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469241
lea eax, [ebp - 4]
call fcn.004837b4
ret
Function at 0x469cec
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.00483c84
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00487204
mov edi, eax
cmp edi, 0x104
jbe 0x469c97
mov eax, edi
add eax, eax
call fcn.004810f0
mov esi, eax
jmp 0x469c99
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00487204
push esi
call sub.USER32.DLL_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x469cd2
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 0x469cbc
mov eax, esp
cmp esi, eax
je 0x469cdf
mov eax, esi
call fcn.0048110c
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 0x469d18
cmp bl, 0
je 0x469d14
cmp bl, 0x41
jl 0x469d0f
cmp bl, 0x5a
jg 0x469d0f
or bl, 0x20
xor al, bl
inc esi
jmp 0x469cf3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x469c58

Function at 0x46a518
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.004843dc
add esp, 0x800
pop ebx
ret

Function at 0x46a9c8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.004837b4
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.00484338
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x46aa0d
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0048393c
jmp 0x46aa26
mov edx, ebx
dec edx
mov eax, esi
call fcn.004844b4
push ebx
mov eax, dword [esi]
call fcn.00484338
push eax
push ebp
call sub.KERNEL32.DLL_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x481500
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004837b4
test esi, esi
jne 0x481536
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.0048393c
jmp 0x481554
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00481444
mov edi, eax
test esi, esi
je 0x481554
cmp dword [ebx], 0
je 0x481554
dec esi
jmp 0x48153d
add esp, 0x20c
pop edi
pop esi
pop ebx
ret
Function at 0x482610
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.004829fc
mov byte [esp], al
cmp byte [esp], 0
jne 0x48279c
test edi, edi
je 0x48279c
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4826d3
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x4826ae
cmp edi, 0xffffffff
je 0x48266f
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x48266f
mov byte [esp], 0
jmp 0x48279c
mov ebx, dword [esi]
cmp ebx, 1
jg 0x4826ae
test ebx, ebx
jne 0x4826a4
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.0047f528
test eax, eax
jne 0x4826a4
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x48279c
call 0x482b20
dec ebp
test ebp, ebp
jg 0x482654
cmp edi, 0xffffffff
je 0x4826d3
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4826d1
mov byte [esp], 0
jmp 0x48279c
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x48261e
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.0047f528
cmp ebx, eax
jne 0x4826d3
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0048280c
mov edx, eax
mov ebx, dword [0x6b8ec8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x48273a
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x482738
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x48273a
xor edi, edi
cmp byte [esp], 0
je 0x482763
mov ebx, dword [esi]
test bl, 1
jne 0x48277c
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.0047f528
cmp ebx, eax
jne 0x482740
mov byte [esp + 1], 1
jmp 0x48277c
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.0047f528
cmp ebx, eax
jne 0x482763
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4826ed
cmp byte [esp], 0
je 0x48279c
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x48344c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x6b8628], 0
je 0x4834b3
cmp word [0x6b8914], 0xd7b2
jne 0x483475
cmp dword [0x6b891c], 0
jbe 0x483475
mov eax, 0x6b8910
call dword [0x6b892c]
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
mov eax, 0x4834e0
call fcn.00483ff0
push eax
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x6aaa64], 0
jne 0x4834cf
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x483670
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x6aaa38], 0
je 0x48369b
mov edx, edi
mov eax, esi
call dword [0x6aaa38]
mov ebx, eax
jmp 0x4836ac
mov eax, 8
call fcn.004810f0
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x6b8629], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x483638
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CreateThread
mov esi, eax
test esi, esi
jne 0x4836e1
mov edx, 8
mov eax, ebx
call fcn.0048110c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x485c2c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x485d91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004837b4
cmp si, word [0x6ab430]
jb 0x485cc4
cmp si, word [0x6ab630]
ja 0x485cc4
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x485cc4
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x6ab430]
jae 0x485c9e
mov edi, ebx
dec edi
jmp 0x485cbf
cmp si, word [ebx*8 + 0x6ab430]
jbe 0x485cae
inc ebx
mov dword [ebp - 8], ebx
jmp 0x485cbf
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x6ab434]
call fcn.00485b3c
jmp 0x485cc4
cmp edi, dword [ebp - 8]
jae 0x485c88
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x485d73
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x485d73
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004843dc
push dword [ebp - 0x160]
push 0x485dac
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004843dc
push dword [ebp - 0x164]
push 0x485dbc
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004843dc
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00484614
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485d98
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00483814
ret
Function at 0x485f44
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 0x486047
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x6bb160
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x6bb178]
jne 0x485f90
mov eax, esi
mov edx, 0x6bb17a
mov ecx, 0x55
call fcn.004843dc
push 0x6bb160
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x486031
push 0x6bb160
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
call fcn.004837b4
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x485fff
cmp byte [0x6bb15c], 0
je 0x485fc4
mov edx, esi
mov eax, ebx
call fcn.00485e28
jmp 0x485fff
mov edx, esi
mov eax, ebx
call fcn.00485c2c
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x485fff
cmp dword [esi], 0
je 0x485fe8
mov eax, esi
mov edx, 0x486060
call fcn.00484534
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00485c2c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00484534
push 0x6bb160
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x6bb178], bx
push 0xaa
mov eax, dword [esi]
call fcn.00484338
push eax
push 0x6bb17a
call sub.KERNEL32.DLL_lstrcpynW
push 0x6bb160
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48604e
lea eax, [ebp - 4]
call fcn.004837b4
ret
Function at 0x48627c
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.00483898
xor eax, eax
push ebp
push 0x4864a1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4862bc
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x4862d6
push 0x105
mov eax, dword [ebp - 4]
call fcn.00484338
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.KERNEL32.DLL_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x48648b
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4864b0
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x4863a5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4864b0
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x4863a5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4864ec
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x4863a5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4864ec
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x4863a5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x486520
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x4863a5
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x486554
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x48648b
xor eax, eax
push ebp
push 0x486484
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00486088
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 0x486414
mov eax, dword [ebp - 0x10]
call fcn.004810f0
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.004843a0
jmp 0x48645f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x486594
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x48645f
mov eax, dword [ebp - 0x10]
call fcn.004810f0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x486594
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004843a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48648b
cmp dword [ebp - 8], 0
je 0x48647a
mov eax, dword [ebp - 8]
call fcn.0048110c
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 0x4864a8
lea eax, [ebp - 4]
call fcn.004837b4
ret
Function at 0x486788
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00483898
xor eax, eax
push ebp
push 0x486848
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.KERNEL32.DLL_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004843dc
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0048458c
mov eax, dword [ebx]
call fcn.00486650
test al, al
jne 0x486825
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004843dc
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0048458c
mov eax, dword [ebx]
call fcn.00486650
test al, al
jne 0x486825
mov eax, ebx
call fcn.004837b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48684f
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00483814
lea eax, [ebp - 4]
call fcn.004837b4
ret

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

Disassembly:
sub dword [0x6b8ee4], 1
jae 0x4873fb
push 0x400
call sub.KERNEL32.DLL_SetThreadLocale
call fcn.00480e90
call fcn.004859d4
mov byte [0x6aaa50], 2
mov dword [0x6b85e4], 0x6a12c2
mov dword [0x6b85e8], 0x6a12e0
mov byte [0x6b862a], 2
call fcn.00487224
mov dword [0x6b8630], eax
mov dword [0x6b85d0], 0x4850a4
call fcn.00481a70
call fcn.00481a8c
mov word [0x6b8638], 0xd7b0
mov word [0x6b8914], 0xd7b0
mov word [0x6b8bf0], 0xd7b0
call sub.KERNEL32.DLL_GetCommandLineW
mov dword [0x6b861c], eax
call fcn.0047f55c
mov dword [0x6b8618], eax
call sub.KERNEL32.DLL_GetACP
mov dword [0x6b8ecc], eax
mov dword [0x6b8ed0], 0x4b0
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x6b8610], eax
call fcn.00487238
ret

Function at 0x4fbcac
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.004fbd5c
test eax, eax
je 0x4fbce7
push 0x100
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.004fbd5c
push eax
call sub.USER32.DLL_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0048393c
jmp 0x4fbcf5
mov ecx, esi
mov edx, 0x4fbd14
mov eax, ebx
call fcn.004fbbf8
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.00483b94
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x5386e8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.004837b4
push 0
movzx eax, bl
push eax
call sub.USER32.DLL_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x53873a
push 0x100
lea eax, [esp + 4]
push eax
push ebx
call sub.USER32.DLL_GetKeyNameTextW
test eax, eax
je 0x538733
mov eax, esi
mov edx, esp
mov ecx, 0x100
call fcn.004843dc
jmp 0x53873a
mov eax, esi
call fcn.004837b4
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x53d174
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x53d17c
push ecx
push ebx
push esi
push edi
mov byte [ebp - 0x25], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x53d5fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x26], 0
cmp byte [ebp - 0x25], 0
jne 0x53d1bd
test byte [ebx + 0x1c], 0x10
jne 0x53d5ce
mov eax, ebx
call fcn.0053da78
test al, al
je 0x53d5ce
lea eax, [ebp - 4]
mov edx, dword [0x6ac2bc]
call fcn.00483bdc
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x53d5c7
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x422c50]
call fcn.00431e2c
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x422c50]
call fcn.00431e2c
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x422c50]
call fcn.00431e2c
mov dword [ebp - 0x2c], eax
mov dl, 1
mov eax, dword [0x422c50]
call fcn.00431e2c
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0053c3f8
dec eax
test eax, eax
jl 0x53d341
inc eax
mov dword [ebp - 0x34], eax
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0053c408
cmp byte [eax + 0x42], 0
je 0x53d337
mov edx, esi
mov eax, ebx
call fcn.0053c408
mov eax, dword [eax + 0x38]
mov edx, 0x53d61c
call fcn.004846c4
je 0x53d337
mov edx, esi
mov eax, ebx
call fcn.0053c408
cmp dword [eax + 0x38], 0
je 0x53d337
mov edx, esi
mov eax, ebx
call fcn.0053c408
mov eax, dword [eax + 0x38]
lea edx, [ebp - 0x38]
call fcn.0053f994
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x1c]
call fcn.00461c88
cmp dword [ebp - 0x1c], 0
jne 0x53d2cd
mov edx, esi
mov eax, ebx
call fcn.0053c408
push eax
mov edx, esi
mov eax, ebx
call fcn.0053c408
mov ecx, dword [eax + 0x38]
xor edx, edx
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax]
call dword [edi + 0x64]
jmp 0x53d337
mov edx, dword [0x6ac2bc]
mov eax, dword [ebp - 0x1c]
call fcn.00469654
test eax, eax
je 0x53d337
push ebp
mov eax, dword [ebp - 0x1c]
call fcn.0053cf14
pop ecx
test al, al
jne 0x53d337
mov edx, esi
mov eax, ebx
call fcn.0053c408
add eax, 0x38
push eax
mov edx, esi
mov eax, ebx
call fcn.0053c408
mov eax, dword [eax + 0x38]
lea edx, [ebp - 0x3c]
call fcn.0053f878
mov edx, dword [ebp - 0x3c]
pop eax
call fcn.00483b94
mov edx, esi
mov eax, ebx
call fcn.0053c408
push eax
mov edx, esi
mov eax, ebx
call fcn.0053c408
mov ecx, dword [eax + 0x38]
xor edx, edx
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax]
call dword [edi + 0x64]
inc esi
dec dword [ebp - 0x34]
jne 0x53d244
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
call fcn.00483bdc
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53d605
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.00483814
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00483814
lea eax, [ebp - 4]
call fcn.004837b4
ret
Function at 0x53deb0
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 0x53e00f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x6ac3d0], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.USER32.DLL_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4429b0]
call fcn.00443afc
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x53dfe5
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00443c7c
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.004843dc
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x53e028
call fcn.0048458c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00443f08
test al, al
je 0x53dfcf
lea ecx, [ebp - 4]
mov edx, 0x53e09c
mov eax, dword [ebp - 0xc]
call fcn.00444790
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0046a944
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x53dfcf
xor edx, edx
push ebp
push 0x53dfc8
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x53e0b4
mov eax, dword [ebp - 8]
push eax
call fcn.00478ed8
test eax, eax
je 0x53dfb1
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x53dfb1
call fcn.0053de3c
test eax, eax
je 0x53dfa1
mov eax, dword [ebx + 0x50]
jmp 0x53dfa4
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x6ac3d0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53dfcf
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 0x53dfec
mov eax, dword [ebp - 0xc]
call fcn.00481c48
ret

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