joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f3658
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 4], eax
cmp dword [0x54fd0c], 0
jne 0x4f377e
push 0x7f8a
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd0c], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd10], eax
push 0x7f03
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd14], eax
push 0x7f89
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd18], eax
push 0x7f8b
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd1c], eax
push 0x7f01
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd20], eax
push 0x7f81
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd24], eax
push 0x7f88
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd28], eax
push 0x7f80
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd2c], eax
push 0x7f86
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd30], eax
push 0x7f83
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd34], eax
push 0x7f85
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd38], eax
push 0x7f82
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd3c], eax
push 0x7f84
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd40], eax
push 0x7f04
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd44], eax
push 0x7f02
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x54fd48], 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 0x4f37df
call fcn.00403be4
mov eax, dword [eax*4 + 0x54fd0c]
cmp eax, dword [ebp - 0x1c]
jne 0x4f37fd
mov eax, dword [ebp - 0xc]
add eax, 1
jno 0x4f37f8
call fcn.00403bec
mov dword [ebp - 8], eax
jmp 0x4f3820
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
jne 0x4f37d2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x4f3820
imul eax, dword [ebp - 8], 0xffffffff
mov dword [ebp - 8], eax
jno 0x4f3820
call fcn.00403bec
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4f3e68
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 0x4f3eb8
lea eax, [ebp - 0x14]
push eax
push 0x4f3ebc
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 0x4f4294
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 0x4f4398
inc edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x4f42d6
call fcn.00403be4
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0x83c]
xor edx, edx
div dword [ebp - 0x44]
mul dword [ebp - 0x44]
jae 0x4f42f2
call fcn.00403bec
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 0x4f43a9
lea eax, [ebp - 0x18]
push eax
push 1
mov eax, dword [ebp - 0x14]
cmp eax, 0xd
jbe 0x4f432a
call fcn.00403be4
mov edx, dword [ebp + 8]
lea eax, [edx + eax - 0x12]
push eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x4f433f
call fcn.00403be4
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0x83c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4f43a9
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0x1d]
push eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x4f4371
call fcn.00403be4
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0x83c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x4f43a9
inc dword [ebp - 0x14]
dec dword [ebp - 0x24]
jne 0x4f42c9
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 0x4f4b74
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 + 0x7dc], 0
jne 0x4f4d33
push 0x4f4d38
call sub.kernel32.dll_LoadLibraryA
mov edx, dword [ebp - 4]
mov dword [edx + 0x7dc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7dc], 0
je 0x4f4d33
push 0x4f4d50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x77c], eax
push 0x4f4d5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x780], eax
push 0x4f4d6c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x784], eax
push 0x4f4d8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x788], eax
push 0x4f4da4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x78c], eax
push 0x4f4dc0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x790], eax
push 0x4f4de8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x794], eax
push 0x4f4e00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x798], eax
push 0x4f4e10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x79c], eax
push 0x4f4e30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x7a0], eax
push 0x4f4e48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x7a4], eax
push 0x4f4e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x7a8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x77c], 0
je 0x4f4d1f
mov eax, dword [ebp - 4]
call dword [eax + 0x77c]
push 0x50
call sub.kernel32.dll_Sleep_2
mov edx, 0x50
mov eax, dword [ebp - 4]
call fcn.00520b78
pop ecx
pop ebp
ret

