Function at 0x140044c70
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1401503a8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, r9
mov qword [rsp + 0x50], r8
mov edi, edx
mov r12, rcx
call fcn.14001a8c0
test rax, rax
je case.0x140045083.527
call fcn.14001ad60
mov r15, rax
call fcn.14001a8c0
xor r14d, r14d
test rax, rax
je 0x140044ccc
call fcn.14001ad60
mov rbx, qword [rax + 0x98]
jmp 0x140044ccf
mov rbx, r14
cmp edi, 0x200
ja 0x140045059
je 0x140044fd9
lea eax, [rdi - 7]
cmp eax, 0xfe
ja case.0x140045083.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x45224]
mov ecx, dword [rdx + rax*4 + 0x4520c]
add rcx, rdx
jmp rcx
lea eax, [rdi - 0x100]
mov esi, 0x100
test eax, 0xfffffffb
sete dil
cmp qword [rsp + 0x50], rsi
jae case.0x140045083.527
call fcn.14001ad60
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, 1
mov rcx, rbx
movzx r8d, al
call fcn.140008b50
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x2000
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.140008b50
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x4000
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.140008b50
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x8000
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.140008b50
mov rbx, qword [rsp + 0x50]
cmp rbx, 0xd
jne 0x140044dd2
mov rax, rbp
shr rax, 0x10
test si, ax
mov eax, 0x10d
cmovne ebx, eax
movsxd rcx, ebx
call fcn.140044720
shr rbp, 0x10
movzx esi, bpl
test eax, eax
je 0x140044df7
mov r9d, esi
mov r8d, ebx
movzx edx, dil
mov ecx, eax
call fcn.140042bd0
cmp ebx, 0x10
jne 0x140044e5d
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x140044e28
mov r9d, esi
mov r8d, 0xa0
movzx edx, dil
mov ecx, 0x210
call fcn.140042bd0
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x140045083.527
mov r9d, esi
mov r8d, 0xa1
movzx edx, dil
mov ecx, 0x214
call fcn.140042bd0
jmp case.0x140045083.527
cmp ebx, 0x11
jne 0x140044ec3
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x140044e8e
mov r9d, esi
mov r8d, 0xa2
movzx edx, dil
mov ecx, 0x20f
call fcn.140042bd0
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x140045083.527
mov r9d, esi
mov r8d, 0xa3
movzx edx, dil
mov ecx, 0x213
call fcn.140042bd0
jmp case.0x140045083.527
cmp ebx, 0x12
jne case.0x140045083.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x140044ef8
mov r9d, esi
mov r8d, 0xa4
movzx edx, dil
mov ecx, 0x211
call fcn.140042bd0
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x140045083.527
mov r9d, esi
mov r8d, 0xa5
movzx edx, dil
mov ecx, 0x215
call fcn.140042bd0
jmp case.0x140045083.527
cmp edi, 7
mov rcx, r15
sete dl
call fcn.140008790
jmp case.0x140045083.527
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x140044f72
mov rcx, qword [rsp + 0x50]
lea rax, [rcx - 1]
cmp rax, 0xfffe
ja case.0x140045083.527
movzx edx, cx
mov rcx, r15
call fcn.140008910
jmp case.0x140045083.527
mov ebp, 1
mov word [rsp + 0x48], r14w
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], ebp
mov r9d, ebp
mov qword [rsp + 0x20], rax
mov edx, ebp
lea r8, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rsp + 0x48]
mov rcx, r15
call fcn.140008860
jmp case.0x140045083.527
cmp bp, 1
jne case.0x140045083.527
call fcn.140044400
test al, al
je case.0x140045083.527
mov eax, 1
jmp 0x1400451ee
mov byte [rbx + 0x2e], 1
jmp case.0x140045083.527
mov qword [rbx + 8], r12
cmp byte [rbx + 0x10], r14b
jne 0x14004500d
mov esi, 2
mov dword [rsp + 0x30], Ordinal_30
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x34], esi
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x40], r14d
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [rbx + 0x10], 1
movsx eax, bp
shr rbp, 0x10
test dword [r15], 0x400
movsx ecx, bp
mov dword [rsp + 0x5c], ecx
mov dword [rsp + 0x58], eax
je 0x14004503e
lea rdx, [rsp + 0x58]
mov rcx, r12
call qword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [rsp + 0x5c]
mov eax, dword [rsp + 0x58]
movd xmm2, ecx
mov rcx, r15
movd xmm1, eax
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.140008c80
jmp case.0x140045083.527
lea eax, [rdi - 0x201]
cmp eax, 0xa2
ja case.0x140045083.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x45340]
mov ecx, dword [rdx + rax*4 + 0x45324]
add rcx, rdx
jmp rcx
cmp qword [rbx + 8], r12
jne 0x14004508f
mov qword [rbx + 8], r14
movss xmm1, dword [0x1400ea428]
mov rcx, r15
movaps xmm2, xmm1
mov byte [rbx + 0x10], r14b
call fcn.140008c80
jmp case.0x140045083.527
cmp edi, 0x204
je 0x1400450be
mov ebp, r14d
cmp edi, 0x206
jne 0x1400450c3
mov ebp, 1
lea eax, [rdi - 0x207]
mov esi, 2
test eax, 0xfffffffd
lea eax, [rdi - 0x20b]
cmove ebp, esi
test eax, 0xfffffffd
jne 0x1400450f8
mov rax, qword [rsp + 0x50]
shr rax, 0x10
cmp ax, 1
setne r14b
lea ebp, [r14 + 3]
cmp dword [rbx + 0x14], 0
jne 0x140045112
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x140045112
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rbx + 0x14]
mov r8b, 1
bts eax, ebp
mov edx, ebp
mov rcx, r15
mov dword [rbx + 0x14], eax
call fcn.140008b80
jmp case.0x140045083.527
cmp edi, 0x205
mov esi, r14d
sete sil
cmp edi, 0x208
jne 0x140045149
mov esi, 2
jmp 0x140045168
cmp edi, 0x20c
jne 0x140045168
mov rax, qword [rsp + 0x50]
mov esi, r14d
shr rax, 0x10
cmp ax, 1
setne sil
add esi, 3
mov eax, dword [rbx + 0x14]
btr eax, esi
mov dword [rbx + 0x14], eax
test eax, eax
jne 0x140045186
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x140045186
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor r8d, r8d
mov edx, esi
mov rcx, r15
call fcn.140008b80
jmp case.0x140045083.527
mov rax, qword [rsp + 0x50]
xorps xmm1, xmm1
shr rax, 0x10
mov rcx, r15
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1400eebdc]
call fcn.140008ee0
jmp case.0x140045083.527
mov rax, qword [rsp + 0x50]
xorps xmm2, xmm2
shr rax, 0x10
mov rcx, r15
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x1400eebdc]
call fcn.140008ee0
jmp case.0x140045083.527
cmp dword [rsp + 0x50], 7
jne case.0x140045083.527
mov byte [rbx + 0x2d], 1
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400e2050
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret