Function at 0x14003f1f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov rsi, qword [0x1401ce530]
mov r15d, r9d
mov rdi, qword [rbp + 0xc0]
mov r14d, edx
mov dword [rsp + 0x34], r8d
mov dword [rsp + 0x44], edx
mov rax, qword [rsi + 0x12c0]
mov qword [rbp - 0x80], rcx
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x60], rsi
mov byte [rax + 0xc0], 1
mov r13, qword [rsi + 0x12c0]
cmp byte [r13 + 0xc3], 0
je 0x14003f262
xor al, al
add rsp, 0x168
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x1b0], rbx
lea rcx, [rbp - 0x70]
movaps xmmword [rsp + 0x140], xmm7
mov ebx, r15d
and ebx, 0x3000000
movaps xmmword [rsp + 0x120], xmm9
mov dword [rsp + 0x38], ebx
call fcn.14000fb40
movss xmm7, dword [0x14015167c]
xorps xmm9, xmm9
test ebx, ebx
je 0x14003f2ac
movss xmm3, dword [rbp - 0x6c]
maxss xmm3, xmm7
jmp 0x14003f2af
xorps xmm3, xmm3
movss xmm2, dword [rbp - 0x70]
lea rcx, [rbp - 0x68]
movss xmm1, dword [rdi + 4]
maxss xmm2, xmm7
movss xmm0, dword [rdi]
unpcklps xmm0, xmm1
movq rdx, xmm0
call fcn.14000a3f0
movss xmm0, dword [r13 + 0x110]
movss xmm2, dword [rbp - 0x68]
movss xmm1, dword [rbp - 0x64]
addss xmm2, xmm0
addss xmm1, dword [r13 + 0x114]
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [r13 + 0x114]
movss dword [rsp + 0x64], xmm0
movss dword [rsp + 0x68], xmm2
movss dword [rsp + 0x6c], xmm1
cmp byte [r13 + 0xdc], 0
jg 0x14003f32c
cmp byte [r13 + 0xdd], 0
jg 0x14003f32c
xor dil, dil
jmp 0x14003f32f
mov dil, 1
mov byte [rsp + 0x30], dil
test ebx, ebx
je 0x14003f38a
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140015290
test al, al
je 0x14003f38a
test dil, dil
jne 0x14003f38a
movss xmm1, dword [rsp + 0x6c]
lea rcx, [rsp + 0x58]
subss xmm1, dword [rsp + 0x64]
movss xmm0, dword [rsp + 0x68]
subss xmm0, dword [rsp + 0x60]
movss dword [rsp + 0x5c], xmm1
movss xmm1, dword [0x1401516e4]
movss dword [rsp + 0x58], xmm0
call fcn.1400169e0
xor al, al
jmp 0x1400403cf
mov qword [rsp + 0x160], r12
lea rcx, [rsi + 0x2090]
movaps xmmword [rsp + 0x150], xmm6
mov r8d, 0xffffffff
mov edx, r14d
movaps xmmword [rsp + 0x130], xmm8
call fcn.140010580
mov rdx, rax
movsxd rcx, dword [rax]
cmp ecx, 0xffffffff
je 0x14003f3d3
imul rbx, rcx, 0x250
add rbx, qword [rsi + 0x2088]
jmp 0x14003f3ea
mov eax, dword [rsi + 0x20a0]
lea rcx, [rsi + 0x2080]
mov dword [rdx], eax
call fcn.14003e770
mov rbx, rax
mov eax, dword [rbx + 4]
mov rcx, rbx
sub rcx, qword [rsi + 0x2088]
mov r10d, 8
mov edi, dword [rsi + 0x2068]
mov dword [rsp + 0x70], eax
inc edi
movabs rax, 0x3759f22983759f23
mov qword [rsp + 0x58], rbx
imul rcx
mov dword [rsi + 0x2068], edi
mov r14, rdx
sar r14, 7
mov rcx, r14
shr rcx, 0x3f
add r14, rcx
mov qword [rsp + 0x48], r14
cmp edi, dword [rsi + 0x2070]
jle 0x14003f57e
mov ecx, dword [rsi + 0x2074]
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp + 0x18], rax
movups xmmword [rbp - 0x58], xmm0
mov dword [rbp - 0x54], 0xbf800000
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
cmp edi, ecx
jle 0x14003f4e6
test ecx, ecx
je 0x14003f488
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003f48b
mov eax, r10d
cmp eax, edi
mov r14d, edi
cmovg r14d, eax
cmp r14d, ecx
jle 0x14003f4e1
movsxd rax, r14d
imul rcx, rax, 0x78
call fcn.1400179d0
mov rdx, qword [rsi + 0x2078]
mov r12, rax
test rdx, rdx
je 0x14003f4d3
movsxd rcx, dword [rsi + 0x2070]
imul r8, rcx, 0x78
mov rcx, rax
call fcn.14013d628
mov rcx, qword [rsi + 0x2078]
call fcn.1400179e0
mov qword [rsi + 0x2078], r12
mov dword [rsi + 0x2074], r14d
mov r14, qword [rsp + 0x48]
movsxd rax, dword [rsi + 0x2070]
cmp edi, eax
jle 0x14003f55b
movsxd rdx, edi
cmp rax, rdx
jge 0x14003f55b
imul rcx, rax, 0x78
sub rdx, rax
mov rax, qword [rsi + 0x2078]
lea rcx, [rcx + 0x78]
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rcx + rax - 0x78], xmm0
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rcx + rax - 0x68], xmm1
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rcx + rax - 0x58], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rcx + rax - 0x48], xmm1
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rcx + rax - 0x38], xmm0
movups xmm1, xmmword [rbp - 8]
movups xmmword [rcx + rax - 0x28], xmm1
movups xmm0, xmmword [rbp + 8]
movups xmmword [rcx + rax - 0x18], xmm0
movsd xmm1, qword [rbp + 0x18]
movsd qword [rcx + rax - 8], xmm1
sub rdx, 1
jne 0x14003f500
lea rcx, [rbp - 0x40]
mov dword [rsi + 0x2070], edi
call fcn.140032c00
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14003f578
call fcn.1400179e0
mov r10d, 8
movsxd rax, dword [rsi + 0x2068]
xor edi, edi
mov r9, qword [rsi + 0x2078]
imul rcx, rax, 0x78
add r9, 0xffffffffffffff88
add r9, rcx
mov qword [rbx + 0x10], r9
mov qword [rsp + 0x50], r9
mov dword [r9], r14d
mov rax, qword [rbx + 0x10]
add rax, 0x18
mov qword [rbx + 0x1a0], rax
test r15d, 0xe000
mov dword [rax], edi
mov dword [rax + 4], 1
sete al
mov byte [rbx + 0x243], al
test r15d, 0xe000
jne 0x14003f5f1
bt r15d, 0x18
jb 0x14003f5e9
test byte [r13 + 0x14], 0x40
mov eax, 0x8000
je 0x14003f5ee
mov eax, 0x2000
or r15d, eax
mov eax, r15d
mov ecx, r15d
bts ecx, 0x12
and eax, 0xe000
cmp eax, 0x4000
mov rax, qword [r13 + 0x388]
cmovne ecx, r15d
mov edx, ecx
bts edx, 9
test cl, 1
cmove edx, ecx
mov ecx, edx
and ecx, 0xfffcffff
test edx, 0x3000000
cmove ecx, edx
mov edx, ecx
btr edx, 0xb
bt ecx, 0xc
cmovae edx, ecx
mov r8d, edx
or r8d, 0x10
test dl, 0xf
cmovne r8d, edx
mov r14d, r8d
or r14d, 0x10
test dword [rax + 0x14], 0x100
mov eax, dword [rbx + 0x68]
cmove r14d, r8d
mov dword [rsp + 0x40], eax
cmp eax, dword [rsi + 0x1218]
je 0x14003f66e
mov r12d, edi
jmp 0x14003f676
movsx r12d, word [rbx + 0x78]
inc r12d
mov r8d, dword [rsp + 0x44]
movss xmm6, dword [rbp + 0xc8]
mov dword [rbx], r8d
mov dword [rbx + 4], r14d
mov eax, dword [rsi + 0x1218]
mov dword [rbx + 0x68], eax
mov eax, dword [rsp + 0x34]
mov dword [rbx + 0x6c], eax
mov rax, qword [rsp + 0x78]
movss dword [rbx + 0xcc], xmm6
mov qword [rbx + 0x188], r13
mov qword [rbx + 0x180], r13
mov byte [rbx + 0x236], dil
movsd xmm0, qword [rax]
movsd qword [r9 + 0xc], xmm0
mov word [rbx + 0x78], r12w
test r12d, r12d
jle 0x14003f7b7
mov r15d, dword [rbx + 0x1c0]
cmp r15d, r12d
jge 0x14003f79a
mov ecx, dword [rbx + 0x1c4]
cmp r15d, ecx
jne 0x14003f770
inc r15d
test ecx, ecx
je 0x14003f705
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003f708
mov eax, r10d
cmp eax, r15d
cmovg r15d, eax
cmp r15d, ecx
jle 0x14003f770
movsxd rax, r15d
lea rcx, [rax + rax*2]
shl rcx, 3
call fcn.1400179d0
mov rdx, qword [rbx + 0x1c8]
mov qword [rsp + 0x78], rax
test rdx, rdx
je 0x14003f75d
movsxd rcx, dword [rbx + 0x1c0]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 3
call fcn.14013d628
mov rcx, qword [rbx + 0x1c8]
call fcn.1400179e0
mov rax, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x44]
mov qword [rbx + 0x1c8], rax
mov dword [rbx + 0x1c4], r15d
movsxd rax, dword [rbx + 0x1c0]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x1c8]
mov qword [rax + rcx*8], rdi
mov qword [rax + rcx*8 + 8], rdi
mov qword [rax + rcx*8 + 0x10], 0xffffffffffffffff
inc dword [rbx + 0x1c0]
xor edx, edx
lea rcx, [0x140158660]
call fcn.1400104e0
mov edx, eax
mov ecx, r12d
call fcn.140010480
mov r15d, eax
jmp 0x14003f7ba
mov r15d, r8d
movsx eax, word [rbx + 0x78]
test eax, eax
jne 0x14003f7cb
lea rax, [rbx + 0x1a8]
jmp 0x14003f7df
dec eax
movsxd rcx, eax
mov rax, qword [rbx + 0x1c8]
lea rdx, [rcx + rcx*2]
lea rax, [rax + rdx*8]
movss xmm8, dword [0x1401516dc]
mov dword [rax], r15d
cmp dword [rsp + 0x38], edi
je 0x14003f975
mov eax, r14d
movaps xmm1, xmm8
and eax, 0x3000000
movaps xmm0, xmm8
cmp eax, 0x1000000
jne 0x14003f814
movss xmm0, dword [0x1401587e8]
bt r14d, 0x18
jae 0x14003f83a
comiss xmm6, xmm9
jbe 0x14003f83a
ucomiss xmm6, xmm8
movaps xmm1, xmm6
jp 0x14003f82c
je 0x14003f83a
ucomiss xmm0, xmm8
jp 0x14003f842
jne 0x14003f842
movaps xmm0, xmm9
jmp 0x14003f842
ucomiss xmm0, xmm8
jp 0x14003f842
je 0x14003f864
ucomiss xmm1, xmm8
jp 0x14003f84e
jne 0x14003f84e
movaps xmm1, xmm9
lea rcx, [rsp + 0x38]
movss dword [rsp + 0x38], xmm1
movss dword [rsp + 0x3c], xmm0
call fcn.140023840
test dword [rsp + 0x70], 0x3000000
jne 0x14003f87d
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rdi
call fcn.1400238d0
movss xmm0, dword [rsp + 0x68]
lea r8, [rsp + 0x38]
movss xmm1, dword [rsp + 0x6c]
mov eax, r14d
subss xmm0, dword [rsp + 0x60]
subss xmm1, dword [rsp + 0x64]
mov rcx, qword [rbp - 0x80]
xor r9d, r9d
shr eax, 0xd
mov edx, r15d
and eax, 0x800
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
mov dword [rsp + 0x20], eax
call fcn.140008e50
mov rcx, qword [rsi + 0x12c0]
mov qword [rbx + 0x188], rcx
movups xmm0, xmmword [rcx + 0x228]
movups xmmword [rbx + 0x110], xmm0
movss xmm3, dword [rcx + 0x28]
movss xmm1, dword [rcx + 0x2c]
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0x30]
shufps xmm3, xmm3, 0xe1
movaps xmm2, xmm1
addss xmm2, dword [rcx + 0x34]
movss xmm3, xmm1
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm0
shufps xmm3, xmm3, 0x27
movss xmm3, xmm2
shufps xmm3, xmm3, 0x39
movups xmmword [rbx + 0xf0], xmm3
movups xmm0, xmmword [rcx + 0x208]
movups xmmword [rbp - 0x80], xmm3
movups xmmword [rbx + 0x100], xmm0
cmp byte [rcx + 0xc3], dil
je 0x14003f94d
cmp byte [rsp + 0x30], dil
je 0x14003f94d
mov byte [rcx + 0xc3], dil
mov rcx, qword [rbx + 0x188]
test r12d, r12d
jne 0x14003f966
movzx eax, byte [rbx + 0x246]
mov byte [rbx + 0x247], al
mov byte [rbx + 0x246], dil
movzx eax, byte [rcx + 0xbd]
or byte [rbx + 0x246], al
jmp 0x14003f98f
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x100], xmm0
movups xmmword [rbx + 0xf0], xmm0
movups xmmword [rbx + 0x110], xmm0
mov ecx, dword [rsp + 0x44]
call fcn.14001e0b0
movaps xmm6, xmmword [rsp + 0x150]
test r12d, r12d
jle 0x14003f9ad
mov ecx, r15d
call fcn.14001e0b0
mov r12, qword [rbx + 0x188]
mov r15, qword [rsp + 0x50]
mov qword [rsp + 0x78], r12
mov eax, dword [r12 + 0x154]
lea r10, [r12 + 0x248]
mov dword [rbx + 0xb4], eax
movups xmm0, xmmword [r10]
movups xmmword [rbx + 0x160], xmm0
movzx eax, byte [r12 + 0xc3]
mov byte [rbx + 0x249], al
movups xmm0, xmmword [r12 + 0x228]
movups xmmword [r15 + 0x30], xmm0
movups xmm0, xmmword [r12 + 0x238]
movups xmmword [r15 + 0x40], xmm0
movss xmm1, dword [r13 + 0x158]
movss dword [r15 + 0x68], xmm1
movsd xmm0, qword [r12 + 0x140]
movsd qword [r15 + 0x50], xmm0
movsd xmm0, qword [r12 + 0x138]
movsd qword [r15 + 0x58], xmm0
movsd xmm1, qword [r12 + 0x128]
movsd qword [r15 + 0x60], xmm1
mov eax, dword [r13 + 0x1cc]
mov dword [r15 + 0x6c], eax
mov eax, dword [r13 + 0x1d8]
mov dword [r15 + 0x70], eax
mov qword [r12 + 0x138], rdi
mov qword [r12 + 0x140], rdi
cmp r12, r13
je 0x14003faba
bt r14d, 0xa
jae 0x14003fa97
movss xmm0, dword [rbx + 0x160]
addss xmm0, xmm7
minss xmm0, dword [rbx + 0x168]
movss dword [rbx + 0x160], xmm0
bt r14d, 8
jae 0x14003faba
movss xmm0, dword [rbx + 0x164]
addss xmm0, xmm7
minss xmm0, dword [rbx + 0x16c]
movss dword [rbx + 0x164], xmm0
bt r14d, 0x16
jae 0x14003fac5
xor dl, dl
jmp 0x14003fad9
bt r14d, 0x15
jae 0x14003fad0
mov dl, 1
jmp 0x14003fad9
mov edx, r14d
shr edx, 0xa
and dl, 1
mov ecx, r14d
mov r8d, r14d
shr ecx, 0x17
not cl
and cl, 1
and r8d, 0x200
je 0x14003faf5
movaps xmm3, xmm7
jmp 0x14003faf9
movaps xmm3, xmm9
test cl, cl
je 0x14003fb3c
test r8d, r8d
jne 0x14003fb3c
lea rax, [rsi + 0xc04]
movss xmm1, dword [rax]
movaps xmm2, xmm9
movss dword [rbx + 0xc8], xmm1
movaps xmm0, xmm1
movss dword [rbx + 0xc0], xmm2
addss xmm0, xmm3
movss dword [rbx + 0xc4], xmm0
bt r14d, 0xa
jae 0x14003fb56
movaps xmm1, xmm7
jmp 0x14003fb5a
lea rax, [rsi + 0xc04]
movaps xmm1, xmm9
test cl, cl
je 0x14003fb0d
test r8d, r8d
je 0x14003fb0d
movss xmm2, dword [rax]
jmp 0x14003fb11
movaps xmm1, xmm9
test dl, dl
je 0x14003fb64
movss xmm0, dword [rax]
jmp 0x14003fb68
movaps xmm0, xmm9
mov qword [rbx + 0x70], 0xffffffffffffffff
addss xmm0, xmm1
mov dword [rbx + 0x98], edi
lea rcx, [rbx + 0x120]
mov word [rbx + 0x96], di
lea rax, [rbx + 0x110]
cmp r12, r13
lea rdx, [rbx + 0x160]
subss xmm0, xmm2
cmovne rax, r10
movss dword [rbx + 0xbc], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movss xmm1, dword [rcx]
movss xmm0, dword [rcx + 4]
maxss xmm1, dword [rbx + 0x110]
maxss xmm0, dword [rbx + 0x114]
movss dword [rcx], xmm1
movss dword [rcx + 4], xmm0
movss xmm1, dword [rcx + 8]
movss xmm0, dword [rcx + 0xc]
minss xmm1, dword [rbx + 0x118]
minss xmm0, dword [rbx + 0x11c]
movss dword [rcx + 8], xmm1
movss dword [rcx + 0xc], xmm0
call fcn.14000bbf0
bt r14d, 0x11
jae 0x14003fc15
movss xmm0, dword [rbx + 0x12c]
minss xmm0, dword [r12 + 0x234]
jmp 0x14003fc1f
movss xmm0, dword [r12 + 0x254]
mov eax, dword [rsp + 0x40]
movss dword [rbx + 0x12c], xmm0
inc eax
movss xmm0, dword [rbx + 0x114]
movss dword [rbx + 0x80], xmm0
movss dword [rbx + 0x7c], xmm0
mov qword [rbx + 0x88], rdi
mov qword [rbx + 0x226], rdi
mov byte [rbx + 0x242], 1
mov dword [rbx + 0x206], edi
cmp eax, dword [rsi + 0x1218]
jge 0x14003fc6c
mov byte [rbx + 0x245], dil
movaps xmm1, xmm7
mov dword [r15 + 8], edi
mov ecx, 0x2b
call fcn.14000fa80
movaps xmm1, xmm7
mov dword [rbx + 0xa4], eax
mov ecx, 0x2c
call fcn.14000fa80
mov r9, qword [rsp + 0x48]
mov dword [rbx + 0xa8], eax
mov qword [rsi + 0x2060], rbx
mov byte [r13 + 0x170], dil
mov dword [r13 + 0x1c0], r9d
cmp r12, r13
je 0x14003fcbd
mov dword [r12 + 0x1c0], r9d
test byte [rsp + 0x70], 2
je 0x14003fcd1
test r14b, 2
jne 0x14003fcd1
mov byte [rbx + 0x241], 1
cmp r9d, dword [rsi + 0x20a8]
jl 0x14003fda9
mov ecx, dword [rsi + 0x20ac]
lea r14d, [r9 + 1]
mov dword [rsp + 0x40], 0xbf800000
cmp r14d, ecx
jle 0x14003fd6a
test ecx, ecx
je 0x14003fd04
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003fd09
mov eax, 8
cmp eax, r14d
mov r15d, r14d
cmovg r15d, eax
cmp r15d, ecx
jle 0x14003fd65
movsxd rcx, r15d
shl rcx, 2
call fcn.1400179d0
mov rdx, qword [rsi + 0x20b0]
mov r13, rax
test rdx, rdx
je 0x14003fd52
movsxd r8, dword [rsi + 0x20a8]
mov rcx, rax
shl r8, 2
call fcn.14013d628
mov rcx, qword [rsi + 0x20b0]
call fcn.1400179e0
mov r9, qword [rsp + 0x48]
mov qword [rsi + 0x20b0], r13
mov dword [rsi + 0x20ac], r15d
mov r15, qword [rsp + 0x50]
movsxd rax, dword [rsi + 0x20a8]
cmp r14d, eax
jle 0x14003fda2
movsxd r8, r14d
mov rdx, rax
cmp rax, r8
jge 0x14003fda2
mov eax, dword [rsp + 0x40]
nop word [rax + rax]
mov rcx, qword [rsi + 0x20b0]
mov dword [rcx + rdx*4], eax
inc rdx
cmp rdx, r8
jl 0x14003fd90
mov dword [rsi + 0x20a8], r14d
movsd xmm0, qword [rsi + 0x1210]
mov rax, qword [rsi + 0x20b0]
cvtpd2ps xmm0, xmm0
movsxd rcx, r9d
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
movss dword [rax + rcx*4], xmm0
movabs rax, 0x4924924924924925
movsd xmm0, qword [rsi + 0x1210]
cvtpd2ps xmm0, xmm0
movss dword [r15 + 4], xmm0
mov byte [rbx + 0x248], dil
mov r8, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x20]
sub rcx, r8
imul rcx
mov ecx, dword [rsp + 0x34]
mov r10, rdx
sar r10, 5
mov rax, r10
shr rax, 0x3f
add r10, rax
mov qword [rbp - 0x80], r10
test r10d, r10d
je 0x14003fe34
cmp r10d, ecx
je 0x14003fe34
mov rax, qword [rbx + 8]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r8
mov qword [rbx + 8], rdi
cmp qword [rbx + 8], rdi
jne 0x14003ff15
imul edi, ecx, 0x70
lea esi, [rcx + rcx]
lea eax, [rcx + 0x1f]
lea r15d, [rcx*8]
sar eax, 3
and eax, 0xfffffffc
lea r14d, [rdi + 3]
add r14d, esi
and r14d, 0xfffffffc
lea r12d, [r15 + r14]
lea r13d, [rax + r12]
lea ecx, [rax + r13]
add eax, ecx
mov dword [rsp + 0x40], ecx
movsxd rbx, eax
mov rcx, rbx
call fcn.1400179d0
mov rcx, qword [rsp + 0x58]
mov r8, rbx
xor edx, edx
mov qword [rcx + 8], rax
mov rcx, rax
call fcn.14013d634
mov rbx, qword [rsp + 0x58]
mov r10, qword [rbp - 0x80]
movsxd rcx, edi
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x18], rdx
lea rax, [rcx + rdx]
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
movsxd rax, esi
mov rsi, qword [rbp - 0x60]
add rax, rcx
add rax, rdx
movsxd rcx, r14d
mov qword [rbx + 0x30], rax
lea rax, [rcx + rdx]
mov qword [rbx + 0x38], rax
movsxd rax, r15d
add rax, rcx
add rax, rdx
mov qword [rbx + 0x40], rax
movsxd rax, r12d
mov r12, qword [rsp + 0x78]
add rax, rdx
mov qword [rbx + 0x48], rax
movsxd rax, r13d
add rax, rdx
mov byte [rbx + 0x23d], 1
mov qword [rbx + 0x50], rax
movsxd rax, dword [rsp + 0x40]
add rax, rdx
mov byte [rbx + 0x238], 1
mov qword [rbx + 0x58], rax
xor edi, edi
mov al, 1
jmp 0x14003ff1c
movzx eax, byte [rbx + 0x238]
cmp byte [rbx + 0x240], 0
je 0x14003ff41
mov word [rbx + 0x23d], 0x100
mov byte [rbx + 0x238], 1
mov byte [rbx + 0x240], 0
mov dword [rbx + 0x60], edi
jmp 0x14003ff49
test al, al
je 0x1400400c4
mov r14d, dword [rsp + 0x34]
mov r15d, 0xffffffff
mov dword [rbx + 0x64], r15d
mov r8d, edi
mov word [rbx + 0x7a], r15w
mov word [rbx + 0x224], r15w
mov word [rbx + 0x218], r15w
mov word [rbx + 0x210], r15w
mov byte [rbx + 0x239], 1
mov dword [rbx + 0x212], 0xffffffff
mov dword [rbx + 0x20a], 0xffffffff
test r14d, r14d
jle 0x1400400cf
mov rsi, qword [rsp + 0x50]
mov r9, rdi
mov rcx, rdi
mov r11d, 0xff
nop dword [rax]
mov rdx, qword [rbx + 0x18]
test rsi, rsi
je 0x140040007
cmp r8d, r10d
jge 0x140040007
movups xmm0, xmmword [rcx + rsi]
movups xmmword [rcx + rdx], xmm0
movups xmm1, xmmword [rcx + rsi + 0x10]
movups xmmword [rcx + rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + rsi + 0x20]
movups xmmword [rcx + rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + rsi + 0x30]
movups xmmword [rcx + rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + rsi + 0x40]
movups xmmword [rcx + rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + rsi + 0x50]
movups xmmword [rcx + rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + rsi + 0x60]
movups xmmword [rcx + rdx + 0x60], xmm0
jmp 0x14004009b
movss xmm2, dword [rcx + rdx + 0x14]
xorps xmm1, xmm1
movups xmmword [rcx + rdx], xmm1
movups xmmword [rbp - 8], xmm1
mov qword [rbp - 8], 0xffffffffffffffff
movups xmmword [rbp - 0x48], xmm1
mov dword [rbp - 0x48], 0xbf800000
xorps xmm0, xmm0
mov dword [rbp - 0x40], 0xbf800000
psrldq xmm0, 0xd
movd eax, xmm0
movups xmm0, xmmword [rbp - 0x48]
mov dword [rbp], 0xffffffff
movups xmmword [rbp + 8], xmm1
mov dword [rbp + 6], 0xff00ff
and al, 0xfc
movups xmmword [rcx + rdx + 0x10], xmm0
mov word [rbp + 4], r11w
movups xmm0, xmmword [rbp - 8]
mov byte [rbp + 0x15], al
movups xmmword [rcx + rdx + 0x20], xmm1
movups xmmword [rcx + rdx + 0x30], xmm1
movups xmmword [rcx + rdx + 0x40], xmm1
movups xmm1, xmmword [rbp + 8]
movups xmmword [rcx + rdx + 0x50], xmm0
movups xmmword [rcx + rdx + 0x60], xmm1
mov byte [rcx + rdx + 0x69], 1
movss dword [rcx + rdx + 0x14], xmm2
mov word [rcx + rdx + 0x63], 0x101
mov byte [rcx + rdx + 0x62], 1
mov rax, qword [rbx + 0x28]
mov word [r9 + rax], r8w
add r9, 2
mov word [rcx + rdx + 0x52], r8w
inc r8d
add rcx, 0x70
cmp r8d, r14d
jl 0x14003ffb0
mov rsi, qword [rbp - 0x60]
jmp 0x1400400cf
mov r14d, dword [rsp + 0x34]
mov r15d, 0xffffffff
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400400e1
mov rcx, rax
call fcn.1400179e0
cmp byte [rbx + 0x23d], 0
je 0x1400400f2
mov rcx, rbx
call fcn.1400456b0
movss xmm0, dword [rbx + 0xe4]
ucomiss xmm0, xmm9
movss xmm2, dword [rsi + 0xff8]
jp 0x14004010e
je 0x1400401e4
ucomiss xmm0, xmm2
jp 0x140040119
je 0x1400401e4
movsxd rdx, r14d
movaps xmm1, xmm2
mov r9, rdi
divss xmm1, xmm0
cmp rdx, 4
jl 0x1400401bb
lea r8, [rdx - 4]
mov rcx, rdi
shr r8, 2
inc r8
lea r9, [r8*4]
nop word [rax + rax]
mov rax, qword [rbx + 0x18]
movaps xmm0, xmm1
lea rcx, [rcx + 0x1c0]
mulss xmm0, dword [rax + rcx - 0x1b0]
movss dword [rax + rcx - 0x1b0], xmm0
movaps xmm0, xmm1
mov rax, qword [rbx + 0x18]
mulss xmm0, dword [rax + rcx - 0x140]
movss dword [rax + rcx - 0x140], xmm0
movaps xmm0, xmm1
mov rax, qword [rbx + 0x18]
mulss xmm0, dword [rax + rcx - 0xd0]
movss dword [rax + rcx - 0xd0], xmm0
movaps xmm0, xmm1
mov rax, qword [rbx + 0x18]
mulss xmm0, dword [rax + rcx - 0x60]
movss dword [rax + rcx - 0x60], xmm0
sub r8, 1
jne 0x140040150
cmp r9, rdx
jge 0x1400401e4
imul rcx, r9, 0x70
sub rdx, r9
mov rax, qword [rbx + 0x18]
movaps xmm0, xmm1
lea rcx, [rcx + 0x70]
mulss xmm0, dword [rax + rcx - 0x60]
movss dword [rax + rcx - 0x60], xmm0
sub rdx, 1
jne 0x1400401c7
movss dword [rbx + 0xe4], xmm2
lea rcx, [rbx + 0x190]
mov byte [r12 + 0xc3], 1
cmp dword [rcx], 0
mov r12, qword [rsp + 0x160]
jle 0x140040210
xor edx, edx
call fcn.14002c640
cmp word [rbx + 0x78], 0
jne 0x140040284
movsx eax, word [rbx + 0x212]
cmp ax, 0xffff
je 0x14004023b
movss xmm1, dword [rbx + 0xdc]
ucomiss xmm1, xmm8
jp 0x140040234
je 0x14004023b
mov ecx, eax
call fcn.140046c90
movzx eax, word [rbx + 0x212]
movsx rcx, word [rbx + 0x210]
mov word [rbx + 0x214], ax
mov dword [rbx + 0xdc], 0x7f7fffff
mov word [rbx + 0x212], r15w
cmp cx, 0xffff
je 0x140040284
mov rax, qword [rbx + 0x18]
imul rdx, rcx, 0x70
movss xmm1, dword [rdx + rax + 0x14]
call fcn.140046c90
mov word [rbx + 0x210], r15w
cmp word [rbx + 0x78], 0
movaps xmm8, xmmword [rsp + 0x130]
jne 0x140040391
cmp word [rbx + 0x216], 0xffff
jne 0x1400402b4
cmp word [rbx + 0x218], 0xffff
je 0x1400402b4
mov word [rbx + 0x218], r15w
movsx rax, word [rbx + 0x218]
mov word [rbx + 0x216], r15w
cmp ax, 0xffff
je 0x140040391
movsx r10d, word [rbx + 0x21a]
test r10w, r10w
je 0x140040391
mov r11, qword [rbx + 0x18]
imul r8, rax, 0x70
add r8, r11
cmp r10d, 0xffffffff
jne 0x1400402f8
movzx eax, word [r8 + 0x56]
jmp 0x1400402fd
movzx eax, word [r8 + 0x58]
movsx edx, word [r8 + 0x52]
movsx rax, ax
imul rcx, rax, 0x70
movsx eax, word [rcx + r11 + 0x52]
mov word [r8 + 0x52], ax
lea r8d, [rdx + r10]
lea r11d, [r10 + rax]
cmp r8d, r11d
je 0x140040352
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x28]
movsxd rcx, r8d
add r8d, r10d
movsx rcx, word [rax + rcx*2]
mov rax, qword [rbx + 0x18]
imul rdx, rcx, 0x70
sub word [rdx + rax + 0x52], r10w
cmp r8d, r11d
jne 0x140040330
cmp dword [rbx + 0x6c], 0
mov r8d, edi
jle 0x140040383
nop dword [rax + rax]
movsxd rax, r8d
imul rcx, rax, 0x70
mov rax, qword [rbx + 0x18]
movsx rdx, word [rcx + rax + 0x52]
mov rax, qword [rbx + 0x28]
mov word [rax + rdx*2], r8w
inc r8d
cmp r8d, dword [rbx + 0x6c]
jl 0x140040360
mov word [rbx + 0x21a], di
mov byte [rbx + 0x23e], 1
cmp byte [rbx + 0x241], 0
je 0x1400403cd
cmp dword [rbx + 0x6c], 0
jle 0x1400403bf
mov rax, qword [rbx + 0x18]
movsxd rdx, edi
imul rcx, rdx, 0x70
mov word [rcx + rax + 0x52], di
mov rax, qword [rbx + 0x28]
mov word [rax + rdx*2], di
inc edi
cmp edi, dword [rbx + 0x6c]
jl 0x1400403a0
mov byte [rbx + 0x241], 0
mov byte [rbx + 0x23e], 1
mov al, 1
movaps xmm7, xmmword [rsp + 0x140]
mov rbx, qword [rsp + 0x1b0]
movaps xmm9, xmmword [rsp + 0x120]
add rsp, 0x168
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret