Function at 0x1405add00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x1406dc5c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [0x1406dd860], 0
mov r12, r9
mov rbx, r8
mov ebp, edx
mov r13, rcx
je case.0x1405ae237.527
call fcn.14056e350
xor r15d, r15d
mov rdi, rax
cmp qword [0x1406dd860], r15
je 0x1405add63
call fcn.14056e350
mov rsi, qword [rax + 0x90]
jmp 0x1405add66
mov rsi, r15
cmp ebp, 0x200
ja 0x1405ae20d
je 0x1405ae18a
lea eax, [rbp - 7]
cmp eax, 0xfe
ja case.0x1405ae237.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x5ae3dc]
mov ecx, dword [rdx + rax*4 + 0x5ae3c4]
add rcx, rdx
jmp rcx
lea eax, [rbp - 0x100]
mov ebp, 0x100
test eax, 0xfffffffb
sete dil
cmp rbx, rbp
jae case.0x1405ae237.527
call fcn.14056e350
mov ecx, reloc.WS2_32.dll_recvfrom
mov rsi, rax
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x1406c0d30]
shr eax, 0xf
and al, 1
je 0x1405adde5
movaps xmm3, xmm6
jmp 0x1405adde8
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x281
mov rcx, rsi
call fcn.140569020
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
je 0x1405ade10
movaps xmm3, xmm6
jmp 0x1405ade13
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x282
mov rcx, rsi
call fcn.140569020
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
je 0x1405ade3b
movaps xmm3, xmm6
jmp 0x1405ade3e
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x283
mov rcx, rsi
call fcn.140569020
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
je 0x1405ade66
movaps xmm3, xmm6
jmp 0x1405ade69
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x284
mov rcx, rsi
call fcn.140569020
cmp rbx, 0xd
jne 0x1405ade90
shr r12, 0x10
mov eax, 0x10d
test bp, r12w
cmovne ebx, eax
movsxd rcx, ebx
call fcn.1405ad7b0
test eax, eax
je 0x1405adeaa
mov r8d, ebx
movzx edx, dil
mov ecx, eax
call fcn.1405acae0
cmp ebx, 0x10
jne 0x1405adf58
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x1405adf02
call fcn.14056e350
mov rbx, rax
test dil, dil
je 0x1405adeda
movaps xmm3, xmm6
jmp 0x1405adedd
xorps xmm3, xmm3
movzx r8d, dil
mov edx, 0x210
mov rcx, rbx
call fcn.140569020
mov dword [rbx + 0x378], 0x210
mov dword [rbx + 0x938], 0xa0
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x1405ae237.527
call fcn.14056e350
mov rbx, rax
test dil, dil
jne 0x1405adf2b
xorps xmm6, xmm6
movaps xmm3, xmm6
movzx r8d, dil
mov edx, 0x214
mov rcx, rbx
call fcn.140569020
mov dword [rbx + 0x37c], 0x214
mov dword [rbx + 0x948], 0xa1
jmp case.0x1405ae237.527
cmp ebx, 0x11
jne 0x1405ae006
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x1405adfb0
call fcn.14056e350
mov rbx, rax
test dil, dil
je 0x1405adf88
movaps xmm3, xmm6
jmp 0x1405adf8b
xorps xmm3, xmm3
movzx r8d, dil
mov edx, 0x20f
mov rcx, rbx
call fcn.140569020
mov dword [rbx + 0x380], 0x20f
mov dword [rbx + 0x934], 0xa2
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x1405ae237.527
call fcn.14056e350
mov rbx, rax
test dil, dil
jne 0x1405adfd9
xorps xmm6, xmm6
movaps xmm3, xmm6
movzx r8d, dil
mov edx, 0x213
mov rcx, rbx
call fcn.140569020
mov dword [rbx + 0x384], 0x213
mov dword [rbx + 0x944], 0xa3
jmp case.0x1405ae237.527
cmp ebx, 0x12
jne case.0x1405ae237.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x1405ae05e
call fcn.14056e350
mov rbx, rax
test dil, dil
je 0x1405ae036
movaps xmm3, xmm6
jmp 0x1405ae039
xorps xmm3, xmm3
movzx r8d, dil
mov edx, 0x211
mov rcx, rbx
call fcn.140569020
mov dword [rbx + 0x388], 0x211
mov dword [rbx + 0x93c], 0xa4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x1405ae237.527
call fcn.14056e350
mov rbx, rax
test dil, dil
jne 0x1405ae087
xorps xmm6, xmm6
movaps xmm3, xmm6
movzx r8d, dil
mov edx, 0x215
mov rcx, rbx
call fcn.140569020
mov dword [rbx + 0x38c], 0x215
mov dword [rbx + 0x94c], 0xa5
jmp case.0x1405ae237.527
cmp ebp, 7
mov rcx, rdi
sete dl
call fcn.140569ff0
jmp case.0x1405ae237.527
lea rax, [rbx - 1]
cmp rax, 0xfffe
ja case.0x1405ae237.527
test bx, bx
jne 0x1405ae0ea
cmp word [rdi + 0x37f4], r15w
je case.0x1405ae237.527
mov ecx, 0xfc00
movzx eax, bx
and ax, cx
mov edx, 0xd800
movzx ecx, word [rdi + 0x37f4]
cmp ax, dx
jne 0x1405ae124
test cx, cx
je 0x1405ae118
mov edx, 0xfffd
mov rcx, rdi
call fcn.140568e20
mov word [rdi + 0x37f4], bx
jmp case.0x1405ae237.527
test cx, cx
je 0x1405ae14f
mov ecx, 0xdc00
cmp ax, cx
je 0x1405ae142
mov edx, 0xfffd
mov rcx, rdi
call fcn.140568e20
jmp 0x1405ae147
mov ebx, 0xfffd
mov word [rdi + 0x37f4], r15w
movzx edx, bx
mov rcx, rdi
call fcn.140568e20
jmp case.0x1405ae237.527
cmp r12w, 1
jne case.0x1405ae237.527
call fcn.1405ac960
test al, al
je case.0x1405ae237.527
mov eax, 1
jmp 0x1405ae399
mov byte [rsi + 0x2e], 1
jmp case.0x1405ae237.527
mov qword [rsi + 8], r13
cmp byte [rsi + 0x10], r15b
jne 0x1405ae1c0
mov r14d, 2
mov dword [rsp + 0x20], Ordinal_30
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], r14d
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x30], r15d
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [rsi + 0x10], 1
movsx eax, r12w
shr r12, 0x10
test dword [rdi], 0x400
movsx ecx, r12w
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x38], eax
je 0x1405ae1f2
lea rdx, [rsp + 0x38]
mov rcx, r13
call qword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x38]
movd xmm2, ecx
mov rcx, rdi
movd xmm1, eax
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.140569770
jmp case.0x1405ae237.527
lea eax, [rbp - 0x201]
cmp eax, 0xa2
ja case.0x1405ae237.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x5ae4f8]
mov ecx, dword [rdx + rax*4 + 0x5ae4dc]
add rcx, rdx
jmp rcx
cmp qword [rsi + 8], r13
jne 0x1405ae243
mov qword [rsi + 8], r15
movss xmm1, dword [0x1406c1064]
mov rcx, rdi
movaps xmm2, xmm1
mov byte [rsi + 0x10], r15b
call fcn.140569770
jmp case.0x1405ae237.527
cmp ebp, 0x204
je 0x1405ae272
mov r12d, r15d
cmp ebp, 0x206
jne 0x1405ae278
mov r12d, 1
lea eax, [rbp - 0x207]
mov r14d, 2
test eax, 0xfffffffd
lea eax, [rbp - 0x20b]
cmove r12d, r14d
test eax, 0xfffffffd
jne 0x1405ae2aa
shr rbx, 0x10
cmp bx, 1
setne r15b
lea r12d, [r15 + 3]
cmp dword [rsi + 0x14], 0
jne 0x1405ae2c4
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x1405ae2c4
mov rcx, r13
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rsi + 0x14]
mov r8b, 1
bts eax, r12d
mov edx, r12d
mov rcx, rdi
mov dword [rsi + 0x14], eax
call fcn.140569980
jmp case.0x1405ae237.527
cmp ebp, 0x205
mov r14d, r15d
sete r14b
cmp ebp, 0x208
jne 0x1405ae2fe
mov r14d, 2
jmp 0x1405ae319
cmp ebp, 0x20c
jne 0x1405ae319
shr rbx, 0x10
mov r14d, r15d
cmp bx, 1
setne r14b
add r14d, 3
mov eax, dword [rsi + 0x14]
btr eax, r14d
mov dword [rsi + 0x14], eax
test eax, eax
jne 0x1405ae338
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r13
jne 0x1405ae338
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call fcn.140569980
jmp case.0x1405ae237.527
shr rbx, 0x10
xorps xmm1, xmm1
movsx eax, bx
mov rcx, rdi
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1406c0f40]
call fcn.140569bb0
jmp case.0x1405ae237.527
shr rbx, 0x10
xorps xmm2, xmm2
movsx eax, bx
mov rcx, rdi
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x1406c0f40]
call fcn.140569bb0
jmp case.0x1405ae237.527
cmp ebx, 7
jne case.0x1405ae237.527
mov byte [rsi + 0x2d], 1
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14063c0a0
mov rbx, qword [rsp + 0xa8]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret