Function at 0x18006d880
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
push r14
lea rbp, [r11 - 0x1f8]
sub rsp, 0x2d8
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
movaps xmmword [r11 - 0x58], xmm8
movaps xmmword [r11 - 0x68], xmm9
mov rax, qword [0x1803d7040]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov qword [r11 + 0x18], r12
mov ebx, 0xffffffff
mov qword [r11 + 0x20], r13
xor r12d, r12d
movaps xmmword [r11 - 0x78], xmm10
mov r14, rcx
mov qword [rcx], r12
movzx r13d, dl
mov dword [rcx + 8], r12d
lea ecx, [rbx + 2]
movaps xmmword [r11 - 0x98], xmm12
movaps xmmword [r11 - 0xa8], xmm13
mov dword [rsp + 0x40], ebx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
movd xmm13, eax
cvtdq2ps xmm13, xmm13
mulss xmm13, dword [0x1803cb4d4]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x1803da388]
xorps xmm9, xmm9
sub rcx, qword [0x1803da380]
movss xmm10, dword [0x1803cb770]
movd xmm12, eax
movabs rax, 0x6c80d901b2036407
imul rcx
cvtdq2ps xmm12, xmm12
mov qword [rsp + 0x20], r12
sar rdx, 7
mulss xmm12, dword [0x1803cb4d4]
mov rax, rdx
shr rax, 0x3f
movss dword [rsp + 0x28], xmm9
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], r12d
add rdx, rax
je 0x18006e753
movsd xmm8, qword [rsp + 0x30]
mov edi, r12d
mov qword [rsp + 0x308], rsi
mov esi, r12d
mov qword [rsp + 0x2d0], r15
mov r15d, r12d
movaps xmmword [rsp + 0x270], xmm11
movabs r12, 0x6c80d901b2036407
movss xmm11, dword [0x1803cb5e0]
nop word [rax + rax]
cmp byte [0x1803d96ae], 0
mov rcx, qword [0x1803da380]
jne 0x18006dcb3
cmp byte [rdi + rcx + 0xd0], 0
je 0x18006def2
cmp byte [rdi + rcx + 0xd2], 0
je 0x18006def2
cmp byte [rdi + rcx + 0xd1], 0
je 0x18006def2
mov eax, dword [0x1803d7194]
cmp eax, 1
jne 0x18006da1b
movsd xmm0, qword [rdi + rcx + 0xe6]
mov eax, dword [rdi + rcx + 0xee]
jmp 0x18006da47
cmp eax, 2
jne 0x18006da32
movsd xmm0, qword [rdi + rcx + 0x116]
mov eax, dword [rdi + rcx + 0x11e]
jmp 0x18006da47
cmp eax, 3
jne 0x18006da66
movsd xmm0, qword [rdi + rcx + 0x122]
mov eax, dword [rdi + rcx + 0x12a]
movsd qword [rsp + 0x20], xmm0
movaps xmm8, xmm0
mov dword [rsp + 0x28], eax
mov esi, eax
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
movd xmm9, eax
movsd xmm6, qword [rdi + rcx + 0xf2]
mov ebx, dword [rdi + rcx + 0xfa]
test r13b, r13b
je 0x18006dad3
lea rdx, [rbp + 0x24]
call fcn.180060dd0
lea rdx, [rbp + 0x30]
call fcn.180060dd0
lea rdx, [rbp + 0x3c]
call fcn.180060dd0
lea rdx, [rbp - 0x30]
movsd qword [rbp - 0x30], xmm6
lea rcx, [rsp + 0x20]
mov dword [rbp - 0x28], ebx
call fcn.18006ac40
movsd xmm0, qword [rsp + 0x20]
lea r8, [rbp - 0x20]
mov ebx, dword [rsp + 0x28]
lea rdx, [rsp + 0x70]
movsd qword [rbp - 0x20], xmm0
mov dword [rbp - 0x18], ebx
call fcn.180060fb0
movd xmm9, ebx
jmp 0x18006dae9
lea r8, [rbp - 0x10]
movsd qword [rbp - 0x10], xmm8
lea rdx, [rbp + 0x1c]
mov dword [rbp - 8], esi
call fcn.180060fb0
movss xmm0, dword [rax]
movaps xmm1, xmm11
movss xmm6, dword [rax + 4]
subss xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm13
movaps xmm7, xmm0
movaps xmm1, xmm11
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x18006db29
xorps xmm1, xmm1
sqrtss xmm1, xmm7
jmp 0x18006db34
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm1, xmm0
movzx eax, byte [0x1803d9bc2]
test al, al
je 0x18006dbb7
lea rdx, [rbp + 0x48]
call fcn.180060dd0
lea rdx, [rbp + 0x54]
movss xmm7, dword [rax + 8]
call fcn.180060dd0
lea rdx, [rbp + 0x60]
movss xmm6, dword [rax + 4]
call fcn.180060dd0
movss xmm0, dword [rsp + 0x24]
movaps xmm1, xmm9
movss xmm2, dword [rsp + 0x20]
subss xmm0, xmm6
subss xmm1, xmm7
subss xmm2, dword [rax]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
addss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x18006dba5
xorps xmm1, xmm1
sqrtss xmm1, xmm2
jmp 0x18006dbb0
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm1, xmm0
movzx eax, byte [0x1803d9bc2]
comiss xmm10, xmm1
jbe 0x18006dbff
movss xmm0, dword [0x1803d7144]
comiss xmm0, xmm1
jb 0x18006dbff
test al, al
jne 0x18006dc07
test r13b, r13b
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov ebx, r15d
cmove rax, rcx
mov dword [rsp + 0x40], ebx
movaps xmm10, xmm1
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [r14], xmm0
mov dword [r14 + 8], eax
jmp 0x18006def2
test al, al
je 0x18006deee
lea rdx, [rbp + 0x6c]
call fcn.180060dd0
lea rdx, [rbp + 0x78]
movss xmm7, dword [rax + 8]
call fcn.180060dd0
lea rdx, [rbp + 0x84]
movss xmm6, dword [rax + 4]
call fcn.180060dd0
movss xmm0, dword [rsp + 0x24]
movaps xmm1, xmm9
movss xmm2, dword [rsp + 0x20]
subss xmm0, xmm6
subss xmm1, xmm7
subss xmm2, dword [rax]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
addss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x18006dc70
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x18006dc78
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm10, xmm0
jbe 0x18006deee
test r13b, r13b
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov ebx, r15d
cmove rax, rcx
mov dword [rsp + 0x40], ebx
movaps xmm10, xmm0
movsd xmm1, qword [rax]
mov eax, dword [rax + 8]
movsd qword [r14], xmm1
mov dword [r14 + 8], eax
jmp 0x18006def2
cmp byte [rdi + rcx + 0xd0], 0
je 0x18006def2
cmp byte [rdi + rcx + 0xd2], 0
jne 0x18006def2
cmp byte [rdi + rcx + 0xd1], 0
je 0x18006def2
mov rax, qword [0x1803d8dc0]
cmp qword [rdi + rcx], rax
je 0x18006def2
mov eax, dword [0x1803d7190]
cmp eax, 1
jne 0x18006dd0b
movsd xmm0, qword [rdi + rcx + 0xe6]
mov eax, dword [rdi + rcx + 0xee]
jmp 0x18006dd37
cmp eax, 2
jne 0x18006dd22
movsd xmm0, qword [rdi + rcx + 0x116]
mov eax, dword [rdi + rcx + 0x11e]
jmp 0x18006dd37
cmp eax, 3
jne 0x18006dd56
movsd xmm0, qword [rdi + rcx + 0x122]
mov eax, dword [rdi + rcx + 0x12a]
movsd qword [rsp + 0x20], xmm0
movaps xmm8, xmm0
mov dword [rsp + 0x28], eax
mov esi, eax
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
movd xmm9, eax
movsd xmm6, qword [rdi + rcx + 0xf2]
mov ebx, dword [rdi + rcx + 0xfa]
test r13b, r13b
je 0x18006ddc9
lea rdx, [rbp + 0x90]
call fcn.180060dd0
lea rdx, [rbp + 0x9c]
call fcn.180060dd0
lea rdx, [rbp + 0x10]
call fcn.180060dd0
lea rdx, [rbp]
movsd qword [rbp], xmm6
lea rcx, [rsp + 0x20]
mov dword [rbp + 8], ebx
call fcn.18006ac40
movsd xmm0, qword [rsp + 0x20]
lea r8, [rbp - 0x70]
mov ebx, dword [rsp + 0x28]
lea rdx, [rsp + 0x78]
movsd qword [rbp - 0x70], xmm0
mov dword [rbp - 0x68], ebx
call fcn.180060fb0
movd xmm9, ebx
jmp 0x18006dde3
lea r8, [rsp + 0x50]
movsd qword [rsp + 0x50], xmm8
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x58], esi
call fcn.180060fb0
movss xmm0, dword [rax]
movaps xmm1, xmm11
movss xmm6, dword [rax + 4]
subss xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm13
movaps xmm7, xmm0
movaps xmm1, xmm11
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x18006de23
xorps xmm2, xmm2
sqrtss xmm2, xmm7
jmp 0x18006de2e
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm2, xmm0
comiss xmm10, xmm2
jbe 0x18006de78
movss xmm1, dword [0x1803d7144]
comiss xmm1, xmm2
jb 0x18006de78
cmp byte [0x1803d9bc2], 0
jne 0x18006de81
test r13b, r13b
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov ebx, r15d
cmove rax, rcx
mov dword [rsp + 0x40], ebx
movaps xmm10, xmm2
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [r14], xmm0
mov dword [r14 + 8], eax
jmp 0x18006def2
cmp byte [0x1803d9bc2], 0
je 0x18006deee
lea rdx, [rbp - 0x48]
call fcn.180060dd0
lea rdx, [rbp - 0x3c]
movss xmm7, dword [rax + 8]
call fcn.180060dd0
lea rdx, [rbp - 0x60]
movss xmm6, dword [rax + 4]
call fcn.180060dd0
movss xmm0, dword [rsp + 0x24]
movaps xmm1, xmm9
movss xmm2, dword [rsp + 0x20]
subss xmm0, xmm6
subss xmm1, xmm7
subss xmm2, dword [rax]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
addss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x18006dc70
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x18006dc78
mov ebx, dword [rsp + 0x40]
mov rcx, qword [0x1803da388]
inc r15d
mov r8, qword [0x1803da380]
mov rax, r12
sub rcx, r8
add rdi, 0x12e
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r15d
cmp rax, rdx
jb 0x18006d9c0
mov r15, qword [rsp + 0x2d0]
mov r12d, 0
cmp ebx, 0xffffffff
je 0x18006e742
movsxd rax, ebx
imul rsi, rax, 0x12e
cmp byte [0x1803d9bda], r12b
mov dword [0x1803d71e4], ebx
lea rcx, [rsi + r8]
movss xmm0, dword [rcx + 0xaa]
movss dword [0x1803d9bd4], xmm0
je 0x18006e673
mov rax, qword [rcx + 0x70]
cmp rax, 0x16dd
je 0x18006e673
cmp rax, 0x16ee
je 0x18006e673
movabs rdx, 0xfd1ffffffffffcc9
add rdx, rax
cmp rdx, 0x2c
ja 0x18006dfb8
movabs r8, 0x100800040025
bt r8, rdx
jb 0x18006e140
movabs rdx, 0x2e000000000016c
cmp rax, rdx
je 0x18006e140
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x118], xmm0
mov qword [rbp + 0x138], rax
movups xmmword [rbp + 0x128], xmm0
nop word [rax + rax]
mov rbx, qword [0x1803da380]
lea rdx, [rbp + 0xb0]
add rbx, rsi
mov rcx, rbx
call fcn.1800657f0
lea rdx, [rbp - 0x60]
mov rcx, rbx
mov r8d, dword [rax + r12]
call fcn.180063f10
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rsp + 0x50], xmm0
mov dword [rsp + 0x58], eax
call fcn.180060fb0
movaps xmm1, xmm11
movss xmm0, dword [rax]
movss xmm6, dword [rax + 4]
subss xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm13
movaps xmm7, xmm0
movaps xmm1, xmm11
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x18006e079
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x18006e081
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss dword [rbp + r12 + 0x118], xmm0
add r12, 4
cmp r12, 0x28
jl 0x18006dff0
lea rdi, [rbp + 0x118]
lea rax, [rbp + 0x11c]
nop word [rax + rax]
movss xmm0, dword [rdi]
lea rcx, [rbp + 0x140]
comiss xmm0, dword [rax]
cmova rdi, rax
add rax, 4
cmp rax, rcx
jne 0x18006e0b0
mov rbx, qword [0x1803da380]
lea rdx, [rbp + 0xb0]
add rbx, rsi
mov rcx, rbx
call fcn.1800657f0
lea rcx, [rbp + 0x118]
sub rdi, rcx
lea rdx, [rbp - 0x60]
sar rdi, 2
mov rcx, rbx
movsxd r8, edi
mov r8d, dword [rax + r8*4]
call fcn.180063f10
movsd xmm1, qword [rax]
mov ecx, dword [rax + 8]
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
movsd qword [r14], xmm1
movss dword [rsp + 0x24], xmm0
movss dword [rsp + 0x20], xmm1
movsd qword [rsp + 0x30], xmm1
mov dword [rsp + 0x28], ecx
mov dword [r14 + 8], ecx
test r13b, r13b
je 0x18006e66f
jmp 0x18006e611
movdqa xmm0, xmmword [0x1803cb8d0]
lea rdx, [rsp + 0x78]
mov r8d, 0x11
mov dword [rbp - 0x50], 0x36
movdqu xmmword [rbp - 0x60], xmm0
call fcn.180063f10
mov rcx, qword [0x1803da380]
movsd xmm1, qword [rax]
movss xmm0, dword [rsi + rcx + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x60], xmm1
jp 0x18006e1b4
jne 0x18006e1b4
movss xmm0, dword [rsi + rcx + 0x10e]
ucomiss xmm0, dword [rsp + 0x64]
jp 0x18006e1b4
jne 0x18006e1b4
movss xmm1, dword [rsi + rcx + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x18006e1b4
jne 0x18006e1b4
mov dword [rbp + 0x100], 0x47c35000
jmp 0x18006e22b
movsd xmm0, qword [rax]
lea r8, [rsp + 0x30]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x70]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.180060fb0
movaps xmm1, xmm11
movss xmm0, dword [rax]
movss xmm6, dword [rax + 4]
subss xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm13
movaps xmm7, xmm0
movaps xmm1, xmm11
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x18006e214
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x18006e21c
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x1803da380]
movss dword [rbp + 0x100], xmm0
add rcx, rsi
lea rdx, [rsp + 0x78]
mov r8d, 0x10
call fcn.180063f10
mov rcx, qword [0x1803da380]
movsd xmm1, qword [rax]
movss xmm0, dword [rsi + rcx + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x60], xmm1
jp 0x18006e28e
jne 0x18006e28e
movss xmm0, dword [rsi + rcx + 0x10e]
ucomiss xmm0, dword [rsp + 0x64]
jp 0x18006e28e
jne 0x18006e28e
movss xmm1, dword [rsi + rcx + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x18006e28e
jne 0x18006e28e
mov dword [rbp + 0x104], 0x47c35000
jmp 0x18006e305
movsd xmm0, qword [rax]
lea r8, [rsp + 0x30]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x70]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.180060fb0
movaps xmm1, xmm11
movss xmm0, dword [rax]
movss xmm6, dword [rax + 4]
subss xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm13
movaps xmm7, xmm0
movaps xmm1, xmm11
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x18006e2ee
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x18006e2f6
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x1803da380]
movss dword [rbp + 0x104], xmm0
add rcx, rsi
lea rdx, [rsp + 0x78]
mov r8d, 3
call fcn.180063f10
mov rcx, qword [0x1803da380]
movsd xmm1, qword [rax]
movss xmm0, dword [rsi + rcx + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x60], xmm1
jp 0x18006e368
jne 0x18006e368
movss xmm0, dword [rsi + rcx + 0x10e]
ucomiss xmm0, dword [rsp + 0x64]
jp 0x18006e368
jne 0x18006e368
movss xmm1, dword [rsi + rcx + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x18006e368
jne 0x18006e368
mov dword [rbp + 0x108], 0x47c35000
jmp 0x18006e3df
movsd xmm0, qword [rax]
lea r8, [rsp + 0x30]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x70]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.180060fb0
movaps xmm1, xmm11
movss xmm0, dword [rax]
movss xmm6, dword [rax + 4]
subss xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm13
movaps xmm7, xmm0
movaps xmm1, xmm11
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x18006e3c8
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x18006e3d0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x1803da380]
movss dword [rbp + 0x108], xmm0
add rcx, rsi
lea rdx, [rsp + 0x78]
mov r8d, 0xd
call fcn.180063f10
mov rcx, qword [0x1803da380]
movsd xmm1, qword [rax]
movss xmm0, dword [rsi + rcx + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x60], xmm1
jp 0x18006e442
jne 0x18006e442
movss xmm0, dword [rsi + rcx + 0x10e]
ucomiss xmm0, dword [rsp + 0x64]
jp 0x18006e442
jne 0x18006e442
movss xmm1, dword [rsi + rcx + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x18006e442
jne 0x18006e442
mov dword [rbp + 0x10c], 0x47c35000
jmp 0x18006e4b9
movsd xmm0, qword [rax]
lea r8, [rsp + 0x30]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x70]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.180060fb0
movaps xmm1, xmm11
movss xmm0, dword [rax]
movss xmm6, dword [rax + 4]
subss xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm13
movaps xmm7, xmm0
movaps xmm1, xmm11
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x18006e4a2
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x18006e4aa
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x1803da380]
movss dword [rbp + 0x10c], xmm0
add rcx, rsi
lea rdx, [rsp + 0x78]
mov r8d, 0x36
call fcn.180063f10
mov rdx, qword [0x1803da380]
movsd xmm1, qword [rax]
movss xmm0, dword [rsi + rdx + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x60], xmm1
jp 0x18006e51c
jne 0x18006e51c
movss xmm0, dword [rsi + rdx + 0x10e]
ucomiss xmm0, dword [rsp + 0x64]
jp 0x18006e51c
jne 0x18006e51c
movss xmm1, dword [rsi + rdx + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x18006e51c
jne 0x18006e51c
mov dword [rbp + 0x110], 0x47c35000
jmp 0x18006e593
movsd xmm0, qword [rax]
lea r8, [rsp + 0x30]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x70]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.180060fb0
movaps xmm1, xmm11
movss xmm0, dword [rax]
movss xmm6, dword [rax + 4]
subss xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm13
movaps xmm7, xmm0
movaps xmm1, xmm11
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x18006e57c
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x18006e584
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rdx, qword [0x1803da380]
movss dword [rbp + 0x110], xmm0
lea rax, [rbp + 0x100]
lea rcx, [rbp + 0x104]
movss xmm0, dword [rax]
lea r8, [rbp + 0x114]
comiss xmm0, dword [rcx]
cmova rax, rcx
add rcx, 4
cmp rcx, r8
jne 0x18006e5a1
lea rcx, [rsi + rdx]
lea rdx, [rbp + 0x100]
sub rax, rdx
lea rdx, [rbp - 0x60]
sar rax, 2
movsxd r8, eax
mov r8d, dword [rbp + r8*4 - 0x60]
call fcn.180063f10
movsd xmm1, qword [rax]
mov ecx, dword [rax + 8]
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
movsd qword [r14], xmm1
movss dword [rsp + 0x24], xmm0
movss dword [rsp + 0x20], xmm1
movsd qword [rsp + 0x30], xmm1
mov dword [rsp + 0x28], ecx
mov dword [r14 + 8], ecx
test r13b, r13b
je 0x18006e673
mov rax, qword [0x1803da380]
lea rdx, [rbp - 0x60]
movsd xmm6, qword [rsi + rax + 0xf2]
mov ebx, dword [rsi + rax + 0xfa]
call fcn.180060dd0
lea rdx, [rbp - 0x3c]
call fcn.180060dd0
lea rdx, [rbp - 0x48]
call fcn.180060dd0
lea rdx, [rsp + 0x50]
movsd qword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x58], ebx
call fcn.18006a890
movsd xmm0, qword [rsp + 0x20]
mov eax, dword [rsp + 0x28]
movsd qword [r14], xmm0
mov dword [r14 + 8], eax
mov ebx, dword [rsp + 0x40]
mov ecx, dword [0x1803d71d0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18006e742
cmp byte [0x1803d968d], 0
je 0x18006e742
movss xmm1, dword [0x1803cb72c]
movss xmm0, dword [0x1803d720c]
mov rcx, qword [0x1803da378]
mulss xmm0, xmm1
cvttss2si r8, xmm0
movss xmm0, dword [0x1803d7208]
mulss xmm0, xmm1
shl r8d, 8
cvttss2si rax, xmm0
movss xmm0, dword [0x1803d7204]
or r8d, eax
mulss xmm0, xmm1
shl r8d, 8
cvttss2si rax, xmm0
movss xmm0, dword [0x1803d7200]
or r8d, eax
mulss xmm0, xmm1
shl r8d, 8
cvttss2si rax, xmm0
or r8d, eax
mov rax, qword [0x1803da380]
mov dword [0x1803d7168], r8d
mov rdx, qword [rsi + rax + 0x38]
add rdx, 0x144
call fcn.180097e70
mov rax, qword [0x1803da380]
mov r8d, dword [0x1803d7168]
mov rcx, qword [0x1803da378]
mov rdx, qword [rsi + rax + 0x38]
add rdx, 0x130
call fcn.180097e70
mov rsi, qword [rsp + 0x308]
movaps xmm11, xmmword [rsp + 0x270]
cmp byte [0x1803d9c1a], 0
movaps xmm13, xmmword [rsp + 0x250]
movaps xmm12, xmmword [rsp + 0x260]
movaps xmm10, xmmword [rsp + 0x280]
mov r13, qword [rsp + 0x318]
mov r12, qword [rsp + 0x310]
je 0x18006e83c
movsxd rax, ebx
lea rdx, [rbp - 0x60]
imul rcx, rax, 0x12e
mov rax, qword [0x1803da380]
movsd xmm9, qword [rcx + rax + 0xf2]
mov edi, dword [rcx + rax + 0xfa]
mov rcx, qword [0x1803da378]
mov r8, qword [rcx + 0x39]
add r8, 0x1170
call fcn.180098640
movsd xmm7, qword [r14]
lea rdx, [rbp - 0x3c]
mov ebx, dword [r14 + 8]
call fcn.180060dd0
lea rdx, [rbp - 0x48]
movss xmm8, dword [rax + 8]
call fcn.180060dd0
lea rdx, [rbp + 0x10]
movss xmm6, dword [rax + 4]
call fcn.180060dd0
lea r9, [rsp + 0x50]
movss dword [rsp + 0x34], xmm6
lea rdx, [rbp - 0x70]
movss dword [rsp + 0x38], xmm8
lea rcx, [rsp + 0x30]
movsd qword [rsp + 0x50], xmm9
movss xmm0, dword [rax]
movss dword [rsp + 0x30], xmm0
mov dword [rsp + 0x58], edi
movsd qword [rbp - 0x70], xmm7
mov dword [rbp - 0x68], ebx
call fcn.180069870
movss dword [0x1803d9c08], xmm0
mov rax, r14
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.18009bf50
lea r11, [rsp + 0x2d8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
mov rsp, r11
pop r14
pop rdi
pop rbx
pop rbp
ret