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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd8]
sub rsp, 0x1d8
mov rax, qword [0x180033018]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, qword [rbp + 0x140]
mov r13d, r8d
mov r8d, dword [rcx + 0x48]
mov r14, rdx
mov rdx, qword [rcx + 0x40]
mov r12, r9
mov rdi, rcx
lea r9, [0x180030040]
xor r15d, r15d
lea rcx, [rbp - 0x60]
mov dword [rsp + 0x48], r15d
call fcn.1800093b8
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x60]
call fcn.180009480
mov r8d, dword [rdi + 0x48]
lea r9, [0x1800294b0]
mov rdx, qword [rdi + 0x40]
lea rcx, [rbp - 0x80]
mov dword [rsp + 0x50], r15d
call fcn.1800093b8
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.180009480
mov r8d, dword [rdi + 0x48]
lea r9, [0x1800294a0]
mov rdx, qword [rdi + 0x40]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x4c], r15d
call fcn.1800093b8
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x60]
call fcn.180009480
test rsi, rsi
je 0x18000b39a
mov qword [rsi], r15
test r12, r12
je 0x18000b3a4
mov word [r12], r15w
mov rcx, qword [rdi + 0xc0]
mov ebx, 1
mov byte [rsp + 0x40], r15b
test rcx, rcx
je 0x18000b425
test rsi, rsi
je 0x18000b425
call fcn.18002296c
mov rcx, qword [rdi + 0xc0]
test rcx, rcx
je 0x18000b3df
mov rax, qword [rcx]
mov edx, ebx
mov rax, qword [rax + 0x20]
call qword [case.0x180004b4f.0]
mov dword [rsp + 0x58], ebx
xor r9d, r9d
mov dword [rsp + 0x5c], 4
xor r8d, r8d
mov rax, qword [rsp + 0x58]
mov rdx, r14
mov rcx, rdi
mov qword [rsp + 0x28], rax
mov qword [rdi + 0xc0], r15
call fcn.18000d658
mov byte [rsp + 0x40], bl
cmp r13d, 8
je 0x18000b5f6
cmp r13d, 0x1b
je 0x18000b5f6
mov rcx, rdi
call fcn.18000b658
test eax, eax
jne 0x18000b446
cmp dword [rsp + 0x48], r15d
jne 0x18000b44e
cmp dword [rsp + 0x50], r15d
jne 0x18000b44e
cmp dword [rsp + 0x4c], r15d
jne 0x18000b44e
mov ebx, r15d
jmp 0x18000b5f6
xor edx, edx
mov ecx, r13d
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
nop dword [rax + rax]
lea rcx, [rbp - 0x40]
mov r14d, eax
call qword [sym.imp.USER32.dll_GetKeyboardState]
nop dword [rax + rax]
test eax, eax
jne 0x18000b47c
movzx r14d, r15w
jmp 0x18000b4af
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x44]
lea r8, [rbp - 0x40]
mov dword [rsp + 0x20], ebx
mov edx, r14d
mov ecx, r13d
call qword [sym.imp.USER32.dll_ToUnicode]
nop dword [rax + rax]
cmp eax, ebx
jne 0x18000b4ac
movzx r14d, word [rsp + 0x44]
jmp 0x18000b4af
mov r14d, r15d
test r12, r12
je 0x18000b4b9
mov word [r12], r14w
movsxd rcx, dword [rdi + 0x6c]
xor r11d, r11d
mov rax, qword [rdi + 0x78]
mov r15, qword [rax + rcx*8]
cmp dword [rsp + 0x48], r11d
je 0x18000b51b
cmp byte [rsp + 0x40], r11b
jne 0x18000b4e2
mov r9d, ebx
cmp qword [rdi + 0x90], r11
jne 0x18000b4e5
mov r9d, r11d
mov eax, dword [rdi + 0xb8]
mov r8, r12
shr eax, 1
mov edx, r13d
mov qword [rsp + 0x30], rsi
mov rcx, r15
sbb eax, eax
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0xa8]
mov dword [rsp + 0x20], eax
call fcn.18000db54
xor r11d, r11d
test eax, eax
jne 0x18000b5f6
mov ecx, r11d
lea rax, [0x18002e7a8]
cmp word [rax], r14w
je 0x18000b5d3
add ecx, ebx
add rax, 4
cmp ecx, 0xe
jb 0x18000b525
mov r8d, dword [r15 + 0x240]
mov ecx, r11d
test r8d, r8d
jle 0x18000b56b
mov r9, qword [r15 + 0x238]
mov edx, r11d
movsxd rax, edx
cmp word [rax + r9], r14w
je 0x18000b5d3
add edx, dword [r15 + 0x248]
add ecx, ebx
cmp ecx, r8d
jl 0x18000b553
mov r8d, dword [r15 + 0x260]
mov ecx, r11d
test r8d, r8d
jle 0x18000b5a7
mov r10, qword [r15 + 0x258]
mov edx, r11d
mov r9d, dword [r15 + 0x268]
movsxd rax, edx
cmp word [rax + r10], r14w
je 0x18000b5d3
cmp word [rax + r10 + 6], r14w
je 0x18000b5d3
add ecx, ebx
add edx, r9d
cmp ecx, r8d
jl 0x18000b58b
cmp dword [rsp + 0x50], r11d
je 0x18000b5f3
sub r14w, 0x20
cmp r14w, 0x5e
ja 0x18000b5f3
cmp dword [rdi + 0xa8], r11d
jne 0x18000b5f3
test rsi, rsi
je 0x18000b5f6
mov dword [rsi], ebx
mov dword [rsi + 4], 0x17
jmp 0x18000b5f6
cmp dword [rdi + 0xa8], r11d
jne 0x18000b5a7
cmp dword [rsp + 0x4c], r11d
je 0x18000b5a7
test rsi, rsi
je 0x18000b5f6
mov dword [rsi], ebx
mov dword [rsi + 4], 0x18
jmp 0x18000b5f6
mov ebx, r11d
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x180004b4f.0]
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x180004b4f.0]
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x180004b4f.0]
mov eax, ebx
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.180024570
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret