joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fa724
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xa0]
xor ecx, ecx
mov edx, 0x94
call fcn.00403628
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 1
jne 0x4fa782
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37c], 0
je 0x4fa96e
mov dword [ebp - 0xc], 1
jmp 0x4fa96e
cmp dword [ebp - 8], 2
jne 0x4fa79f
mov eax, dword [ebp - 0x9c]
test eax, eax
jns 0x4fa797
call fcn.00403c14
mov dword [ebp - 0xc], eax
jmp 0x4fa96e
cmp dword [ebp - 8], 3
jne 0x4fa7bc
mov eax, dword [ebp - 0x98]
test eax, eax
jns 0x4fa7b4
call fcn.00403c14
mov dword [ebp - 0xc], eax
jmp 0x4fa96e
cmp dword [ebp - 8], 4
jne 0x4fa7d9
mov eax, dword [ebp - 0x94]
test eax, eax
jns 0x4fa7d1
call fcn.00403c14
mov dword [ebp - 0xc], eax
jmp 0x4fa96e
cmp dword [ebp - 8], 5
jne 0x4fa7f6
mov eax, dword [ebp - 0x90]
test eax, eax
jns 0x4fa7ee
call fcn.00403c14
mov dword [ebp - 0xc], eax
jmp 0x4fa96e
mov eax, dword [0x574604]
cmp byte [eax], 0
je 0x4fa93a
cmp dword [ebp - 0x9c], 6
jae 0x4fa87f
mov eax, dword [ebp - 0x9c]
add eax, 7
jae 0x4fa81d
call fcn.00403c1c
test eax, eax
jns 0x4fa826
call fcn.00403c14
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xc
jl 0x4fa96e
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x144], eax
xor eax, eax
mov dword [ebp - 0x140], eax
fild qword [ebp - 0x144]
call fcn.004033f0
push edx
push eax
mov eax, dword [ebp - 0xc]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
jno 0x4fa866
call fcn.00403c1c
add esp, 8
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x4fa877
call fcn.00403c14
mov dword [ebp - 0xc], eax
jmp 0x4fa96e
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x144], eax
xor eax, eax
mov dword [ebp - 0x140], eax
fild qword [ebp - 0x144]
call fcn.004033f0
push edx
push eax
mov eax, dword [ebp - 0x9c]
sub eax, 4
jae 0x4fa8b0
call fcn.00403c1c
mov edx, 0xa
mul edx
jae 0x4fa8be
call fcn.00403c1c
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
jno 0x4fa8ce
call fcn.00403c1c
add esp, 8
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x4fa8df
call fcn.00403c14
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x13c]
xor ecx, ecx
mov edx, 0x9c
call fcn.00403628
mov dword [ebp - 0x13c], 0x9c
lea eax, [ebp - 0x13c]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0xc], 0x14
jne 0x4fa922
cmp byte [ebp - 0xa2], 1
je 0x4fa96e
mov dword [ebp - 0xc], 0x15
jmp 0x4fa96e
cmp dword [ebp - 0xc], 0x15
jne 0x4fa96e
cmp byte [ebp - 0xa2], 1
jne 0x4fa96e
mov dword [ebp - 0xc], 0x16
jmp 0x4fa96e
cmp dword [ebp - 0x9c], 4
jne 0x4fa96e
cmp dword [ebp - 0x98], 0
jne 0x4fa955
mov dword [ebp - 0xc], 1
jmp 0x4fa96e
cmp dword [ebp - 0x98], 0x14
jae 0x4fa967
mov dword [ebp - 0xc], 2
jmp 0x4fa96e
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4fa978
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 4], eax
cmp dword [0x573dc0], 0
jne 0x4faa9e
push 0x7f8a
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573dc0], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573dc4], eax
push 0x7f03
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573dc8], eax
push 0x7f89
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573dcc], eax
push 0x7f8b
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573dd0], eax
push 0x7f01
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573dd4], eax
push 0x7f81
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573dd8], eax
push 0x7f88
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573ddc], eax
push 0x7f80
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573de0], eax
push 0x7f86
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573de4], eax
push 0x7f83
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573de8], eax
push 0x7f85
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573dec], eax
push 0x7f82
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573df0], eax
push 0x7f84
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573df4], eax
push 0x7f04
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573df8], eax
push 0x7f02
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x573dfc], eax
lea eax, [ebp - 0x14]
push eax
call sub.user32.dll_GetCursorPos
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call sub.user32.dll_WindowFromPoint
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetCursor
mov dword [ebp - 0x1c], eax
push 0
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.user32.dll_AttachThreadInput
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0xf
jbe 0x4faaff
call fcn.00403c14
mov eax, dword [eax*4 + 0x573dc0]
cmp eax, dword [ebp - 0x1c]
jne 0x4fab1d
mov eax, dword [ebp - 0xc]
add eax, 1
jno 0x4fab18
call fcn.00403c1c
mov dword [ebp - 8], eax
jmp 0x4fab40
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
jne 0x4faaf2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x4fab40
imul eax, dword [ebp - 8], 0xffffffff
mov dword [ebp - 8], eax
jno 0x4fab40
call fcn.00403c1c
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4fbef8
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
lea eax, [ebp - 4]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4fbf48
lea eax, [ebp - 0x14]
push eax
push 0x4fbf4c
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
lea eax, [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
mov esp, ebp
pop ebp
ret

Function at 0x4fc328
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
mov byte [ebp - 0x1d], 0xcc
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
sub edx, eax
jl 0x4fc42c
inc edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x4fc36a
call fcn.00403c14
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0xa1c]
xor edx, edx
div dword [ebp - 0x44]
mul dword [ebp - 0x44]
jae 0x4fc386
call fcn.00403c1c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0x80
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtectEx
test eax, eax
je 0x4fc43d
lea eax, [ebp - 0x18]
push eax
push 1
mov eax, dword [ebp - 0x14]
cmp eax, 0xd
jbe 0x4fc3be
call fcn.00403c14
mov edx, dword [ebp + 8]
lea eax, [edx + eax - 0x12]
push eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x4fc3d3
call fcn.00403c14
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0xa1c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4fc43d
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0x1d]
push eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x4fc405
call fcn.00403c14
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0xa1c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x4fc43d
inc dword [ebp - 0x14]
dec dword [ebp - 0x24]
jne 0x4fc35d
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FlushInstructionCache
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x4fcc44
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9bc], 0
jne 0x4fce03
push 0x4fce08
call sub.kernel32.dll_LoadLibraryA
mov edx, dword [ebp - 4]
mov dword [edx + 0x9bc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9bc], 0
je 0x4fce03
push 0x4fce20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x958], eax
push 0x4fce2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x95c], eax
push 0x4fce3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x960], eax
push 0x4fce5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x964], eax
push 0x4fce74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x968], eax
push 0x4fce90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x96c], eax
push 0x4fceb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x970], eax
push 0x4fced0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x974], eax
push 0x4fcee0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x978], eax
push 0x4fcf00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x97c], eax
push 0x4fcf18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x980], eax
push 0x4fcf2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x984], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x958], 0
je 0x4fcdef
mov eax, dword [ebp - 4]
call dword [eax + 0x958]
push 0x50
call sub.kernel32.dll_Sleep_1
mov edx, 0x50
mov eax, dword [ebp - 4]
call fcn.0053392c
pop ecx
pop ebp
ret

Function at 0x504e30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetKeyState
movsx eax, ax
test eax, 0xfffffff0
je 0x504e57
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x504e60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0x2710
jne 0x504e9b
push 0x90
call sub.user32.dll_GetKeyState
test al, 1
je 0x50505d
mov dword [ebp - 0xc], 1
jmp 0x50505d
cmp dword [ebp - 8], 0x2711
jne 0x504ebf
push 0x14
call sub.user32.dll_GetKeyState
test al, 1
je 0x50505d
mov dword [ebp - 0xc], 1
jmp 0x50505d
cmp dword [ebp - 8], 0x2712
jne 0x504ee6
push 0x91
call sub.user32.dll_GetKeyState
test al, 1
je 0x50505d
mov dword [ebp - 0xc], 1
jmp 0x50505d
cmp dword [ebp - 8], 0x2713
jne 0x504f0a
push 0x15
call sub.user32.dll_GetKeyState
test al, 1
je 0x50505d
mov dword [ebp - 0xc], 1
jmp 0x50505d
cmp dword [ebp - 8], 0x2714
jne 0x504f47
call sub.user32.dll_GetForegroundWindow
push eax
call sub.imm32.dll_ImmGetDefaultIMEWnd
mov dword [ebp - 0x10], eax
push 0
push 5
push 0x283
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_SendMessageA
test eax, eax
je 0x50505d
mov dword [ebp - 0xc], 1
jmp 0x50505d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37d], 0
je 0x504f6f
cmp dword [ebp - 8], 1
jne 0x504f62
mov dword [ebp - 8], 2
jmp 0x504f6f
cmp dword [ebp - 8], 2
jne 0x504f6f
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0x385
jne 0x504f7f
mov dword [ebp - 8], 0xd
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x504ff4
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 8
jl 0x504ff4
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x504ff4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00504e30
test al, al
jne 0x504ff4
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x504ff4
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 8]
cmp eax, 0xff
jbe 0x504fe0
call fcn.00403c14
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_SetKeyboardState
cmp dword [ebp - 8], 1
jne 0x505017
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa9c], 0
je 0x50500d
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0xa9c], 0
cmp dword [ebp - 8], 2
jne 0x50503a
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa9d], 0
je 0x505030
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0xa9d], 0
cmp dword [ebp - 8], 4
jne 0x50505d
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa9e], 0
je 0x505053
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0xa9e], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x5071f8
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x507379
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x7bc]
mov edx, dword [eax]
call dword [edx + 0x14]
sub eax, 1
jno 0x507233
call fcn.00403c1c
cmp eax, 0
jl 0x507356
mov dword [ebp - 0x10], eax
mov eax, dword [0x574604]
cmp byte [eax], 0
je 0x50727f
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x7bc]
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x28]
call fcn.0040568c
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0x18], eax
jmp 0x5072be
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x7bc]
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
call fcn.00404f2c
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp - 0x14]
call fcn.00405168
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x507342
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetFileTime
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
je 0x50732b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
add eax, 1
adc edx, 0
jno 0x507301
call fcn.00403c1c
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_SetFileTime
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x7bc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x507349
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x507380
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004054c8
lea eax, [ebp - 0x14]
call fcn.00404c88
ret
Function at 0x50ede4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d00
xor eax, eax
push ebp
push 0x50ef69
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.00482598
xor eax, eax
push ebp
push 0x50ef34
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x30]
sub eax, 1
jno 0x50ee41
call fcn.00403c1c
test eax, eax
jl 0x50ef19
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00482598
mov eax, dword [ebp - 0x18]
and eax, 2
cmp eax, 2
jne 0x50ef0d
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00482598
lea eax, [ebp - 0x14]
call fcn.00406c8c
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00482598
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00482598
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
call fcn.00409f28
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004057c0
jne 0x50ef0d
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x14]
call fcn.0050ed4c
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
lea esi, [ebp - 0x34]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0050ec28
pop ecx
jmp 0x50ef19
inc dword [ebp - 0xc]
dec dword [ebp - 0x20]
jne 0x50ee54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ef3b
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
ret
Function at 0x53392c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
sub eax, 1
jno 0x533946
call fcn.00403c1c
test eax, eax
jl 0x533970
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
push 0
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x574520]
mov eax, dword [eax]
call fcn.004764a4
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x533955
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x9d8]
jne 0x533a38
push 1
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x53399a
mov eax, dword [ebp - 4]
mov byte [eax + 0xa9c], 1
push 2
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x5339b0
mov eax, dword [ebp - 4]
mov byte [eax + 0xa9d], 1
push 4
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x5339c6
mov eax, dword [ebp - 4]
mov byte [eax + 0xa9e], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0xaac], 0
je 0x5339e6
mov eax, dword [ebp - 4]
call dword [eax + 0xaac]
test eax, eax
je 0x5339e6
xor eax, eax
call fcn.00404bbc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x7b5], 0
je 0x533a38
call fcn.0040ca00
fstp qword [ebp - 0x18]
wait
push dword [0x573e24]
push dword [0x573e20]
call fcn.0047e788
mov ebx, eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0047e788
cmp bx, ax
je 0x533a38
mov eax, dword [ebp - 0x18]
mov dword [0x573e20], eax
mov eax, dword [ebp - 0x14]
mov dword [0x573e24], eax
mov eax, dword [ebp - 4]
call fcn.0051b4ac
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5485ac
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x54]
mov edx, dword [0x4def00]
call fcn.00405a70
xor eax, eax
push ebp
push 0x548748
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x2c], eax
call sub.kernel32.dll_GetCurrentThreadId_1
mov dword [ebp - 0x10], eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x548624
call sub.user32.dll_GetFocus
mov dword [ebp - 0x2c], eax
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_AttachThreadInput
cmp dword [ebp - 0x2c], 0
je 0x548717
push 0
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x20000
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004eafc4
mov eax, dword [ebp - 0x4c]
call fcn.004063e0
sub eax, 1
jno 0x548656
call fcn.00403c1c
test eax, eax
jl 0x548717
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x548678
cmp eax, dword [edx - 4]
jb 0x54867d
call fcn.00403c14
mov eax, dword [edx + eax*4]
cmp eax, dword [ebp - 0x2c]
jne 0x54870b
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x38]
jno 0x5486a3
call fcn.00403c1c
sar eax, 1
jns 0x5486aa
adc eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x34]
jno 0x5486ba
call fcn.00403c1c
sar eax, 1
jns 0x5486c1
adc eax, 0
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call sub.user32.dll_WindowFromPoint
mov edx, eax
lea ecx, [ebp - 0x58]
mov eax, dword [0x57b3ec]
call fcn.004e6fa4
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x18]
call fcn.00409f28
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00548ad4
jmp 0x548717
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x548669
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54874f
lea eax, [ebp - 0x58]
call fcn.004054b0
lea eax, [ebp - 0x54]
mov edx, dword [0x4def00]
call fcn.00405b40
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004054c8
ret