Function at 0x4fa2a8
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 0x4fa2cf
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x4fa2d8
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 0x4fa313
push 0x90
call sub.user32.dll_GetKeyState
test al, 1
je 0x4fa4d9
mov dword [ebp - 0xc], 1
jmp 0x4fa4d9
cmp dword [ebp - 8], 0x2711
jne 0x4fa337
push 0x14
call sub.user32.dll_GetKeyState
test al, 1
je 0x4fa4d9
mov dword [ebp - 0xc], 1
jmp 0x4fa4d9
cmp dword [ebp - 8], 0x2712
jne 0x4fa35e
push 0x91
call sub.user32.dll_GetKeyState
test al, 1
je 0x4fa4d9
mov dword [ebp - 0xc], 1
jmp 0x4fa4d9
cmp dword [ebp - 8], 0x2713
jne 0x4fa382
push 0x15
call sub.user32.dll_GetKeyState
test al, 1
je 0x4fa4d9
mov dword [ebp - 0xc], 1
jmp 0x4fa4d9
cmp dword [ebp - 8], 0x2714
jne 0x4fa3bf
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 0x4fa4d9
mov dword [ebp - 0xc], 1
jmp 0x4fa4d9
mov eax, dword [0x550240]
mov eax, dword [eax]
cmp byte [eax + 0x7b9], 0
je 0x4fa3eb
cmp dword [ebp - 8], 1
jne 0x4fa3de
mov dword [ebp - 8], 2
jmp 0x4fa3eb
cmp dword [ebp - 8], 2
jne 0x4fa3eb
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0x385
jne 0x4fa3fb
mov dword [ebp - 8], 0xd
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x4fa470
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 8
jl 0x4fa470
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x4fa470
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004fa2a8
test al, al
jne 0x4fa470
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x4fa470
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 8]
cmp eax, 0xff
jbe 0x4fa45c
call fcn.00403be4
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_SetKeyboardState
cmp dword [ebp - 8], 1
jne 0x4fa493
mov eax, dword [ebp - 4]
cmp byte [eax + 0x8bb], 0
je 0x4fa489
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x8bb], 0
cmp dword [ebp - 8], 2
jne 0x4fa4b6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x8bc], 0
je 0x4fa4ac
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x8bc], 0
cmp dword [ebp - 8], 4
jne 0x4fa4d9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x8bd], 0
je 0x4fa4cf
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x8bd], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4fc268
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 0x4fc3e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5ec]
mov edx, dword [eax]
call dword [edx + 0x14]
sub eax, 1
jno 0x4fc2a3
call fcn.00403bec
cmp eax, 0
jl 0x4fc3c6
mov dword [ebp - 0x10], eax
mov eax, dword [0x5504b0]
cmp byte [eax], 0
je 0x4fc2ef
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 + 0x5ec]
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x28]
call fcn.0040565c
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0x18], eax
jmp 0x4fc32e
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5ec]
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
call fcn.00404efc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp - 0x14]
call fcn.00405138
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4fc3b2
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 0x4fc39b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
add eax, 1
adc edx, 0
jno 0x4fc371
call fcn.00403bec
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 + 0x5ec]
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 0x4fc3b9
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 0x4fc3f0
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00405498
lea eax, [ebp - 0x14]
call fcn.00404c58
ret
Function at 0x502c28
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.00406cd0
xor eax, eax
push ebp
push 0x502dad
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.00481bd8
xor eax, eax
push ebp
push 0x502d78
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x30]
sub eax, 1
jno 0x502c85
call fcn.00403bec
test eax, eax
jl 0x502d5d
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.00481bd8
mov eax, dword [ebp - 0x18]
and eax, 2
cmp eax, 2
jne 0x502d51
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.00481bd8
lea eax, [ebp - 0x14]
call fcn.00406c5c
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.00481bd8
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.00481bd8
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
call fcn.00409df4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00405790
jne 0x502d51
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x14]
call fcn.00502b90
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.00502a6c
pop ecx
jmp 0x502d5d
inc dword [ebp - 0xc]
dec dword [ebp - 0x20]
jne 0x502c98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502d7f
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 0x510ea4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x510f53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x1c], 0xfff0bdc1
mov eax, dword [ebp - 8]
mov dword [eax + 0x20], 0xfff0bdc1
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], edx
lea eax, [ebp - 0x18]
call fcn.004199a4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
add eax, 0x40
call fcn.00412624
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x58], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x510f5a
lea eax, [ebp - 0x18]
call fcn.0041220c
ret
Function at 0x520b78
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 0x520b92
call fcn.00403bec
test eax, eax
jl 0x520bbc
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
push 0
call sub.kernel32.dll_Sleep_2
mov eax, dword [0x5503d0]
mov eax, dword [eax]
call fcn.00475ae4
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x520ba1
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x7f8]
jne 0x520c84
push 1
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x520be6
mov eax, dword [ebp - 4]
mov byte [eax + 0x8bb], 1
push 2
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x520bfc
mov eax, dword [ebp - 4]
mov byte [eax + 0x8bc], 1
push 4
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x520c12
mov eax, dword [ebp - 4]
mov byte [eax + 0x8bd], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x8c8], 0
je 0x520c32
mov eax, dword [ebp - 4]
call dword [eax + 0x8c8]
test eax, eax
je 0x520c32
xor eax, eax
call fcn.00404b8c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5e5], 0
je 0x520c84
call fcn.0040c8b8
fstp qword [ebp - 0x18]
wait
push dword [0x54fd68]
push dword [0x54fd64]
call fcn.0047ddc8
mov ebx, eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0047ddc8
cmp bx, ax
je 0x520c84
mov eax, dword [ebp - 0x18]
mov dword [0x54fd64], eax
mov eax, dword [ebp - 0x14]
mov dword [0x54fd68], eax
mov eax, dword [ebp - 4]
call fcn.0050cd34
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53887c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00405a20
xor eax, eax
push ebp
push 0x5389dd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x32
call sub.kernel32.dll_Sleep_2
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
mov cl, 1
mov edx, 0x5389ec
call fcn.004aed24
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.00404efc
mov eax, dword [ebp - 0x14]
call fcn.0040a5e8
cmp eax, 0x36
jbe 0x5388e6
call fcn.00403be4
mov eax, dword [eax*4 + str._pqrsxyz__QWERASDF_tuvwTYUIOPGHJKLZXCVBNM1234567890]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
mov cl, 1
mov edx, 0x5389ec
call fcn.004aed24
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00404efc
mov eax, dword [ebp - 0x1c]
call fcn.0040a5e8
cmp eax, 5
jbe 0x538926
call fcn.00403be4
mov eax, dword [eax*4 + 0x54fe18]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x32
call sub.kernel32.dll_Sleep_2
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jne 0x53899e
test byte [ebp - 0x10], 2
je 0x53895c
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jne 0x53899e
test byte [ebp - 0x10], 8
je 0x53897a
push 0x5b
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jne 0x53899e
push 0x5c
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jne 0x53899e
test byte [ebp - 0x10], 1
je 0x53898c
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jne 0x53899e
test byte [ebp - 0x10], 4
je 0x5389a7
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
je 0x5389a7
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x3d
jne 0x538935
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5389e4
lea eax, [ebp - 0x20]
call fcn.00405480
lea eax, [ebp - 0x1c]
call fcn.00404c58
lea eax, [ebp - 0x18]
call fcn.00405480
lea eax, [ebp - 0x14]
call fcn.00404c58
lea eax, [ebp - 4]
call fcn.00405480
ret
Function at 0x53fd3c
Capabilities:
Access peb ldr_data
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53fe88
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x740], 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0046de00
push 0
mov eax, dword [0x5503d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
add eax, 0x558
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x1e8
mov eax, dword [ebp - 4]
call fcn.0045f5d4
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 8], 1
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 7
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0x8006
push 0x8000
push 0x10
push 0x10
push 1
push 0x53fe94
mov eax, dword [0x5537f8]
push eax
call sub.user32.dll_LoadImageA
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x53fe03
mov eax, dword [0x5503d0]
mov eax, dword [eax]
mov eax, dword [eax + 0xa0]
call fcn.00435ed0
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004a8cd8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00404efc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add eax, 0x18
call fcn.0040ac40
mov eax, dword [ebp - 4]
add eax, 0x558
push eax
push 0
call sub.shell32.dll_Shell_NotifyIconA
mov edx, 0x53fea4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x39c]
call fcn.004aa8f8
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
call fcn.0044e4f4
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
call fcn.0044e4f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53fe8f
lea eax, [ebp - 0x10]
call fcn.00405480
lea eax, [ebp - 0xc]
call fcn.00404c58
ret

Function at 0x53fec4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
push 5
mov eax, dword [0x5503d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov byte [eax + 0x740], 0
mov eax, dword [ebp - 4]
add eax, 0x558
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x1e8
mov eax, dword [ebp - 4]
call fcn.0045f5d4
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 8], 1
mov eax, dword [ebp - 4]
add eax, 0x558
push eax
push 2
call sub.shell32.dll_Shell_NotifyIconA
mov eax, dword [ebp - 4]
cmp byte [eax + 0x554], 0
jne 0x53ff80
mov edx, 0x53ff88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x39c]
call fcn.004aa8f8
mov dl, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
call fcn.0044e4f4
mov dl, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
call fcn.0044e4f4
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0053d990
mov eax, dword [ebp - 4]
call fcn.0045f5d4
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0054033c
pop ecx
pop ecx
pop ebp
ret