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

Disassembly:
mov r11, rsp
push rbp
push rdi
lea rbp, [r11 - 0xa8]
sub rsp, 0x198
mov rax, qword [0x180076010]
xor rax, rsp
mov qword [rbp - 0x40], rax
mov qword [r11 + 0x10], rbx
mov rbx, qword [0x180077158]
mov qword [r11 - 0x18], rsi
mov rsi, rbx
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov r14d, r8d
mov qword [r11 - 0x38], r15
mov r15, rcx
movaps xmmword [r11 - 0x98], xmm11
mov qword [rbp - 0x68], rcx
call fcn.18002b520
test rax, rax
mov qword [rsp + 0x48], rax
mov rdi, rax
xorps xmm11, xmm11
sete byte [rsp + 0x31]
test rax, rax
jne 0x18002dc80
test byte [rbx + 0x1ab8], 2
lea rax, [rsp + 0x40]
je 0x18002dc51
movsd xmm0, qword [rbx + 0x1ad8]
movsd qword [rsp + 0x40], xmm0
jmp 0x18002dc5a
mov qword [rsp + 0x40], 0
movss xmm0, dword [rax + 4]
mov r8d, r14d
movss xmm1, dword [rax]
mov rcx, r15
unpcklps xmm1, xmm0
movq rdx, xmm1
call fcn.18002b600
mov rbx, qword [0x180077158]
mov rdi, rax
mov edx, dword [rdi + 0x250]
mov ecx, r14d
mov r13d, dword [rsi + 0x19b0]
and ecx, 0xc0200
mov r12d, r14d
mov dword [rsp + 0x3c], edx
or r12d, 6
cmp ecx, 0xc0200
lea eax, [r13 - 1]
cmovne r12d, r14d
cmp edx, eax
mov eax, dword [rdi + 0xa0]
setl r8b
mov dword [rsp + 0x54], eax
mov byte [rsp + 0x32], r8b
bt r12d, 0x1a
jae 0x18002dd05
movsxd rax, dword [rsi + 0x1b70]
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, qword [rsi + 0x1b68]
cmp rdi, qword [rdx + 8]
mov eax, dword [rdx]
mov edx, dword [rsp + 0x3c]
setne cl
cmp dword [rdi + 0x90], eax
setne al
or cl, al
mov eax, dword [rsp + 0x54]
or r8b, cl
mov byte [rsp + 0x32], r8b
test r8b, r8b
jne 0x18002dd17
test eax, eax
jg 0x18002dd17
mov byte [rdi + 0x84], r8b
jmp 0x18002dd33
or dword [rdi + 0xa4], 8
or dword [rdi + 0xa8], 8
or dword [rdi + 0xac], 8
mov byte [rdi + 0x84], 1
xor r8d, r8d
cmp edx, r13d
je 0x18002dd78
mov dword [rdi + 0xc], r12d
mov dword [rdi + 0x250], r13d
movsd xmm0, qword [rsi + 0x19a8]
mov word [rdi + 0x8a], r8w
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x254], xmm0
movzx eax, word [rsi + 0x1a10]
inc dword [rsi + 0x1a10]
mov word [rdi + 0x8c], ax
jmp 0x18002dd7c
mov r12d, dword [rdi + 0xc]
lea r15, [rsi + 0x19f0]
movsxd rax, dword [r15]
test eax, eax
jne 0x18002dd8f
mov rax, r8
jmp 0x18002dd9e
mov rcx, rax
mov rax, qword [rsi + 0x19f8]
mov rax, qword [rax + rcx*8 - 8]
cmp edx, r13d
je 0x18002ddb8
test r12d, 0x5000000
mov rcx, r8
cmovne rcx, rax
mov qword [rsp + 0x60], rcx
jmp 0x18002ddc4
mov rax, qword [rdi + 0x358]
mov qword [rsp + 0x60], rax
lea r14, [rdi + 0xc0]
mov edx, 8
cmp dword [r14], r8d
jne 0x18002de05
mov eax, r8d
cmp dword [r14 + 4], r8d
jne 0x18002ddf0
mov rcx, r14
call fcn.1800374a0
mov eax, dword [r14]
mov rbx, qword [0x180077158]
mov rcx, qword [r14 + 8]
movsxd rdx, eax
mov eax, dword [rdi + 8]
mov dword [rcx + rdx*4], eax
mov edx, 8
inc dword [r14]
mov ecx, dword [r15 + 4]
mov eax, dword [r15]
cmp eax, ecx
jne 0x18002de41
lea r8d, [rax + 1]
test ecx, ecx
je 0x18002de23
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002de25
mov eax, edx
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.180037030
mov eax, dword [r15]
mov rbx, qword [0x180077158]
movsxd rcx, eax
mov rax, qword [r15 + 8]
mov qword [rax + rcx*8], rdi
lea rcx, [rdi + 0x1d0]
inc dword [r15]
xor r15d, r15d
mov qword [rsi + 0x1a18], r15
movzx eax, word [r14]
mov word [rcx], ax
movzx eax, word [rdi + 0x1c0]
mov word [rcx + 2], ax
movzx eax, word [rbx + 0x1b70]
mov word [rcx + 4], ax
movzx eax, word [rbx + 0x1b30]
mov word [rcx + 6], ax
movzx eax, word [rbx + 0x1b40]
mov word [rcx + 8], ax
movzx eax, word [rbx + 0x1b50]
mov word [rcx + 0xa], ax
mov eax, r12d
and eax, 0x4000000
mov dword [rsp + 0x38], eax
je 0x18002dee0
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.180036db0
mov eax, dword [rbx]
mov rbx, qword [0x180077158]
mov dword [rdi + 0x90], eax
cmp dword [rsp + 0x54], r15d
jle 0x18002def5
bt r12d, 0x18
jb 0x18002def5
mov dword [rdi + 0x380], r15d
xor dl, dl
test byte [rsi + 0x1ab8], 1
mov byte [rsp + 0x34], dl
mov byte [rsp + 0x33], dl
mov byte [rsp + 0x30], dl
je 0x18002df89
mov ecx, dword [rdi + 0xa4]
mov eax, ecx
mov r8d, dword [rsi + 0x1abc]
and eax, r8d
setne dl
mov byte [rsp + 0x34], dl
test r8d, ecx
je 0x18002df7a
movss xmm0, dword [rsi + 0x1ad4]
movss xmm1, dword [rsi + 0x1ad0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18006baac]
jbe 0x18002df7a
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 0x18002df89
lea rdx, [rsi + 0x1ac8]
mov rcx, rdi
call fcn.180030650
mov eax, dword [rsi + 0x1ab8]
test al, 2
je 0x18002dfed
mov r8d, dword [rsi + 0x1ac0]
lea rdx, [rsi + 0x1ad8]
mov eax, r8d
and eax, dword [rdi + 0xa8]
je 0x18002dfbd
movss xmm0, dword [rdx]
comiss xmm0, xmm11
jbe 0x18002dfbd
mov byte [rsp + 0x33], 1
jmp 0x18002dfc7
xor cl, cl
mov byte [rsp + 0x33], cl
test eax, eax
je 0x18002dfda
movss xmm0, dword [rsi + 0x1adc]
comiss xmm0, xmm11
mov byte [rsp + 0x30], 1
ja 0x18002dfdf
mov byte [rsp + 0x30], r15b
mov rcx, rdi
call fcn.180030720
mov eax, dword [rsi + 0x1ab8]
mov r14d, dword [rsp + 0x3c]
test al, 4
je 0x18002e005
movsd xmm0, qword [rsi + 0x1ae0]
movsd qword [rdi + 0x30], xmm0
jmp 0x18002e00e
cmp r14d, r13d
je 0x18002e00e
mov qword [rdi + 0x30], r15
mov eax, dword [rsi + 0x1ab8]
test al, 8
je 0x18002e044
mov ecx, dword [rsi + 0x1ac4]
movzx edx, byte [rsi + 0x1ae8]
test ecx, ecx
je 0x18002e031
test dword [rdi + 0xac], ecx
je 0x18002e044
and dword [rdi + 0xac], 0xfffffff1
mov byte [rdi + 0x81], dl
mov eax, dword [rsi + 0x1ab8]
test al, 0x20
je 0x18002e057
mov rcx, rdi
call fcn.18002ff90
mov rbx, qword [0x180077158]
cmp byte [rdi + 0x84], r15b
je 0x18002e075
and dword [rdi + 0xa4], 0xfffffff7
and dword [rdi + 0xa8], 0xfffffff7
and dword [rdi + 0xac], 0xfffffff7
mov r8d, 1
cmp r14d, r13d
je 0x18002fce7
mov rax, qword [rsp + 0x60]
mov ecx, r12d
movaps xmmword [rsp + 0x160], xmm6
and ecx, 0x3000000
movaps xmmword [rsp + 0x150], xmm7
movaps xmmword [rsp + 0x140], xmm8
movaps xmmword [rsp + 0x130], xmm9
movaps xmmword [rsp + 0x120], xmm10
movaps xmmword [rsp + 0x100], xmm12
movaps xmmword [rsp + 0xf0], xmm13
movaps xmmword [rsp + 0xe0], xmm14
movaps xmmword [rsp + 0xd0], xmm15
mov dword [rsp + 0x50], 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 0x18002e13f
cmp ecx, 0x1000000
jne 0x18002e121
mov rax, qword [rax + 0x360]
mov qword [rdi + 0x360], rax
mov rax, qword [rsp + 0x60]
bt r12d, 0x1b
jb 0x18002e13f
test r12d, 0x5000000
je 0x18002e13f
mov rax, qword [rax + 0x368]
mov qword [rdi + 0x368], rax
test dword [rdi + 0xc], 0x800000
je 0x18002e16a
mov rcx, rdi
nop dword [rax + rax]
mov rax, qword [rcx + 0x358]
mov qword [rdi + 0x370], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x18002e150
mov byte [rdi + 0x7e], r8b
mov byte [rdi + 0x86], r15b
mov dword [rdi + 0x230], 0xff7fffff
mov dword [rdi + 0x234], 0xff7fffff
mov dword [rdi + 0x238], 0x7f7fffff
mov dword [rdi + 0x23c], 0x7f7fffff
mov ecx, dword [rdi + 0xc4]
cmp ecx, r8d
jge 0x18002e1de
test ecx, ecx
je 0x18002e1b7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002e1bc
mov eax, 8
cmp eax, r8d
lea rcx, [rdi + 0xc0]
mov edx, r8d
cmovg edx, eax
call fcn.1800374a0
mov rbx, qword [0x180077158]
mov r8d, 1
mov dword [rdi + 0xc0], r8d
cmp byte [rdi + 0x3a8], r15b
je 0x18002e22f
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3ac]
add rcx, 0x10
mov byte [rdi + 0x3a8], r15b
call fcn.18001d370
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3b0]
add rcx, 0x20
call fcn.1800371b0
mov rbx, qword [0x180077158]
mov qword [rdi + 0x3ac], r15
mov r8, qword [rsp + 0x48]
cmp qword [rsi + 0x1bd8], r15
je 0x18002e316
test dword [rdi + 0xc], 0x80000
jne 0x18002e316
test r8, r8
je 0x18002e316
mov r9, qword [rbp - 0x68]
mov r15, qword [rdi]
mov rax, r9
mov r8, r15
sub r8, r9
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18002e283
inc rax
test ecx, ecx
jne 0x18002e270
test edx, edx
je 0x18002e30e
movsxd r13, dword [rdi + 0x48]
mov r14, 0xffffffffffffffff
inc r14
cmp byte [r9 + r14], 0
jne 0x18002e296
inc r14
cmp r13, r14
jae 0x18002e2f9
test r15, r15
je 0x18002e2b8
test rbx, rbx
je 0x18002e2b8
dec dword [rbx + 0x3bc]
mov rdx, qword [0x180077150]
mov rcx, r15
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rax, qword [0x180077158]
test rax, rax
je 0x18002e2d9
inc dword [rax + 0x3bc]
mov rdx, qword [0x180077150]
mov rcx, r14
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r9, qword [rbp - 0x68]
mov r15, rax
mov rbx, qword [0x180077158]
mov r13, r14
mov r8, r14
mov rdx, r9
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], r15
mov dword [rdi + 0x48], r13d
mov r8, qword [rsp + 0x48]
xor r15d, r15d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.18002bc60
movss xmm3, dword [rax]
movss xmm4, dword [rax + 4]
mov eax, dword [rdi + 0x9c]
movss dword [rdi + 0x28], xmm3
movss dword [rdi + 0x2c], xmm4
test eax, eax
jle 0x18002e348
dec eax
mov dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0xa0]
test eax, eax
jle 0x18002e35a
dec eax
mov dword [rdi + 0xa0], eax
movzx r14d, byte [rsp + 0x33]
test r8, r8
jne 0x18002e37e
test r14b, r14b
je 0x18002e371
cmp byte [rsp + 0x30], r8b
jne 0x18002e37e
mov eax, 1
mov dword [rdi + 0xa0], eax
jmp 0x18002e383
mov eax, 1
cmp byte [rsp + 0x32], 0
je 0x18002e3cf
test r12d, 0x6000000
je 0x18002e3cf
mov dword [rdi + 0xa0], eax
test r12b, 0x40
je 0x18002e3cf
test r14b, r14b
jne 0x18002e3ac
mov dword [rdi + 0x20], r15d
mov dword [rdi + 0x18], r15d
movzx r15d, byte [rsp + 0x30]
test r15b, r15b
jne 0x18002e3c5
mov dword [rdi + 0x24], 0
mov dword [rdi + 0x1c], 0
mov qword [rdi + 0x28], 0
jmp 0x18002e3d5
movzx r15d, byte [rsp + 0x30]
movss xmm0, dword [rbx + 0x1914]
mov qword [rbx + 0x1a18], rdi
mov rax, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x18002e400
mulss xmm0, dword [rax + 0x2a0]
mov eax, r12d
movss dword [rbx + 0x1928], xmm0
and eax, 0x1000000
movss dword [rbx + 0x1910], xmm0
mov dword [rsp + 0x3c], eax
je 0x18002e428
movss xmm0, dword [rsi + 0x1584]
jmp 0x18002e44a
test r12d, 0x6000000
je 0x18002e442
bt r12d, 0x1b
jb 0x18002e442
movss xmm0, dword [rsi + 0x158c]
jmp 0x18002e44a
movss xmm0, dword [rsi + 0x1568]
movss dword [rdi + 0x44], xmm0
mov eax, r12d
movsd xmm0, qword [rsi + 0x155c]
and eax, 0x5010000
movsd qword [rdi + 0x38], xmm0
cmp eax, 0x1000000
jne 0x18002e499
movss xmm0, dword [rdi + 0x44]
ucomiss xmm0, xmm11
jp 0x18002e499
jne 0x18002e499
bt r12d, 0xa
jae 0x18002e489
movss xmm0, dword [rsi + 0x1560]
jmp 0x18002e48d
movaps xmm0, xmm11
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 r12b, 0x21
jne 0x18002e5ff
mov ecx, dword [rdi + 0xc]
test cl, 1
je 0x18002e4da
movaps xmm2, xmm11
jmp 0x18002e50e
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rbx + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x18002e4fe
mulss xmm0, dword [rax + 0x2a0]
movss xmm2, dword [rbx + 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 0x18002e5c3
cmp dword [rsi + 0x1a4c], 0
jne 0x18002e5c3
cmp dword [rsi + 0x1a54], 0
jne 0x18002e5c3
mov rax, qword [rbx + 0x1a18]
movss xmm1, dword [rbx + 0x15b0]
movss xmm0, dword [rbx + 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 [rbx + 0x130]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x18002e5c3
movss xmm0, dword [rbx + 0x134]
comiss xmm0, xmm5
jb 0x18002e5c3
comiss xmm3, xmm1
jbe 0x18002e5c3
comiss xmm2, xmm0
jbe 0x18002e5c3
cmp byte [rsi + 0x425], 0
je 0x18002e5c3
mov byte [rdi + 0x82], 1
cmp byte [rdi + 0x82], 0
je 0x18002e606
cmp byte [rdi + 0x81], 0
sete al
mov byte [rdi + 0x81], al
bt ecx, 8
jb 0x18002e5f5
comiss xmm11, dword [rbx + 0x2ef8]
jb 0x18002e5f5
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x2ef8], eax
mov rcx, rdi
call fcn.18002ff90
jmp 0x18002e606
mov byte [rdi + 0x81], 0
lea rbx, [rdi + 0x28]
mov byte [rdi + 0x82], 0
mov r8, rbx
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.18002bd20
movzx r13d, byte [rsp + 0x31]
test r12b, 0x40
je 0x18002e667
cmp byte [rdi + 0x81], 0
jne 0x18002e667
test r14b, r14b
jne 0x18002e64b
movss xmm0, dword [rsp + 0x40]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x31], 1
test r15b, r15b
jne 0x18002e70c
movss xmm0, dword [rsp + 0x44]
mov r13b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x18002e70c
movzx eax, byte [rdi + 0x94]
test al, al
jg 0x18002e67f
cmp byte [rdi + 0x95], 0
jle 0x18002e70c
test r14b, r14b
jne 0x18002e6ae
test al, al
jle 0x18002e6ae
cmp byte [rdi + 0x97], r14b
je 0x18002e69e
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rsp + 0x40]
jmp 0x18002e6a4
movss xmm0, dword [rsp + 0x40]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x31], 1
test r15b, r15b
jne 0x18002e6e0
cmp byte [rdi + 0x95], r15b
jle 0x18002e6e0
cmp byte [rdi + 0x97], r15b
je 0x18002e6d2
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rsp + 0x44]
jmp 0x18002e6d8
movss xmm0, dword [rsp + 0x44]
movss dword [rdi + 0x24], xmm0
mov r13b, 1
cmp byte [rdi + 0x81], 0
jne 0x18002e70c
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x180077158]
jne 0x18002e70c
comiss xmm11, dword [rcx + 0x2ef8]
jb 0x18002e70c
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2ef8], eax
mov r8, qword [rdi + 0x20]
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.18002b9e0
cmp byte [rdi + 0x81], 0
mov r14, qword [0x180077158]
mov edx, dword [rsp + 0x3c]
movss xmm3, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x20], xmm3
movss dword [rdi + 0x24], xmm0
je 0x18002e7b3
test edx, edx
jne 0x18002e7b3
mov eax, dword [rdi + 0xc]
test al, 1
je 0x18002e755
movaps xmm2, xmm11
jmp 0x18002e78b
mov rcx, qword [rdi + 0x358]
movss xmm0, dword [r14 + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rcx, rcx
je 0x18002e77a
mulss xmm0, dword [rcx + 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 + 0x5c], xmm2
movss dword [rsp + 0x58], xmm0
jmp 0x18002e7c1
movsd xmm0, qword [rdi + 0x20]
mov eax, dword [rdi + 0xc]
movsd qword [rsp + 0x58], xmm0
lea rcx, [rsp + 0x58]
movsd xmm0, qword [rcx]
movsd qword [rdi + 0x18], xmm0
test al, 1
je 0x18002e7d9
movaps xmm1, xmm11
jmp 0x18002e80f
mov rcx, qword [rdi + 0x358]
movss xmm0, dword [r14 + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rcx, rcx
je 0x18002e7fe
mulss xmm0, dword [rcx + 0x2a0]
movss xmm1, dword [r14 + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
bt eax, 0xa
jae 0x18002e859
mov rax, qword [rdi + 0x358]
movss xmm14, dword [r14 + 0x1914]
mulss xmm14, dword [rdi + 0x2a0]
test rax, rax
je 0x18002e83c
mulss xmm14, dword [rax + 0x2a0]
movss xmm0, dword [r14 + 0x1594]
addss xmm14, dword [rdi + 0x150]
addss xmm0, xmm0
addss xmm14, xmm0
jmp 0x18002e85d
movaps xmm14, xmm11
cmp byte [rsp + 0x32], 0
addss xmm14, xmm1
mov ecx, dword [rsp + 0x38]
movzx r15d, byte [rsp + 0x34]
je 0x18002e8b5
mov dword [rdi + 0x98], 0xffffffff
test ecx, ecx
je 0x18002e8b5
test r15b, r15b
jne 0x18002e8b5
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
test edx, edx
je 0x18002e952
mov rdx, qword [rsp + 0x60]
lea rbx, [rdx + 0x158]
movzx eax, word [rbx]
mov word [rdi + 0x8a], ax
mov ecx, dword [rbx + 4]
mov eax, dword [rbx]
cmp eax, ecx
jne 0x18002e914
lea r8d, [rax + 1]
test ecx, ecx
je 0x18002e8ef
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002e8f4
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180037030
mov eax, dword [rbx]
mov rdx, qword [rsp + 0x60]
mov r14, qword [0x180077158]
movsxd rcx, eax
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x50]
test ecx, ecx
jne 0x18002e94c
test r15b, r15b
jne 0x18002e94c
lea rbx, [rdi + 0x28]
cmp eax, 0x3000000
je 0x18002e956
movsd xmm0, qword [rdx + 0xd0]
movsd qword [rdi + 0x10], xmm0
jmp 0x18002e956
lea rbx, [rdi + 0x28]
jmp 0x18002e956
mov eax, dword [rsp + 0x50]
movss xmm1, dword [rdi + 0xb0]
ucomiss xmm1, dword [0x18006bc9c]
jp 0x18002e969
je 0x18002e9ba
cmp dword [rdi + 0xa0], 0
jne 0x18002e9ba
movss xmm0, dword [rdi + 0xb8]
lea rdx, [rsp + 0x58]
mulss xmm0, dword [rdi + 0x20]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xb4]
movss dword [rsp + 0x58], xmm1
movss xmm1, dword [rdi + 0xbc]
mulss xmm1, dword [rdi + 0x24]
subss xmm0, xmm1
movss dword [rsp + 0x5c], xmm0
call fcn.180030650
jmp 0x18002ea03
bt r12d, 0x1c
jb 0x18002e9e4
test ecx, ecx
je 0x18002e9d1
test r15b, r15b
jne 0x18002e9d1
cmp dword [rsp + 0x54], 0
jg 0x18002e9e4
bt r12d, 0x19
jae 0x18002ea07
test r15b, r15b
jne 0x18002ea07
cmp eax, 0x3000000
je 0x18002ea07
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.180032070
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]
mov edx, dword [rsp + 0x3c]
movss dword [rbp - 0x58], xmm15
movss dword [rsp + 0x38], xmm6
movss dword [rbp - 0x54], xmm6
movss dword [rbp - 0x60], xmm11
movss dword [rbp - 0x5c], xmm11
test r15b, r15b
jne 0x18002eb59
test edx, edx
jne 0x18002eb59
cmp byte [rdi + 0x94], r15b
jg 0x18002eb59
cmp byte [rdi + 0x95], r15b
jg 0x18002eb59
movss xmm0, dword [rsi + 0x10]
comiss xmm0, xmm11
jbe 0x18002eb59
movss xmm0, dword [rsi + 0x14]
comiss xmm0, xmm11
jbe 0x18002eb59
movss xmm5, dword [rsi + 0x15f0]
movss xmm4, dword [rsi + 0x15ec]
maxss xmm5, dword [rsi + 0x15f8]
maxss xmm4, dword [rsi + 0x15f4]
cmp byte [r14 + 0xcc], r15b
je 0x18002eaf5
test byte [rdi + 0xc], 1
jne 0x18002eaf5
mov rax, qword [rdi + 0x358]
movss xmm0, dword [r14 + 0x1914]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x18002ead1
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [r14 + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x18]
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm1
jmp 0x18002eb00
movsd xmm0, qword [rdi + 0x18]
movsd qword [rsp + 0x58], xmm0
lea rax, [rsp + 0x58]
movaps xmm3, xmm15
movss xmm1, dword [rax]
subss xmm3, xmm4
movss xmm2, dword [rax + 4]
addss xmm4, xmm11
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x10]
maxss xmm0, xmm4
subss xmm0, xmm1
movaps xmm1, xmm6
subss xmm1, xmm5
addss xmm5, xmm11
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
cvttss2si eax, dword [rdi + 0x10]
movd xmm0, eax
cvttss2si eax, dword [rdi + 0x14]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
movss dword [rdi + 0x10], xmm0
cvtdq2ps xmm1, xmm1
movss dword [rdi + 0x14], xmm1
test edx, edx
je 0x18002eb89
movss xmm2, dword [rsi + 0x1580]
jmp 0x18002ebaa
mov eax, r12d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18002eba2
movss xmm2, dword [rsi + 0x1588]
jmp 0x18002ebaa
movss xmm2, dword [rsi + 0x1564]
xor dl, dl
movss dword [rdi + 0x40], xmm2
mov dword [rsp + 0x54], edx
cmp byte [rsp + 0x32], dl
je 0x18002ebe1
bt r12d, 0xc
jb 0x18002ebe1
test ecx, ecx
je 0x18002ebcd
mov byte [rsp + 0x54], 1
jmp 0x18002ebe1
cmp dword [rsp + 0x50], 0
mov ecx, 1
movzx edx, dl
cmove edx, ecx
mov dword [rsp + 0x54], edx
addss xmm2, dword [0x18006bb3c]
xorps xmm0, xmm0
mov dword [rsp + 0x68], 0xffffffff
movups xmmword [rbp - 0x50], xmm0
xor ecx, ecx
movss xmm0, dword [rsi + 0x1910]
cmp byte [rsi + 0xcb], cl
movaps xmm1, xmm0
mulss xmm0, dword [0x18006bae0]
setne cl
mulss xmm1, dword [0x18006bb48]
inc ecx
cmp byte [rdi + 0x81], 0
addss xmm2, xmm0
mov dword [rsp + 0x58], ecx
maxss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x70], xmm0
jne 0x18002ec77
lea rax, [rbp - 0x50]
mov r9d, ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x40]
call fcn.18002c130
mov r14, qword [0x180077158]
test al, al
je 0x18002ec77
mov r13b, 1
movzx ecx, r13b
jmp 0x18002ec7c
movzx ecx, byte [rsp + 0x31]
cmp byte [rdi + 0x81], 0
movzx eax, byte [rsp + 0x68]
mov byte [rdi + 0x87], al
jne 0x18002edba
cmp qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
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, xmm14
addss xmm2, dword [rdi + 0x74]
addss xmm3, dword [rdi + 0x78]
jne 0x18002ece5
mov qword [rsp + 0x48], 0
jmp 0x18002ed0c
movss xmm0, dword [rdi + 0x38]
movss xmm1, dword [rdi + 0x3c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rbx]
addss xmm1, dword [rbx + 4]
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x18002ed1c
movaps xmm5, xmm2
test r13b, r13b
jne 0x18002ed24
movaps xmm4, xmm3
bt r12d, 0xe
jb 0x18002ed3a
comiss xmm1, xmm4
jbe 0x18002ed36
test r12b, 8
je 0x18002ed3a
xor cl, cl
jmp 0x18002ed3c
mov cl, 1
mov byte [rdi + 0x7d], cl
bt r12d, 0xf
jb 0x18002ed7a
test cl, cl
je 0x18002ed54
movss xmm0, dword [rsi + 0x15c0]
jmp 0x18002ed58
movaps xmm0, xmm11
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x18002ed70
mov eax, r12d
and eax, 0x808
cmp eax, 0x800
je 0x18002ed7a
mov byte [rdi + 0x7c], 0
movaps xmm1, xmm11
jmp 0x18002ed9e
mov byte [rdi + 0x7c], 1
test cl, cl
jne 0x18002ed96
comiss xmm1, xmm4
jbe 0x18002ed91
test r12b, 8
jne 0x18002ed91
mov cl, 1
jmp 0x18002ed93
xor cl, cl
mov byte [rdi + 0x7d], cl
movss xmm1, dword [rsi + 0x15c0]
test cl, cl
je 0x18002edac
movss xmm0, dword [rsi + 0x15c0]
jmp 0x18002edb0
movaps xmm0, xmm11
movss dword [rdi + 0x74], xmm0
movss dword [rdi + 0x78], xmm1
mov r15d, r12d
and r15d, 0x5000000
cmp r15d, 0x1000000
jne 0x18002ede5
cmp dword [rsp + 0x50], 0x3000000
je 0x18002ede5
mov r13, qword [rsp + 0x60]
lea rax, [r13 + 0x230]
jmp 0x18002edee
mov r13, qword [rsp + 0x60]
lea rax, [rbp - 0x60]
test byte [rdi + 0xc], 1
movss xmm5, dword [rdi + 0x10]
movss xmm7, dword [rdi + 0x14]
movaps xmm3, xmm5
addss xmm3, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm4, xmm7
addss xmm4, dword [rdi + 0x1c]
je 0x18002ee17
movaps xmm0, xmm11
jmp 0x18002ee4d
mov rax, qword [rdi + 0x358]
movss xmm1, dword [r14 + 0x1914]
mulss xmm1, dword [rdi + 0x2a0]
test rax, rax
je 0x18002ee3c
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [r14 + 0x1594]
addss xmm0, xmm0
addss xmm0, xmm1
movss dword [rsp + 0x70], xmm5
movaps xmm2, xmm5
addss xmm2, dword [rdi + 0x20]
movaps xmm1, xmm7
mov eax, r12d
addss xmm1, xmm0
and eax, 0x401
movss xmm0, dword [rdi + 0x14]
movss dword [rsp + 0x74], xmm0
movss dword [rsp + 0x78], xmm2
movaps xmm2, xmm6
shufps xmm2, xmm6, 0xaa
movss dword [rsp + 0x7c], xmm1
movss dword [rdi + 0x1f0], xmm5
movss dword [rdi + 0x1f4], xmm7
movss dword [rdi + 0x1f8], xmm3
movaps xmm3, xmm6
movss dword [rdi + 0x1fc], xmm4
movaps xmm4, xmm6
movss xmm1, dword [rdi + 0x1f0]
movss xmm0, dword [rdi + 0x1f4]
maxss xmm1, xmm6
shufps xmm3, xmm6, 0x55
shufps xmm4, xmm6, 0xff
maxss xmm0, xmm3
movss dword [rdi + 0x1f0], xmm1
movss dword [rdi + 0x1f4], xmm0
movss xmm1, dword [rdi + 0x1f8]
movss xmm0, dword [rdi + 0x1fc]
minss xmm1, xmm2
minss xmm0, xmm4
movss dword [rdi + 0x1f8], xmm1
movss dword [rdi + 0x1fc], xmm0
movss xmm12, dword [rdi + 0x10]
movss xmm5, dword [rdi + 0x14]
movaps xmm8, xmm12
movss dword [rdi + 0x200], xmm12
movaps xmm10, xmm5
addss xmm10, xmm14
addss xmm8, dword [rdi + 0x18]
addss xmm5, dword [rdi + 0x1c]
movss dword [rdi + 0x204], xmm10
subss xmm8, dword [rdi + 0x74]
subss xmm5, dword [rdi + 0x78]
movss dword [rdi + 0x208], xmm8
movss dword [rdi + 0x20c], xmm5
cmp eax, 1
jne 0x18002ef67
movss xmm7, dword [rdi + 0x44]
movaps xmm9, xmm7
jmp 0x18002ef75
movss xmm7, dword [rsi + 0x159c]
movss xmm9, dword [rdi + 0x44]
movss xmm13, dword [0x18006bb00]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x38]
addss xmm12, xmm13
mulss xmm0, xmm13
addss xmm10, xmm13
addss xmm8, xmm13
addss xmm5, xmm13
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm10, xmm7
subss xmm5, xmm9
cvtsi2ss xmm1, eax
maxss xmm1, xmm9
addss xmm12, xmm1
subss xmm8, xmm1
cvttss2si eax, xmm12
xorps xmm12, xmm12
cvtsi2ss xmm12, eax
cvttss2si eax, xmm10
movss dword [rdi + 0x210], xmm12
cvtsi2ss xmm0, eax
cvttss2si eax, xmm8
movss dword [rdi + 0x214], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm5
movss dword [rdi + 0x218], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x21c], xmm0
movss xmm0, dword [rdi + 0x214]
comiss xmm3, xmm0
jbe 0x18002f024
movaps xmm1, xmm3
jmp 0x18002f02b
movaps xmm1, xmm4
minss xmm1, xmm0
comiss xmm6, xmm12
jbe 0x18002f036
movaps xmm0, xmm6
jmp 0x18002f03e
movaps xmm0, xmm2
minss xmm0, xmm12
movss dword [rdi + 0x210], xmm0
movss dword [rdi + 0x214], xmm1
movss xmm0, dword [rdi + 0x21c]
comiss xmm3, xmm0
ja 0x18002f062
minss xmm4, xmm0
movaps xmm3, xmm4
movss xmm0, dword [rdi + 0x218]
comiss xmm6, xmm0
jbe 0x18002f074
movaps xmm2, xmm6
jmp 0x18002f078
minss xmm2, xmm0
movss dword [rdi + 0x218], xmm2
movss dword [rdi + 0x21c], xmm3
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm11
jbe 0x18002f0a6
test r12d, 0x2000040
jne 0x18002f0a6
mulss xmm0, dword [0x18006bb10]
jmp 0x18002f0b6
movss xmm0, dword [rsi + 0x1910]
mulss xmm0, dword [0x18006bc04]
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]
movss xmm2, dword [rdi + 0x3c]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x28]
addss xmm2, dword [rdi + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm11
maxss xmm0, xmm1
movss dword [rdi + 0x5c], xmm0
movss xmm0, dword [rdi + 0x20c]
subss xmm0, dword [rdi + 0x204]
subss xmm2, xmm0
movaps xmm0, xmm11
maxss xmm0, xmm2
movss dword [rdi + 0x60], xmm0
call fcn.180030e30
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.18003e570
mov rax, qword [rsi + 0x1908]
mov rcx, qword [rdi + 0x2a8]
mov rdx, qword [rax + 0x48]
mov rdx, qword [rdx + 8]
call fcn.18003ec00
mov rcx, qword [0x180077158]
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.18003ead0
mov rax, qword [rbx + 0x2a8]
mov rcx, qword [rax + 0x68]
movsxd rdx, dword [rax + 0x60]
add rdx, rdx
movss xmm0, dword [rcx + rdx*8 - 0xc]
movss xmm1, dword [rcx + rdx*8 - 8]
movss xmm2, dword [rcx + rdx*8 - 4]
mov eax, dword [rcx + rdx*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 [0x180077158]
bt r12d, 0x1b
jae 0x18002f262
mov eax, dword [r9 + 0x1b60]
sub eax, 1
js 0x18002f24e
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 0x18002f244
test dword [rax + 0xc], 0x8000000
jne 0x18002f250
sub r8, 0x30
sub rdx, 1
jns 0x18002f233
xor eax, eax
cmp rdi, rax
jne 0x18002f262
cmp dword [rdi + 0xa0], 0
jg 0x18002f262
mov al, 1
jmp 0x18002f264
xor al, al
mov rcx, qword [rsi + 0x1bd0]
test rcx, rcx
je 0x18002f27d
cmp rdi, qword [rcx + 0x360]
jne 0x18002f27d
mov bl, 1
jmp 0x18002f27f
xor bl, bl
test al, al
jne 0x18002f28b
test bl, bl
je 0x18002f3d8
movss xmm0, dword [rsi + 0x1d38]
lea rcx, [rbp - 0x80]
mulss xmm0, dword [r9 + 0x1558]
movzx eax, al
add rax, 0x39
add rax, rax
movups xmm1, xmmword [r9 + rax*8 + 0x1558]
movups xmmword [rbp - 0x80], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x74], xmm1
call fcn.180025c40
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rbp - 0x60]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x58]
movss dword [rsp + 0x20], xmm11
call fcn.180040ca0
test bl, bl
je 0x18002f3d8
movss xmm12, dword [rsp + 0x38]
cmp rdi, qword [rsi + 0x1bd0]
jne 0x18002f3df
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 xmm11, xmm1
addss xmm3, xmm0
movss dword [rbp - 0x60], xmm1
movss dword [rbp - 0x58], xmm2
movss dword [rbp - 0x5c], xmm4
movss dword [rbp - 0x54], xmm3
jb 0x18002f369
comiss xmm11, xmm4
jb 0x18002f369
comiss xmm2, xmm15
jb 0x18002f369
comiss xmm3, xmm12
jae 0x18002f3df
mov rax, qword [0x180077158]
lea rcx, [rbp - 0x80]
movss xmm0, dword [rsi + 0x1be4]
mulss xmm0, dword [0x18006bae4]
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.180025c40
movss xmm0, dword [rsi + 0x1564]
lea r8, [rbp - 0x58]
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rbp - 0x60]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm0
call fcn.180040ca0
jmp 0x18002f3df
movss xmm12, dword [rsp + 0x38]
xor bl, bl
cmp r15d, 0x1000000
jne 0x18002f423
cmp dword [rsp + 0x50], 0x3000000
je 0x18002f423
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 0x18002f423
mov rax, qword [r13 + 0x2a8]
cmp dword [rax + 0x20], 0
jle 0x18002f423
mov bl, 1
mov qword [rdi + 0x2a8], rax
mov rax, qword [rsi + 0x1bc8]
test rax, rax
jne 0x18002f436
mov rax, qword [rsi + 0x1b80]
mov r15d, dword [rsp + 0x54]
test r15b, r15b
jne 0x18002f45a
test rax, rax
je 0x18002f455
mov rax, qword [rax + 0x368]
cmp qword [rdi + 0x368], rax
je 0x18002f45a
xor r8b, r8b
jmp 0x18002f45d
mov r8b, 1
movss xmm0, dword [rbp - 0x70]
lea rax, [rbp - 0x50]
mov r9d, dword [rsp + 0x58]
lea rdx, [rsp + 0x70]
movss dword [rsp + 0x28], xmm0
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.18002cf50
test bl, bl
je 0x18002f495
lea rax, [rdi + 0x2b0]
mov qword [rdi + 0x2a8], rax
cmp qword [rsi + 0x1bd0], rdi
jne 0x18002f619
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 xmm10, xmm2
addss xmm6, dword [rdi + 0x1c]
maxss xmm10, dword [rsi + 0x1564]
subss xmm8, xmm1
comiss xmm11, xmm9
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x18002f530
comiss xmm11, xmm8
jb 0x18002f530
comiss xmm7, xmm15
jb 0x18002f530
comiss xmm6, xmm12
jb 0x18002f530
xorps xmm1, xmmword [0x18006c260]
movaps xmm10, xmm2
subss xmm1, dword [0x18006bb3c]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rax, qword [0x180077158]
lea rcx, [rbp - 0x50]
movss xmm0, dword [rsi + 0x1be4]
mov rbx, qword [rdi + 0x2a8]
movups xmm1, xmmword [rax + 0x18d8]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x44], xmm1
call fcn.180025c40
mov r14d, eax
test eax, 0xff000000
je 0x18002f619
test byte [rbx + 0x30], 1
addss xmm9, xmm13
addss xmm8, xmm13
mov dword [rsp + 0x20], 0xffffffff
movaps xmm3, xmm10
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, rbx
movss dword [rsp + 0x40], xmm9
movss dword [rsp + 0x44], xmm8
je 0x18002f5c0
subss xmm7, xmm13
subss xmm6, xmm13
jmp 0x18002f5d0
subss xmm7, dword [0x18006bafc]
subss xmm6, dword [0x18006bafc]
movss dword [rsp + 0x48], xmm7
movss dword [rsp + 0x4c], xmm6
call fcn.1800406d0
movss xmm0, dword [0x18006bb8c]
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.18003eed0
xor r8d, r8d
mov dword [rbx + 0x80], r8d
jmp 0x18002f61c
xor r8d, r8d
movss xmm7, dword [rdi + 0x30]
mov ecx, r12d
movaps xmm15, xmmword [rsp + 0xd0]
movaps xmm13, xmmword [rsp + 0xf0]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm7, xmm11
jp 0x18002f684
jne 0x18002f684
movss xmm0, dword [rdi + 0x38]
mov eax, r12d
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x74]
cmp eax, 0x800
jne 0x18002f679
movss xmm9, dword [rdi + 0x28]
maxss xmm9, xmm1
jmp 0x18002f688
movaps xmm9, xmm11
maxss xmm9, xmm1
jmp 0x18002f688
movaps xmm9, xmm7
movss xmm6, dword [rdi + 0x34]
ucomiss xmm6, xmm11
movss xmm4, dword [rdi + 0x3c]
jp 0x18002f6d0
jne 0x18002f6d0
movss xmm1, dword [rdi + 0x1c]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm1, xmm0
subss xmm1, xmm14
subss xmm1, dword [rdi + 0x78]
test cl, cl
je 0x18002f6c5
movss xmm8, dword [rdi + 0x2c]
maxss xmm8, xmm1
jmp 0x18002f6d4
movaps xmm8, xmm11
maxss xmm8, xmm1
jmp 0x18002f6d4
movaps xmm8, xmm6
ucomiss xmm7, xmm11
movss xmm5, dword [rdi + 0x38]
movss xmm10, dword [rdi + 0x54]
movaps xmm0, xmm5
maxss xmm0, dword [rdi + 0x44]
movss xmm1, dword [rdi + 0x200]
movss xmm12, dword [rdi + 0x58]
subss xmm1, xmm10
addss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, dword [rdi + 0x44]
cvttss2si eax, xmm1
movss xmm1, dword [rdi + 0x204]
subss xmm1, xmm12
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movss dword [rdi + 0x220], xmm3
addss xmm3, xmm9
movaps xmm9, xmmword [rsp + 0x130]
cvttss2si eax, xmm1
movss dword [rdi + 0x228], xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + 0x224], xmm2
addss xmm2, xmm8
movss xmm8, dword [rdi + 0x14]
movaps xmm1, xmm8
subss xmm1, xmm12
movss dword [rdi + 0x22c], xmm2
movss xmm2, dword [rdi + 0x10]
movaps xmm3, xmm2
subss xmm3, xmm10
addss xmm1, xmm4
addss xmm3, xmm5
addss xmm1, xmm14
movss dword [rdi + 0x240], xmm3
movss dword [rdi + 0x244], xmm1
jp 0x18002f7b6
jne 0x18002f7b6
movss xmm7, dword [rdi + 0x18]
movaps xmm0, xmm5
addss xmm0, xmm5
subss xmm7, xmm0
subss xmm7, dword [rdi + 0x74]
ucomiss xmm6, xmm11
addss xmm3, xmm7
movaps xmm7, xmmword [rsp + 0x150]
movss dword [rdi + 0x248], xmm3
jp 0x18002f7ec
jne 0x18002f7ec
movss xmm6, dword [rdi + 0x1c]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm6, xmm0
subss xmm6, xmm14
subss xmm6, dword [rdi + 0x78]
mov qword [rdi + 0x1e0], 0
addss xmm5, xmm11
addss xmm4, xmm14
movaps xmm14, xmmword [rsp + 0xe0]
addss xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x160]
subss xmm5, xmm10
movaps xmm10, xmmword [rsp + 0x120]
subss xmm4, xmm12
movaps xmm12, xmmword [rsp + 0x100]
movss dword [rdi + 0x24c], xmm1
movss dword [rdi + 0x1dc], xmm5
addss xmm5, xmm11
addss xmm4, xmm8
movaps xmm8, xmmword [rsp + 0x140]
addss xmm5, xmm2
movss dword [rdi + 0xe4], xmm4
movss dword [rdi + 0xd4], xmm4
movss dword [rdi + 0xdc], xmm4
movss dword [rdi + 0xe0], xmm5
movss dword [rdi + 0xd0], xmm5
movss dword [rdi + 0xd8], xmm5
movss dword [rdi + 0xe8], xmm5
movss dword [rdi + 0xec], xmm4
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, xmm11
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 0x18002f917
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.180037030
xor r8d, r8d
mov dword [rdi + 0x158], r8d
mov eax, 1
mov dword [rdi + 0x170], eax
test r13, r13
je 0x18002f94f
mov eax, dword [r13 + 0x170]
mov dword [rdi + 0x174], eax
mov qword [rdi + 0x178], 0xffffffffffffffff
mov eax, dword [r13 + 0x180]
jmp 0x18002f963
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 0x18002f9a9
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.1800374a0
xor r8d, r8d
mov dword [rbx], r8d
mov ecx, dword [rdi + 0x1a4]
test ecx, ecx
jns 0x18002f9d6
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.1800374a0
xor r8d, r8d
mov dword [rdi + 0x1a0], r8d
mov ecx, dword [rdi + 0x1b4]
test ecx, ecx
jns 0x18002fa07
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.1800374a0
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.180036a40
movss xmm0, dword [rsi + 0x15a0]
xor ecx, ecx
movaps xmm1, xmm11
movss dword [rdi + 0x25c], xmm0
mov qword [rdi + 0x260], rcx
cmp byte [rsp + 0x32], cl
je 0x18002fa80
xor eax, eax
mov qword [rdi + 0x274], rax
mov dword [rdi + 0x27c], eax
movss xmm1, dword [rdi + 0x260]
nop word [rax + rax]
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], ecx
movss xmm2, dword [rdi + 0x278]
comiss xmm2, xmm11
jbe 0x18002fabf
addss xmm1, dword [rdi + 0x25c]
cvttss2si eax, xmm1
addss xmm2, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x26c], xmm0
movss dword [rdi + 0x260], xmm2
mov dword [rdi + 0x278], ecx
movss xmm1, dword [rdi + 0x27c]
comiss xmm1, xmm11
jbe 0x18002fafa
addss xmm2, dword [rdi + 0x25c]
addss xmm1, xmm2
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x270], xmm0
movss dword [rdi + 0x260], xmm1
mov dword [rdi + 0x27c], ecx
cmp dword [rsp + 0x3c], ecx
je 0x18002fb81
mov edx, dword [r13 + 0x180]
cmp dword [rdi + 0x180], edx
je 0x18002fb81
mov dword [rdi + 0x180], edx
mov ecx, dword [rbx + 4]
mov eax, dword [rbx]
cmp eax, ecx
jne 0x18002fb75
lea r8d, [rax + 1]
test ecx, ecx
je 0x18002fb56
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002fb5b
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.1800374a0
mov edx, dword [rdi + 0x180]
mov eax, dword [rbx]
movsxd rcx, eax
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edx
inc dword [rbx]
movzx eax, byte [rdi + 0x94]
test al, al
jle 0x18002fb94
dec al
mov byte [rdi + 0x94], al
movzx eax, byte [rdi + 0x95]
test al, al
jle 0x18002fba7
dec al
mov byte [rdi + 0x95], al
test r15b, r15b
je 0x18002fc28
mov rcx, rdi
call fcn.18002ff90
mov eax, dword [rdi + 0xc]
mov rdx, qword [0x180077158]
bt eax, 0x12
jb 0x18002fc1c
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18002fbd9
cmp dword [rdi + 0x380], 0
jne 0x18002fc1c
movsxd rcx, dword [rdx + 0x1bec]
xor r15d, r15d
mov rax, qword [rdx + 0x1b80]
xorps xmm0, xmm0
mov dword [rdx + 0x1b88], r15d
mov dword [rax + rcx*4 + 0x380], r15d
mov word [rdx + 0x1bf9], 1
mov dword [rdx + 0x1bfc], r15d
movups xmmword [rdx + 0x1c00], xmm0
mov byte [rdx + 0x1bf8], 1
jmp 0x18002fc2b
mov eax, dword [rdi + 0x380]
mov dword [rdx + 0x1b88], eax
xor r15d, r15d
test r12b, 1
jne 0x18002fc42
mov r8, qword [rbp - 0x68]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.18002d660
mov eax, dword [rdi + 0x4c]
movss xmm1, dword [rsp + 0x70]
movss xmm5, dword [rsp + 0x78]
movss xmm3, dword [rsp + 0x7c]
movss xmm4, dword [rsp + 0x74]
mov dword [rdi + 0x110], eax
mov rax, qword [0x180077158]
movss xmm2, dword [rax + 0x15b0]
movss xmm0, dword [rax + 0x15b4]
subss xmm1, xmm2
addss xmm5, xmm2
movss xmm2, dword [rax + 0x130]
addss xmm3, xmm0
subss xmm4, xmm0
comiss xmm2, xmm1
jb 0x18002fcb3
movss xmm0, dword [rax + 0x134]
comiss xmm0, xmm4
jb 0x18002fcb3
comiss xmm5, xmm2
jbe 0x18002fcb3
comiss xmm3, xmm0
mov eax, 1
ja 0x18002fcb6
mov eax, r15d
movups xmm0, xmmword [rsp + 0x70]
mov dword [rdi + 0x114], eax
lea rdx, [rdi + 0x218]
lea rcx, [rdi + 0x210]
mov r8b, 1
movups xmmword [rdi + 0x118], xmm0
call fcn.18002a410
mov byte [rdi + 0x80], 0
jmp 0x18002fd3a
movss xmm0, dword [rbx + 0x1914]
mov qword [rbx + 0x1a18], rdi
mov rax, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x18002fd12
mulss xmm0, dword [rax + 0x2a0]
lea rdx, [rdi + 0x218]
movss dword [rbx + 0x1928], xmm0
lea rcx, [rdi + 0x210]
movss dword [rbx + 0x1910], xmm0
call fcn.18002a410
mov r13, qword [rsp + 0x60]
inc word [rdi + 0x88]
mov r14, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x1b8]
mov dword [rsi + 0x1ab8], r15d
mov r15, qword [rsp + 0x170]
bt r12d, 0x18
jae 0x18002fdf0
test r12b, 0x40
jne 0x18002fdb2
cmp byte [rdi + 0x94], 0
jg 0x18002fdb2
cmp byte [rdi + 0x95], 0
jg 0x18002fdb2
movss xmm0, dword [rdi + 0x1f0]
comiss xmm0, dword [rdi + 0x1f8]
jae 0x18002fda5
movss xmm0, dword [rdi + 0x1f4]
comiss xmm0, dword [rdi + 0x1fc]
jb 0x18002fdb2
mov eax, 1
mov dword [rdi + 0x9c], eax
jmp 0x18002fdb7
mov eax, 1
test r13, r13
je 0x18002fdf0
cmp byte [r13 + 0x81], 0
jne 0x18002fdd0
cmp dword [r13 + 0x9c], 0
jle 0x18002fde0
mov dword [rdi + 0x9c], eax
cmp byte [r13 + 0x81], 0
jne 0x18002fdea
cmp dword [r13 + 0xa0], 0
jle 0x18002fdf0
mov dword [rdi + 0xa0], eax
comiss xmm11, dword [rsi + 0x1558]
mov rsi, qword [rsp + 0x190]
mov r13, qword [rsp + 0x180]
mov r12, qword [rsp + 0x188]
movaps xmm11, xmmword [rsp + 0x110]
jb 0x18002fe81
mov eax, 1
mov dword [rdi + 0x9c], eax
mov cl, 1
xor al, al
mov byte [rdi + 0x85], cl
cmp byte [rdi + 0x81], al
jne 0x18002fe41
cmp byte [rdi + 0x7e], al
je 0x18002fe41
test cl, cl
je 0x18002fe63
cmp byte [rdi + 0x94], al
jg 0x18002fe63
cmp byte [rdi + 0x95], al
jg 0x18002fe63
cmp dword [rdi + 0xa0], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [rdi + 0x83], al
xor al, 1
mov rcx, qword [rbp - 0x40]
xor rcx, rsp
call fcn.18005f8e0
add rsp, 0x198
pop rdi
pop rbp
ret
cmp dword [rdi + 0x9c], 0
jg 0x18002fe26
cmp dword [rdi + 0xa0], 0
jg 0x18002fe26
xor cl, cl
jmp 0x18002fe28