Function at 0x10004b8cc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rcx, qword [0x1000bafe8]
lea r8, [0x1000b63c8]
lea rdx, [0x1000b63c4]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [0x1000bb028]
lea rdx, [0x10001c910]
mov esi, 0xe
call fcn.100047740
xor ebx, ebx
or r14, 0xffffffffffffffff
mov rdi, rax
cmp rax, rbx
je 0x10004ba4a
movzx r8d, byte [0x1000afb12]
lea rdx, [0x10001f0c8]
mov rcx, rax
call fcn.10006e4cc
lea rdx, [0x10001f0e8]
mov r8d, r14d
cmp eax, ebx
mov rcx, rdi
setg byte [0x1000afb12]
call fcn.10006e4cc
lea rdx, [0x10001f110]
cmp eax, ebx
mov r8d, esi
mov rcx, rdi
setg byte [0x1000bb05d]
call fcn.10006e534
lea rdx, [0x10001f130]
mov rcx, rdi
mov esi, eax
call fcn.10006e09c
cmp rax, rbx
je 0x10004b98f
mov rcx, rax
call fcn.10006e884
mov rbp, rax
jmp 0x10004b992
mov rbp, rbx
lea rdx, [0x10001f150]
mov r8d, 0xa
mov rcx, rdi
call fcn.10006e534
lea rdx, [0x10001f170]
mov r8d, 0x55
mov rcx, rdi
mov dword [0x1000b6e50], eax
call fcn.10006e534
lea rdx, [0x10001f198]
mov r8d, 1
mov rcx, rdi
mov dword [str.d_n], eax
call fcn.10006e4cc
mov r8d, dword [0x1000b6e54]
lea rdx, [0x10001eef0]
neg eax
sbb cl, cl
and cl, byte [0x1000bb01d]
mov byte [0x1000bb01d], cl
mov rcx, rdi
call fcn.10006e534
mov r8d, dword [0x1000b6e58]
lea rdx, [0x10001eed8]
mov rcx, rdi
mov dword [0x1000b6e54], eax
call fcn.10006e534
movzx r8d, byte [0x1000bb05e]
lea rdx, [0x10001f1c0]
mov rcx, rdi
mov dword [0x1000b6e58], eax
call fcn.10006e4cc
cmp eax, ebx
setne byte [0x1000bb05e]
cmp rbp, rbx
jne 0x10004ba7b
mov ecx, 0x200
int3
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov edx, 0x5a
mov rcx, rax
mov rdi, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov r8d, 0x48
mov ecx, esi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov rdx, rdi
xor ecx, ecx
mov esi, eax
neg esi
call qword [sym.imp.USER32.dll_ReleaseDC]
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, esi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 0x190
call qword [sym.imp.GDI32.dll_CreateFontW]
mov rcx, rbp
mov qword [0x1000bb078], rax
call sub.msvcrt.dll_free
lea rax, [0x10004c4dc]
xor ecx, ecx
mov qword [rsp + 0xd8], rax
mov byte [rsp + 0x160], bl
mov dword [rsp + 0xd0], 3
mov dword [rsp + 0xe0], ebx
mov dword [rsp + 0xe4], ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, qword [0x1000bafe8]
mov qword [rsp + 0xe8], rax
mov rax, qword [rcx]
call qword [rax + 0x38]
mov esi, 0x7f00
cmp rax, rbx
je 0x10004bb75
mov rcx, qword [0x1000bafe8]
mov rax, qword [rcx]
call qword [rax + 0x38]
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rdi
mov rcx, rax
jmp 0x10004bb7a
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconW]
mov rdx, rsi
xor ecx, ecx
mov qword [rsp + 0xf0], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0xf8], rax
cmp byte [0x1000bb01d], bl
je 0x10004bbb0
mov ecx, 4
call qword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x10004bbbb
mov ecx, 0xc
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov qword [rsp + 0x100], rax
cmp byte [0x1000bb01d], bl
jne 0x10004bbe2
mov rcx, qword [0x1000bafe8]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov qword [rsp + 0x108], rax
jmp 0x10004bbea
mov qword [rsp + 0x108], rbx
mov rax, qword [0x1000bafb8]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x110], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
mov r11b, byte [0x1000bb01d]
cmp r11b, bl
je 0x10004bc36
lea rcx, [0x1000bb060]
mov byte [0x1000bb01e], 1
call qword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ShowCursor]
mov r11b, byte [0x1000bb01d]
mov edi, 0x80000000
mov esi, ebx
mov ebp, edi
cmp byte [0x1000bb05f], bl
je 0x10004bc5d
cmp r11b, bl
jne 0x10004bc5d
mov edi, dword [0x1000bb088]
mov ebp, dword [0x1000bb08c]
mov esi, 0x1000000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov cl, byte [0x1000afb12]
mov rdx, qword [0x1000bafb8]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rax
mov eax, dword [0x1000b63c8]
neg cl
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
sbb r9d, r9d
mov dword [rsp + 0x38], eax
mov eax, dword [0x1000b63c4]
not r9d
mov ecx, 0x80000000
mov dword [rsp + 0x30], eax
and r9d, 0x10000
mov r8, rdx
mov dword [rsp + 0x28], ebp
xor r9d, 0xcf0000
mov dword [rsp + 0x20], edi
or r9d, esi
bts r9d, 0x19
cmp byte [0x1000bb01d], bl
cmovne r9d, ecx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x1000bafc8], rax
cmp rax, rbx
jne 0x10004bd13
call fcn.1000a1b9a
lea r9, [0x10001f1f0]
lea r8, [0x10001f248]
mov edx, 0x1ed
mov ecx, 0x10
mov dword [rsp + 0x20], eax
call fcn.100065cf8
xor al, al
jmp 0x10004c1d9
cmp byte [0x1000bb01d], bl
je 0x10004bd3f
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
lea rdx, [0x10004b810]
lea ecx, [r8 + 7]
mov r9d, eax
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x1000bb048], rax
or dword [rsp + 0x174], 0xffffffff
lea rcx, [rsp + 0x170]
mov dword [rsp + 0x170], 8
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x58], rbx
lea rdx, [0x10001f258]
mov qword [rsp + 0x50], rax
mov rax, qword [0x1000bafc8]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rax
mov eax, dword [0x1000b63c8]
mov r9d, 0x4000000b
mov dword [rsp + 0x38], eax
mov eax, dword [0x1000b63c4]
xor r8d, r8d
mov dword [rsp + 0x30], eax
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea rcx, [0x10001f270]
mov qword [0x1000bafd0], rax
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
movzx esi, ax
cmp ax, bx
je 0x10004be0b
mov rcx, qword [0x1000bafc8]
movzx edi, ax
mov r8d, 0x10000
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetPropW]
mov rcx, qword [0x1000bafd0]
mov r8d, 0x10000
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetPropW]
movzx ecx, si
call qword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
mov rcx, qword [0x1000bafe8]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov ebp, 0x103
cmp eax, ebx
jbe 0x10004be7f
cmp byte [0x1000bb01d], bl
jne 0x10004be87
mov rdx, qword [0x1000bafc8]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], 0x3f2
lea rcx, [0x1000b6ed0]
xor r9d, r9d
mov r8, rbx
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 0x50000000
call fcn.10004f6bc
mov rcx, qword [0x1000bafc8]
mov r9d, ebp
xor r8d, r8d
xor edx, edx
mov qword [0x1000bb040], rax
call qword [sym.imp.USER32.dll_RedrawWindow]
cmp byte [0x1000bb01d], bl
je 0x10004be99
mov ecx, 0xbf9450
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [0x1000bb070], rax
mov rcx, qword [0x1000bafe8]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdi, rax
cmp rax, rbx
je 0x10004bee4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadMenuW]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetSubMenu]
mov qword [0x1000bb050], rax
cmp byte [0x1000bb01d], bl
je 0x10004bee4
mov rcx, rax
call fcn.10004b720
cmp byte [0x1000afb13], bl
jne 0x10004bf0f
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x10004bf0f
mov ecx, dword [0x1000b6e68]
mov edx, dword [0x1000b6e6c]
jmp 0x10004bf5f
lea r8, [rsp + 0x160]
lea rdx, [0x1000bb084]
lea rcx, [0x1000bb080]
call fcn.10004e7d4
cmp byte [rsp + 0x160], bl
je 0x10004bf47
mov eax, dword [0x1000b63c4]
lea ecx, [rax + rax]
mov eax, dword [0x1000b63c8]
lea edx, [rax + rax]
jmp 0x10004bf53
mov ecx, dword [0x1000b63c4]
mov edx, dword [0x1000b63c8]
mov dword [0x1000b6e6c], edx
mov dword [0x1000b6e68], ecx
cmp byte [0x1000bb01d], bl
jne 0x10004c0db
mov rax, qword [0x1000bb040]
lea r9, [rsp + 0x168]
lea r8, [rsp + 0x160]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1000bafc8]
mov qword [rsp + 0x20], rax
call fcn.1000685dc
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x28]
mov dword [rsp + 0x70], ebx
call sub.msvcrt.dll_memset
mov rcx, qword [0x1000bafc8]
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov r11d, dword [0x1000bb080]
mov ecx, dword [rsp + 0x160]
mov eax, dword [rsp + 0x168]
add ecx, r11d
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x94], ecx
mov ecx, dword [0x1000bb084]
mov dword [rsp + 0x8c], r11d
mov dword [rsp + 0x90], ecx
add ecx, eax
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x98], ecx
mov rcx, qword [0x1000bafc8]
call qword [sym.imp.USER32.dll_SetWindowPlacement]
cmp byte [0x1000bb01a], bl
je 0x10004c1a8
cmp qword [0x1000bb040], rbx
je 0x10004c1a8
mov rcx, qword [0x1000bafc8]
lea rdx, [rsp + 0x120]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [0x1000bafe8]
mov rdx, qword [rcx]
call qword [rdx + 0x88]
mov ebx, eax
mov eax, 4
mul rbx
cmovo rax, r14
mov rcx, rax
int3
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x24]
call sub.msvcrt.dll_memset
mov rdi, qword [0x1000bafc8]
lea rcx, [0x10001f2b8]
xor edx, edx
mov dword [rsp + 0x70], 0x28
call qword [sym.imp.USER32.dll_FindWindowW]
mov edx, 2
cmp rax, rbx
cmovne rdi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_MonitorFromWindow]
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
xor edx, edx
lea rcx, [rsp + 0xa4]
lea r8d, [rdx + 0x28]
mov dword [rsp + 0xa0], ebx
call sub.msvcrt.dll_memset
mov rcx, qword [0x1000bafc8]
lea rdx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [rsp + 0x7c]
mov r11d, dword [rsp + 0x74]
mov rcx, qword [0x1000bafc8]
mov dword [rsp + 0xc4], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0x80]
lea rdx, [rsp + 0xa0]
mov dword [rsp + 0xbc], r11d
mov dword [rsp + 0xa8], ebx
mov dword [rsp + 0xc8], eax
call qword [sym.imp.USER32.dll_SetWindowPlacement]
int3
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret