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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rcx, qword [0x1000b5fb8]
lea r8, [0x1000b0bac]
lea rdx, [0x1000b06ac]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [0x1000b5ff8]
lea rdx, [0x10001a270]
mov esi, 0xe
call fcn.100043900
xor ebx, ebx
or r14, 0xffffffffffffffff
mov rdi, rax
cmp rax, rbx
je 0x100047582
movzx r8d, byte [0x1000aaac2]
lea rdx, [0x10001cad8]
mov rcx, rax
call fcn.100069f80
lea rdx, [0x10001caf8]
mov r8d, r14d
cmp eax, ebx
mov rcx, rdi
setg byte [0x1000aaac2]
call fcn.100069f80
lea rdx, [0x10001cb20]
cmp eax, ebx
mov r8d, esi
mov rcx, rdi
setg byte [0x1000b6025]
call fcn.100069fe8
lea rdx, [0x10001cb40]
mov rcx, rdi
mov esi, eax
call fcn.100069b50
cmp rax, rbx
je 0x1000474c7
mov rcx, rax
call fcn.10006a338
mov rbp, rax
jmp 0x1000474ca
mov rbp, rbx
lea rdx, [0x10001cb60]
mov r8d, 0xa
mov rcx, rdi
call fcn.100069fe8
lea rdx, [0x10001cb80]
mov r8d, 0x55
mov rcx, rdi
mov dword [0x1000b1df4], eax
call fcn.100069fe8
lea rdx, [0x10001cba8]
mov r8d, 1
mov rcx, rdi
mov dword [str.d_n], eax
call fcn.100069f80
mov r8d, dword [0x1000b1df8]
lea rdx, [0x10001c900]
neg eax
sbb cl, cl
and cl, byte [0x1000b5ff5]
mov byte [0x1000b5ff5], cl
mov rcx, rdi
call fcn.100069fe8
mov r8d, dword [0x1000b1dfc]
lea rdx, [0x10001c8e8]
mov rcx, rdi
mov dword [0x1000b1df8], eax
call fcn.100069fe8
movzx r8d, byte [0x1000b6026]
lea rdx, [0x10001cbd0]
mov rcx, rdi
mov dword [0x1000b1dfc], eax
call fcn.100069f80
cmp eax, ebx
setne byte [0x1000b6026]
cmp rbp, rbx
jne 0x1000475b3
mov ecx, 0x200
call fcn.10009d6a4
mov rbp, rax
cmp rax, rbx
je 0x1000475b3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, 0x100
mov r8, rbp
mov rcx, rax
mov edx, 0x3e9
call qword [sym.imp.USER32.dll_LoadStringW]
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 [0x1000b6040], rax
call sub.msvcrt.dll_free
lea rax, [0x100048014]
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 [0x1000b5fb8]
mov qword [rsp + 0xe8], rax
mov rax, qword [rcx]
call qword [rax + 0x38]
mov esi, 0x7f00
cmp rax, rbx
je 0x1000476ad
mov rcx, qword [0x1000b5fb8]
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 0x1000476b2
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 [0x1000b5ff5], bl
je 0x1000476e8
mov ecx, 4
call qword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x1000476f3
mov ecx, 0xc
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov qword [rsp + 0x100], rax
cmp byte [0x1000b5ff5], bl
jne 0x10004771a
mov rcx, qword [0x1000b5fb8]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov qword [rsp + 0x108], rax
jmp 0x100047722
mov qword [rsp + 0x108], rbx
mov rax, qword [0x1000b5f88]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x110], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
mov r11b, byte [0x1000b5ff5]
cmp r11b, bl
je 0x10004776e
lea rcx, [0x1000b6028]
mov byte [0x1000b5ff6], 1
call qword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ShowCursor]
mov r11b, byte [0x1000b5ff5]
mov edi, 0x80000000
mov esi, ebx
mov ebp, edi
cmp byte [0x1000b6027], bl
je 0x100047795
cmp r11b, bl
jne 0x100047795
mov edi, dword [0x1000b6050]
mov ebp, dword [0x1000b6054]
mov esi, 0x1000000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov cl, byte [0x1000aaac2]
mov rdx, qword [0x1000b5f88]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rax
mov eax, dword [0x1000b0bac]
neg cl
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
sbb r9d, r9d
mov dword [rsp + 0x38], eax
mov eax, dword [0x1000b06ac]
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 [0x1000b5ff5], bl
cmovne r9d, ecx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x1000b5f98], rax
cmp rax, rbx
jne 0x10004784b
call sub.KERNEL32.dll_GetLastError
lea r9, [0x10001cc00]
lea r8, [0x10001cc58]
mov edx, 0x1ed
mov ecx, 0x10
mov dword [rsp + 0x20], eax
call fcn.100061ef8
xor al, al
jmp 0x100047d11
cmp byte [0x1000b5ff5], bl
je 0x100047877
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
lea rdx, [0x100047348]
lea ecx, [r8 + 7]
mov r9d, eax
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x1000b6010], 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, [0x10001cc68]
mov qword [rsp + 0x50], rax
mov rax, qword [0x1000b5f98]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rax
mov eax, dword [0x1000b0bac]
mov r9d, 0x4000000b
mov dword [rsp + 0x38], eax
mov eax, dword [0x1000b06ac]
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, [0x10001cc80]
mov qword [0x1000b5fa0], rax
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
movzx esi, ax
cmp ax, bx
je 0x100047943
mov rcx, qword [0x1000b5f98]
movzx edi, ax
mov r8d, 0x10000
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetPropW]
mov rcx, qword [0x1000b5fa0]
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 [0x1000b5fb8]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov ebp, 0x103
cmp eax, ebx
jbe 0x1000479b7
cmp byte [0x1000b5ff5], bl
jne 0x1000479bf
mov rdx, qword [0x1000b5f98]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], 0x3f2
lea rcx, [0x1000b1e80]
xor r9d, r9d
mov r8, rbx
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 0x50000000
call fcn.10004b1f4
mov rcx, qword [0x1000b5f98]
mov r9d, ebp
xor r8d, r8d
xor edx, edx
mov qword [0x1000b6008], rax
call qword [sym.imp.USER32.dll_RedrawWindow]
cmp byte [0x1000b5ff5], bl
je 0x1000479d1
mov ecx, 0xbf9450
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [0x1000b6038], rax
mov rcx, qword [0x1000b5fb8]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdi, rax
cmp rax, rbx
je 0x100047a1c
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 [0x1000b6018], rax
cmp byte [0x1000b5ff5], bl
je 0x100047a1c
mov rcx, rax
call fcn.100047258
cmp byte [0x1000aaac3], bl
jne 0x100047a47
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x100047a47
mov ecx, dword [0x1000b1e0c]
mov edx, dword [0x1000b1e10]
jmp 0x100047a97
lea r8, [rsp + 0x160]
lea rdx, [0x1000b604c]
lea rcx, [0x1000b6048]
call fcn.10004a30c
cmp byte [rsp + 0x160], bl
je 0x100047a7f
mov eax, dword [0x1000b06ac]
lea ecx, [rax + rax]
mov eax, dword [0x1000b0bac]
lea edx, [rax + rax]
jmp 0x100047a8b
mov ecx, dword [0x1000b06ac]
mov edx, dword [0x1000b0bac]
mov dword [0x1000b1e10], edx
mov dword [0x1000b1e0c], ecx
cmp byte [0x1000b5ff5], bl
jne 0x100047c13
mov rax, qword [0x1000b6008]
lea r9, [rsp + 0x168]
lea r8, [rsp + 0x160]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1000b5f98]
mov qword [rsp + 0x20], rax
call fcn.100064334
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x28]
mov dword [rsp + 0x70], ebx
call sub.msvcrt.dll_memset
mov rcx, qword [0x1000b5f98]
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov r11d, dword [0x1000b6048]
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 [0x1000b604c]
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 [0x1000b5f98]
call qword [sym.imp.USER32.dll_SetWindowPlacement]
cmp byte [0x1000b5ff2], bl
je 0x100047ce0
cmp qword [0x1000b6008], rbx
je 0x100047ce0
mov rcx, qword [0x1000b5f98]
lea rdx, [rsp + 0x120]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [0x1000b5fb8]
mov rdx, qword [rcx]
call qword [rdx + 0x88]
mov ebx, eax
mov eax, 4
mul rbx
cmovo rax, r14
mov rcx, rax
call fcn.10009d6a4
mov rcx, qword [0x1000b5fb8]
mov edx, dword [rsp + 0x128]
mov r10, qword [rcx]
sub edx, dword [rsp + 0x120]
mov r9, rax
mov r8d, ebx
mov rsi, rax
call qword [r10 + 0x28]
mov rcx, qword [0x1000b6008]
mov r9, rsi
mov r8, rbx
mov edx, 0x404
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1000b6008]
xor r9d, r9d
lea edx, [r9 + 5]
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1000b6008]
mov r9d, ebp
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_RedrawWindow]
mov rcx, rsi
call sub.msvcrt.dll_free
jmp 0x100047ce0
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x24]
call sub.msvcrt.dll_memset
mov rdi, qword [0x1000b5f98]
lea rcx, [0x10001ccc8]
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 [0x1000b5f98]
lea rdx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [rsp + 0x7c]
mov r11d, dword [rsp + 0x74]
mov rcx, qword [0x1000b5f98]
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]
call fcn.10004acec
mov rcx, qword [0x1000b5fa0]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov cl, 1
call fcn.1000470b0
mov edx, dword [0x1000b0bac]
mov ecx, dword [0x1000b06ac]
mov r8b, 1
call fcn.1000498b4
mov al, 1
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret