joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401580
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x46c0]
and ecx, 0x80000
mov edx, dword [eax + 0x46c4]
and edx, 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
or eax, dword [ebp - 0x10]
jne 0x4015d4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x46c0]
and edx, 0
mov eax, dword [ecx + 0x46c4]
and eax, 0x10000
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
or ecx, dword [ebp - 0x18]
je 0x4015d9
jmp 0x4016ac
mov edx, dword [0x7df350]
and edx, 0xc0
je 0x4015ec
jmp 0x4016ac
cmp dword [0x7df350], 0x20
je 0x401648
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x6f3840]
jne 0x401648
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
and ecx, 0xfff0
neg ecx
sbb ecx, ecx
neg ecx
mov word [ebp - 8], cx
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0xfff0
neg edx
sbb edx, edx
neg edx
mov word [ebp - 4], dx
movsx eax, word [ebp - 8]
test eax, eax
je 0x401646
movsx ecx, word [ebp - 4]
test ecx, ecx
jne 0x401648
jmp 0x4016ac
cmp dword [0x7df350], 0x10
jne 0x401683
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x46dc], 4
jl 0x40166d
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x4638]
test ecx, ecx
je 0x40166d
jmp 0x401681
mov ecx, dword [ebp - 0xc]
call fcn.00401540
test eax, eax
je 0x401681
mov ecx, dword [ebp - 0xc]
call fcn.0051c8b0
jmp 0x4016ac
cmp dword [0x7df350], 0x20
jne 0x4016ac
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x46dc], 2
jge 0x4016ac
mov ecx, dword [ebp - 0xc]
call fcn.00401540
test eax, eax
je 0x4016ac
mov ecx, dword [ebp - 0xc]
call fcn.0051c8b0
mov esp, ebp
pop ebp
ret
Function at 0x433870
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x6f2220]
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0x80004005
mov eax, dword [ebp + 8]
push eax
push 0x69651c
push 0x696510
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
push 0
push 3
push 0
push 0
push closesocket
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x4338f4
push 0
push 0x6964f8
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x80004005
jmp 0x433988
push 0
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
add eax, 3
and eax, 0xfffffffc
call fcn.00676300
mov dword [ebp - 0x124], esp
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x120], edx
push 0
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [0x7e0d64]
mov edx, dword [ecx]
mov eax, dword [0x7e0d64]
push eax
call dword [edx + 0x16c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
lea esp, [ebp - 0x124]
mov ecx, dword [ebp - 4]
call fcn.00674e87
mov esp, ebp
pop ebp
ret

Function at 0x4339a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x6f2220]
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0x80004005
mov eax, dword [ebp + 8]
push eax
push 0x69651c
push 0x69652c
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
push 0
push 3
push 0
push 0
push closesocket
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x433a24
push 0
push 0x6964f8
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x80004005
jmp 0x433ab8
push 0
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
add eax, 3
and eax, 0xfffffffc
call fcn.00676300
mov dword [ebp - 0x124], esp
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x120], edx
push 0
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [0x7e0d64]
mov edx, dword [ecx]
mov eax, dword [0x7e0d64]
push eax
call dword [edx + 0x1a8]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
lea esp, [ebp - 0x124]
mov ecx, dword [ebp - 4]
call fcn.00674e87
mov esp, ebp
pop ebp
ret
Function at 0x453c20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x6f2220]
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 3
jne 0x453c62
push 0x697ccc
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0x692978
push 0x697cc4
push 0x697cbc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x453d13
cmp dword [ebp + 8], 5
jne 0x453c92
mov ecx, dword [0x697cb4]
mov dword [ebp - 0x110], ecx
mov dx, word [0x697cb8]
mov word [ebp - 0x10c], dx
mov al, byte [0x697cba]
mov byte [ebp - 0x10a], al
jmp 0x453d13
cmp dword [ebp + 8], 4
jne 0x453ced
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp eax, 0x3b6
jne 0x453cc6
mov ecx, dword [0x697cac]
mov dword [ebp - 0x110], ecx
mov edx, dword [0x697cb0]
mov dword [ebp - 0x10c], edx
mov dword [ebp + 8], 1
jmp 0x453ceb
mov eax, dword [0x697ca4]
mov dword [ebp - 0x110], eax
mov cx, word [0x697ca8]
mov word [ebp - 0x10c], cx
mov dl, byte [0x697caa]
mov byte [ebp - 0x10a], dl
jmp 0x453d13
cmp dword [ebp + 8], 1
jne 0x453d0c
mov eax, dword [0x697cac]
mov dword [ebp - 0x110], eax
mov ecx, dword [0x697cb0]
mov dword [ebp - 0x10c], ecx
jmp 0x453d13
mov byte [ebp - 0x110], 0
movsx edx, byte [ebp - 0x110]
neg edx
sbb edx, edx
lea eax, [ebp - 0x110]
and edx, eax
push edx
push 0
push 3
push 0
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx*4 + 0x6e0660]
push edx
push 0
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ecx, dword [ebp - 4]
call fcn.00674e87
mov esp, ebp
pop ebp
ret

Function at 0x4546e0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [ebp - 4], eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.IMM32.dll_ImmGetProperty
mov dword [0x70d2fc], eax
mov ecx, dword [ebp - 4]
and ecx, 0xffff
movzx edx, cx
push edx
call fcn.00453b40
add esp, 4
mov dword [0x70d314], eax
mov esp, ebp
pop ebp
ret
Function at 0x45cb70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
je 0x45cb82
cmp dword [ebp + 0xc], 0
jne 0x45cb8c
mov eax, 0x80070057
jmp 0x45cc4d
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x45cc48
mov edx, dword [ebp - 8]
push edx
call fcn.0067469f
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45cbcb
mov eax, 0x8007000e
jmp 0x45cc4d
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x45cc36
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x695368
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x45cc36
cmp dword [ebp - 0x10], 0
je 0x45cc36
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00675445
add esp, 4
xor eax, eax
jmp 0x45cc4d
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00675445
add esp, 4
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret
Function at 0x4662f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x18], ecx
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0x692978
push 0
push 0x698bfc
push closesocket
call dword [sym.imp.client.dll_RegCreateKeyExA]
test eax, eax
jne 0x4664b3
mov dword [ebp - 0x1c], 0x6e1b48
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov al, byte [edx]
mov byte [ebp - 0x21], al
inc dword [ebp - 0x1c]
cmp byte [ebp - 0x21], 0
jne 0x466335
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
add edx, 1
push edx
push 0x6e1b48
push 1
push 0
push 0x698bf0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.client.dll_RegSetValueExA]
mov ecx, dword [0x6e1c50]
mov dword [ebp - 8], ecx
mov edx, dword [0x6e1c54]
mov dword [ebp - 0x14], edx
mov eax, dword [0x6e1c58]
sub eax, dword [0x6e1c50]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x6e1c5c]
sub ecx, dword [0x6e1c54]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x2c], 0x6e1b48
mov edx, dword [ebp - 0x2c]
inc edx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax]
mov byte [ebp - 0x31], cl
inc dword [ebp - 0x2c]
cmp byte [ebp - 0x31], 0
jne 0x4663ab
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
add eax, 1
push eax
push 0x6e1b48
push 1
push 0
push 0x698bf0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.client.dll_RegSetValueExA]
mov dword [ebp - 0x3c], 0x70d3c8
mov edx, dword [ebp - 0x3c]
inc edx
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x3c]
mov cl, byte [eax]
mov byte [ebp - 0x41], cl
inc dword [ebp - 0x3c]
cmp byte [ebp - 0x41], 0
jne 0x4663f2
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0x40]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
add eax, 1
push eax
push 0x70d3c8
push 1
push 0
push 0x698be8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.client.dll_RegSetValueExA]
push 4
lea edx, [ebp - 8]
push edx
push 4
push 0
push 0x698be4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.client.dll_RegSetValueExA]
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push 0x698be0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.client.dll_RegSetValueExA]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x698bd8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.client.dll_RegSetValueExA]
push 4
lea edx, [ebp - 0xc]
push edx
push 4
push 0
push 0x698bd0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.client.dll_RegSetValueExA]
push 4
push 0x70d3a4
push 4
push 0
push 0x698bc8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.client.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.client.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x468260
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 0x80000080
push 2
push 0
push 1
push 0x40000000
push 0x70d5f8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x46828e
jmp 0x468302
push 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [ebp + 8], 0
je 0x4682c1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], ecx
jmp 0x4682c8
mov dword [ebp - 0x14], 0
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x4683c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x699100
push 0x677060
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffeb8
mov eax, dword [0x6f2220]
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x4685ed
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x138]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x46843c
mov dword [ebp - 4], 0xffffffff
jmp 0x468606
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x138]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
cmp dword [ecx], 0x4550
je 0x46846b
mov dword [ebp - 4], 0xffffffff
jmp 0x468606
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 8]
add eax, 0x7e90
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x130]
push ecx
call fcn.0067765f
add esp, 4
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x134]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0x10]
add edx, 1
push edx
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x14]
cdq
mov ecx, 0x64
idiv ecx
push edx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x128]
push eax
push 0x6990c4
mov ecx, dword [ebp + 8]
push ecx
call fcn.004681f0
add esp, 0x28
mov dword [ebp - 0x13c], 0x6e58d8
mov edx, dword [ebp - 0x13c]
inc edx
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax]
mov byte [ebp - 0x141], cl
inc dword [ebp - 0x13c]
cmp byte [ebp - 0x141], 0
jne 0x46850d
mov edx, dword [ebp - 0x13c]
sub edx, dword [ebp - 0x140]
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], 0x6e58d8
mov eax, dword [ebp - 0x14c]
inc eax
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x14c]
mov dl, byte [ecx]
mov byte [ebp - 0x151], dl
inc dword [ebp - 0x14c]
cmp byte [ebp - 0x151], 0
jne 0x468553
mov eax, dword [ebp - 0x14c]
sub eax, dword [ebp - 0x150]
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x10]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x134]
mov eax, dword [edx + 0x14]
cdq
mov ecx, 0x64
idiv ecx
push edx
push 0x6990a4
mov edx, 0x104
sub edx, dword [ebp - 0x148]
push edx
mov eax, dword [ebp - 0x158]
add eax, 0x6e58d8
push eax
call fcn.00675a05
add esp, 0x24
mov dword [ebp - 4], 0xffffffff
jmp 0x468606
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00674e87
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468620
Capabilities:
Get memory capacity
Get session user name
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x6f2220]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0x104
lea ecx, [ebp - 0x138]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
ja 0x468668
push 0x698fdc
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x28], 0xc8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.client.dll_GetUserNameA]
test eax, eax
jne 0x468696
push 0x698fdc
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x138]
push ecx
push 0x699148
mov edx, dword [ebp + 8]
push edx
call fcn.004681f0
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x69912c
mov eax, dword [ebp + 8]
push eax
call fcn.004681f0
add esp, 0x10
mov dword [ebp - 0x158], 0x20
lea ecx, [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [ebp - 0x150]
add edx, 0xfffff
shr edx, 0x14
push edx
push 0x69910c
mov eax, dword [ebp + 8]
push eax
call fcn.004681f0
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
call fcn.00674e87
mov esp, ebp
pop ebp
ret
Function at 0x468fd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x6f2220]
mov dword [ebp - 0xc], eax
cmp dword [0x6e1c64], 0
jne 0x468fef
jmp 0x469213
push 0x70d804
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov word [ebp - 0x424], 0
xor ecx, ecx
mov dword [ebp - 0x422], ecx
mov dword [ebp - 0x41e], ecx
mov dword [ebp - 0x41a], ecx
mov word [ebp - 0x416], cx
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
push 0x70d700
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
jne 0x469062
jmp 0x469213
push 2
push 0
push 0
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
movzx ecx, word [ebp - 0x418]
push ecx
movzx edx, word [ebp - 0x41a]
push edx
movzx eax, word [ebp - 0x41c]
push eax
movzx ecx, word [ebp - 0x41e]
push ecx
movzx edx, word [ebp - 0x422]
push edx
movzx eax, word [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x69949c
push 0x400
lea ecx, [ebp - 0x410]
push ecx
call fcn.00675a05
add esp, 0x28
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x4690d3
jmp 0x4691f4
push 0
lea edx, [ebp - 0x42c]
push edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x400
lea edx, [ebp - 0x410]
push edx
call fcn.0067781d
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x46911e
jmp 0x4691f4
mov dword [ebp - 0x428], 0
mov eax, dword [ebp - 0x428]
cmp eax, dword [ebp - 8]
jge 0x4691d3
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x428]
push ecx
push 0xa
mov edx, dword [ebp - 0x428]
lea eax, [ebp + edx - 0x410]
push eax
call fcn.00677770
add esp, 0xc
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jne 0x46916a
jmp 0x4691d3
cmp dword [ebp - 8], 0x400
jae 0x46917c
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x430]
lea eax, [ebp - 0x410]
sub edx, eax
mov dword [ebp - 0x428], edx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x428]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x430]
add eax, 1
push eax
call fcn.006750f0
add esp, 0xc
mov ecx, dword [ebp - 0x430]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x428]
add edx, 2
mov dword [ebp - 0x428], edx
jmp 0x469128
push 0
lea eax, [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x70d804
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
call fcn.00674e87
mov esp, ebp
pop ebp
ret
Function at 0x4aaf30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x70eb68], 0
jne 0x4aaf46
xor eax, eax
jmp 0x4ab046
cmp dword [ebp + 8], 0x1b
jne 0x4aaf8d
call fcn.004a6ae0
test eax, eax
je 0x4aaf5f
mov eax, 1
jmp 0x4ab046
push 0x69a220
call fcn.004a72b0
add esp, 4
test eax, eax
jne 0x4aaf8b
push 0
push 0
push 0x69a220
call fcn.004a67b0
add esp, 0xc
mov eax, 1
jmp 0x4ab046
jmp 0x4aaff0
cmp dword [ebp + 8], 0xd
jne 0x4aaff0
call fcn.00454990
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4aafc0
cmp dword [ebp - 4], 0
je 0x4aafc0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
call dword [edx + 0x80]
test eax, eax
je 0x4aafc0
xor eax, eax
jmp 0x4ab046
cmp dword [ebp + 8], 0xd
jne 0x4aafe9
cmp dword [ebp - 4], 0
je 0x4aafe4
cmp dword [ebp - 4], 0
je 0x4aafe9
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
call dword [edx + 0x80]
test eax, eax
jne 0x4aafe9
call fcn.004ae6c0
mov eax, 1
jmp 0x4ab046
cmp dword [ebp + 8], 0x30
jb 0x4ab044
cmp dword [ebp + 8], 0x39
ja 0x4ab044
mov eax, dword [ebp + 8]
sub eax, 0x30
mov dword [ebp - 8], eax
jne 0x4ab010
mov dword [ebp - 8], 9
jmp 0x4ab019
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0xfff0
neg edx
sbb edx, edx
neg edx
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004aaef0
add esp, 8
mov eax, 1
jmp 0x4ab046
xor eax, eax
mov esp, ebp
pop ebp
ret