Function at 0x180057634
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x1f0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x1800d2580]
xor rax, rsp
mov qword [rbp + 0x48], rax
xor r12d, r12d
mov rax, qword [0x1800d2f70]
mov rcx, qword [rax]
test rcx, rcx
je 0x180057fee
mov r14, qword [rcx + 8]
test r14, r14
je 0x180057fee
mov rax, qword [0x1800d2f78]
mov rcx, qword [rax]
test rcx, rcx
je 0x180057fee
mov r15, qword [rcx + 0x10]
test r15, r15
je 0x180057fee
movsd xmm0, qword [r14 + 0x90]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [r14 + 0x98]
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.180052fe8
mov rbx, qword [r14 + 0xd30]
test rbx, rbx
je 0x180057fee
lea rax, [rbx + 0x840]
mov edi, 0x447a0000
cmp byte [0x1800d3812], r12b
je 0x18005774b
mov dword [rbx + 0x908], edi
mov dword [rax], 0x42c80000
mov byte [0x1800d3812], r12b
movss xmm10, dword [0x18005d774]
cmp byte [0x1800d3806], r12b
je 0x18005776a
movd xmm0, dword [0x1800d380c]
cvtdq2ps xmm0, xmm0
jmp 0x18005776e
movaps xmm0, xmm10
movss dword [rbx + 0xc5c], xmm0
cmp byte [0x1800d3807], r12b
je 0x180057790
mov dword [rax], r12d
mov dword [rbx + 0x908], r12d
mov byte [0x1800d3812], r12b
cmp byte [0x1800d3804], r12b
je 0x1800577bf
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800577b5
mov dword [rbx + 0xc5c], 0x43480000
jmp 0x1800577bf
mov dword [rbx + 0xc5c], 0x41700000
cmp byte [0x1800d3805], r12b
je 0x1800577e4
mov rax, qword [rbx + 0x938]
movd xmm0, dword [0x1800d3808]
cvtdq2ps xmm0, xmm0
test rax, rax
je 0x1800577e4
movss dword [rax + 0x6c], xmm0
cmp byte [0x1800d3811], r12b
je 0x180057809
mov rax, qword [rbx + 0x938]
movd xmm0, dword [0x1800d3814]
cvtdq2ps xmm0, xmm0
test rax, rax
je 0x180057809
movss dword [rax + 0x4c], xmm0
cmp byte [0x1800d3812], r12b
je 0x18005781f
mov dword [rbx + 0x908], edi
mov byte [0x1800d3812], r12b
cmp byte [0x1800d3818], r12b
je 0x180057fee
mov r13d, r12d
mov rsi, r12
mov qword [rsp + 0x58], r12
movdqa xmm15, xmmword [0x18005d830]
movdqa xmm6, xmmword [0x18005d930]
movss xmm14, dword [0x18005d794]
movss xmm9, dword [0x180061690]
xorps xmm11, xmm11
movss xmm13, dword [0x18005d780]
movss xmm12, dword [0x18005bae8]
movsxd rax, r13d
cmp rax, qword [r15 + 0x188]
jae 0x180057fee
mov rbx, qword [r15 + 0x180]
test rbx, rbx
je 0x180057fee
mov rbx, qword [rsi + rbx]
test rbx, rbx
je 0x180057fee
movsd xmm0, qword [rbx + 0x90]
movsd qword [rbp - 0x20], xmm0
mov eax, dword [rbx + 0x98]
mov dword [rbp - 0x18], eax
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x50]
call fcn.180052fe8
mov rcx, qword [rsp + 0x50]
call fcn.180048e9c
test al, al
je 0x180057fcf
movsd xmm0, qword [r14 + 0x90]
movsd qword [rbp - 0x10], xmm0
movsd xmm0, qword [rbx + 0x90]
movsd qword [rbp - 4], xmm0
movss xmm2, dword [r14 + 0x98]
subss xmm2, dword [rbx + 0x98]
movss xmm1, dword [rbp - 0xc]
subss xmm1, dword [rbp]
movss xmm0, dword [rbp - 0x10]
subss xmm0, dword [rbp - 4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
mulss xmm2, xmm2
addss xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cvttss2si r12d, xmm0
cmp r12d, dword [0x1800d2310]
jge 0x180057fcc
comiss xmm14, dword [r14 + 0x280]
jae 0x180057fcc
mov rax, qword [rbx + 0x20]
lea rcx, [rax + 0x298]
neg rax
sbb rdi, rdi
and rdi, rcx
movss xmm8, dword [rsp + 0x54]
movss xmm7, dword [rsp + 0x50]
cmp byte [0x1800d3819], 0
je 0x180057a2b
lea rcx, [0x1800d2428]
call fcn.18000a918
mov esi, eax
movss dword [rsp + 0x78], xmm7
movss dword [rsp + 0x7c], xmm8
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], al
jne 0x1800579ad
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.18000155c
nop
call fcn.18000d308
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], esi
movaps xmm3, xmm9
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180048928
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180057a26
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057a21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057fe7
call fcn.180058288
mov rsi, qword [rsp + 0x58]
cmp byte [0x1800d381a], 0
je 0x180057d29
movss xmm0, dword [rbx + 0x280]
cvttss2si edi, xmm0
cmp byte [0x1800d3819], 0
jne 0x180057b40
ucomiss xmm0, xmm11
jp 0x180057aeb
jne 0x180057aeb
lea rcx, [0x1800d2438]
call fcn.18000a918
mov ebx, eax
movaps xmm0, xmm8
addss xmm0, xmm10
movss dword [rbp - 0x80], xmm7
movss dword [rbp - 0x7c], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
mov r8d, 8
lea rdx, str._BROKEN_
lea rcx, [rsp + 0x30]
call fcn.18000155c
nop
call fcn.18000d308
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
movaps xmm3, xmm9
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180048928
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180057d29
mov rcx, qword [rsp + 0x30]
jmp 0x180057cfc
lea rcx, [0x1800d2448]
call fcn.18000a918
mov ebx, eax
movaps xmm0, xmm8
addss xmm0, xmm10
movss dword [rbp - 0x78], xmm7
movss dword [rbp - 0x74], xmm0
mov edx, edi
lea rcx, [rbp + 0x28]
call fcn.18004cda0
nop
call fcn.18000d308
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
movaps xmm3, xmm9
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.180048928
nop
jmp 0x180057cee
cmp byte [0x1800d381b], 0
je 0x180057c20
ucomiss xmm0, xmm11
jp 0x180057bcb
jne 0x180057bcb
lea rcx, [0x1800d2438]
call fcn.18000a918
mov ebx, eax
movaps xmm0, xmm8
addss xmm0, xmm13
movss dword [rbp - 0x70], xmm7
movss dword [rbp - 0x6c], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
mov r8d, 8
lea rdx, str._BROKEN_
lea rcx, [rsp + 0x30]
call fcn.18000155c
nop
call fcn.18000d308
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
movaps xmm3, xmm9
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180048928
nop
jmp 0x180057ad2
lea rcx, [0x1800d2448]
call fcn.18000a918
mov ebx, eax
movaps xmm0, xmm8
addss xmm0, xmm13
movss dword [rbp - 0x68], xmm7
movss dword [rbp - 0x64], xmm0
mov edx, edi
lea rcx, [rbp + 0x28]
call fcn.18004cda0
nop
call fcn.18000d308
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
movaps xmm3, xmm9
lea r8, [rbp - 0x68]
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.180048928
nop
jmp 0x180057cee
ucomiss xmm0, xmm11
jp 0x180057c9e
jne 0x180057c9e
lea rcx, [0x1800d2438]
call fcn.18000a918
mov ebx, eax
movaps xmm0, xmm8
addss xmm0, xmm10
movss dword [rbp - 0x60], xmm7
movss dword [rbp - 0x5c], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
mov r8d, 8
lea rdx, str._BROKEN_
lea rcx, [rsp + 0x30]
call fcn.18000155c
nop
call fcn.18000d308
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
movaps xmm3, xmm9
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.180048928
nop
jmp 0x180057ad2
lea rcx, [0x1800d2448]
call fcn.18000a918
mov ebx, eax
movaps xmm0, xmm8
addss xmm0, xmm10
movss dword [rbp - 0x58], xmm7
movss dword [rbp - 0x54], xmm0
mov edx, edi
lea rcx, [rbp + 0x28]
call fcn.18004cda0
nop
call fcn.18000d308
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
movaps xmm3, xmm9
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.180048928
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x180057d29
mov rcx, qword [rbp + 0x28]
inc rdx
cmp rdx, 0x1000
mov rax, rcx
jb 0x180057d24
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057fe7
call fcn.180058288
cmp byte [0x1800d381b], 0
je 0x180057ea9
mov edx, r12d
lea rcx, [rsp + 0x30]
call fcn.18004cda0
nop
mov r8d, 1
lea rdx, [0x1800c9d10]
lea rcx, [rsp + 0x30]
call fcn.18000285c
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x38], xmm1
xor r12d, r12d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180057db9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057db4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057fe0
call fcn.180058288
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], r12b
lea rcx, [0x1800d2468]
cmp byte [0x1800d3819], r12b
jne 0x180057e01
call fcn.18000a918
mov ebx, eax
movaps xmm0, xmm8
addss xmm0, xmm11
movss dword [rbp - 0x50], xmm7
movss dword [rbp - 0x4c], xmm0
call fcn.18000d308
lea r8, [rbp - 0x50]
jmp 0x180057e52
cmp byte [0x1800d381a], r12b
je 0x180057e2f
call fcn.18000a918
mov ebx, eax
movaps xmm0, xmm8
addss xmm0, xmm10
movss dword [rbp - 0x48], xmm7
movss dword [rbp - 0x44], xmm0
call fcn.18000d308
lea r8, [rbp - 0x48]
jmp 0x180057e52
call fcn.18000a918
mov ebx, eax
movaps xmm0, xmm8
addss xmm0, xmm10
movss dword [rbp - 0x40], xmm7
movss dword [rbp - 0x3c], xmm0
call fcn.18000d308
lea r8, [rbp - 0x40]
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
movaps xmm3, xmm9
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.180048928
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x180057eac
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057ea2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057fe7
call fcn.180058288
jmp 0x180057eac
xor r12d, r12d
cmp byte [0x1800d381d], r12b
je 0x180057f61
call fcn.18000cf50
mov rbx, rax
movups xmmword [rbp + 8], xmm6
lea rcx, [rbp + 8]
call fcn.18000a918
movss dword [rbp - 0x38], xmm7
movaps xmm6, xmm8
addss xmm6, dword [0x1800ca574]
movss dword [rbp - 0x34], xmm6
movss xmm0, dword [0x18005baf4]
movss dword [rsp + 0x28], xmm0
mov edi, 0x64
mov dword [rsp + 0x20], edi
mov r9d, eax
movss xmm2, dword [0x18005baf0]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.18001dd44
call fcn.18000cf50
mov rbx, rax
lea rcx, [0x1800d2458]
call fcn.18000a918
movss dword [rbp - 0x30], xmm7
movss dword [rbp - 0x2c], xmm6
movss xmm0, dword [0x1800ca558]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], edi
mov r9d, eax
movss xmm2, dword [0x18005baf0]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.18001dd44
movdqa xmm6, xmmword [0x18005d930]
cmp byte [0x1800d381c], r12b
je 0x180057fcf
call fcn.18000cf50
mov rbx, rax
movups xmmword [rbp + 0x18], xmm15
lea rcx, [rbp + 0x18]
call fcn.18000a918
movss dword [rsp + 0x60], xmm7
movss dword [rsp + 0x64], xmm8
movss xmm0, dword [0x1800d2fd8]
mulss xmm0, xmm12
movss dword [rsp + 0x70], xmm0
movss xmm0, dword [0x1800d2fdc]
movss dword [rsp + 0x74], xmm0
movss dword [rsp + 0x20], xmm12
mov r9d, eax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.18001f158
jmp 0x180057fcf
xor r12d, r12d
inc r13d
add rsi, 0x10
mov qword [rsp + 0x58], rsi
jmp 0x180057870
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.180058830
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret