Function at 0x14005a100
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
push r14
lea rbp, [r11 - 0x1f8]
sub rsp, 0x2e8
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
movaps xmmword [r11 - 0x58], xmm8
movaps xmmword [r11 - 0x68], xmm9
movaps xmmword [r11 - 0x78], xmm10
movaps xmmword [r11 - 0x88], xmm11
movaps xmmword [r11 - 0x98], xmm12
movaps xmmword [r11 - 0xa8], xmm13
mov rax, qword [0x1403b1040]
xor rax, rsp
mov qword [rbp + 0x148], rax
mov qword [r11 + 0x10], rbx
mov r14, rcx
mov qword [r11 + 0x20], rdi
movzx ebx, dl
mov qword [r11 - 0x18], r12
xor r12d, r12d
mov qword [r11 - 0x20], r13
mov r13d, 0xffffffff
mov qword [rcx], r12
mov dword [rcx + 8], r12d
mov byte [rsp + 0x20], dl
lea ecx, [r13 + 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 [0x1403b3ab0]
movabs rdi, 0x6c80d901b2036407
sub rcx, qword [0x1403b3aa8]
movss xmm10, dword [0x1403a7ba8]
movss xmm11, dword [0x1403a7a08]
movd xmm12, eax
mov rax, rdi
imul rcx
cvtdq2ps xmm12, xmm12
sar rdx, 7
mulss xmm12, dword [0x1403a7904]
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14005affc
cmp byte [0x1403b37df], r12b
xorps xmm9, xmm9
mov qword [rsp + 0x2d0], r15
je 0x14005a2b8
movabs rax, 0x2e0000000000005
cmp qword [0x1403b2f90], rax
jne 0x14005a2b8
xor eax, eax
mov dword [rbp + 0x128], 0x2a5000b
mov qword [rbp + 0x13c], rax
lea rdx, [rbp + 0x128]
mov word [rbp + 0x144], ax
lea rcx, [rbp - 0x80]
mov rax, qword [0x1403b2f60]
xorps xmm0, xmm0
add rax, 0x110
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x78], rax
movups xmmword [rbp + 0x12c], xmm0
call fcn.1400585a0
test rax, rax
jne 0x14005a27d
xorps xmm0, xmm0
jmp 0x14005a28d
mov rcx, qword [0x1403b3aa0]
lea rdx, [rax + 0x60]
call fcn.14007d420
cmp byte [0x1403b2ff5], r12b
mulss xmm0, dword [0x1403a7b14]
addss xmm0, dword [0x1403a7ae0]
movss dword [0x1403b10e4], xmm0
je 0x14005a2b8
mov dword [0x1403b10e4], 0x42dc0000
mov rcx, qword [0x1403b3ab0]
mov rax, rdi
sub rcx, qword [0x1403b3aa8]
mov r15d, r12d
imul rcx
movss dword [rsp + 0x48], xmm9
mov qword [rsp + 0x40], r12
sar rdx, 7
mov rax, rdx
mov qword [rsp + 0x30], r12
shr rax, 0x3f
mov dword [rsp + 0x38], r12d
add rdx, rax
je 0x14005aff4
movsd xmm8, qword [rsp + 0x30]
mov rdi, r12
mov qword [rsp + 0x310], rsi
mov esi, r12d
movabs r12, 0x6c80d901b2036407
nop dword [rax + rax]
cmp byte [0x1403b37d8], 0
mov rcx, qword [0x1403b3aa8]
jne 0x14005a56d
cmp byte [rcx + rdi + 0xd0], 0
je 0x14005a7e7
cmp byte [rcx + rdi + 0xd2], 0
je 0x14005a7e7
cmp byte [rcx + rdi + 0xd1], 0
je 0x14005a7e7
mov eax, dword [0x1403b1144]
cmp eax, 1
jne 0x14005a37b
movsd xmm0, qword [rcx + rdi + 0xe6]
mov eax, dword [rcx + rdi + 0xee]
jmp 0x14005a3a7
cmp eax, 2
jne 0x14005a392
movsd xmm0, qword [rcx + rdi + 0x116]
mov eax, dword [rcx + rdi + 0x11e]
jmp 0x14005a3a7
cmp eax, 3
jne 0x14005a3c6
movsd xmm0, qword [rcx + rdi + 0x122]
mov eax, dword [rcx + rdi + 0x12a]
movsd qword [rsp + 0x40], xmm0
movaps xmm8, xmm0
mov dword [rsp + 0x48], eax
mov esi, eax
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
movd xmm9, eax
cmp byte [rsp + 0x20], 0
movsd xmm6, qword [rcx + rdi + 0xf2]
mov ebx, dword [rcx + rdi + 0xfa]
je 0x14005a435
lea rdx, [rbp + 0x20]
call fcn.14004b7f0
lea rdx, [rbp + 0x2c]
call fcn.14004b7f0
lea rdx, [rbp + 0x38]
call fcn.14004b7f0
lea rdx, [rbp - 0x50]
movsd qword [rbp - 0x50], xmm6
lea rcx, [rsp + 0x40]
mov dword [rbp - 0x48], ebx
call fcn.140059720
movsd xmm0, qword [rsp + 0x40]
lea r8, [rbp - 0x40]
mov ebx, dword [rsp + 0x48]
lea rdx, [rsp + 0x50]
movsd qword [rbp - 0x40], xmm0
mov dword [rbp - 0x38], ebx
call fcn.14004b9d0
movd xmm9, ebx
jmp 0x14005a44b
lea r8, [rbp - 0x30]
movsd qword [rbp - 0x30], xmm8
lea rdx, [rbp + 0x18]
mov dword [rbp - 0x28], esi
call fcn.14004b9d0
movss xmm0, dword [rax + 4]
movaps xmm1, xmm11
movss xmm6, dword [rax]
subss xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm12
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 0x14005a48b
xorps xmm2, xmm2
sqrtss xmm2, xmm7
jmp 0x14005a496
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm2, xmm0
comiss xmm10, xmm2
jbe 0x14005a4b7
movss xmm1, dword [0x1403b1114]
comiss xmm1, xmm2
jb 0x14005a4b7
cmp byte [0x1403b37de], 0
jne 0x14005a4c4
jmp 0x14005a702
cmp byte [0x1403b37de], 0
je 0x14005a7e2
lea rdx, [rbp + 0x44]
call fcn.14004b7f0
lea rdx, [rbp + 0x50]
movss xmm7, dword [rax + 8]
call fcn.14004b7f0
lea rdx, [rbp + 0x5c]
movss xmm6, dword [rax + 4]
call fcn.14004b7f0
movss xmm1, dword [rsp + 0x40]
movaps xmm0, xmm9
movss xmm2, dword [rsp + 0x44]
subss xmm0, xmm7
subss xmm2, xmm6
subss xmm1, dword [rax]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x14005a52a
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x14005a532
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm10, xmm0
movzx ebx, byte [rsp + 0x20]
jbe 0x14005a7e7
test bl, bl
lea rax, [rsp + 0x40]
lea rcx, [rsp + 0x30]
movaps xmm10, xmm0
cmove rax, rcx
mov r13d, r15d
movsd xmm1, qword [rax]
mov eax, dword [rax + 8]
movsd qword [r14], xmm1
mov dword [r14 + 8], eax
jmp 0x14005a7e7
cmp byte [rcx + rdi + 0xd0], 0
je 0x14005a7e7
cmp byte [rcx + rdi + 0xd2], 0
jne 0x14005a7e7
cmp byte [rcx + rdi + 0xd1], 0
je 0x14005a7e7
mov rax, qword [0x1403b2f20]
cmp qword [rcx + rdi], rax
je 0x14005a7e7
mov eax, dword [0x1403b1144]
cmp eax, 1
jne 0x14005a5c5
movsd xmm0, qword [rcx + rdi + 0xe6]
mov eax, dword [rcx + rdi + 0xee]
jmp 0x14005a5f1
cmp eax, 2
jne 0x14005a5dc
movsd xmm0, qword [rcx + rdi + 0x116]
mov eax, dword [rcx + rdi + 0x11e]
jmp 0x14005a5f1
cmp eax, 3
jne 0x14005a610
movsd xmm0, qword [rcx + rdi + 0x122]
mov eax, dword [rcx + rdi + 0x12a]
movsd qword [rsp + 0x40], xmm0
movaps xmm8, xmm0
mov dword [rsp + 0x48], eax
mov esi, eax
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
movd xmm9, eax
cmp byte [rsp + 0x20], 0
movsd xmm6, qword [rcx + rdi + 0xf2]
mov ebx, dword [rcx + rdi + 0xfa]
je 0x14005a681
lea rdx, [rbp + 0x68]
call fcn.14004b7f0
lea rdx, [rbp + 0x74]
call fcn.14004b7f0
lea rdx, [rbp + 0x80]
call fcn.14004b7f0
lea rdx, [rbp - 0x20]
movsd qword [rbp - 0x20], xmm6
lea rcx, [rsp + 0x40]
mov dword [rbp - 0x18], ebx
call fcn.140059720
movsd xmm0, qword [rsp + 0x40]
lea r8, [rbp - 0x10]
mov ebx, dword [rsp + 0x48]
lea rdx, [rbp - 0x60]
movsd qword [rbp - 0x10], xmm0
mov dword [rbp - 8], ebx
call fcn.14004b9d0
movd xmm9, ebx
jmp 0x14005a69b
lea r8, [rsp + 0x70]
movsd qword [rsp + 0x70], xmm8
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x78], esi
call fcn.14004b9d0
movss xmm0, dword [rax + 4]
movaps xmm1, xmm11
movss xmm6, dword [rax]
subss xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm12
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 0x14005a6db
xorps xmm2, xmm2
sqrtss xmm2, xmm7
jmp 0x14005a6e6
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm2, xmm0
comiss xmm10, xmm2
jbe 0x14005a733
movss xmm1, dword [0x1403b1114]
comiss xmm1, xmm2
jb 0x14005a733
cmp byte [0x1403b37de], 0
jne 0x14005a740
movzx ebx, byte [rsp + 0x20]
lea rax, [rsp + 0x40]
test bl, bl
lea rcx, [rsp + 0x30]
movaps xmm10, xmm2
mov r13d, r15d
cmove rax, rcx
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [r14], xmm0
mov dword [r14 + 8], eax
jmp 0x14005a7e7
cmp byte [0x1403b37de], 0
je 0x14005a7e2
lea rdx, [rbp]
call fcn.14004b7f0
lea rdx, [rbp + 0xc]
movss xmm7, dword [rax + 8]
call fcn.14004b7f0
lea rdx, [rbp - 0x80]
movss xmm6, dword [rax + 4]
call fcn.14004b7f0
movss xmm0, dword [rsp + 0x44]
movaps xmm1, xmm9
movss xmm2, dword [rsp + 0x40]
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 0x14005a7a6
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x14005a7ae
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm10, xmm0
movzx ebx, byte [rsp + 0x20]
jbe 0x14005a7e7
test bl, bl
lea rax, [rsp + 0x40]
lea rcx, [rsp + 0x30]
movaps xmm10, xmm0
cmove rax, rcx
mov r13d, r15d
movsd xmm1, qword [rax]
mov eax, dword [rax + 8]
movsd qword [r14], xmm1
mov dword [r14 + 8], eax
jmp 0x14005a7e7
movzx ebx, byte [rsp + 0x20]
mov rcx, qword [0x1403b3ab0]
inc r15d
mov r8, qword [0x1403b3aa8]
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 0x14005a320
mov r12d, 0
cmp r13d, 0xffffffff
je 0x14005afec
movsxd rax, r13d
imul rsi, rax, 0x12e
cmp byte [0x1403b37ce], r12b
mov dword [0x1403b1174], r13d
lea rcx, [r8 + rsi]
movss xmm0, dword [rcx + 0xaa]
movss dword [0x1403b37ec], xmm0
je 0x14005af1d
mov rax, qword [rcx + 0x70]
cmp rax, 0x16dd
je 0x14005af1d
cmp rax, 0x16ee
je 0x14005af1d
movabs rdx, 0xfd1ffffffffffcc9
add rdx, rax
cmp rdx, 0x2c
ja 0x14005a8a7
movabs r8, 0x100800040025
bt r8, rdx
jb 0x14005a9ef
movabs rdx, 0x2e000000000016c
cmp rax, rdx
je 0x14005a9ef
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
movups xmmword [rbp + 0x108], xmm0
movups xmmword [rbp + 0x118], xmm0
mov rbx, qword [0x1403b3aa8]
lea rdx, [rbp + 0x90]
add rbx, rsi
mov rcx, rbx
call fcn.140050370
lea rdx, [rbp - 0x80]
mov rcx, rbx
mov r8d, dword [rax + r12]
call fcn.14004ea90
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x58]
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rsp + 0x70], xmm0
mov dword [rsp + 0x78], eax
call fcn.14004b9d0
movaps xmm1, xmm11
movss xmm0, dword [rax + 4]
movss xmm6, dword [rax]
subss xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm12
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 0x14005a95b
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x14005a963
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss dword [rbp + r12 + 0xf8], xmm0
add r12, 4
cmp r12, 0x30
jl 0x14005a8d2
lea rdi, [rbp + 0xf8]
lea rax, [rbp + 0xfc]
nop dword [rax]
movss xmm0, dword [rdi]
lea rcx, [rbp + 0x128]
comiss xmm0, dword [rax]
cmova rdi, rax
add rax, 4
cmp rax, rcx
jne 0x14005a990
mov rbx, qword [0x1403b3aa8]
lea rdx, [rbp + 0x90]
add rbx, rsi
mov rcx, rbx
call fcn.140050370
lea rcx, [rbp + 0xf8]
sub rdi, rcx
lea rdx, [rbp - 0x80]
sar rdi, 2
mov rcx, rbx
movsxd r8, edi
mov r8d, dword [rax + r8*4]
call fcn.14004ea90
cmp byte [rsp + 0x20], 0
jmp 0x14005ae90
movdqa xmm0, xmmword [0x1403a7ce0]
lea rdx, [rbp - 0x60]
mov r8d, 0x11
mov dword [rbp - 0x70], 0x36
movdqu xmmword [rbp - 0x80], xmm0
call fcn.14004ea90
mov rcx, qword [0x1403b3aa8]
movsd xmm1, qword [rax]
movss xmm0, dword [rcx + rsi + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x58], xmm1
jp 0x14005aa62
jne 0x14005aa62
movss xmm0, dword [rcx + rsi + 0x10e]
ucomiss xmm0, dword [rsp + 0x5c]
jp 0x14005aa62
jne 0x14005aa62
movss xmm1, dword [rcx + rsi + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x14005aa62
jne 0x14005aa62
mov dword [rbp + 0xe0], 0x47c35000
jmp 0x14005aad9
movsd xmm0, qword [rax]
lea r8, [rsp + 0x30]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x50]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.14004b9d0
movaps xmm1, xmm11
movss xmm0, dword [rax + 4]
movss xmm6, dword [rax]
subss xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm12
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 0x14005aac2
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x14005aaca
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x1403b3aa8]
movss dword [rbp + 0xe0], xmm0
add rcx, rsi
lea rdx, [rbp - 0x60]
mov r8d, 0x10
call fcn.14004ea90
mov rcx, qword [0x1403b3aa8]
movsd xmm1, qword [rax]
movss xmm0, dword [rcx + rsi + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x58], xmm1
jp 0x14005ab3b
jne 0x14005ab3b
movss xmm0, dword [rcx + rsi + 0x10e]
ucomiss xmm0, dword [rsp + 0x5c]
jp 0x14005ab3b
jne 0x14005ab3b
movss xmm1, dword [rcx + rsi + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x14005ab3b
jne 0x14005ab3b
mov dword [rbp + 0xe4], 0x47c35000
jmp 0x14005abb2
movsd xmm0, qword [rax]
lea r8, [rsp + 0x30]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x50]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.14004b9d0
movaps xmm1, xmm11
movss xmm0, dword [rax + 4]
movss xmm6, dword [rax]
subss xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm12
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 0x14005ab9b
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x14005aba3
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x1403b3aa8]
movss dword [rbp + 0xe4], xmm0
add rcx, rsi
lea rdx, [rbp - 0x60]
mov r8d, 3
call fcn.14004ea90
mov rcx, qword [0x1403b3aa8]
movsd xmm1, qword [rax]
movss xmm0, dword [rcx + rsi + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x58], xmm1
jp 0x14005ac14
jne 0x14005ac14
movss xmm0, dword [rcx + rsi + 0x10e]
ucomiss xmm0, dword [rsp + 0x5c]
jp 0x14005ac14
jne 0x14005ac14
movss xmm1, dword [rcx + rsi + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x14005ac14
jne 0x14005ac14
mov dword [rbp + 0xe8], 0x47c35000
jmp 0x14005ac8b
movsd xmm0, qword [rax]
lea r8, [rsp + 0x30]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x50]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.14004b9d0
movaps xmm1, xmm11
movss xmm0, dword [rax + 4]
movss xmm6, dword [rax]
subss xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm12
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 0x14005ac74
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x14005ac7c
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x1403b3aa8]
movss dword [rbp + 0xe8], xmm0
add rcx, rsi
lea rdx, [rbp - 0x60]
mov r8d, 0xd
call fcn.14004ea90
mov rcx, qword [0x1403b3aa8]
movsd xmm1, qword [rax]
movss xmm0, dword [rcx + rsi + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x58], xmm1
jp 0x14005aced
jne 0x14005aced
movss xmm0, dword [rcx + rsi + 0x10e]
ucomiss xmm0, dword [rsp + 0x5c]
jp 0x14005aced
jne 0x14005aced
movss xmm1, dword [rcx + rsi + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x14005aced
jne 0x14005aced
mov dword [rbp + 0xec], 0x47c35000
jmp 0x14005ad64
movsd xmm0, qword [rax]
lea r8, [rsp + 0x30]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x50]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.14004b9d0
movaps xmm1, xmm11
movss xmm0, dword [rax + 4]
movss xmm6, dword [rax]
subss xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm12
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 0x14005ad4d
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x14005ad55
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x1403b3aa8]
movss dword [rbp + 0xec], xmm0
add rcx, rsi
lea rdx, [rbp - 0x60]
mov r8d, 0x36
call fcn.14004ea90
mov rdx, qword [0x1403b3aa8]
movsd xmm1, qword [rax]
movss xmm0, dword [rdx + rsi + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x58], xmm1
jp 0x14005adc6
jne 0x14005adc6
movss xmm0, dword [rdx + rsi + 0x10e]
ucomiss xmm0, dword [rsp + 0x5c]
jp 0x14005adc6
jne 0x14005adc6
movss xmm1, dword [rdx + rsi + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x14005adc6
jne 0x14005adc6
mov dword [rbp + 0xf0], 0x47c35000
jmp 0x14005ae3d
movsd xmm0, qword [rax]
lea r8, [rsp + 0x30]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x50]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.14004b9d0
movaps xmm1, xmm11
movss xmm0, dword [rax + 4]
movss xmm6, dword [rax]
subss xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
subss xmm6, xmm12
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 0x14005ae26
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x14005ae2e
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rdx, qword [0x1403b3aa8]
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 0x14005ae50
lea rcx, [rdx + rsi]
lea rdx, [rbp + 0xe0]
sub rax, rdx
lea rdx, [rbp - 0x80]
sar rax, 2
movsxd r8, eax
mov r8d, dword [rbp + r8*4 - 0x80]
call fcn.14004ea90
test bl, bl
movsd xmm1, qword [rax]
mov ecx, dword [rax + 8]
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
movsd qword [r14], xmm1
movss dword [rsp + 0x44], xmm0
movss dword [rsp + 0x40], xmm1
mov dword [r14 + 8], ecx
mov dword [rsp + 0x48], ecx
movsd qword [rsp + 0x30], xmm1
je 0x14005af1d
lea rdx, [rbp - 0x80]
call fcn.14004b7f0
lea rdx, [rbp + 0xc]
call fcn.14004b7f0
lea rdx, [rbp]
call fcn.14004b7f0
mov rax, qword [0x1403b3aa8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
movsd xmm0, qword [rax + rsi + 0xf2]
mov eax, dword [rax + rsi + 0xfa]
movsd qword [rsp + 0x70], xmm0
mov dword [rsp + 0x78], eax
call fcn.140059720
movsd xmm0, qword [rsp + 0x40]
mov eax, dword [rsp + 0x48]
movsd qword [r14], xmm0
mov dword [r14 + 8], eax
mov ecx, dword [0x1403b1118]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005afec
cmp byte [0x1403b377c], 0
je 0x14005afec
movss xmm1, dword [0x1403a7b60]
movss xmm0, dword [0x1403b2ea4]
mov rcx, qword [0x1403b3aa0]
mulss xmm0, xmm1
cvttss2si r8, xmm0
movss xmm0, dword [0x1403b2ea0]
mulss xmm0, xmm1
shl r8d, 8
cvttss2si rax, xmm0
movss xmm0, dword [0x1403b2e9c]
or r8d, eax
mulss xmm0, xmm1
shl r8d, 8
cvttss2si rax, xmm0
movss xmm0, dword [0x1403b2e98]
or r8d, eax
mulss xmm0, xmm1
shl r8d, 8
cvttss2si rax, xmm0
or r8d, eax
mov rax, qword [0x1403b3aa8]
mov dword [0x1403b1128], r8d
mov rdx, qword [rax + rsi + 0x38]
add rdx, 0x144
call fcn.14007d460
mov rax, qword [0x1403b3aa8]
mov r8d, dword [0x1403b1128]
mov rcx, qword [0x1403b3aa0]
mov rdx, qword [rax + rsi + 0x38]
add rdx, 0x130
call fcn.14007d460
mov rsi, qword [rsp + 0x310]
mov r15, qword [rsp + 0x2d0]
mov r13, qword [rsp + 0x2d8]
movabs rax, 0x2e0000000000200
cmp qword [0x1403b2f90], rax
mov r12, qword [rsp + 0x2e0]
mov rdi, qword [rsp + 0x318]
mov rbx, qword [rsp + 0x308]
jne 0x14005b06c
mov rdx, qword [0x1403b3a88]
mov rax, qword [0x1403b3a90]
cmp rdx, rax
je 0x14005b06c
movabs r9, 0x400000000002533
nop dword [rax]
movsd xmm0, qword [rdx + 0x10]
mov r8d, dword [rdx + 0x18]
movsd qword [rbp - 0x70], xmm0
cmp qword [rdx], r9
je 0x14005b0bb
add rdx, 0x1c
cmp rdx, rax
jne 0x14005b050
mov rax, r14
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.140080700
lea r11, [rsp + 0x2e8]
movaps xmm6, xmmword [r11 - 0x28]
movaps xmm7, xmmword [r11 - 0x38]
movaps xmm8, xmmword [r11 - 0x48]
movaps xmm9, xmmword [r11 - 0x58]
movaps xmm10, xmmword [r11 - 0x68]
movaps xmm11, xmmword [r11 - 0x78]
movaps xmm12, xmmword [r11 - 0x88]
movaps xmm13, xmmword [r11 - 0x98]
mov rsp, r11
pop r14
pop rbp
ret
movss xmm7, dword [rbp - 0x70]
lea rdx, [rsp + 0x50]
movss xmm8, dword [rbp - 0x6c]
movd xmm9, r8d
lea r8, [rsp + 0x30]
movss dword [rsp + 0x30], xmm7
movss dword [rsp + 0x34], xmm8
movss dword [rsp + 0x38], xmm9
call fcn.14004b9d0
movss xmm0, dword [rsp + 0x54]
movaps xmm1, xmm11
subss xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
movaps xmm1, xmm11
movss xmm0, dword [rsp + 0x50]
subss xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm6, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm6
ja 0x14005b12e
xorps xmm0, xmm0
sqrtss xmm0, xmm6
jmp 0x14005b136
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm10, xmm0
jbe 0x14005b15f
movss xmm1, dword [0x1403b1114]
comiss xmm1, xmm0
jb 0x14005b15f
movss dword [r14], xmm7
movss dword [r14 + 4], xmm8
movss dword [r14 + 8], xmm9
jmp 0x14005b06c
cmp byte [0x1403b37de], 0
mov rax, r14
je 0x14005b06f
movss dword [r14], xmm7
movss dword [r14 + 4], xmm8
movss dword [r14 + 8], xmm9
jmp 0x14005b06f