Function at 0x18015b800
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xf0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1802d1460]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rdi, rdx
mov rbx, rcx
movdqa xmm0, xmmword [0x18026b300]
movdqu xmmword [rsp + 0x38], xmm0
xor esi, esi
mov word [rsp + 0x28], si
mov rcx, qword [rdx + 8]
test rcx, rcx
je 0x18015bba3
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + 0xd8]
nop
mov rdx, qword [rax]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x18015b870
lea rcx, [rsp + 0x28]
call fcn.1801142a0
nop
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
cmp rcx, rax
je 0x18015b89a
call fcn.1801cc408
cmp dword [rdi], 0x18
jne 0x18015b925
mov rax, qword [rdi + 0x20]
cmp rax, 0x2710
jne 0x18015b900
mov rcx, qword [rbx + 0x830]
test rcx, rcx
je 0x18015b8dd
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x298]
mov rcx, qword [rbx + 0x828]
test rcx, rcx
je 0x18015b8dd
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x298]
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x18015bb2a
mov r8d, 0x2710
mov rdx, rbx
call fcn.180170070
jmp 0x18015bb2a
cmp rax, 0x2711
jne 0x18015bb2a
dec dword [rbx + 0x95c]
mov edx, dword [rbx + 0x95c]
mov rcx, rbx
call fcn.180162c40
jmp 0x18015bb2a
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
lea rdx, str.account_edit
call fcn.1801d0878
test eax, eax
jne 0x18015b9f6
cmp dword [rdi], 3
jne 0x18015ba64
cmp qword [rdi + 0x20], 9
jne 0x18015b9f6
cmp qword [rbx + 0x8e0], 0
je 0x18015bb2a
cmp qword [rbx + 0x8c8], 0
je 0x18015bb2a
mov rcx, qword [rbx + 0x8c0]
test rcx, rcx
je 0x18015b9c9
mov rax, qword [rcx]
call qword [rax + 0x2d8]
test al, al
je 0x18015b9c9
mov rcx, qword [rbx + 0x8c0]
add rcx, 0x770
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbx + 0x8c0]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x298]
mov rcx, qword [rbx + 0x8e0]
mov rax, qword [rcx]
call qword [rax + 0x2e0]
mov rcx, qword [rbx + 0x8e0]
mov rax, qword [rcx]
call qword [rax + 0x2d8]
test al, al
jne 0x18015bb2a
mov rcx, qword [rbx + 0x8e0]
mov rax, qword [rcx]
call qword [rax + 0x2e0]
jmp 0x18015bb2a
cmp dword [rdi], 3
jne 0x18015ba64
cmp qword [rdi + 0x20], 0x14
jne 0x18015ba64
mov rcx, qword [rbx + 0x8e0]
test rcx, rcx
je 0x18015bb2a
mov rax, qword [rcx]
call qword [rax + 0x2d8]
test al, al
je 0x18015bb2a
cmp qword [rbx + 0x948], 0
je 0x18015bb2a
mov ecx, reloc.WS2_32.dll_sendto
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [rbx + 0x948]
test al, 1
mov rax, qword [rcx]
je 0x18015ba57
mov dl, 1
call qword [rax + 0x298]
jmp 0x18015bb2a
xor edx, edx
call qword [rax + 0x298]
jmp 0x18015bb2a
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
lea rdx, str.account_edit
call fcn.1801d0878
test eax, eax
jne 0x18015bac0
cmp dword [rdi], 3
jne 0x18015bac0
mov rax, qword [rdi + 0x20]
sub rax, 0x26
test rax, 0xfffffffffffffffd
jne 0x18015bac0
mov rcx, qword [rbx + 0x8c0]
test rcx, rcx
je 0x18015bb2a
mov rax, qword [rcx]
call qword [rax + 0x290]
test al, al
je 0x18015bb2a
mov rcx, qword [rbx + 0x8c0]
jmp 0x18015bb1e
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
lea rdx, str.account_edit
call fcn.1801d0878
test eax, eax
jne 0x18015bb2a
cmp dword [rdi], 3
jne 0x18015bb2a
cmp qword [rdi + 0x20], 0xd
jne 0x18015bb2a
mov rcx, qword [rbx + 0x8c0]
test rcx, rcx
je 0x18015bb2a
mov rax, qword [rcx]
call qword [rax + 0x290]
test al, al
je 0x18015bb2a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x110]
mov rcx, qword [rax + 0x128]
test rcx, rcx
je 0x18015bb2a
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x318]
cmp dword [rdi], 0xe
jne 0x18015bb97
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
lea rdx, [0x18024e800]
call fcn.1801d0878
test eax, eax
je 0x18015bb97
cmp dword [rbx + 0x9d4], 0
je 0x18015bb97
mov dword [rbx + 0x9d4], esi
cmp qword [rbx + 0x810], 0
je 0x18015bb97
mov rcx, qword [rbx + 0x878]
test rcx, rcx
je 0x18015bb97
mov rax, qword [rcx]
call qword [rax + 0x290]
test al, al
je 0x18015bb97
mov rcx, qword [rbx + 0x810]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x2afd
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, rdi
mov rcx, rbx
call fcn.18018abf0
nop
lea rcx, [rsp + 0x28]
call fcn.180114210
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1801c74b0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret