Function at 0x180043c00
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
push r14
lea rbp, [r11 - 0x1d8]
sub rsp, 0x2c8
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 [0x1800aa040]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov qword [r11 + 0x10], rbx
mov r14, rcx
mov qword [r11 - 0x18], r12
mov ebx, 0xffffffff
xor r12d, r12d
mov qword [r11 - 0x20], r13
mov qword [rcx], r12
movzx r13d, dl
mov dword [rcx + 8], r12d
lea ecx, [rbx + 2]
mov dword [rsp + 0x40], ebx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
movd xmm13, eax
cvtdq2ps xmm13, xmm13
mulss xmm13, dword [0x1800a1688]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x180158878]
sub rcx, qword [0x180158870]
movss xmm10, dword [0x1800a1890]
movss xmm11, dword [0x1800a1740]
movd xmm12, eax
movabs rax, 0x6c80d901b2036407
imul rcx
cvtdq2ps xmm12, xmm12
sar rdx, 7
mulss xmm12, dword [0x1800a1688]
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x180044717
cmp byte [0x1801583de], r12b
xorps xmm9, xmm9
mov qword [rsp + 0x2b0], r15
mov qword [rsp + 0x2f0], rsi
mov qword [rsp + 0x2f8], rdi
je 0x180043e84
movabs rax, 0x2e0000000000005
cmp qword [0x1801576a0], rax
jne 0x180043e84
xor eax, eax
lea r15d, [rbx + 0xc]
mov rbx, qword [0x180157670]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10c], xmm0
mov qword [rbp + 0x11c], rax
mov word [rbp + 0x124], ax
lea rsi, [rbx + 0x3b8]
mov rdx, rsi
call fcn.18005e7a0
test eax, eax
je 0x180043e50
lea rdx, [rbx + 0x3b0]
mov edi, r12d
call fcn.18005e750
mov rbx, rax
lea rdx, [rax + 8]
call fcn.18005e7b0
cmp ax, r15w
je 0x180043db9
nop
mov rdx, rsi
inc rdi
call fcn.18005e7a0
mov eax, eax
cmp rdi, rax
jge 0x180043e50
add rbx, 0x10
lea rdx, [rbx + 8]
call fcn.18005e7b0
cmp ax, r15w
jne 0x180043d90
mov rdx, rbx
call fcn.18005e750
test rax, rax
je 0x180043e50
lea rdx, [rax + 0xa8]
call fcn.18005e750
mov esi, 0x2a5
movzx ebx, si
and ebx, 0xf
inc rbx
shl rbx, 5
add rbx, rax
lea rdx, [rbx + 8]
call fcn.18005e7a0
sub eax, 1
js 0x180043e50
mov rdx, rbx
movsxd rdi, eax
call fcn.18005e750
mov rbx, rdi
shl rbx, 4
add rbx, rax
mov rdx, rbx
call fcn.18005e7b0
cmp ax, si
je 0x180043e37
nop dword [rax + rax]
sub rbx, 0x10
sub rdi, 1
js 0x180043e50
mov rdx, rbx
call fcn.18005e7b0
cmp ax, si
jne 0x180043e20
lea rdx, [rbx + 8]
call fcn.18005e750
test rax, rax
je 0x180043e50
lea rdx, [rax + 0x60]
call fcn.18005e800
jmp 0x180043e54
movaps xmm0, xmm9
cmp byte [0x180157705], r12b
mov ebx, 0xffffffff
mulss xmm0, dword [0x1800a181c]
addss xmm0, dword [0x1800a17e0]
movss dword [0x1800aa16c], xmm0
je 0x180043e84
mov dword [0x1800aa16c], 0x42dc0000
mov rcx, qword [0x180158878]
movabs rax, 0x6c80d901b2036407
sub rcx, qword [0x180158870]
mov r15d, r12d
imul rcx
movss dword [rsp + 0x38], xmm9
mov qword [rsp + 0x30], r12
sar rdx, 7
mov rax, rdx
mov qword [rsp + 0x20], r12
shr rax, 0x3f
mov dword [rsp + 0x28], r12d
add rdx, rax
je 0x1800446ff
movsd xmm8, qword [rsp + 0x20]
mov rdi, r12
mov esi, r12d
movabs r12, 0x6c80d901b2036407
nop dword [rax]
nop word [rax + rax]
cmp byte [0x1801583d4], 0
mov rcx, qword [0x180158870]
jne 0x18004413a
cmp byte [rdi + rcx + 0xd0], 0
je 0x1800443b2
cmp byte [rdi + rcx + 0xd2], 0
je 0x1800443b2
cmp byte [rdi + rcx + 0xd1], 0
je 0x1800443b2
mov eax, dword [0x1800aa200]
cmp eax, 1
jne 0x180043f4b
movsd xmm0, qword [rdi + rcx + 0xe6]
mov eax, dword [rdi + rcx + 0xee]
jmp 0x180043f77
cmp eax, 2
jne 0x180043f62
movsd xmm0, qword [rdi + rcx + 0x116]
mov eax, dword [rdi + rcx + 0x11e]
jmp 0x180043f77
cmp eax, 3
jne 0x180043f96
movsd xmm0, qword [rdi + rcx + 0x122]
mov eax, dword [rdi + rcx + 0x12a]
movsd qword [rsp + 0x30], xmm0
movaps xmm8, xmm0
mov dword [rsp + 0x38], eax
mov esi, eax
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
movd xmm9, eax
movsd xmm6, qword [rdi + rcx + 0xf2]
mov ebx, dword [rdi + rcx + 0xfa]
test r13b, r13b
je 0x180044002
lea rdx, [rbp - 8]
call fcn.18003b500
lea rdx, [rbp + 4]
call fcn.18003b500
lea rdx, [rbp + 0x10]
call fcn.18003b500
lea rdx, [rbp - 0x80]
movsd qword [rbp - 0x80], xmm6
lea rcx, [rsp + 0x30]
mov dword [rbp - 0x78], ebx
call fcn.1800436b0
movsd xmm0, qword [rsp + 0x30]
lea r8, [rbp - 0x70]
mov ebx, dword [rsp + 0x38]
lea rdx, [rbp - 0x18]
movsd qword [rbp - 0x70], xmm0
mov dword [rbp - 0x68], ebx
call fcn.18003b6e0
movd xmm9, ebx
jmp 0x180044018
lea r8, [rbp - 0x60]
movsd qword [rbp - 0x60], xmm8
lea rdx, [rbp - 0x10]
mov dword [rbp - 0x58], esi
call fcn.18003b6e0
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 0x180044058
xorps xmm2, xmm2
sqrtss xmm2, xmm7
jmp 0x180044063
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm2, xmm0
comiss xmm10, xmm2
jbe 0x180044084
movss xmm1, dword [0x1800aa1c8]
comiss xmm1, xmm2
jb 0x180044084
cmp byte [0x1801583da], 0
jne 0x180044091
jmp 0x1800442cb
cmp byte [0x1801583da], 0
je 0x1800443ae
lea rdx, [rbp + 0x1c]
call fcn.18003b500
lea rdx, [rbp + 0x28]
movss xmm7, dword [rax + 8]
call fcn.18003b500
lea rdx, [rbp + 0x34]
movss xmm6, dword [rax + 4]
call fcn.18003b500
movss xmm1, dword [rsp + 0x30]
movaps xmm0, xmm9
movss xmm2, dword [rsp + 0x34]
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 0x1800440f7
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x1800440ff
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm10, xmm0
jbe 0x1800443ae
test r13b, r13b
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x20]
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 0x1800443b2
cmp byte [rdi + rcx + 0xd0], 0
je 0x1800443b2
cmp byte [rdi + rcx + 0xd2], 0
jne 0x1800443b2
cmp byte [rdi + rcx + 0xd1], 0
je 0x1800443b2
mov rax, qword [0x180157630]
cmp qword [rdi + rcx], rax
je 0x1800443b2
mov eax, dword [0x1800aa200]
cmp eax, 1
jne 0x180044192
movsd xmm0, qword [rdi + rcx + 0xe6]
mov eax, dword [rdi + rcx + 0xee]
jmp 0x1800441be
cmp eax, 2
jne 0x1800441a9
movsd xmm0, qword [rdi + rcx + 0x116]
mov eax, dword [rdi + rcx + 0x11e]
jmp 0x1800441be
cmp eax, 3
jne 0x1800441dd
movsd xmm0, qword [rdi + rcx + 0x122]
mov eax, dword [rdi + rcx + 0x12a]
movsd qword [rsp + 0x30], xmm0
movaps xmm8, xmm0
mov dword [rsp + 0x38], eax
mov esi, eax
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
movd xmm9, eax
movsd xmm6, qword [rdi + rcx + 0xf2]
mov ebx, dword [rdi + rcx + 0xfa]
test r13b, r13b
je 0x18004424a
lea rdx, [rbp + 0x40]
call fcn.18003b500
lea rdx, [rbp + 0x4c]
call fcn.18003b500
lea rdx, [rbp + 0x58]
call fcn.18003b500
lea rdx, [rbp - 0x50]
movsd qword [rbp - 0x50], xmm6
lea rcx, [rsp + 0x30]
mov dword [rbp - 0x48], ebx
call fcn.1800436b0
movsd xmm0, qword [rsp + 0x30]
lea r8, [rbp - 0x40]
mov ebx, dword [rsp + 0x38]
lea rdx, [rsp + 0x70]
movsd qword [rbp - 0x40], xmm0
mov dword [rbp - 0x38], ebx
call fcn.18003b6e0
movd xmm9, ebx
jmp 0x180044264
lea r8, [rsp + 0x60]
movsd qword [rsp + 0x60], xmm8
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x68], esi
call fcn.18003b6e0
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 0x1800442a4
xorps xmm2, xmm2
sqrtss xmm2, xmm7
jmp 0x1800442af
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm2, xmm0
comiss xmm10, xmm2
jbe 0x1800442fc
movss xmm1, dword [0x1800aa1c8]
comiss xmm1, xmm2
jb 0x1800442fc
cmp byte [0x1801583da], 0
jne 0x180044309
test r13b, r13b
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x20]
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 0x1800443b2
cmp byte [0x1801583da], 0
je 0x1800443ae
lea rdx, [rbp - 0x30]
call fcn.18003b500
lea rdx, [rbp - 0x24]
movss xmm7, dword [rax + 8]
call fcn.18003b500
lea rdx, [rbp + 0x108]
movss xmm6, dword [rax + 4]
call fcn.18003b500
movss xmm0, dword [rsp + 0x34]
movaps xmm1, xmm9
movss xmm2, dword [rsp + 0x30]
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 0x180044372
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x18004437a
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm10, xmm0
jbe 0x1800443ae
test r13b, r13b
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x20]
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 0x1800443b2
mov ebx, dword [rsp + 0x40]
mov rcx, qword [0x180158878]
inc r15d
mov r8, qword [0x180158870]
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 0x180043ef0
mov r12d, 0
cmp ebx, 0xffffffff
je 0x1800446ff
cmp byte [0x1801583cb], r12b
mov dword [0x1800aa248], ebx
je 0x18004463c
movsxd rax, ebx
imul rsi, rax, 0x12e
mov rax, qword [rsi + r8 + 0x70]
lea r9, [rsi + r8]
cmp rax, 0x16dd
je 0x18004463c
cmp rax, 0x16ee
je 0x18004463c
movabs rcx, 0xfd1ffffffffffcc9
add rcx, rax
cmp rcx, 0x2c
ja 0x180044461
movabs rdx, 0x100800040025
bt rdx, rcx
jb 0x1800447d2
movabs rcx, 0x2e000000000016c
cmp rax, rcx
je 0x1800447d2
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
movups xmmword [rbp + 0xe8], xmm0
movups xmmword [rbp + 0xf8], xmm0
nop dword [rax]
mov rbx, qword [0x180158870]
lea rdx, [rbp + 0x70]
add rbx, rsi
mov rcx, rbx
call fcn.18003f3c0
lea rdx, [rbp + 0x108]
mov rcx, rbx
mov r8d, dword [rax + r12]
call fcn.18003db10
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.18003b6e0
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 0x180044519
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x180044521
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss dword [rbp + r12 + 0xd8], xmm0
add r12, 4
cmp r12, 0x30
jl 0x180044490
lea rdi, [rbp + 0xd8]
lea rax, [rbp + 0xdc]
nop word [rax + rax]
movss xmm0, dword [rdi]
lea rcx, [rbp + 0x108]
comiss xmm0, dword [rax]
cmova rdi, rax
add rax, 4
cmp rax, rcx
jne 0x180044550
mov rbx, qword [0x180158870]
lea rdx, [rbp + 0x70]
add rbx, rsi
mov rcx, rbx
call fcn.18003f3c0
lea rcx, [rbp + 0xd8]
sub rdi, rcx
lea rdx, [rbp + 0x108]
sar rdi, 2
mov rcx, rbx
movsxd r8, edi
mov r8d, dword [rax + r8*4]
call fcn.18003db10
movsd xmm1, qword [rax]
mov ecx, dword [rax + 8]
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
movsd qword [r14], xmm1
movss dword [rsp + 0x34], xmm0
movss dword [rsp + 0x30], xmm1
movsd qword [rsp + 0x20], xmm1
mov dword [rsp + 0x38], ecx
mov dword [r14 + 8], ecx
test r13b, r13b
je 0x180044638
lea rdx, [rbp + 0x108]
call fcn.18003b500
lea rdx, [rbp - 0x24]
call fcn.18003b500
lea rdx, [rbp - 0x30]
call fcn.18003b500
mov rax, qword [0x180158870]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
movsd xmm0, qword [rsi + rax + 0xf2]
mov eax, dword [rsi + rax + 0xfa]
movsd qword [rsp + 0x60], xmm0
mov dword [rsp + 0x68], eax
call fcn.1800436b0
movsd xmm0, qword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
movsd qword [r14], xmm0
mov dword [r14 + 8], eax
mov ebx, dword [rsp + 0x40]
mov ecx, dword [0x1800aa1cc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800446ff
cmp byte [0x180157ecc], 0
je 0x1800446ff
movss xmm1, dword [0x1800a1850]
movss xmm0, dword [0x1800aa234]
mulss xmm0, xmm1
cvttss2si rdi, xmm0
movss xmm0, dword [0x1800aa230]
mulss xmm0, xmm1
shl edi, 8
cvttss2si rax, xmm0
movss xmm0, dword [0x1800aa22c]
or edi, eax
mulss xmm0, xmm1
shl edi, 8
cvttss2si rax, xmm0
movss xmm0, dword [0x1800aa228]
or edi, eax
mulss xmm0, xmm1
shl edi, 8
cvttss2si rax, xmm0
or edi, eax
movsxd rax, ebx
imul rbx, rax, 0x12e
mov rax, qword [0x180158870]
mov r8d, edi
mov dword [0x1800aa1e4], edi
mov rdx, qword [rbx + rax + 0x38]
add rdx, 0x144
call fcn.18005e820
mov rax, qword [0x180158870]
mov r8d, edi
mov rdx, qword [rbx + rax + 0x38]
add rdx, 0x130
call fcn.18005e820
mov rdi, qword [rsp + 0x2f8]
mov rsi, qword [rsp + 0x2f0]
mov r15, qword [rsp + 0x2b0]
mov r13, qword [rsp + 0x2b8]
movabs rax, 0x2e0000000000200
cmp qword [0x1801576a0], rax
mov r12, qword [rsp + 0x2c0]
mov rbx, qword [rsp + 0x2e8]
jne 0x180044783
mov rdx, qword [0x180158850]
mov rax, qword [0x180158858]
cmp rdx, rax
je 0x180044783
movabs r9, 0x400000000002533
nop
movsd xmm0, qword [rdx + 0x10]
mov r8d, dword [rdx + 0x18]
movsd qword [rbp + 0x118], xmm0
cmp qword [rdx], r9
je 0x180044d20
add rdx, 0x1c
cmp rdx, rax
jne 0x180044760
mov rax, r14
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.180065490
lea r11, [rsp + 0x2c8]
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
movdqa xmm0, xmmword [0x1800a1980]
lea rdx, [rsp + 0x70]
mov r8d, 0x11
mov dword [rbp + 0x118], 0x36
mov rcx, r9
movdqu xmmword [rbp + 0x108], xmm0
call fcn.18003db10
mov rcx, qword [0x180158870]
movsd xmm1, qword [rax]
movss xmm0, dword [rsi + rcx + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x48], xmm1
jp 0x18004484f
jne 0x18004484f
movss xmm0, dword [rsi + rcx + 0x10e]
ucomiss xmm0, dword [rsp + 0x4c]
jp 0x18004484f
jne 0x18004484f
movss xmm1, dword [rsi + rcx + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x18004484f
jne 0x18004484f
mov dword [rbp + 0xc0], 0x47c35000
jmp 0x1800448c6
movsd xmm0, qword [rax]
lea r8, [rsp + 0x20]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
call fcn.18003b6e0
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 0x1800448af
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x1800448b7
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x180158870]
movss dword [rbp + 0xc0], xmm0
add rcx, rsi
lea rdx, [rsp + 0x70]
mov r8d, 0x10
call fcn.18003db10
mov rcx, qword [0x180158870]
movsd xmm1, qword [rax]
movss xmm0, dword [rsi + rcx + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x48], xmm1
jp 0x180044929
jne 0x180044929
movss xmm0, dword [rsi + rcx + 0x10e]
ucomiss xmm0, dword [rsp + 0x4c]
jp 0x180044929
jne 0x180044929
movss xmm1, dword [rsi + rcx + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x180044929
jne 0x180044929
mov dword [rbp + 0xc4], 0x47c35000
jmp 0x1800449a0
movsd xmm0, qword [rax]
lea r8, [rsp + 0x20]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
call fcn.18003b6e0
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 0x180044989
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x180044991
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x180158870]
movss dword [rbp + 0xc4], xmm0
add rcx, rsi
lea rdx, [rsp + 0x70]
mov r8d, 3
call fcn.18003db10
mov rcx, qword [0x180158870]
movsd xmm1, qword [rax]
movss xmm0, dword [rsi + rcx + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x48], xmm1
jp 0x180044a03
jne 0x180044a03
movss xmm0, dword [rsi + rcx + 0x10e]
ucomiss xmm0, dword [rsp + 0x4c]
jp 0x180044a03
jne 0x180044a03
movss xmm1, dword [rsi + rcx + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x180044a03
jne 0x180044a03
mov dword [rbp + 0xc8], 0x47c35000
jmp 0x180044a7a
movsd xmm0, qword [rax]
lea r8, [rsp + 0x20]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
call fcn.18003b6e0
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 0x180044a63
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x180044a6b
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x180158870]
movss dword [rbp + 0xc8], xmm0
add rcx, rsi
lea rdx, [rsp + 0x70]
mov r8d, 0xd
call fcn.18003db10
mov rcx, qword [0x180158870]
movsd xmm1, qword [rax]
movss xmm0, dword [rsi + rcx + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x48], xmm1
jp 0x180044add
jne 0x180044add
movss xmm0, dword [rsi + rcx + 0x10e]
ucomiss xmm0, dword [rsp + 0x4c]
jp 0x180044add
jne 0x180044add
movss xmm1, dword [rsi + rcx + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x180044add
jne 0x180044add
mov dword [rbp + 0xcc], 0x47c35000
jmp 0x180044b54
movsd xmm0, qword [rax]
lea r8, [rsp + 0x20]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
call fcn.18003b6e0
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 0x180044b3d
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x180044b45
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rcx, qword [0x180158870]
movss dword [rbp + 0xcc], xmm0
add rcx, rsi
lea rdx, [rsp + 0x70]
mov r8d, 0x36
call fcn.18003db10
mov rdx, qword [0x180158870]
movsd xmm1, qword [rax]
movss xmm0, dword [rsi + rdx + 0x10a]
ucomiss xmm0, xmm1
movsd qword [rsp + 0x48], xmm1
jp 0x180044bb7
jne 0x180044bb7
movss xmm0, dword [rsi + rdx + 0x10e]
ucomiss xmm0, dword [rsp + 0x4c]
jp 0x180044bb7
jne 0x180044bb7
movss xmm1, dword [rsi + rdx + 0x112]
ucomiss xmm1, dword [rax + 8]
jp 0x180044bb7
jne 0x180044bb7
mov dword [rbp + 0xd0], 0x47c35000
jmp 0x180044c2e
movsd xmm0, qword [rax]
lea r8, [rsp + 0x20]
mov eax, dword [rax + 8]
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
call fcn.18003b6e0
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 0x180044c17
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x180044c1f
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rdx, qword [0x180158870]
movss dword [rbp + 0xd0], xmm0
lea rax, [rbp + 0xc0]
lea rcx, [rbp + 0xc4]
nop dword [rax]
movss xmm0, dword [rax]
lea r8, [rbp + 0xd4]
comiss xmm0, dword [rcx]
cmova rax, rcx
add rcx, 4
cmp rcx, r8
jne 0x180044c40
lea rcx, [rsi + rdx]
lea rdx, [rbp + 0xc0]
sub rax, rdx
lea rdx, [rbp + 0x108]
sar rax, 2
movsxd r8, eax
mov r8d, dword [rbp + r8*4 + 0x108]
call fcn.18003db10
movsd xmm1, qword [rax]
mov ecx, dword [rax + 8]
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
movsd qword [r14], xmm1
movss dword [rsp + 0x34], xmm0
movss dword [rsp + 0x30], xmm1
movsd qword [rsp + 0x20], xmm1
mov dword [rsp + 0x38], ecx
mov dword [r14 + 8], ecx
test r13b, r13b
je 0x18004463c
lea rdx, [rbp + 0x108]
call fcn.18003b500
lea rdx, [rbp - 0x24]
call fcn.18003b500
lea rdx, [rbp - 0x30]
call fcn.18003b500
mov rax, qword [0x180158870]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
movsd xmm0, qword [rsi + rax + 0xf2]
mov eax, dword [rsi + rax + 0xfa]
movsd qword [rsp + 0x60], xmm0
mov dword [rsp + 0x68], eax
call fcn.1800436b0
movsd xmm0, qword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
movsd qword [r14], xmm0
mov dword [r14 + 8], eax
jmp 0x18004463c
movss xmm7, dword [rbp + 0x118]
lea rdx, [rsp + 0x40]
movss xmm8, dword [rbp + 0x11c]
movd xmm9, r8d
lea r8, [rsp + 0x20]
movss dword [rsp + 0x20], xmm7
movss dword [rsp + 0x24], xmm8
movss dword [rsp + 0x28], xmm9
call fcn.18003b6e0
movss xmm0, dword [rsp + 0x40]
movaps xmm1, xmm11
subss xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
movaps xmm1, xmm11
movss xmm0, dword [rsp + 0x44]
subss xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm6, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm6
ja 0x180044d99
xorps xmm0, xmm0
sqrtss xmm0, xmm6
jmp 0x180044da1
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm10, xmm0
jbe 0x180044dca
movss xmm1, dword [0x1800aa1c8]
comiss xmm1, xmm0
jb 0x180044dca
movss dword [r14], xmm7
movss dword [r14 + 4], xmm8
movss dword [r14 + 8], xmm9
jmp 0x180044783
cmp byte [0x1801583da], 0
mov rax, r14
je 0x180044786
movss dword [r14], xmm7
movss dword [r14 + 4], xmm8
movss dword [r14 + 8], xmm9
jmp 0x180044786