Function at 0x14005b950
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rbx
push r12
push r13
push r14
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
mov rax, qword [0x1403b1040]
xor rax, rsp
mov qword [rbp + 0x138], rax
mov ebx, 0xffffffff
xor r12d, r12d
mov r14, rcx
mov qword [rcx], r12
mov dword [rcx + 8], r12d
movzx r13d, dl
mov dword [rsp + 0x40], ebx
lea ecx, [rbx + 2]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
movd xmm13, eax
cvtdq2ps xmm13, xmm13
mulss xmm13, dword [0x1403a7904]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x1403b3ac0]
xorps xmm10, xmm10
sub rcx, qword [0x1403b3ab8]
movss xmm9, dword [0x1403a7ba8]
movd xmm12, eax
movabs rax, 0x6c80d901b2036407
imul rcx
cvtdq2ps xmm12, xmm12
mov qword [rsp + 0x20], r12
sar rdx, 7
mulss xmm12, dword [0x1403a7904]
mov rax, rdx
shr rax, 0x3f
movss dword [rsp + 0x28], xmm10
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], r12d
add rdx, rax
je 0x14005c840
mov qword [rsp + 0x2f8], rsi
mov esi, r12d
mov qword [rsp + 0x300], rdi
mov edi, r12d
mov qword [rsp + 0x308], r15
mov r15d, r12d
movaps xmmword [rsp + 0x290], xmm8
movabs r12, 0x6c80d901b2036407
movsd xmm8, qword [rsp + 0x30]
movaps xmmword [rsp + 0x260], xmm11
movss xmm11, dword [0x1403a7a08]
movaps xmmword [rsp + 0x2a0], xmm7
nop
cmp byte [0x1403b37ad], 0
mov rcx, qword [0x1403b3ab8]
jne 0x14005bd7f
cmp byte [rdi + rcx + 0xd0], 0
je 0x14005bfbb
cmp byte [rdi + rcx + 0xd2], 0
je 0x14005bfbb
cmp byte [rdi + rcx + 0xd1], 0
je 0x14005bfbb
mov eax, dword [0x1403b1148]
cmp eax, 1
jne 0x14005baeb
movsd xmm0, qword [rdi + rcx + 0xe6]
mov eax, dword [rdi + rcx + 0xee]
jmp 0x14005bb17
cmp eax, 2
jne 0x14005bb02
movsd xmm0, qword [rdi + rcx + 0x116]
mov eax, dword [rdi + rcx + 0x11e]
jmp 0x14005bb17
cmp eax, 3
jne 0x14005bb36
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 xmm10, eax
movsd xmm6, qword [rdi + rcx + 0xf2]
mov ebx, dword [rdi + rcx + 0xfa]
test r13b, r13b
je 0x14005bba2
lea rdx, [rbp - 8]
call fcn.14004b7f0
lea rdx, [rbp + 4]
call fcn.14004b7f0
lea rdx, [rbp + 0x10]
call fcn.14004b7f0
lea rdx, [rbp - 0x80]
movsd qword [rbp - 0x80], xmm6
lea rcx, [rsp + 0x20]
mov dword [rbp - 0x78], ebx
call fcn.140059cd0
movsd xmm0, qword [rsp + 0x20]
lea r8, [rbp - 0x70]
mov ebx, dword [rsp + 0x28]
lea rdx, [rbp - 0x18]
movsd qword [rbp - 0x70], xmm0
mov dword [rbp - 0x68], ebx
call fcn.14004b9d0
movd xmm10, ebx
jmp 0x14005bbb8
lea r8, [rbp - 0x60]
movsd qword [rbp - 0x60], xmm8
lea rdx, [rbp - 0x10]
mov dword [rbp - 0x58], esi
call fcn.14004b9d0
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 0x14005bbf8
xorps xmm1, xmm1
sqrtss xmm1, xmm7
jmp 0x14005bc03
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm1, xmm0
movzx eax, byte [0x1403b37ee]
test al, al
je 0x14005bc86
lea rdx, [rbp + 0x1c]
call fcn.14004b7f0
lea rdx, [rbp + 0x28]
movss xmm7, dword [rax + 8]
call fcn.14004b7f0
lea rdx, [rbp + 0x34]
movss xmm6, dword [rax + 4]
call fcn.14004b7f0
movss xmm0, dword [rsp + 0x24]
movaps xmm1, xmm10
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 0x14005bc74
xorps xmm1, xmm1
sqrtss xmm1, xmm2
jmp 0x14005bc7f
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm1, xmm0
movzx eax, byte [0x1403b37ee]
comiss xmm9, xmm1
jbe 0x14005bcce
movss xmm0, dword [0x1403b1114]
comiss xmm0, xmm1
jb 0x14005bcce
test al, al
jne 0x14005bcd6
test r13b, r13b
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov ebx, r15d
cmove rax, rcx
mov dword [rsp + 0x40], ebx
movaps xmm9, xmm1
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [r14], xmm0
mov dword [r14 + 8], eax
jmp 0x14005bfbb
test al, al
je 0x14005bfb7
lea rdx, [rbp + 0x40]
call fcn.14004b7f0
lea rdx, [rbp + 0x4c]
movss xmm7, dword [rax + 8]
call fcn.14004b7f0
lea rdx, [rbp + 0x58]
movss xmm6, dword [rax + 4]
call fcn.14004b7f0
movss xmm0, dword [rsp + 0x24]
movaps xmm1, xmm10
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 0x14005bd3c
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x14005bd44
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm9, xmm0
jbe 0x14005bfb7
test r13b, r13b
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov ebx, r15d
cmove rax, rcx
mov dword [rsp + 0x40], ebx
movaps xmm9, xmm0
movsd xmm1, qword [rax]
mov eax, dword [rax + 8]
movsd qword [r14], xmm1
mov dword [r14 + 8], eax
jmp 0x14005bfbb
cmp byte [rdi + rcx + 0xd0], 0
je 0x14005bfbb
cmp byte [rdi + rcx + 0xd2], 0
jne 0x14005bfbb
cmp byte [rdi + rcx + 0xd1], 0
je 0x14005bfbb
mov rax, qword [0x1403b2f30]
cmp qword [rdi + rcx], rax
je 0x14005bfbb
mov eax, dword [0x1403b1144]
cmp eax, 1
jne 0x14005bdd7
movsd xmm0, qword [rdi + rcx + 0xe6]
mov eax, dword [rdi + rcx + 0xee]
jmp 0x14005be03
cmp eax, 2
jne 0x14005bdee
movsd xmm0, qword [rdi + rcx + 0x116]
mov eax, dword [rdi + rcx + 0x11e]
jmp 0x14005be03
cmp eax, 3
jne 0x14005be22
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 xmm10, eax
movsd xmm6, qword [rdi + rcx + 0xf2]
mov ebx, dword [rdi + rcx + 0xfa]
test r13b, r13b
je 0x14005be8f
lea rdx, [rbp + 0x64]
call fcn.14004b7f0
lea rdx, [rbp + 0x70]
call fcn.14004b7f0
lea rdx, [rbp + 0x7c]
call fcn.14004b7f0
lea rdx, [rbp - 0x50]
movsd qword [rbp - 0x50], xmm6
lea rcx, [rsp + 0x20]
mov dword [rbp - 0x48], ebx
call fcn.140059cd0
movsd xmm0, qword [rsp + 0x20]
lea r8, [rbp - 0x40]
mov ebx, dword [rsp + 0x28]
lea rdx, [rsp + 0x70]
movsd qword [rbp - 0x40], xmm0
mov dword [rbp - 0x38], ebx
call fcn.14004b9d0
movd xmm10, ebx
jmp 0x14005bea9
lea r8, [rsp + 0x60]
movsd qword [rsp + 0x60], xmm8
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x68], esi
call fcn.14004b9d0
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 0x14005bee9
xorps xmm2, xmm2
sqrtss xmm2, xmm7
jmp 0x14005bef4
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm2, xmm0
comiss xmm9, xmm2
jbe 0x14005bf3e
movss xmm1, dword [0x1403b1114]
comiss xmm1, xmm2
jb 0x14005bf3e
cmp byte [0x1403b37ee], 0
jne 0x14005bf47
test r13b, r13b
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov ebx, r15d
cmove rax, rcx
mov dword [rsp + 0x40], ebx
movaps xmm9, xmm2
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [r14], xmm0
mov dword [r14 + 8], eax
jmp 0x14005bfbb
cmp byte [0x1403b37ee], 0
je 0x14005bfb7
lea rdx, [rbp - 0x30]
call fcn.14004b7f0
lea rdx, [rbp - 0x24]
movss xmm7, dword [rax + 8]
call fcn.14004b7f0
lea rdx, [rbp + 0xf8]
movss xmm6, dword [rax + 4]
call fcn.14004b7f0
movss xmm0, dword [rsp + 0x24]
movaps xmm1, xmm10
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 0x14005bd3c
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x14005bd44
mov ebx, dword [rsp + 0x40]
mov rcx, qword [0x1403b3ac0]
inc r15d
mov r8, qword [0x1403b3ab8]
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 0x14005ba90
movaps xmm8, xmmword [rsp + 0x290]
mov r12d, 0
mov r15, qword [rsp + 0x308]
cmp ebx, 0xffffffff
je 0x14005c7e0
movsxd rax, ebx
imul rsi, rax, 0x12e
cmp byte [0x1403b3803], r12b
mov dword [0x1403b1180], ebx
lea rcx, [rsi + r8]
movss xmm0, dword [rcx + 0xaa]
movss dword [0x1403b37fc], xmm0
je 0x14005c711
mov rax, qword [rcx + 0x70]
cmp rax, 0x16dd
je 0x14005c711
cmp rax, 0x16ee
je 0x14005c711
movabs rdx, 0xfd1ffffffffffcc9
add rdx, rax
cmp rdx, 0x2c
ja 0x14005c08a
movabs r8, 0x100800040025
bt r8, rdx
jb 0x14005c1d1
movabs rdx, 0x2e000000000016c
cmp rax, rdx
je 0x14005c1d1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x130], rax
movups xmmword [rbp + 0x120], xmm0
nop word [rax + rax]
mov rbx, qword [0x1403b3ab8]
lea rdx, [rbp + 0x90]
add rbx, rsi
mov rcx, rbx
call fcn.1400503b0
lea rdx, [rbp + 0xf8]
mov rcx, rbx
mov r8d, dword [rax + r12]
call fcn.14004eaa0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x48]
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rsp + 0x60], xmm0
mov dword [rsp + 0x68], eax
call fcn.14004b9d0
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 0x14005c14c
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x14005c154
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss dword [rbp + r12 + 0x110], xmm0
add r12, 4
cmp r12, 0x28
jl 0x14005c0c0
lea rdi, [rbp + 0x110]
lea rax, [rbp + 0x114]
nop word [rax + rax]
movss xmm0, dword [rdi]
lea rcx, [rbp + 0x138]
comiss xmm0, dword [rax]
cmova rdi, rax
add rax, 4
cmp rax, rcx
jne 0x14005c180
mov rbx, qword [0x1403b3ab8]
lea rdx, [rbp + 0x90]
add rbx, rsi
mov rcx, rbx
call fcn.1400503b0
lea rcx, [rbp + 0x110]
sub rdi, rcx
mov rcx, rbx
sar rdi, 2
movsxd r8, edi
mov r8d, dword [rax + r8*4]
jmp 0x14005c678
movdqa xmm0, xmmword [0x1403a7ce0]
lea rdx, [rsp + 0x70]
mov r8d, 0x11
mov dword [rbp + 0x108], 0x36
movdqu xmmword [rbp + 0xf8], xmm0
call fcn.14004eaa0
mov rcx, qword [0x1403b3ab8]
movsd xmm1, qword [rax]
movss xmm0, dword [rsi + rcx + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x48], xmm1
jp 0x14005c24b
jne 0x14005c24b
movss xmm0, dword [rsi + rcx + 0x10e]
ucomiss xmm0, dword [rsp + 0x4c]
jp 0x14005c24b
jne 0x14005c24b
movss xmm1, dword [rsi + rcx + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x14005c24b
jne 0x14005c24b
mov dword [rbp + 0xe0], 0x47c35000
jmp 0x14005c2c2
movsd xmm0, qword [rax]
lea r8, [rsp + 0x30]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.14004b9d0
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 0x14005c2ab
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x14005c2b3
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x1403b3ab8]
movss dword [rbp + 0xe0], xmm0
add rcx, rsi
lea rdx, [rsp + 0x70]
mov r8d, 0x10
call fcn.14004eaa0
mov rcx, qword [0x1403b3ab8]
movsd xmm1, qword [rax]
movss xmm0, dword [rsi + rcx + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x48], xmm1
jp 0x14005c325
jne 0x14005c325
movss xmm0, dword [rsi + rcx + 0x10e]
ucomiss xmm0, dword [rsp + 0x4c]
jp 0x14005c325
jne 0x14005c325
movss xmm1, dword [rsi + rcx + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x14005c325
jne 0x14005c325
mov dword [rbp + 0xe4], 0x47c35000
jmp 0x14005c39c
movsd xmm0, qword [rax]
lea r8, [rsp + 0x30]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.14004b9d0
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 0x14005c385
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x14005c38d
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x1403b3ab8]
movss dword [rbp + 0xe4], xmm0
add rcx, rsi
lea rdx, [rsp + 0x70]
mov r8d, 3
call fcn.14004eaa0
mov rcx, qword [0x1403b3ab8]
movsd xmm1, qword [rax]
movss xmm0, dword [rsi + rcx + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x48], xmm1
jp 0x14005c3ff
jne 0x14005c3ff
movss xmm0, dword [rsi + rcx + 0x10e]
ucomiss xmm0, dword [rsp + 0x4c]
jp 0x14005c3ff
jne 0x14005c3ff
movss xmm1, dword [rsi + rcx + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x14005c3ff
jne 0x14005c3ff
mov dword [rbp + 0xe8], 0x47c35000
jmp 0x14005c476
movsd xmm0, qword [rax]
lea r8, [rsp + 0x30]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.14004b9d0
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 0x14005c45f
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x14005c467
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x1403b3ab8]
movss dword [rbp + 0xe8], xmm0
add rcx, rsi
lea rdx, [rsp + 0x70]
mov r8d, 0xd
call fcn.14004eaa0
mov rcx, qword [0x1403b3ab8]
movsd xmm1, qword [rax]
movss xmm0, dword [rsi + rcx + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x48], xmm1
jp 0x14005c4d9
jne 0x14005c4d9
movss xmm0, dword [rsi + rcx + 0x10e]
ucomiss xmm0, dword [rsp + 0x4c]
jp 0x14005c4d9
jne 0x14005c4d9
movss xmm1, dword [rsi + rcx + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x14005c4d9
jne 0x14005c4d9
mov dword [rbp + 0xec], 0x47c35000
jmp 0x14005c550
movsd xmm0, qword [rax]
lea r8, [rsp + 0x30]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.14004b9d0
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 0x14005c539
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x14005c541
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x1403b3ab8]
movss dword [rbp + 0xec], xmm0
add rcx, rsi
lea rdx, [rsp + 0x70]
mov r8d, 0x36
call fcn.14004eaa0
mov rdx, qword [0x1403b3ab8]
movsd xmm1, qword [rax]
movss xmm0, dword [rsi + rdx + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x48], xmm1
jp 0x14005c5b3
jne 0x14005c5b3
movss xmm0, dword [rsi + rdx + 0x10e]
ucomiss xmm0, dword [rsp + 0x4c]
jp 0x14005c5b3
jne 0x14005c5b3
movss xmm1, dword [rsi + rdx + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x14005c5b3
jne 0x14005c5b3
mov dword [rbp + 0xf0], 0x47c35000
jmp 0x14005c62a
movsd xmm0, qword [rax]
lea r8, [rsp + 0x30]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.14004b9d0
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 0x14005c613
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x14005c61b
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rdx, qword [0x1403b3ab8]
movss dword [rbp + 0xf0], xmm0
lea rax, [rbp + 0xe0]
lea rcx, [rbp + 0xe4]
nop dword [rax + rax]
movss xmm0, dword [rax]
lea r8, [rbp + 0xf4]
comiss xmm0, dword [rcx]
cmova rax, rcx
add rcx, 4
cmp rcx, r8
jne 0x14005c640
lea rcx, [rsi + rdx]
lea rdx, [rbp + 0xe0]
sub rax, rdx
sar rax, 2
movsxd r8, eax
mov r8d, dword [rbp + r8*4 + 0xf8]
lea rdx, [rbp + 0xf8]
call fcn.14004eaa0
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
mov dword [r14 + 8], ecx
mov dword [rsp + 0x28], ecx
test r13b, r13b
je 0x14005c711
mov rax, qword [0x1403b3ab8]
lea rdx, [rbp + 0xf8]
movsd xmm6, qword [rsi + rax + 0xf2]
mov ebx, dword [rsi + rax + 0xfa]
call fcn.14004b7f0
lea rdx, [rbp - 0x24]
call fcn.14004b7f0
lea rdx, [rbp - 0x30]
call fcn.14004b7f0
lea rdx, [rsp + 0x60]
movsd qword [rsp + 0x60], xmm6
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x68], ebx
call fcn.140059910
movsd xmm0, qword [rsp + 0x20]
mov eax, dword [rsp + 0x28]
movsd qword [r14], xmm0
mov dword [r14 + 8], eax
mov ecx, dword [0x1403b1154]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005c7e0
cmp byte [0x1403b378c], 0
je 0x14005c7e0
movss xmm1, dword [0x1403a7b60]
movss xmm0, dword [0x1403b2e94]
mov rcx, qword [0x1403b3ab8]
mulss xmm0, xmm1
mov rdx, qword [rsi + rcx + 0x38]
mov rcx, qword [0x1403b3ab0]
add rdx, 0x144
cvttss2si r8, xmm0
movss xmm0, dword [0x1403b2e90]
mulss xmm0, xmm1
shl r8d, 8
cvttss2si rax, xmm0
movss xmm0, dword [0x1403b2e8c]
or r8d, eax
mulss xmm0, xmm1
shl r8d, 8
cvttss2si rax, xmm0
movss xmm0, dword [0x1403b2e88]
or r8d, eax
mulss xmm0, xmm1
shl r8d, 8
cvttss2si rax, xmm0
or r8d, eax
mov dword [0x1403b1128], r8d
call fcn.14007d700
mov rcx, qword [0x1403b3ab8]
mov r8d, dword [0x1403b1128]
mov rdx, qword [rsi + rcx + 0x38]
mov rcx, qword [0x1403b3ab0]
add rdx, 0x130
call fcn.14007d700
movaps xmm7, xmmword [rsp + 0x2a0]
mov rax, r14
mov rdi, qword [rsp + 0x300]
mov rsi, qword [rsp + 0x2f8]
movaps xmm11, xmmword [rsp + 0x260]
mov rcx, qword [rbp + 0x138]
xor rcx, rsp
call fcn.1400809a0
lea r11, [rsp + 0x2c0]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r14
pop r13
pop r12
pop rbx
pop rbp
ret
mov rax, r14
jmp 0x14005c804