joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43061e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x838
mov eax, 0x4f926a
call fcn.0041c61c
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x838], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x844], esi
call fcn.0040ade0
lea eax, [ebp - 0x834]
mov dword [ebp - 0x834], esi
push eax
push 0x20119
push esi
push str.SoftWare
mov dword [ebp - 0x830], esi
mov dword [ebp - 0x82c], esi
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x4306a9
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.00426d9e
push 0
jmp 0x430798
lea eax, [ebp - 0x830]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x4306d2
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x430694
lea eax, [ebp - 0x82c]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x838]
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x430719
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
mov ecx, edi
lea eax, [ebp - 0x828]
push eax
call fcn.00426d9e
jmp 0x430797
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0048faf0
add esp, 0xc
mov dword [ebp - 0x83c], 0x400
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x840]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x834]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.00497313
pop ecx
mov ecx, edi
test eax, eax
je 0x43070b
lea eax, [ebp - 0x810]
push eax
call fcn.0040ade0
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.0040e4d0
mov eax, edi
call fcn.0041c5d7
ret
Function at 0x4307ad
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x834
mov eax, 0x4fa53b
call fcn.0041c61c
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
and dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.0040ade0
xor ecx, ecx
lea eax, [ebp - 0x834]
push eax
push 0xf013f
push ecx
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], ecx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x82c], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x430831
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.00426d9e
push 0
jmp 0x43092f
xor ecx, ecx
lea eax, [ebp - 0x830]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push esi
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call esi
test eax, eax
je 0x430865
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43081c
xor ecx, ecx
lea eax, [ebp - 0x82c]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push ebx
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x4308a0
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x43081c
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0048faf0
add esp, 0xc
mov dword [ebp - 0x838], 0x400
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x834]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.00497313
pop ecx
mov ecx, edi
test eax, eax
jne 0x430922
lea eax, [ebp - 0x828]
push eax
call fcn.00426d9e
jmp 0x43092e
lea eax, [ebp - 0x810]
push eax
call fcn.0040ade0
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.0040e4d0
mov eax, edi
call fcn.0041c5d7
ret
Function at 0x430944
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov ebx, 0xf013f
mov dword [ebp - 0xc], edi
push ebx
push edi
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x430a01
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 8]
push edi
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x4309a2
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x430a00
push edi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call esi
test eax, eax
je 0x4309c8
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x4309fe
push dword [ebp + 0x14]
call fcn.00497313
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4342ab
Capabilities:
Check os version

Disassembly:
push 0x34c
mov eax, 0x4fabdb
call fcn.0041c61c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x330]
xor ebx, ebx
mov dword [ebp - 0x358], esi
push 0x118
push ebx
mov dword [ebp - 0x350], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x334], 0x11c
call fcn.0048faf0
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x501100
mov ecx, esi
call fcn.0040ade0
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x34c], eax
movzx eax, byte [ebp - 0x21a]
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x32c]
push str.ntdll.dll
mov dword [ebp - 4], ebx
mov dword [ebp - 0x350], 1
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x348], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4343a2
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43439b
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x340]
push ecx
call eax
movzx eax, word [ebp - 0x33c]
mov dword [ebp - 0x33c], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x34c]
cmp eax, 5
jne 0x4343d4
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x4344a0
cmp eax, 1
jne 0x4343ca
mov edi, str.WindowsXP
jmp 0x434490
mov edi, str.WindowsServer2003
jmp 0x434490
cmp eax, 6
jne 0x4344a0
mov eax, dword [ebp - 0x348]
sub eax, ebx
je 0x43447d
sub eax, 1
je 0x434476
mov edi, dword [ebp - 0x338]
sub eax, 1
jne 0x4344a6
cmp edi, 0x1ebb
jne 0x434412
mov edi, str.Windows8
jmp 0x434490
lea eax, [edi - 0x1ee6]
cmp eax, 0x25
jbe 0x43440b
cmp edi, 0x1f13
je 0x43440b
cmp dword [ebp - 0x340], 0xa
jne 0x43444a
cmp dword [ebp - 0x344], 0
jne 0x4344a6
push str.Windows10
call fcn.00497313
pop ecx
push eax
push str.Windows10
jmp 0x43446d
cmp dword [ebp - 0x340], 6
jne 0x4344a6
cmp dword [ebp - 0x344], 3
jne 0x4344a6
push str.Windows8.1
call fcn.00497313
pop ecx
push eax
push str.Windows8.1
mov ecx, esi
call fcn.004078c0
jmp 0x4344a6
mov edi, str.Windows7
jmp 0x434490
cmp dword [ebp - 0x354], 1
mov edi, str.WindowsVista
je 0x434490
mov edi, str.WindowsServer2008
push edi
call fcn.00497313
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004078c0
mov edi, dword [ebp - 0x338]
push 0x501100
mov ecx, esi
call fcn.00422150
test eax, eax
jne 0x434514
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0048faf0
mov eax, dword [ebp - 0x34c]
push edi
push dword [ebp - 0x348]
push eax
lea eax, [ebp - 0x218]
push str.Windows_d._d._d
push eax
call fcn.00407bc0
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x4344f8
mov eax, ebx
jmp 0x434505
lea eax, [ebp - 0x218]
push eax
call fcn.00497313
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004078c0
cmp dword [ebp + 0xc], 0
je 0x434542
cmp word [ebp - 0x320], 0
je 0x434533
lea eax, [ebp - 0x320]
push eax
call fcn.00497313
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x320]
mov ecx, esi
push eax
call fcn.0040e650
mov eax, esi
call fcn.0041c5d7
ret
Function at 0x43465c
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x54636c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.0048faf0
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
pop esi
jg 0x4346bf
cmp dword [ebp - 0x118], 2
jg 0x4346bf
xor eax, eax
inc eax
jmp 0x4346c1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041bf36
mov esp, ebp
pop ebp
ret
Function at 0x43470b
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.0041c310
mov eax, dword [0x54636c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x61c]
push esi
xor edi, edi
push edi
push eax
call fcn.0048faf0
push str.C:log_
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004a52ca
push 0x800
lea eax, [ebp - 0x1028]
push edi
push eax
call fcn.0048faf0
push 0x501550
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.004346cf
push esi
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.0048faf0
add esp, 0x40
lea eax, [ebp - 0x20c]
push esi
push edi
push eax
call fcn.0048faf0
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0048fc4a
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x43494d
lea eax, [ebp - 0x20c]
push eax
call fcn.00497313
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.004a52ca
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.004346cf
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x1028]
push 0x3ff
push 0x400
push eax
call fcn.00427fb8
push edi
call fcn.0049726f
mov dword [ebp - 0x2038], eax
lea eax, [ebp - 0x2038]
push eax
mov dword [ebp - 0x2034], edx
call fcn.004a5029
add esp, 0x40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x1028]
push ecx
push eax
push dword [esi]
mov eax, dword [esi + 0x10]
push dword [esi + 4]
inc eax
push dword [esi + 8]
push dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x2028]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.004346ed
xor eax, eax
add esp, 0x28
mov word [ebp - 0x82a], ax
lea eax, [ebp - 0x414]
push eax
call ebx
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x505e0c
push eax
cmovne edi, ebx
call fcn.00497794
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43494d
test edi, edi
jne 0x4348f3
push esi
push 2
lea eax, [ebp - 0x2030]
mov dword [ebp - 0x2030], 0xfeff
push ebx
push eax
call fcn.004a47cd
add esp, 0x10
lea eax, [ebp - 0x2028]
push eax
call fcn.00497313
push esi
add eax, eax
push eax
lea eax, [ebp - 0x2028]
push ebx
push eax
call fcn.004a47cd
push esi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xd
push ebx
push eax
call fcn.004a47cd
push esi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xa
push ebx
push eax
call fcn.004a47cd
push esi
call fcn.00497838
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bf36
mov esp, ebp
pop ebp
ret
Function at 0x4451fa
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [esi + 0x16c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x445220
call fcn.0044207f
jmp 0x44524c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00441524
mov eax, dword [esi + 0x17c]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x44524c
push 1
push ecx
push ecx
push eax
push 0x509d80
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc
Function at 0x44ccae
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov ecx, dword [edi + 8]
call fcn.0044ce53
test eax, eax
jne 0x44cdc0
mov ecx, dword [0x54dd2c]
test ecx, ecx
je 0x44ccdc
call fcn.004395fd
mov esi, eax
jmp 0x44ccde
xor esi, esi
push ebx
push 0x2800
call fcn.0049293e
mov edi, eax
mov dword [esp], 0x5000
call fcn.0049293e
mov ebx, eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
push 0x50a810
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.0044d27c
add esp, 0x1c
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x44cd3f
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.00492939
pop ecx
test esi, esi
je 0x44cd7b
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
call dword [eax + 0x2c]
test al, al
je 0x44cd7b
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SObjectFactoryMgr::CreateObject
push 0x3d
push str.srccoreSObjectFactory.cpp
push edi
push str.soui
push 3
push 0
call dword [eax + 0x34]
jmp 0x44cdb4
mov ebx, 0x2800
push ebx
call fcn.0049293e
push 0x3d
push str.srccoreSObjectFactory.cpp
push str.SOUI::SObjectFactoryMgr::CreateObject
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push ebx
push esi
call fcn.0044d25d
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00492939
pop ecx
push edi
call fcn.00492939
pop ecx
xor eax, eax
pop ebx
jmp 0x44cddc
mov ecx, dword [edi + 8]
push esi
call fcn.0044cac0
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, edi
push esi
call fcn.0044d085
mov eax, esi
pop edi
pop esi
pop ebp
ret 4

Function at 0x44d776
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x5023e4
push dword [ebp + 8]
call fcn.00497794
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x44d7d3
push ebx
push edi
push esi
call fcn.004a598f
push eax
call fcn.004a5ac5
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x44d7b2
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x44d7c8
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.00497a84
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.00497838
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x44d82d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.0044e340
mov ebx, eax
test ebx, ebx
je 0x44d89c
push edi
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x44d880
cmp dword [ebp + 0x14], edi
jae 0x44d865
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x44d880
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x44d880
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x44d884
xor eax, eax
jmp 0x44d89b
push edi
push eax
push dword [ebp + 0x10]
call fcn.0048f460
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x45603e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x78
pop ecx
mov ax, word [edi + 0x20c]
add ax, word [ebp + 0xc]
cwde
cdq
idiv ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [edi + 0x20c], dx
cdq
xor eax, edx
sub eax, edx
movzx ebx, ax
xor eax, eax
cmp ax, bx
jge 0x4560e4
xor ecx, ecx
cmp word [ebp + 0xc], ax
setle cl
xor edx, edx
mov dword [ebp - 4], ecx
inc edx
mov eax, dword [edi]
push 0
push ecx
push edx
mov ecx, edi
call dword [eax + 0x100]
test eax, eax
je 0x4560ac
mov ecx, edi
call fcn.004577e5
mov ecx, dword [ebp - 4]
inc esi
push 1
pop edx
cmp si, bx
jl 0x456087
cmp si, bx
jge 0x4560e4
push dword [ebp + 0x14]
or eax, 0xffffffff
mov ecx, ebx
push dword [ebp + 0x10]
sub ecx, esi
cmp word [ebp + 0xc], 0
push 1
pop edx
cmovg eax, edx
movsx ecx, cx
cwde
imul ecx, eax
movsx eax, cx
mov ecx, edi
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.004416c6
test bx, bx
je 0x456123
mov ecx, edi
call fcn.0043f5e8
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
movzx edx, word [ebp + 0x14]
mov edi, eax
movzx ecx, word [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, ecx
push edx
push dword [ebp + 8]
push 0x200
push edi
call esi
push 0x2000001
push edi
push 0x20
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4581b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x54636c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.0048faf0
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x45820b
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x45821f
cmp byte [ebp - 6], 1
jne 0x45821f
cmp dword [ebp - 0x11c], 6
jne 0x45821f
xor eax, eax
inc eax
jmp 0x458221
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041bf36
mov esp, ebp
pop ebp
ret
Function at 0x463fb9
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x58
mov eax, 0x4fdc35
call fcn.0041c5e8
mov esi, ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.0043e187
mov dword [ebp - 0x64], 0x50de20
mov dword [ebp - 0x5c], 0x50de34
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x64]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x40], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], edi
call dword [eax + 0x94]
cmp dword [ebp - 0x3c], ebx
jne 0x4641b2
cmp dword [ebp + 0x10], ebx
je 0x464027
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x268]
cmp dword [ecx + 8], ebx
sete al
mov dword [ecx + 8], eax
jmp 0x464172
cmp dword [esi + 0x260], ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x46403e
cmp dword [esi + 0x25c], 0
je 0x464060
push 0x11
call ebx
test ax, ax
jns 0x464060
cmp edi, 0xffffffff
je 0x464180
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x268]
cmp dword [ecx + 8], eax
jmp 0x46401c
cmp dword [esi + 0x260], 0
jne 0x464076
cmp dword [esi + 0x25c], 0
je 0x464109
push 0x10
call ebx
test ax, ax
jns 0x464109
cmp edi, 0xffffffff
je 0x464180
xor eax, eax
mov ecx, edi
cmp dword [ebp + 8], 0xffffffff
cmovne eax, dword [ebp + 8]
cmp eax, edi
mov dword [ebp + 8], eax
mov edx, eax
cmovg ecx, eax
cmp ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, esi
cmove edx, edi
xor ebx, ebx
mov dword [ebp + 0x10], edx
call fcn.00463cdb
test eax, eax
jle 0x464180
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x268]
add eax, edi
mov ecx, dword [eax + 8]
cmp ebx, dword [ebp + 0x10]
jl 0x4640e4
cmp ebx, dword [ebp - 0x10]
jg 0x4640e4
mov dword [eax + 8], 1
jmp 0x4640e8
and dword [eax + 8], 0
cmp ecx, dword [eax + 8]
je 0x4640f5
push ebx
mov ecx, esi
call fcn.0046465f
mov ecx, esi
inc ebx
add edi, 0xc
call fcn.00463cdb
cmp ebx, eax
jl 0x4640c6
mov edi, dword [ebp + 0xc]
jmp 0x464180
or dword [esi + 0x21c], 0xffffffff
mov ecx, esi
xor ebx, ebx
call fcn.00463cdb
test eax, eax
jle 0x46415d
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x268]
cmp ebx, edi
je 0x464148
mov edx, dword [eax + ecx + 8]
test edx, edx
je 0x464148
and dword [eax + ecx + 8], 0
test edx, edx
je 0x464148
push ebx
mov ecx, esi
call fcn.0046465f
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
inc ebx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.00463cdb
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
jl 0x464122
cmp edi, 0xffffffff
je 0x464180
imul eax, edi, 0xc
add eax, dword [esi + 0x268]
mov dword [eax + 8], 1
push edi
mov ecx, esi
mov dword [esi + 0x21c], edi
call fcn.0046465f
push esi
lea ecx, [ebp - 0x38]
call fcn.0043e187
mov dword [ebp - 0x38], 0x50dea4
mov dword [ebp - 0x30], 0x50deb8
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
call dword [eax + 0x94]
call fcn.0041c5c2
ret 0xc
Function at 0x4676af
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov edi, ecx
sub eax, 9
je 0x467710
sub eax, 1
je 0x4676f2
sub eax, 3
je 0x4676f2
test dword [edi + 0x36c], 0x2000
je 0x46772b
push esi
call fcn.004a3d49
pop ecx
test eax, eax
jne 0x46772b
cmp esi, 0x2d
je 0x46772b
cmp esi, 0x2e
je 0x46772b
cmp esi, 0x2c
je 0x46772b
jmp 0x467746
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x46772b
test dword [edi + 0x36c], 0x1000
jmp 0x467729
test byte [edi + 0x370], 0x80
jne 0x46772b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x467746
mov eax, dword [edi + 0x37c]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4679ea
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x4fedec
call fcn.0041c5e8
mov esi, ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.0043e187
mov dword [ebp - 0x38], 0x50e50c
mov dword [ebp - 0x30], 0x50e520
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x38]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x18], edi
call dword [eax + 0x94]
cmp byte [ebp - 0x10], bl
jne 0x467a59
cmp edi, 0xd
jne 0x467a5e
test dword [esi + 0x36c], 0x1000
jne 0x467a5e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x467a5e
mov dword [esi + 0x10], ebx
jmp 0x467a78
mov eax, dword [esi + 0x37c]
push ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
call fcn.0041c5c2
ret 0xc