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

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
push r14
lea rbp, [r11 - 0xb8]
sub rsp, 0x198
mov rax, qword [0x180079010]
xor rax, rsp
mov qword [rbp - 0x28], rax
mov qword [r11 + 0x20], rbx
mov r14, rcx
mov qword [r11 - 0x28], rsi
mov ebx, r8d
mov rsi, qword [0x18007f7d8]
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x38], r15
movaps xmmword [r11 - 0xa8], xmm12
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], rcx
call fcn.180018c60
test rax, rax
mov qword [rsp + 0x60], rax
mov rdi, rax
xorps xmm12, xmm12
sete byte [rsp + 0x31]
test rax, rax
jne 0x18001b4a3
mov ecx, dword [rsi + 0x1ab8]
and ecx, 2
je 0x18001b46b
movsd xmm0, qword [rsi + 0x1ad8]
movsd qword [rsp + 0x50], xmm0
jmp 0x18001b474
mov qword [rsp + 0x48], 0
test ecx, ecx
lea rdx, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov r8d, ebx
cmovne rax, rdx
mov rcx, r14
movss xmm0, dword [rax + 4]
movss xmm1, dword [rax]
unpcklps xmm1, xmm0
movq rdx, xmm1
call fcn.180018d30
mov rdi, rax
mov r13d, dword [rsi + 0x19b0]
mov ecx, ebx
mov r12d, dword [rdi + 0x250]
and ecx, 0xc0200
mov r15d, ebx
or r15d, 6
cmp ecx, 0xc0200
lea eax, [r13 - 1]
cmovne r15d, ebx
cmp r12d, eax
mov eax, dword [rdi + 0xa0]
setl dl
mov dword [rsp + 0x3c], eax
mov byte [rsp + 0x32], dl
bt r15d, 0x1a
jae 0x18001b51d
movsxd rax, dword [rsi + 0x1b70]
lea rax, [rax + rax*2]
shl rax, 4
add rax, qword [rsi + 0x1b68]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0x90], eax
setne al
or cl, al
mov eax, dword [rsp + 0x3c]
or dl, cl
mov byte [rsp + 0x32], dl
test dl, dl
jne 0x18001b52d
test eax, eax
jg 0x18001b52d
mov byte [rdi + 0x84], dl
jmp 0x18001b549
or dword [rdi + 0xa4], 8
or dword [rdi + 0xa8], 8
or dword [rdi + 0xac], 8
mov byte [rdi + 0x84], 1
xor ecx, ecx
cmp r12d, r13d
je 0x18001b58c
mov dword [rdi + 0xc], r15d
mov dword [rdi + 0x250], r13d
movsd xmm0, qword [rsi + 0x19a8]
mov word [rdi + 0x8a], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x254], xmm0
movzx eax, word [rsi + 0x1a10]
inc dword [rsi + 0x1a10]
mov word [rdi + 0x8c], ax
jmp 0x18001b590
mov r15d, dword [rdi + 0xc]
lea rbx, [rsi + 0x19f0]
movsxd rax, dword [rbx]
test eax, eax
jne 0x18001b5a3
mov rax, rcx
jmp 0x18001b5b4
mov rcx, rax
mov rax, qword [rsi + 0x19f8]
mov rax, qword [rax + rcx*8 - 8]
xor ecx, ecx
cmp r12d, r13d
je 0x18001b5cb
test r15d, 0x5000000
cmovne rcx, rax
mov qword [rsp + 0x50], rcx
jmp 0x18001b5d7
mov rax, qword [rdi + 0x358]
mov qword [rsp + 0x50], rax
lea r14, [rdi + 0xc0]
mov eax, 8
cmp dword [r14], 0
jne 0x18001b60f
cmp dword [r14 + 4], 0
jne 0x18001b5fa
mov edx, eax
mov rcx, r14
call fcn.1800252c0
mov eax, dword [rdi + 8]
movsxd rdx, dword [r14]
mov rcx, qword [r14 + 8]
mov dword [rcx + rdx*4], eax
mov eax, 8
inc dword [r14]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18001b63c
inc r8d
test ecx, ecx
je 0x18001b62a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180024d00
movsxd rcx, dword [rbx]
lea rdx, [rdi + 0x1d0]
mov rax, qword [rbx + 8]
xor r9d, r9d
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov rcx, qword [0x18007f7d8]
mov qword [rsi + 0x1a18], r9
movzx eax, word [r14]
mov word [rdx], ax
movzx eax, word [rdi + 0x1c0]
mov word [rdx + 2], ax
movzx eax, word [rcx + 0x1b70]
mov word [rdx + 4], ax
movzx eax, word [rcx + 0x1b30]
mov word [rdx + 6], ax
movzx eax, word [rcx + 0x1b40]
mov word [rdx + 8], ax
movzx eax, word [rcx + 0x1b50]
mov word [rdx + 0xa], ax
mov eax, r15d
and eax, 0x4000000
mov dword [rsp + 0x38], eax
je 0x18001b6dd
lea rcx, [rsi + 0x1b70]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rsi + 0x1b68]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.180024aa0
mov eax, dword [rbx]
xor r9d, r9d
mov dword [rdi + 0x90], eax
cmp dword [rsp + 0x3c], 0
jle 0x18001b6f2
bt r15d, 0x18
jb 0x18001b6f2
mov dword [rdi + 0x380], r9d
xor dl, dl
test byte [rsi + 0x1ab8], 1
mov byte [rsp + 0x34], dl
mov byte [rsp + 0x33], dl
mov byte [rsp + 0x30], dl
je 0x18001b784
mov r8d, dword [rsi + 0x1abc]
mov ecx, dword [rdi + 0xa4]
test r8d, ecx
setne dl
mov byte [rsp + 0x34], dl
test r8d, ecx
je 0x18001b775
movss xmm0, dword [rsi + 0x1ad4]
movss xmm1, dword [rsi + 0x1ad0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18006d0bc]
jbe 0x18001b775
movsd xmm0, qword [rsi + 0x1ac8]
and ecx, 0xfffffff1
movsd qword [rdi + 0xb0], xmm0
movsd xmm1, qword [rsi + 0x1ad0]
movsd qword [rdi + 0xb8], xmm1
mov dword [rdi + 0xa4], ecx
jmp 0x18001b784
lea rdx, [rsi + 0x1ac8]
mov rcx, rdi
call fcn.18001de70
test byte [rsi + 0x1ab8], 2
je 0x18001b7e1
mov r8d, dword [rsi + 0x1ac0]
lea rdx, [rsi + 0x1ad8]
mov eax, r8d
and eax, dword [rdi + 0xa8]
je 0x18001b7b7
movss xmm0, dword [rdx]
comiss xmm0, xmm12
jbe 0x18001b7b7
mov byte [rsp + 0x33], 1
jmp 0x18001b7c1
xor cl, cl
mov byte [rsp + 0x33], cl
test eax, eax
je 0x18001b7d4
movss xmm0, dword [rsi + 0x1adc]
comiss xmm0, xmm12
mov byte [rsp + 0x30], 1
ja 0x18001b7d9
mov byte [rsp + 0x30], 0
mov rcx, rdi
call fcn.18001df40
test byte [rsi + 0x1ab8], 4
je 0x18001b7f9
movsd xmm0, qword [rsi + 0x1ae0]
movsd qword [rdi + 0x30], xmm0
jmp 0x18001b806
cmp r12d, r13d
je 0x18001b806
mov qword [rdi + 0x30], 0
test byte [rsi + 0x1ab8], 8
je 0x18001b835
mov eax, dword [rsi + 0x1ac4]
movzx ecx, byte [rsi + 0x1ae8]
test eax, eax
je 0x18001b828
test dword [rdi + 0xac], eax
je 0x18001b835
and dword [rdi + 0xac], 0xfffffff1
mov byte [rdi + 0x81], cl
test byte [rsi + 0x1ab8], 0x20
je 0x18001b846
mov rcx, rdi
call fcn.18001d790
cmp byte [rdi + 0x84], 0
je 0x18001b864
and dword [rdi + 0xa4], 0xfffffff7
and dword [rdi + 0xa8], 0xfffffff7
and dword [rdi + 0xac], 0xfffffff7
mov ebx, 1
cmp r12d, r13d
je 0x18001d4ce
mov rax, qword [rsp + 0x50]
mov ecx, r15d
movaps xmmword [rsp + 0x170], xmm6
and ecx, 0x3000000
movaps xmmword [rsp + 0x160], xmm7
movaps xmmword [rsp + 0x150], xmm8
movaps xmmword [rsp + 0x140], xmm9
movaps xmmword [rsp + 0x130], xmm10
movaps xmmword [rsp + 0x120], xmm11
movaps xmmword [rsp + 0x100], xmm13
movaps xmmword [rsp + 0xf0], xmm14
movaps xmmword [rsp + 0xe0], xmm15
mov dword [rsp + 0x58], ecx
mov qword [rdi + 0x358], rax
mov qword [rdi + 0x370], rdi
mov qword [rdi + 0x368], rdi
mov qword [rdi + 0x360], rdi
test rax, rax
je 0x18001b92d
cmp ecx, 0x1000000
jne 0x18001b90f
mov rax, qword [rax + 0x360]
mov qword [rdi + 0x360], rax
mov rax, qword [rsp + 0x50]
bt r15d, 0x1b
jb 0x18001b92d
test r15d, 0x5000000
je 0x18001b92d
mov rax, qword [rax + 0x368]
mov qword [rdi + 0x368], rax
test dword [rdi + 0xc], 0x800000
je 0x18001b95a
mov rcx, rdi
nop dword [rax]
mov rax, qword [rcx + 0x358]
mov qword [rdi + 0x370], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x18001b940
cmp qword [rbp - 0x58], 0
mov byte [rdi + 0x7e], bl
setne al
mov byte [rdi + 0x86], al
mov dword [rdi + 0x230], 0xff7fffff
mov dword [rdi + 0x234], 0xff7fffff
mov dword [rdi + 0x238], 0x7f7fffff
mov dword [rdi + 0x23c], 0x7f7fffff
mov ecx, dword [r14 + 4]
cmp ecx, ebx
jge 0x18001b9be
test ecx, ecx
je 0x18001b9aa
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18001b9af
mov eax, 8
cmp eax, ebx
mov edx, ebx
mov rcx, r14
cmovg edx, eax
call fcn.1800252c0
mov dword [r14], ebx
cmp byte [rdi + 0x3a8], 0
je 0x18001ba09
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3ac]
add rcx, 0x10
mov byte [rdi + 0x3a8], 0
call fcn.180025190
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3b0]
add rcx, 0x20
call fcn.180024f50
xor r13d, r13d
mov qword [rdi + 0x3ac], r13
jmp 0x18001ba0c
xor r13d, r13d
cmp qword [rsi + 0x1bd8], 0
mov r9, qword [rsp + 0x60]
je 0x18001badf
test dword [rdi + 0xc], 0x80000
jne 0x18001badf
test r9, r9
je 0x18001badf
mov r12, qword [rbp - 0x50]
mov r9, qword [rdi]
mov rax, r12
mov r8, r9
sub r8, r12
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18001ba63
inc rax
test ecx, ecx
jne 0x18001ba50
test edx, edx
je 0x18001bada
movsxd r14, dword [rdi + 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], 0
jne 0x18001ba72
inc rbx
cmp r14, rbx
jae 0x18001bac5
test r9, r9
je 0x18001ba9b
mov rax, qword [0x18007f7d8]
test rax, rax
je 0x18001ba9b
dec dword [rax + 0x3bc]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x18007f7d8]
test rax, rax
je 0x18001bab6
inc dword [rax + 0x3bc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r14, rbx
mov r8, rbx
mov rdx, r12
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], rax
mov dword [rdi + 0x48], r14d
mov r9, qword [rsp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.180019410
lea r10, [rdi + 0x28]
movss xmm3, dword [rax]
movss xmm4, dword [rax + 4]
mov eax, dword [rdi + 0x9c]
movss dword [r10], xmm3
movss dword [r10 + 4], xmm4
test eax, eax
jle 0x18001bb16
dec eax
mov dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0xa0]
test eax, eax
jle 0x18001bb28
dec eax
mov dword [rdi + 0xa0], eax
movzx ebx, byte [rsp + 0x33]
test r9, r9
jne 0x18001bb4a
test bl, bl
je 0x18001bb3d
cmp byte [rsp + 0x30], r9b
jne 0x18001bb4a
mov eax, 1
mov dword [rdi + 0xa0], eax
jmp 0x18001bb4f
mov eax, 1
cmp byte [rsp + 0x32], 0
je 0x18001bb93
test r15d, 0x6000000
je 0x18001bb93
mov dword [rdi + 0xa0], eax
test r15b, 0x40
je 0x18001bb93
test bl, bl
jne 0x18001bb77
mov dword [rdi + 0x20], r13d
mov dword [rdi + 0x18], r13d
movzx r14d, byte [rsp + 0x30]
test r14b, r14b
jne 0x18001bb8a
mov dword [rdi + 0x24], r13d
mov dword [rdi + 0x1c], r13d
mov qword [r10], 0
jmp 0x18001bb99
movzx r14d, byte [rsp + 0x30]
mov rcx, qword [0x18007f7d8]
mov qword [rcx + 0x1a18], rdi
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rdi + 0x2a0]
mulss xmm0, dword [rcx + 0x1914]
test rax, rax
je 0x18001bbcb
mulss xmm0, dword [rax + 0x2a0]
mov r13d, r15d
movss dword [rcx + 0x1928], xmm0
and r13d, 0x1000000
movss dword [rcx + 0x1910], xmm0
mov dword [rsp + 0x5c], r13d
je 0x18001bbf6
movss xmm1, dword [rsi + 0x1584]
jmp 0x18001bc18
test r15d, 0x6000000
je 0x18001bc10
bt r15d, 0x1b
jb 0x18001bc10
movss xmm1, dword [rsi + 0x158c]
jmp 0x18001bc18
movss xmm1, dword [rsi + 0x1568]
movss dword [rdi + 0x44], xmm1
mov eax, r15d
movsd xmm0, qword [rsi + 0x155c]
and eax, 0x5010000
movsd qword [rdi + 0x38], xmm0
cmp eax, 0x1000000
jne 0x18001bc62
ucomiss xmm1, xmm12
jp 0x18001bc62
jne 0x18001bc62
bt r15d, 0xa
jae 0x18001bc52
movss xmm0, dword [rsi + 0x1560]
jmp 0x18001bc56
movaps xmm0, xmm12
movss dword [rdi + 0x3c], xmm0
mov dword [rdi + 0x38], 0
movss xmm0, dword [rdi + 0x38]
maxss xmm0, dword [rsi + 0x15a0]
maxss xmm0, dword [rsi + 0x1b14]
movss dword [rdi + 0x14c], xmm0
mov eax, dword [rsi + 0x1b18]
mov dword [rdi + 0x150], eax
test r15b, 0x21
jne 0x18001bddd
mov r8d, dword [rdi + 0xc]
mov rdx, qword [0x18007f7d8]
test r8b, 1
je 0x18001bcac
movaps xmm2, xmm12
jmp 0x18001bce0
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rcx + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x18001bcd0
mulss xmm0, dword [rax + 0x2a0]
movss xmm2, dword [rdx + 0x1594]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm4, dword [rdi + 0x10]
movaps xmm3, xmm4
movss xmm5, dword [rdi + 0x14]
addss xmm3, dword [rdi + 0x20]
addss xmm2, dword [rdi + 0x14]
cmp qword [rsi + 0x1a20], rdi
jne 0x18001bd95
cmp dword [rsi + 0x1a4c], 0
jne 0x18001bd95
cmp dword [rsi + 0x1a54], 0
jne 0x18001bd95
mov rax, qword [rcx + 0x1a18]
movss xmm1, dword [rdx + 0x15b0]
movss xmm0, dword [rdx + 0x15b4]
maxss xmm4, dword [rax + 0x230]
minss xmm3, dword [rax + 0x238]
maxss xmm5, dword [rax + 0x234]
minss xmm2, dword [rax + 0x23c]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [rdx + 0x130]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x18001bd95
movss xmm0, dword [rdx + 0x134]
comiss xmm0, xmm5
jb 0x18001bd95
comiss xmm3, xmm1
jbe 0x18001bd95
comiss xmm2, xmm0
jbe 0x18001bd95
cmp byte [rsi + 0x425], 0
je 0x18001bd95
mov byte [rdi + 0x82], 1
cmp byte [rdi + 0x82], 0
je 0x18001bde4
cmp byte [rdi + 0x81], 0
mov rcx, qword [0x18007f7d8]
sete al
mov byte [rdi + 0x81], al
bt r8d, 8
jb 0x18001bdcf
comiss xmm12, dword [rcx + 0x2ef8]
jb 0x18001bdcf
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov rcx, rdi
call fcn.18001d790
lea r10, [rdi + 0x28]
jmp 0x18001bde4
mov byte [rdi + 0x81], 0
mov r8, r10
mov byte [rdi + 0x82], 0
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1800194d0
movzx r12d, byte [rsp + 0x31]
mov eax, r15d
and eax, 0x40
mov dword [rbp - 0x6c], eax
je 0x18001be45
cmp byte [rdi + 0x81], 0
jne 0x18001be45
test bl, bl
jne 0x18001be29
movss xmm0, dword [rsp + 0x48]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x31], 1
test r14b, r14b
jne 0x18001bee8
movss xmm0, dword [rsp + 0x4c]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x18001bee8
movzx eax, byte [rdi + 0x94]
test al, al
jg 0x18001be5d
cmp byte [rdi + 0x95], 0
jle 0x18001bee8
test bl, bl
jne 0x18001be8a
test al, al
jle 0x18001be8a
cmp byte [rdi + 0x97], bl
je 0x18001be7a
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rsp + 0x48]
jmp 0x18001be80
movss xmm0, dword [rsp + 0x48]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x31], 1
test r14b, r14b
jne 0x18001bebc
cmp byte [rdi + 0x95], r14b
jle 0x18001bebc
cmp byte [rdi + 0x97], r14b
je 0x18001beae
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rsp + 0x4c]
jmp 0x18001beb4
movss xmm0, dword [rsp + 0x4c]
movss dword [rdi + 0x24], xmm0
mov r12b, 1
cmp byte [rdi + 0x81], 0
jne 0x18001bee8
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x18007f7d8]
jne 0x18001bee8
comiss xmm12, dword [rcx + 0x2ef8]
jb 0x18001bee8
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov r8, qword [rdi + 0x20]
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.180019170
cmp byte [rdi + 0x81], 0
mov r14, qword [0x18007f7d8]
movss xmm3, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x20], xmm3
movss dword [rdi + 0x24], xmm0
je 0x18001bf8b
test r13d, r13d
jne 0x18001bf8b
test byte [rdi + 0xc], 1
je 0x18001bf2d
movaps xmm2, xmm12
jmp 0x18001bf63
mov rax, qword [rdi + 0x358]
movss xmm0, dword [r14 + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x18001bf52
mulss xmm0, dword [rax + 0x2a0]
movss xmm2, dword [r14 + 0x1594]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm1, dword [rdi + 0x10]
addss xmm2, dword [rdi + 0x14]
movaps xmm0, xmm1
addss xmm0, xmm3
subss xmm2, dword [rdi + 0x14]
subss xmm0, xmm1
movss dword [rsp + 0x44], xmm2
movss dword [rsp + 0x40], xmm0
jmp 0x18001bf96
movsd xmm0, qword [rdi + 0x20]
movsd qword [rsp + 0x40], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rsp + 0x40]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x18], xmm0
test cl, 1
je 0x18001bfb2
movaps xmm1, xmm12
jmp 0x18001bfe8
mov rax, qword [rdi + 0x358]
movss xmm0, dword [r14 + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x18001bfd7
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [r14 + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x18001c032
mov rax, qword [rdi + 0x358]
movss xmm10, dword [r14 + 0x1914]
mulss xmm10, dword [rdi + 0x2a0]
test rax, rax
je 0x18001c015
mulss xmm10, dword [rax + 0x2a0]
movss xmm0, dword [r14 + 0x1594]
addss xmm10, dword [rdi + 0x150]
addss xmm0, xmm0
addss xmm10, xmm0
jmp 0x18001c036
movaps xmm10, xmm12
cmp byte [rsp + 0x32], 0
addss xmm10, xmm1
mov ecx, dword [rsp + 0x38]
movzx r13d, byte [rsp + 0x34]
je 0x18001c08e
mov dword [rdi + 0x98], 0xffffffff
test ecx, ecx
je 0x18001c08e
test r13b, r13b
jne 0x18001c08e
movsxd rax, dword [rsi + 0x1b70]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1b78]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0x10]
movss xmm1, dword [rax + rcx*8 - 0xc]
mov ecx, dword [rsp + 0x38]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
cmp dword [rsp + 0x5c], 0
je 0x18001c124
mov rdx, qword [rsp + 0x50]
lea rbx, [rdx + 0x158]
movzx eax, word [rbx]
mov word [rdi + 0x8a], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18001c0ef
inc r8d
test ecx, ecx
je 0x18001c0cc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18001c0d1
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180024d00
mov rdx, qword [rsp + 0x50]
mov r14, qword [0x18007f7d8]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov ecx, dword [rsp + 0x38]
mov ebx, dword [rsp + 0x58]
test ecx, ecx
jne 0x18001c128
test r13b, r13b
jne 0x18001c128
cmp ebx, 0x3000000
je 0x18001c128
movsd xmm0, qword [rdx + 0xd0]
movsd qword [rdi + 0x10], xmm0
jmp 0x18001c128
mov ebx, dword [rsp + 0x58]
movss xmm1, dword [rdi + 0xb0]
ucomiss xmm1, dword [0x18006d2b4]
jp 0x18001c13b
je 0x18001c18c
cmp dword [rdi + 0xa0], 0
jne 0x18001c18c
movss xmm0, dword [rdi + 0xb8]
lea rdx, [rsp + 0x40]
mulss xmm0, dword [rdi + 0x20]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xb4]
movss dword [rsp + 0x40], xmm1
movss xmm1, dword [rdi + 0xbc]
mulss xmm1, dword [rdi + 0x24]
subss xmm0, xmm1
movss dword [rsp + 0x44], xmm0
call fcn.18001de70
jmp 0x18001c1d6
bt r15d, 0x1c
jb 0x18001c1b7
test ecx, ecx
je 0x18001c1a3
test r13b, r13b
jne 0x18001c1a3
cmp dword [rsp + 0x3c], 0
jg 0x18001c1b7
bt r15d, 0x19
jae 0x18001c1da
test r13b, r13b
jne 0x18001c1da
cmp ebx, 0x3000000
je 0x18001c1da
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.18001fbb0
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov ecx, dword [rsp + 0x38]
movss xmm6, dword [r14 + 0x14]
movss xmm15, dword [r14 + 0x10]
movss dword [rbp - 0x40], xmm15
movss dword [rsp + 0x38], xmm6
movss dword [rbp - 0x3c], xmm6
movss dword [rbp - 0x48], xmm12
movss dword [rbp - 0x44], xmm12
test r13b, r13b
jne 0x18001c32b
cmp dword [rsp + 0x5c], 0
jne 0x18001c32b
cmp byte [rdi + 0x94], r13b
jg 0x18001c32b
cmp byte [rdi + 0x95], r13b
jg 0x18001c32b
movss xmm0, dword [rsi + 0x10]
comiss xmm0, xmm12
jbe 0x18001c32b
movss xmm0, dword [rsi + 0x14]
comiss xmm0, xmm12
jbe 0x18001c32b
movss xmm5, dword [rsi + 0x15f0]
movss xmm4, dword [rsi + 0x15ec]
maxss xmm5, dword [rsi + 0x15f8]
maxss xmm4, dword [rsi + 0x15f4]
cmp byte [r14 + 0xcc], r13b
je 0x18001c2c7
test byte [rdi + 0xc], 1
jne 0x18001c2c7
mov rax, qword [rdi + 0x358]
movss xmm0, dword [r14 + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x18001c2a3
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [r14 + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x18]
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
jmp 0x18001c2d2
movsd xmm0, qword [rdi + 0x18]
movsd qword [rsp + 0x40], xmm0
lea rax, [rsp + 0x40]
movaps xmm3, xmm15
movss xmm1, dword [rax]
subss xmm3, xmm4
movss xmm2, dword [rax + 4]
addss xmm4, xmm12
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x10]
maxss xmm0, xmm4
subss xmm0, xmm1
movaps xmm1, xmm6
subss xmm1, xmm5
addss xmm5, xmm12
minss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x14]
movss dword [rdi + 0x10], xmm3
maxss xmm0, xmm5
subss xmm0, xmm2
minss xmm1, xmm0
movss dword [rdi + 0x14], xmm1
cmp dword [rsp + 0x5c], 0
cvttss2si eax, dword [rdi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
je 0x18001c35e
movss xmm2, dword [rsi + 0x1580]
jmp 0x18001c37f
mov eax, r15d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18001c377
movss xmm2, dword [rsi + 0x1588]
jmp 0x18001c37f
movss xmm2, dword [rsi + 0x1564]
xor dl, dl
movss dword [rdi + 0x40], xmm2
mov dword [rsp + 0x3c], edx
cmp byte [rsp + 0x32], dl
je 0x18001c3b3
bt r15d, 0xc
jb 0x18001c3b3
test ecx, ecx
je 0x18001c3a2
mov byte [rsp + 0x3c], 1
jmp 0x18001c3b3
test ebx, ebx
movzx edx, dl
mov eax, 1
cmove edx, eax
mov dword [rsp + 0x3c], edx
addss xmm2, dword [0x18006d160]
xorps xmm0, xmm0
mov dword [rsp + 0x68], 0xffffffff
movups xmmword [rbp - 0x38], xmm0
xor ecx, ecx
movss xmm0, dword [rsi + 0x1910]
cmp byte [rsi + 0xcb], cl
movaps xmm1, xmm0
mulss xmm0, dword [0x18006d0f8]
setne cl
mulss xmm1, dword [0x18006d16c]
inc ecx
cmp byte [rdi + 0x81], 0
addss xmm0, xmm2
mov dword [rsp + 0x40], ecx
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x70], xmm0
jne 0x18001c449
lea rax, [rbp - 0x38]
mov r9d, ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x48]
call fcn.1800198e0
mov r14, qword [0x18007f7d8]
test al, al
je 0x18001c449
mov r12b, 1
movzx ecx, r12b
jmp 0x18001c44e
movzx ecx, byte [rsp + 0x31]
cmp byte [rdi + 0x81], 0
movzx eax, byte [rsp + 0x68]
mov byte [rdi + 0x87], al
jne 0x18001c588
cmp qword [rsp + 0x60], 0
movss xmm2, dword [rdi + 0x208]
movss xmm3, dword [rdi + 0x20c]
subss xmm2, dword [rdi + 0x200]
subss xmm3, dword [rdi + 0x204]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rdi + 0x20]
subss xmm4, xmm10
addss xmm2, dword [rdi + 0x74]
addss xmm3, dword [rdi + 0x78]
jne 0x18001c4b5
mov qword [rbp - 0x68], 0
lea rax, [rbp - 0x68]
jmp 0x18001c4df
movss xmm0, dword [rdi + 0x38]
lea rax, [rbp - 0x60]
movss xmm1, dword [rdi + 0x3c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x5c], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x18001c4ef
movaps xmm5, xmm2
test r12b, r12b
jne 0x18001c4f7
movaps xmm4, xmm3
bt r15d, 0xe
jb 0x18001c50d
comiss xmm1, xmm4
jbe 0x18001c509
test r15b, 8
je 0x18001c50d
xor cl, cl
jmp 0x18001c50f
mov cl, 1
mov byte [rdi + 0x7d], cl
lea rdx, [rsi + 0x15c0]
bt r15d, 0xf
jb 0x18001c550
test cl, cl
je 0x18001c52a
movss xmm0, dword [rdx]
jmp 0x18001c52e
movaps xmm0, xmm12
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x18001c546
mov eax, r15d
and eax, 0x808
cmp eax, 0x800
je 0x18001c550
mov byte [rdi + 0x7c], 0
movaps xmm1, xmm12
jmp 0x18001c570
mov byte [rdi + 0x7c], 1
test cl, cl
jne 0x18001c56c
comiss xmm1, xmm4
jbe 0x18001c567
test r15b, 8
jne 0x18001c567
mov cl, 1
jmp 0x18001c569
xor cl, cl
mov byte [rdi + 0x7d], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x18001c57a
movss xmm0, dword [rdx]
jmp 0x18001c57e
movaps xmm0, xmm12
movss dword [rdi + 0x74], xmm0
movss dword [rdi + 0x78], xmm1
mov r12d, r15d
and r12d, 0x5000000
cmp r12d, 0x1000000
jne 0x18001c5b0
cmp ebx, 0x3000000
je 0x18001c5b0
mov rax, qword [rsp + 0x50]
add rax, 0x230
jmp 0x18001c5b4
lea rax, [rbp - 0x48]
test byte [rdi + 0xc], 1
movss xmm7, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm4, xmm7
addss xmm4, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm5, xmm3
addss xmm5, dword [rdi + 0x1c]
je 0x18001c5dd
movaps xmm0, xmm12
jmp 0x18001c613
mov rax, qword [rdi + 0x358]
movss xmm1, dword [r14 + 0x1914]
mulss xmm1, dword [rdi + 0x2a0]
test rax, rax
je 0x18001c602
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [r14 + 0x1594]
addss xmm0, xmm0
addss xmm0, xmm1
movss dword [rsp + 0x70], xmm7
movaps xmm1, xmm3
addss xmm1, xmm0
movaps xmm2, xmm7
movss xmm0, dword [rdi + 0x14]
movaps xmm8, xmm6
addss xmm2, dword [rdi + 0x20]
movss dword [rsp + 0x74], xmm0
mov eax, r15d
shufps xmm8, xmm6, 0xff
and eax, 0x401
movss dword [rsp + 0x7c], xmm1
movss dword [rsp + 0x78], xmm2
movss dword [rdi + 0x1f0], xmm7
movss dword [rdi + 0x1f4], xmm3
movss dword [rdi + 0x1f8], xmm4
movss dword [rdi + 0x1fc], xmm5
movaps xmm5, xmm6
movss xmm0, dword [rdi + 0x1f0]
shufps xmm5, xmm6, 0x55
maxss xmm0, xmm6
maxss xmm3, xmm5
movss dword [rdi + 0x1f0], xmm0
movss dword [rdi + 0x1f4], xmm3
movaps xmm3, xmm6
movss xmm1, dword [rdi + 0x1f8]
movss xmm0, dword [rdi + 0x1fc]
shufps xmm3, xmm6, 0xaa
minss xmm0, xmm8
minss xmm1, xmm3
movss dword [rdi + 0x1fc], xmm0
movss dword [rdi + 0x1f8], xmm1
movss xmm11, dword [rdi + 0x10]
movss xmm4, dword [rdi + 0x14]
movaps xmm7, xmm11
movss dword [rdi + 0x200], xmm11
movaps xmm9, xmm4
addss xmm9, xmm10
addss xmm7, dword [rdi + 0x18]
addss xmm4, dword [rdi + 0x1c]
movss dword [rdi + 0x204], xmm9
subss xmm7, dword [rdi + 0x74]
subss xmm4, dword [rdi + 0x78]
movss dword [rdi + 0x208], xmm7
movss dword [rdi + 0x20c], xmm4
cmp eax, 1
jne 0x18001c722
movss xmm13, dword [rdi + 0x44]
jmp 0x18001c72b
movss xmm13, dword [rsi + 0x159c]
movss xmm14, dword [0x18006d124]
lea r13, [rdi + 0x210]
movss xmm0, dword [rdi + 0x38]
addss xmm11, xmm14
mulss xmm0, xmm14
addss xmm9, xmm14
addss xmm7, xmm14
addss xmm4, xmm14
cvttss2si eax, xmm0
subss xmm4, dword [rdi + 0x44]
addss xmm9, xmm13
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [rdi + 0x44]
addss xmm11, xmm1
subss xmm7, xmm1
cvttss2si eax, xmm11
movd xmm11, eax
cvttss2si eax, xmm9
cvtdq2ps xmm11, xmm11
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm7
movss dword [rdi + 0x214], xmm0
movss dword [r13], xmm11
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm4
movss dword [rdi + 0x218], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x21c], xmm0
movss xmm0, dword [r13 + 4]
comiss xmm5, xmm0
jbe 0x18001c7da
movaps xmm1, xmm5
jmp 0x18001c7e2
movaps xmm1, xmm8
minss xmm1, xmm0
comiss xmm6, xmm11
jbe 0x18001c7ed
movaps xmm0, xmm6
jmp 0x18001c7f5
movaps xmm0, xmm3
minss xmm0, xmm11
movss dword [r13], xmm0
movss dword [r13 + 4], xmm1
movss xmm0, dword [r13 + 0xc]
comiss xmm5, xmm0
ja 0x18001c815
minss xmm8, xmm0
movaps xmm5, xmm8
movss xmm0, dword [r13 + 8]
comiss xmm6, xmm0
jbe 0x18001c825
movaps xmm3, xmm6
jmp 0x18001c829
minss xmm3, xmm0
movss dword [r13 + 8], xmm3
movss dword [r13 + 0xc], xmm5
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm12
jbe 0x18001c853
test r15d, 0x2000040
jne 0x18001c853
mulss xmm0, dword [0x18006d130]
jmp 0x18001c863
movss xmm0, dword [rsi + 0x1910]
mulss xmm0, dword [0x18006d1ec]
cvttss2si eax, xmm0
mov r8b, 1
lea rcx, [rbp - 0x80]
mov rdx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x258], xmm0
movss xmm0, dword [rdi + 0x208]
subss xmm0, dword [rdi + 0x200]
movss xmm1, dword [rdi + 0x38]
addss xmm1, xmm1
addss xmm1, dword [rdi + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm12
maxss xmm0, xmm1
movss xmm1, dword [rdi + 0x3c]
addss xmm1, xmm1
movss dword [rdi + 0x5c], xmm0
movss xmm0, dword [rdi + 0x20c]
subss xmm0, dword [rdi + 0x204]
addss xmm1, dword [rdi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm12
maxss xmm0, xmm1
movss dword [rdi + 0x60], xmm0
call fcn.18001e8e0
mov rcx, qword [rdi + 0x2a8]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x54], xmm0
movss dword [rdi + 0x58], xmm1
mov dword [rdi + 0x64], 0x7f7fffff
mov dword [rdi + 0x68], 0x7f7fffff
call fcn.18002d440
mov rax, qword [rsi + 0x1908]
mov rcx, qword [rdi + 0x2a8]
mov rdx, qword [rax + 0x48]
mov rdx, qword [rdx + 8]
call fcn.18002da40
mov rcx, qword [0x18007f7d8]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1a18]
mov byte [rax + 0x80], 1
mov rbx, qword [rcx + 0x1a18]
mov rcx, qword [rbx + 0x2a8]
call fcn.18002d910
mov rax, qword [rbx + 0x2a8]
movsxd rcx, dword [rax + 0x60]
mov rax, qword [rax + 0x68]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0xc]
movss xmm1, dword [rax + rcx*8 - 8]
movss xmm2, dword [rax + rcx*8 - 4]
mov eax, dword [rax + rcx*8 - 0x10]
mov dword [rbx + 0x230], eax
movss dword [rbx + 0x234], xmm0
movss dword [rbx + 0x238], xmm1
movss dword [rbx + 0x23c], xmm2
mov r9, qword [0x18007f7d8]
bt r15d, 0x1b
jae 0x18001ca14
mov eax, dword [r9 + 0x1b60]
sub eax, 1
js 0x18001c9fb
mov r8, qword [r9 + 0x1b68]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x18001c9f1
test dword [rax + 0xc], 0x8000000
jne 0x18001c9fd
sub r8, 0x30
sub rdx, 1
jns 0x18001c9e0
xor eax, eax
cmp rdi, rax
jne 0x18001ca14
cmp dword [rdi + 0xa0], 0
jg 0x18001ca14
mov cl, 1
mov edx, 0x3a0
jmp 0x18001ca1b
xor cl, cl
mov edx, 0x390
mov rax, qword [rsi + 0x1bd0]
test rax, rax
je 0x18001ca34
cmp rdi, qword [rax + 0x360]
jne 0x18001ca34
mov bl, 1
jmp 0x18001ca36
xor bl, bl
test cl, cl
jne 0x18001ca42
test bl, bl
je 0x18001cb85
movups xmm1, xmmword [r9 + rdx + 0x1558]
lea rcx, [rbp - 0x80]
movss xmm0, dword [rsi + 0x1d38]
mulss xmm0, dword [r9 + 0x1558]
movups xmmword [rbp - 0x80], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x74], xmm1
call fcn.180013480
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rbp - 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x40]
movss dword [rsp + 0x20], xmm12
call fcn.18002ea10
test bl, bl
je 0x18001cb85
movss xmm13, dword [rsp + 0x38]
cmp rdi, qword [rsi + 0x1bd0]
jne 0x18001cb8c
movss xmm0, dword [rsi + 0x1910]
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm1, xmm2
addss xmm2, dword [rdi + 0x18]
movaps xmm4, xmm3
subss xmm1, xmm0
addss xmm3, dword [rdi + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
comiss xmm12, xmm1
addss xmm3, xmm0
movss dword [rbp - 0x48], xmm1
movss dword [rbp - 0x40], xmm2
movss dword [rbp - 0x44], xmm4
movss dword [rbp - 0x3c], xmm3
jb 0x18001cb16
comiss xmm12, xmm4
jb 0x18001cb16
comiss xmm2, xmm15
jb 0x18001cb16
comiss xmm3, xmm13
jae 0x18001cb8c
mov rax, qword [0x18007f7d8]
lea rcx, [rbp - 0x80]
movss xmm0, dword [rsi + 0x1be4]
mulss xmm0, dword [0x18006d0fc]
movups xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x80], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x74], xmm1
call fcn.180013480
movss xmm0, dword [rsi + 0x1564]
lea r8, [rbp - 0x40]
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rbp - 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm0
call fcn.18002ea10
jmp 0x18001cb8c
movss xmm13, dword [rsp + 0x38]
xor bl, bl
cmp r12d, 0x1000000
mov r12, qword [rsp + 0x50]
jne 0x18001cbd6
cmp dword [rsp + 0x58], 0x3000000
je 0x18001cbd6
mov rdx, qword [rdi + 0x2a8]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x38], 0
jne 0x18001cbd6
mov rax, qword [r12 + 0x2a8]
cmp dword [rax + 0x20], 0
jle 0x18001cbd6
mov bl, 1
mov qword [rdi + 0x2a8], rax
mov rax, qword [rsi + 0x1bc8]
test rax, rax
jne 0x18001cbe9
mov rax, qword [rsi + 0x1b80]
cmp byte [rsp + 0x3c], 0
jne 0x18001cc0a
test rax, rax
je 0x18001cc05
mov rax, qword [rax + 0x368]
cmp qword [rdi + 0x368], rax
je 0x18001cc0a
xor r8b, r8b
jmp 0x18001cc0d
mov r8b, 1
movss xmm0, dword [rbp - 0x70]
lea rax, [rbp - 0x38]
mov r9d, dword [rsp + 0x40]
lea rdx, [rsp + 0x70]
movss dword [rsp + 0x28], xmm0
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.18001a710
test bl, bl
je 0x18001cc45
lea rax, [rdi + 0x2b0]
mov qword [rdi + 0x2a8], rax
cmp qword [rsi + 0x1bd0], rdi
jne 0x18001cdb7
movss xmm1, dword [rsi + 0x1910]
movss xmm7, dword [rdi + 0x10]
movss xmm6, dword [rdi + 0x14]
movaps xmm9, xmm7
addss xmm7, dword [rdi + 0x18]
movss xmm2, dword [rdi + 0x40]
subss xmm9, xmm1
movaps xmm8, xmm6
movaps xmm11, xmm2
addss xmm6, dword [rdi + 0x1c]
maxss xmm11, dword [rsi + 0x1564]
subss xmm8, xmm1
comiss xmm12, xmm9
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x18001cce0
comiss xmm12, xmm8
jb 0x18001cce0
comiss xmm7, xmm15
jb 0x18001cce0
comiss xmm6, xmm13
jb 0x18001cce0
xorps xmm1, xmmword [0x18006d540]
movaps xmm11, xmm2
subss xmm1, dword [0x18006d160]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rax, qword [0x18007f7d8]
lea rcx, [rbp - 0x38]
movss xmm0, dword [rsi + 0x1be4]
mov rbx, qword [rdi + 0x2a8]
movups xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x38], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x2c], xmm1
call fcn.180013480
mov r14d, eax
test eax, 0xff000000
je 0x18001cdb7
subss xmm7, dword [0x18006d120]
subss xmm6, dword [0x18006d120]
addss xmm9, xmm14
mov dword [rsp + 0x20], 0xffffffff
addss xmm8, xmm14
movaps xmm3, xmm11
lea r8, [rsp + 0x60]
mov rcx, rbx
lea rdx, [rsp + 0x48]
movss dword [rsp + 0x60], xmm7
movss dword [rsp + 0x64], xmm6
movss dword [rsp + 0x48], xmm9
movss dword [rsp + 0x4c], xmm8
call fcn.18002e470
movss xmm0, dword [0x18006d1ac]
mov r9d, r14d
mov r8d, dword [rbx + 0x80]
mov rcx, rbx
mov rdx, qword [rbx + 0x88]
movss dword [rsp + 0x28], xmm0
mov byte [rsp + 0x20], 1
call fcn.18002dd10
xor r8d, r8d
mov dword [rbx + 0x80], r8d
jmp 0x18001cdba
xor r8d, r8d
movss xmm6, dword [rdi + 0x30]
mov ecx, r15d
movaps xmm15, xmmword [rsp + 0xe0]
movaps xmm14, xmmword [rsp + 0xf0]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm12
jp 0x18001ce22
jne 0x18001ce22
movss xmm0, dword [rdi + 0x38]
mov eax, r15d
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x74]
cmp eax, 0x800
jne 0x18001ce17
movss xmm8, dword [rdi + 0x28]
maxss xmm8, xmm1
jmp 0x18001ce26
movaps xmm8, xmm12
maxss xmm8, xmm1
jmp 0x18001ce26
movaps xmm8, xmm6
movss xmm5, dword [rdi + 0x34]
ucomiss xmm5, xmm12
jp 0x18001ce68
jne 0x18001ce68
movss xmm0, dword [rdi + 0x3c]
movss xmm1, dword [rdi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm10
subss xmm1, dword [rdi + 0x78]
test cl, cl
je 0x18001ce5e
movss xmm7, dword [rdi + 0x2c]
maxss xmm7, xmm1
jmp 0x18001ce6b
movaps xmm7, xmm12
maxss xmm7, xmm1
jmp 0x18001ce6b
movaps xmm7, xmm5
ucomiss xmm6, xmm12
movss xmm4, dword [rdi + 0x38]
movss xmm11, dword [rdi + 0x54]
movaps xmm1, xmm4
maxss xmm1, dword [rdi + 0x44]
movss xmm0, dword [rdi + 0x200]
movss xmm9, dword [rdi + 0x3c]
subss xmm0, xmm11
movss xmm13, dword [rdi + 0x58]
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x204]
subss xmm0, xmm13
cvttss2si eax, xmm1
movaps xmm1, xmm9
maxss xmm1, dword [rdi + 0x44]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movss dword [rdi + 0x220], xmm3
addss xmm3, xmm8
movaps xmm8, xmmword [rsp + 0x150]
cvttss2si eax, xmm1
movss dword [rdi + 0x228], xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + 0x224], xmm2
addss xmm2, xmm7
movss xmm7, dword [rdi + 0x14]
movaps xmm1, xmm7
subss xmm1, xmm13
movss dword [rdi + 0x22c], xmm2
movss xmm2, dword [rdi + 0x10]
movaps xmm3, xmm2
subss xmm3, xmm11
addss xmm1, xmm9
addss xmm3, xmm4
addss xmm1, xmm10
movss dword [rdi + 0x240], xmm3
movss dword [rdi + 0x244], xmm1
jp 0x18001cf52
jne 0x18001cf52
movss xmm6, dword [rdi + 0x18]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm6, xmm0
subss xmm6, dword [rdi + 0x74]
ucomiss xmm5, xmm12
addss xmm3, xmm6
movaps xmm6, xmmword [rsp + 0x170]
movss dword [rdi + 0x248], xmm3
jp 0x18001cf8a
jne 0x18001cf8a
movss xmm5, dword [rdi + 0x1c]
movaps xmm0, xmm9
addss xmm0, xmm9
subss xmm5, xmm0
subss xmm5, xmm10
subss xmm5, dword [rdi + 0x78]
mov qword [rdi + 0x1e0], 0
addss xmm10, xmm9
movaps xmm9, xmmword [rsp + 0x140]
addss xmm4, xmm12
addss xmm1, xmm5
subss xmm10, xmm13
movaps xmm13, xmmword [rsp + 0x100]
subss xmm4, xmm11
movaps xmm11, xmmword [rsp + 0x120]
movss dword [rdi + 0x24c], xmm1
addss xmm10, xmm7
movaps xmm7, xmmword [rsp + 0x160]
movss dword [rdi + 0x1dc], xmm4
addss xmm4, xmm12
movss dword [rdi + 0xe4], xmm10
movss dword [rdi + 0xd4], xmm10
addss xmm4, xmm2
movss dword [rdi + 0xdc], xmm10
movss dword [rdi + 0xe0], xmm4
movss dword [rdi + 0xd0], xmm4
movss dword [rdi + 0xd8], xmm4
movss dword [rdi + 0xe8], xmm4
movss dword [rdi + 0xec], xmm10
movaps xmm10, xmmword [rsp + 0x130]
mov qword [rdi + 0xf8], 0
mov qword [rdi + 0xf0], 0
mov qword [rdi + 0x100], 0
mov byte [rdi + 0x148], 0
movss xmm0, dword [rdi + 0x60]
comiss xmm0, xmm12
seta al
mov byte [rdi + 0x149], al
mov eax, dword [rdi + 0x144]
mov dword [rdi + 0x140], eax
mov dword [rdi + 0x144], r8d
mov byte [rdi + 0x14a], 0
mov ecx, dword [rdi + 0x15c]
test ecx, ecx
jns 0x18001d0b9
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x158]
test eax, eax
cmovg edx, eax
call fcn.180024d00
xor r8d, r8d
mov dword [rdi + 0x158], r8d
mov eax, 1
mov dword [rdi + 0x170], eax
test r12, r12
je 0x18001d0f3
mov eax, dword [r12 + 0x170]
mov dword [rdi + 0x174], eax
mov qword [rdi + 0x178], 0xffffffffffffffff
mov eax, dword [r12 + 0x180]
jmp 0x18001d107
mov dword [rdi + 0x174], eax
mov eax, r8d
mov qword [rdi + 0x178], 0xffffffffffffffff
mov dword [rdi + 0x180], eax
lea rbx, [rdi + 0x190]
mov eax, dword [rdi + 0x258]
mov dword [rdi + 0x184], eax
mov dword [rdi + 0x188], 0xbf800000
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x18001d14d
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.1800252c0
xor r8d, r8d
mov dword [rbx], r8d
mov ecx, dword [rdi + 0x1a4]
test ecx, ecx
jns 0x18001d17a
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1a0]
test eax, eax
cmovg edx, eax
call fcn.1800252c0
xor r8d, r8d
mov dword [rdi + 0x1a0], r8d
mov ecx, dword [rdi + 0x1b4]
test ecx, ecx
jns 0x18001d1ab
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1b0]
test eax, eax
cmovg edx, eax
call fcn.1800252c0
xor r8d, r8d
mov dword [rdi + 0x1b0], r8d
lea rax, [rdi + 0x280]
mov qword [rdi + 0x1e8], r8
lea rcx, [rdi + 0x1c0]
mov qword [rdi + 0x108], 0
xor edx, edx
mov qword [rdi + 0x168], rax
call fcn.180024770
movss xmm0, dword [rsi + 0x15a0]
xor edx, edx
movss dword [rdi + 0x25c], xmm0
mov qword [rdi + 0x260], rdx
cmp byte [rsp + 0x32], dl
je 0x18001d20e
xor eax, eax
mov qword [rdi + 0x274], rax
mov dword [rdi + 0x27c], eax
movss xmm1, dword [rdi + 0x260]
cvttss2si eax, xmm1
addss xmm1, dword [rdi + 0x274]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x268], xmm0
movss dword [rdi + 0x260], xmm1
mov dword [rdi + 0x274], edx
movss xmm0, dword [rdi + 0x278]
comiss xmm0, xmm12
jbe 0x18001d265
movss xmm0, dword [rdi + 0x260]
addss xmm0, dword [rdi + 0x25c]
movss dword [rdi + 0x260], xmm0
movss xmm1, dword [rdi + 0x260]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x26c], xmm0
addss xmm1, dword [rdi + 0x278]
movss dword [rdi + 0x260], xmm1
mov dword [rdi + 0x278], edx
movss xmm0, dword [rdi + 0x27c]
comiss xmm0, xmm12
jbe 0x18001d2ac
addss xmm1, dword [rdi + 0x25c]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x270], xmm0
addss xmm1, dword [rdi + 0x27c]
movss dword [rdi + 0x260], xmm1
mov dword [rdi + 0x27c], edx
cmp dword [rsp + 0x5c], edx
je 0x18001d337
mov eax, dword [r12 + 0x180]
cmp dword [rdi + 0x180], eax
je 0x18001d337
mov dword [rdi + 0x180], eax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18001d325
inc r8d
test ecx, ecx
je 0x18001d30e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18001d313
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.1800252c0
movsxd rdx, dword [rbx]
mov eax, dword [rdi + 0x180]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
inc dword [rbx]
lea r12, [rdi + 0x94]
movzx eax, byte [r12]
test al, al
jle 0x18001d34d
dec al
mov byte [r12], al
lea r14, [rdi + 0x95]
movzx eax, byte [r14]
test al, al
jle 0x18001d361
dec al
mov byte [r14], al
cmp byte [rsp + 0x3c], 0
je 0x18001d403
mov rcx, rdi
call fcn.18001d790
mov eax, dword [rdi + 0xc]
mov rdx, qword [0x18007f7d8]
bt eax, 0x12
jb 0x18001d3f7
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18001d399
cmp dword [rdi + 0x380], 0
jne 0x18001d3f7
movsxd rcx, dword [rdx + 0x1bec]
xor ebx, ebx
mov rax, qword [rdx + 0x1b80]
mov dword [rdx + 0x1b88], ebx
mov dword [rax + rcx*4 + 0x380], ebx
mov word [rdx + 0x1bf9], 1
mov qword [rdx + 0x1bfc], rbx
mov qword [rdx + 0x1c04], rbx
mov dword [rdx + 0x1c0c], ebx
cmp byte [rdx + 0x1c11], bl
jne 0x18001d3ed
cmp byte [rdx + 0x1bf9], bl
jne 0x18001d3ed
xor al, al
mov byte [rdx + 0x1bf8], al
jmp 0x18001d405
mov al, 1
mov byte [rdx + 0x1bf8], al
jmp 0x18001d405
mov eax, dword [rdi + 0x380]
mov dword [rdx + 0x1b88], eax
xor ebx, ebx
test r15b, 1
jne 0x18001d420
mov r9, qword [rbp - 0x58]
lea rdx, [rsp + 0x70]
mov r8, qword [rbp - 0x50]
mov rcx, rdi
call fcn.18001ade0
mov eax, dword [rdi + 0x4c]
movss xmm1, dword [rsp + 0x70]
movss xmm4, dword [rsp + 0x78]
movss xmm5, dword [rsp + 0x7c]
movss xmm3, dword [rsp + 0x74]
mov dword [rdi + 0x110], eax
mov rax, qword [0x18007f7d8]
movss xmm2, dword [rax + 0x15b0]
movss xmm0, dword [rax + 0x15b4]
subss xmm1, xmm2
addss xmm4, xmm2
movss xmm2, dword [rax + 0x130]
addss xmm5, xmm0
subss xmm3, xmm0
comiss xmm2, xmm1
jb 0x18001d491
movss xmm0, dword [rax + 0x134]
comiss xmm0, xmm3
jb 0x18001d491
comiss xmm4, xmm2
jbe 0x18001d491
comiss xmm5, xmm0
mov eax, 1
ja 0x18001d493
mov eax, ebx
movups xmm0, xmmword [rsp + 0x70]
mov dword [rdi + 0x114], eax
lea rdx, [rdi + 0x218]
mov r8b, 1
mov rcx, r13
movups xmmword [rdi + 0x118], xmm0
call fcn.180017cd0
mov ecx, dword [rsp + 0x5c]
mov rax, r14
mov r15d, dword [rbp - 0x6c]
mov r13, r12
mov byte [rdi + 0x80], 0
jmp 0x18001d549
mov rax, qword [0x18007f7d8]
movss xmm0, dword [rax + 0x1914]
mov qword [rax + 0x1a18], rdi
mov rcx, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x2a0]
test rcx, rcx
je 0x18001d500
mulss xmm0, dword [rcx + 0x2a0]
mov ebx, r15d
movss dword [rax + 0x1928], xmm0
and ebx, 0x1000000
movss dword [rax + 0x1910], xmm0
lea rdx, [rdi + 0x218]
and r15d, 0x40
lea rcx, [rdi + 0x210]
mov r8b, 1
lea r13, [rdi + 0x94]
call fcn.180017cd0
lea rax, [rdi + 0x95]
mov r12, r13
mov r14, rax
mov ecx, ebx
inc word [rdi + 0x88]
mov rbx, qword [rsp + 0x1d8]
mov dword [rsi + 0x1ab8], 0
test ecx, ecx
je 0x18001d5fd
test r15d, r15d
jne 0x18001d5a9
cmp byte [r13], r15b
jg 0x18001d5a9
cmp byte [rax], r15b
jg 0x18001d5a9
movss xmm0, dword [rdi + 0x1f0]
comiss xmm0, dword [rdi + 0x1f8]
jae 0x18001d59c
movss xmm0, dword [rdi + 0x1f4]
comiss xmm0, dword [rdi + 0x1fc]
jb 0x18001d5a9
mov edx, 1
mov dword [rdi + 0x9c], edx
jmp 0x18001d5ae
mov edx, 1
mov rax, qword [rsp + 0x50]
lea rcx, [rdi + 0x9c]
test rax, rax
je 0x18001d604
cmp byte [rax + 0x81], 0
jne 0x18001d5da
cmp dword [rax + 0x9c], 0
jg 0x18001d5da
lea rcx, [rdi + 0x9c]
jmp 0x18001d5e3
lea rcx, [rdi + 0x9c]
mov dword [rcx], edx
cmp byte [rax + 0x81], 0
jne 0x18001d5f5
cmp dword [rax + 0xa0], 0
jle 0x18001d604
mov dword [rdi + 0xa0], edx
jmp 0x18001d604
lea rcx, [rdi + 0x9c]
comiss xmm12, dword [rsi + 0x1558]
mov edx, 1
mov rsi, qword [rsp + 0x190]
mov r15, qword [rsp + 0x180]
mov r13, qword [rsp + 0x188]
movaps xmm12, xmmword [rsp + 0x110]
jb 0x18001d636
mov dword [rcx], edx
cmp dword [rcx], 0
jg 0x18001d648
cmp dword [rdi + 0xa0], 0
jg 0x18001d648
xor cl, cl
jmp 0x18001d64a
mov cl, 1
xor al, al
mov byte [rdi + 0x85], cl
cmp byte [rdi + 0x81], al
jne 0x18001d663
cmp byte [rdi + 0x7e], al
je 0x18001d663
test cl, cl
je 0x18001d67b
cmp byte [r12], al
jg 0x18001d67b
cmp byte [r14], al
jg 0x18001d67b
cmp dword [rdi + 0xa0], 0
movzx eax, al
cmovle eax, edx
mov byte [rdi + 0x83], al
xor al, 1
mov rcx, qword [rbp - 0x28]
xor rcx, rsp
call fcn.180061a00
add rsp, 0x198
pop r14
pop r12
pop rdi
pop rbp
ret