Function at 0x18002fa34
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x180123548]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, r9
mov qword [rbp - 0x18], r8
mov ebx, edx
mov r13, rcx
call fcn.18000d628
xor r14d, r14d
test rax, rax
je 0x18002ffc1
call fcn.18000d890
mov r12, rax
call fcn.18000d628
test rax, rax
je 0x18002fa93
call fcn.18000d890
mov rsi, qword [rax + 0x90]
jmp 0x18002fa96
mov rsi, r14
mov edx, 0x20c
mov edi, 1
lea eax, [rdx - 8]
lea r8d, [rdx - 7]
cmp ebx, eax
ja 0x18002fe81
je 0x18002fd0d
mov ecx, 0x100
lea eax, [rcx + 4]
cmp ebx, eax
ja 0x18002fcd6
je 0x18002fcce
mov eax, ebx
sub eax, 7
je 0x18002fcbb
sub eax, edi
je 0x18002fcbb
sub eax, 0x18
je 0x18002fc9c
sub eax, 0xe0
je 0x18002fb5f
sub eax, edi
je 0x18002fb5f
cmp eax, edi
jne 0x18002ffc1
mov rcx, r13
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x18002fb2b
mov rcx, qword [rbp - 0x18]
lea rax, [rcx - 1]
cmp rax, 0xfffe
ja 0x18002ffc1
movzx edx, cx
mov rcx, r12
call fcn.1800065e4
jmp 0x18002ffc1
lea rax, [rbp - 0x20]
mov dword [rsp + 0x28], edi
mov r9d, edi
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x18]
mov word [rbp - 0x20], r14w
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rbp - 0x20]
mov rcx, r12
call fcn.180006598
jmp 0x18002ffc1
cmp ebx, ecx
je 0x18002fcce
mov sil, r14b
cmp qword [rbp - 0x18], rcx
jae 0x18002ffc1
call fcn.18000d890
mov ecx, reloc.WS2_32.dll_recvfrom
mov rbx, rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x1000
and al, dil
mov rcx, rbx
mov r8b, al
call fcn.1800067b0
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x2000
and al, dil
mov rcx, rbx
mov r8b, al
call fcn.1800067b0
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x4000
and al, dil
mov rcx, rbx
mov r8b, al
call fcn.1800067b0
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x8000
and al, dil
mov rcx, rbx
mov r8b, al
call fcn.1800067b0
mov rbx, qword [rbp - 0x18]
cmp rbx, 0xd
jne 0x18002fc1e
mov rax, r15
shr rax, 0x10
bt ax, 8
mov eax, 0x10d
cmovb ebx, eax
movsxd rcx, ebx
call fcn.18002f4a0
shr r15, 0x10
movzx r14d, r15b
test eax, eax
je 0x18002fc42
mov r9d, r14d
mov r8d, ebx
mov dl, sil
mov ecx, eax
call fcn.18002ea68
cmp ebx, 0x10
jne 0x18002fdc6
mov ebx, 0xa0
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x18002fc76
mov r9d, r14d
mov r8d, ebx
mov dl, sil
mov ecx, 0x210
call fcn.18002ea68
mov ebx, 0xa1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x18002ffc1
mov ecx, 0x214
jmp 0x18002fe6e
cmp r15w, di
jne 0x18002ffc1
call fcn.18002f3f0
test al, al
je 0x18002ffc1
mov rax, rdi
jmp 0x18002ffc3
cmp ebx, 7
mov rcx, r12
sete dl
call fcn.180006510
jmp 0x18002ffc1
mov sil, dil
jmp 0x18002fb6a
mov eax, ebx
sub eax, 0x105
je 0x18002fb67
sub eax, 0xfb
je 0x18002fd76
sub eax, edi
je 0x18002fd02
sub eax, edi
je 0x18002ff63
cmp eax, edi
jne 0x18002ffc1
mov r15d, r14d
cmp ebx, 0x206
jne 0x18002fd10
mov r15d, edi
lea eax, [rbx - 0x207]
mov ecx, 0xfffffffd
test ecx, eax
mov r14d, 2
lea eax, [rbx - 0x20b]
cmove r15d, r14d
test ecx, eax
jne 0x18002fd47
mov rax, qword [rbp - 0x18]
xor r15d, r15d
shr rax, 0x10
cmp ax, di
setne r15b
add r15d, 3
cmp dword [rsi + 0x14], 0
jne 0x18002fd61
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x18002fd61
mov rcx, r13
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rsi + 0x14]
mov r8b, dil
bts eax, r15d
mov edx, r15d
mov dword [rsi + 0x14], eax
jmp 0x18002ffb9
mov qword [rsi + 8], r13
cmp byte [rsi + 0x10], r14b
jne 0x18002fda7
and dword [rbp - 0x28], 0
lea rcx, [rbp - 0x38]
mov r14d, 2
mov dword [rbp - 0x38], Ordinal_30
mov dword [rbp - 0x34], r14d
mov qword [rbp - 0x30], r13
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [rsi + 0x10], dil
mov rax, r15
shr rax, 0x10
cwde
movd xmm2, eax
movsx eax, r15w
cvtdq2ps xmm2, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jmp 0x18002ff26
cmp ebx, 0x11
jne 0x18002fe19
mov ebx, 0xa2
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x18002fdf6
mov r9d, r14d
mov r8d, ebx
mov dl, sil
mov ecx, 0x20f
call fcn.18002ea68
mov ebx, 0xa3
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x18002ffc1
mov ecx, 0x213
jmp 0x18002fe6e
cmp ebx, 0x12
jne 0x18002ffc1
mov ebx, 0xa4
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x18002fe4d
mov r9d, r14d
mov r8d, ebx
mov dl, sil
mov ecx, 0x211
call fcn.18002ea68
mov ebx, 0xa5
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x18002ffc1
mov ecx, 0x215
mov r9d, r14d
mov r8d, ebx
mov dl, sil
call fcn.18002ea68
jmp 0x18002ffc1
mov eax, 0x20b
cmp ebx, eax
ja 0x18002feeb
je 0x18002fd02
mov eax, ebx
sub eax, r8d
je 0x18002ff63
sub eax, edi
je 0x18002fd02
sub eax, edi
je 0x18002fd02
sub eax, edi
je 0x18002ff63
sub eax, edi
je 0x18002fd02
cmp eax, edi
jne 0x18002ffc1
mov rax, qword [rbp - 0x18]
xorps xmm1, xmm1
shr rax, 0x10
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x18009ee4c]
mov rcx, r12
call fcn.1800069b8
jmp 0x18002ffc1
mov eax, ebx
sub eax, edx
je 0x18002ff63
sub eax, edi
je 0x18002fd02
sub eax, edi
je 0x18002ff43
sub eax, 0xb
je 0x18002ff33
cmp eax, 0x8a
jne 0x18002ffc1
cmp qword [rsi + 8], r13
jne 0x18002ff17
mov qword [rsi + 8], r14
movss xmm1, dword [0x18009ece8]
movaps xmm2, xmm1
mov byte [rsi + 0x10], r14b
mov rcx, r12
call fcn.180006890
jmp 0x18002ffc1
cmp dword [rbp - 0x18], 7
jne 0x18002ffc1
mov byte [rsi + 0x2d], dil
jmp 0x18002ffc1
mov rax, qword [rbp - 0x18]
xorps xmm2, xmm2
shr rax, 0x10
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x18009ee4c]
jmp 0x18002fede
cmp ebx, r8d
sete r14b
cmp ebx, 0x208
jne 0x18002ff7a
mov r14d, 2
jmp 0x18002ff94
cmp ebx, edx
jne 0x18002ff94
mov rax, qword [rbp - 0x18]
xor r14d, r14d
shr rax, 0x10
cmp ax, di
setne r14b
add r14d, 3
mov eax, dword [rsi + 0x14]
btr eax, r14d
mov dword [rsi + 0x14], eax
test eax, eax
jne 0x18002ffb3
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r13
jne 0x18002ffb3
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor r8d, r8d
mov edx, r14d
mov rcx, r12
call fcn.1800067dc
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180099760
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret