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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
lea rbp, [r11 - 0xa8]
sub rsp, 0x190
mov rax, qword [0x18004f040]
xor rax, rsp
mov qword [rbp - 0x40], rax
mov qword [r11 + 0x10], rsi
mov rbx, rcx
mov rsi, qword [0x18004fe90]
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov r14d, r8d
mov qword [r11 - 0x38], r15
movaps xmmword [r11 - 0x88], xmm10
mov qword [rbp - 0x68], rcx
call fcn.18000a3e0
test rax, rax
mov qword [rsp + 0x50], rax
mov rdi, rax
xorps xmm10, xmm10
sete byte [rsp + 0x32]
test rax, rax
jne 0x18000cb00
mov ecx, dword [rsi + 0x1b00]
and ecx, 2
je 0x18000cac8
movsd xmm0, qword [rsi + 0x1b20]
movsd qword [rsp + 0x38], xmm0
jmp 0x18000cad1
mov qword [rsp + 0x48], 0
test ecx, ecx
lea rdx, [rsp + 0x38]
lea rax, [rsp + 0x48]
mov r8d, r14d
cmovne rax, rdx
mov rcx, rbx
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
unpcklps xmm0, xmm1
movq rdx, xmm0
call fcn.18000a4b0
mov rdi, rax
mov ecx, r14d
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x18000cb15
or r14d, 6
cmp dword [rsi + 0x1a38], 0
mov r15d, dword [rsi + 0x19f8]
mov r12d, dword [rdi + 0x278]
jne 0x18000cb39
cmp byte [rsi + 0x1a05], 0
je 0x18000cb39
mov al, 1
jmp 0x18000cb3b
xor al, al
mov byte [rdi + 0x86], al
lea eax, [r15 - 1]
cmp r12d, eax
mov eax, dword [rdi + 0xa0]
mov dword [rsp + 0x34], eax
setl dl
mov byte [rsp + 0x33], dl
bt r14d, 0x1a
jae 0x18000cb94
movsxd rax, dword [rsi + 0x1bc0]
lea rax, [rax + rax*2]
shl rax, 4
add rax, qword [rsi + 0x1bb8]
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 + 0x34]
or dl, cl
mov byte [rsp + 0x33], dl
test dl, dl
jne 0x18000cba4
test eax, eax
jg 0x18000cba4
mov byte [rdi + 0x84], dl
jmp 0x18000cbc0
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, r15d
je 0x18000cc03
mov dword [rdi + 0xc], r14d
mov dword [rdi + 0x278], r15d
movsd xmm0, qword [rsi + 0x19f0]
mov word [rdi + 0x8c], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x27c], xmm0
movzx eax, word [rsi + 0x1a58]
mov word [rdi + 0x8e], ax
inc dword [rsi + 0x1a58]
jmp 0x18000cc07
mov r14d, dword [rdi + 0xc]
movsxd rax, dword [rsi + 0x1a38]
test eax, eax
jne 0x18000cc17
mov rax, rcx
jmp 0x18000cc28
mov rcx, rax
mov rax, qword [rsi + 0x1a40]
mov rax, qword [rax + rcx*8 - 8]
xor ecx, ecx
cmp r12d, r15d
je 0x18000cc3d
test r14d, 0x5000000
mov r13, rcx
cmovne r13, rax
jmp 0x18000cc44
mov r13, qword [rdi + 0x360]
lea rbx, [rdi + 0xc0]
mov qword [rsp + 0x38], r13
cmp dword [rbx], 0
mov eax, 8
jne 0x18000cc7e
cmp dword [rbx + 4], 0
jne 0x18000cc6a
mov edx, eax
mov rcx, rbx
call fcn.180015ea0
mov eax, dword [rdi + 8]
movsxd rdx, dword [rbx]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
mov eax, 8
inc dword [rbx]
lea rbx, [rsi + 0x1a38]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18000ccb2
inc r8d
test ecx, ecx
je 0x18000cca0
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.180015970
movsxd rcx, dword [rbx]
lea rdx, [rdi + 0x208]
mov rax, qword [rbx + 8]
xor r9d, r9d
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov rcx, qword [0x18004fe90]
mov qword [rsi + 0x1a60], r9
movzx eax, word [rdi + 0xc0]
mov word [rdx], ax
movzx eax, word [rdi + 0x1f8]
mov word [rdx + 2], ax
movzx eax, word [rcx + 0x1bc0]
mov word [rdx + 4], ax
movzx eax, word [rcx + 0x1b80]
mov word [rdx + 6], ax
movzx eax, word [rcx + 0x1b90]
mov word [rdx + 8], ax
movzx eax, word [rcx + 0x1ba0]
mov word [rdx + 0xa], ax
bt r14d, 0x1a
jae 0x18000cd4f
lea rcx, [rsi + 0x1bc0]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rsi + 0x1bb8]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.180015710
mov eax, dword [rbx]
xor r9d, r9d
mov dword [rdi + 0x90], eax
cmp dword [rsp + 0x34], 0
jle 0x18000cd64
bt r14d, 0x18
jb 0x18000cd64
mov dword [rdi + 0x388], r9d
cmp r12d, r15d
je 0x18000cdfa
mov qword [rdi + 0x360], r13
mov qword [rdi + 0x378], rdi
mov qword [rdi + 0x370], rdi
mov qword [rdi + 0x368], rdi
test r13, r13
je 0x18000cdc9
mov eax, r14d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18000cdab
mov rax, qword [r13 + 0x368]
mov qword [rdi + 0x368], rax
bt r14d, 0x1b
jb 0x18000cdc9
test r14d, 0x5000000
je 0x18000cdc9
mov rax, qword [r13 + 0x370]
mov qword [rdi + 0x370], rax
test dword [rdi + 0xc], 0x800000
je 0x18000cdfa
mov rcx, rdi
nop word [rax + rax]
mov rax, qword [rcx + 0x360]
mov qword [rdi + 0x378], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x18000cde0
xor r13b, r13b
mov byte [rsp + 0x31], 0
test byte [rsi + 0x1b00], 1
mov byte [rsp + 0x30], r13b
je 0x18000ce89
mov r8d, dword [rsi + 0x1b04]
mov ecx, dword [rdi + 0xa4]
test r8d, ecx
setne byte [rsp + 0x31]
test r8d, ecx
je 0x18000ce7a
movss xmm0, dword [rsi + 0x1b1c]
movss xmm1, dword [rsi + 0x1b18]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180047a7c]
jbe 0x18000ce7a
movsd xmm0, qword [rsi + 0x1b10]
and ecx, 0xfffffff1
movsd qword [rdi + 0xb0], xmm0
movsd xmm1, qword [rsi + 0x1b18]
movsd qword [rdi + 0xb8], xmm1
mov dword [rdi + 0xa4], ecx
jmp 0x18000ce89
lea rdx, [rsi + 0x1b10]
mov rcx, rdi
call fcn.18000f4f0
test byte [rsi + 0x1b00], 2
je 0x18000cee2
mov r8d, dword [rsi + 0x1b08]
mov eax, r8d
and eax, dword [rdi + 0xa8]
je 0x18000ceb7
movss xmm0, dword [rsi + 0x1b20]
comiss xmm0, xmm10
jbe 0x18000ceb7
mov r13b, 1
jmp 0x18000cebb
test eax, eax
je 0x18000cece
movss xmm0, dword [rsi + 0x1b24]
comiss xmm0, xmm10
mov byte [rsp + 0x30], 1
ja 0x18000ced3
mov byte [rsp + 0x30], 0
lea rdx, [rsi + 0x1b20]
mov rcx, rdi
call fcn.18000f5c0
test byte [rsi + 0x1b00], 4
je 0x18000cefa
movsd xmm0, qword [rsi + 0x1b28]
movsd qword [rdi + 0x30], xmm0
jmp 0x18000cf07
cmp r12d, r15d
je 0x18000cf07
mov qword [rdi + 0x30], 0
test byte [rsi + 0x1b00], 8
je 0x18000cf36
mov eax, dword [rsi + 0x1b0c]
movzx ecx, byte [rsi + 0x1b30]
test eax, eax
je 0x18000cf29
test dword [rdi + 0xac], eax
je 0x18000cf36
and dword [rdi + 0xac], 0xfffffff1
mov byte [rdi + 0x81], cl
test byte [rsi + 0x1b00], 0x20
je 0x18000cf47
mov rcx, rdi
call fcn.18000ee80
cmp byte [rdi + 0x84], 0
je 0x18000cf65
and dword [rdi + 0xa4], 0xfffffff7
and dword [rdi + 0xa8], 0xfffffff7
and dword [rdi + 0xac], 0xfffffff7
mov ebx, 1
cmp r12d, r15d
je 0x18000ebed
movaps xmmword [rsp + 0x160], xmm6
mov eax, r14d
movaps xmmword [rsp + 0x150], xmm7
and eax, 0x3000000
movaps xmmword [rsp + 0x140], xmm8
movaps xmmword [rsp + 0x130], xmm9
movaps xmmword [rsp + 0x110], xmm11
movaps xmmword [rsp + 0x100], xmm12
movaps xmmword [rsp + 0xf0], xmm13
movaps xmmword [rsp + 0xe0], xmm14
mov byte [rdi + 0x7e], bl
mov byte [rdi + 0x87], 0
movaps xmmword [rsp + 0xd0], xmm15
mov dword [rsp + 0x40], eax
mov dword [rdi + 0x258], 0xff7fffff
mov dword [rdi + 0x25c], 0xff7fffff
mov dword [rdi + 0x260], 0x7f7fffff
mov dword [rdi + 0x264], 0x7f7fffff
mov ecx, dword [rdi + 0xc4]
cmp ecx, ebx
jge 0x18000d036
test ecx, ecx
je 0x18000d019
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18000d01e
mov eax, 8
cmp eax, ebx
lea rcx, [rdi + 0xc0]
mov edx, ebx
mov r12d, ebx
cmovg edx, eax
call fcn.180015ea0
jmp 0x18000d039
mov r12d, ebx
mov dword [rdi + 0xc0], r12d
cmp byte [rdi + 0x3b0], 0
je 0x18000d085
mov rcx, qword [rdi + 0x2b0]
mov edx, dword [rdi + 0x3b4]
add rcx, 0x10
mov byte [rdi + 0x3b0], 0
call fcn.180015d60
mov rcx, qword [rdi + 0x2b0]
mov edx, dword [rdi + 0x3b8]
add rcx, 0x20
call fcn.180015b00
xor eax, eax
mov qword [rdi + 0x3b4], rax
cmp qword [rsi + 0x1cf8], 0
mov r8, qword [rsp + 0x50]
je 0x18000d15a
test dword [rdi + 0xc], 0x80000
jne 0x18000d15a
test r8, r8
je 0x18000d15a
mov r12, qword [rbp - 0x68]
mov r9, qword [rdi]
mov rax, r12
mov r8, r9
sub r8, r12
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18000d0d3
inc rax
test ecx, ecx
jne 0x18000d0c0
test edx, edx
je 0x18000d152
movsxd r15, dword [rdi + 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], 0
jne 0x18000d0e2
inc rbx
cmp r15, rbx
jae 0x18000d135
test r9, r9
je 0x18000d10b
mov rax, qword [0x18004fe90]
test rax, rax
je 0x18000d10b
dec dword [rax + 0x3bc]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x18004fe90]
test rax, rax
je 0x18000d126
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 r15, rbx
mov r8, rbx
mov rdx, r12
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], rax
mov r12d, 1
mov dword [rdi + 0x48], r15d
jmp 0x18000d155
mov r12d, ebx
mov r8, qword [rsp + 0x50]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.18000ab70
movsd xmm3, qword [rax]
mov eax, dword [rdi + 0x9c]
movsd qword [rdi + 0x28], xmm3
test eax, eax
jle 0x18000d182
dec eax
mov dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0xa0]
test eax, eax
jle 0x18000d194
dec eax
mov dword [rdi + 0xa0], eax
test r8, r8
jne 0x18000d1ac
test r13b, r13b
je 0x18000d1a5
cmp byte [rsp + 0x30], r8b
jne 0x18000d1ac
mov dword [rdi + 0xa0], r12d
movzx r15d, byte [rsp + 0x33]
xor edx, edx
test r15b, r15b
je 0x18000d1f3
test r14d, 0x6000000
je 0x18000d1f3
mov dword [rdi + 0xa0], r12d
test r14b, 0x40
je 0x18000d1f3
test r13b, r13b
jne 0x18000d1da
mov dword [rdi + 0x20], edx
mov dword [rdi + 0x18], edx
movzx ebx, byte [rsp + 0x30]
test bl, bl
jne 0x18000d1e9
mov dword [rdi + 0x24], edx
mov dword [rdi + 0x1c], edx
mov qword [rdi + 0x28], 0
jmp 0x18000d1f8
movzx ebx, byte [rsp + 0x30]
mov rax, qword [0x18004fe90]
movss xmm0, dword [rax + 0x191c]
mov qword [rax + 0x1a60], rdi
mov rcx, qword [rdi + 0x360]
mulss xmm0, dword [rdi + 0x2a8]
test rcx, rcx
je 0x18000d22a
mulss xmm0, dword [rcx + 0x2a8]
movss dword [rax + 0x1930], xmm0
movss dword [rax + 0x1918], xmm0
bt r14d, 0x18
jae 0x18000d24b
movss xmm1, dword [rsi + 0x1584]
jmp 0x18000d26d
test r14d, 0x6000000
je 0x18000d265
bt r14d, 0x1b
jb 0x18000d265
movss xmm1, dword [rsi + 0x158c]
jmp 0x18000d26d
movss xmm1, dword [rsi + 0x1568]
mov rax, rdi
movss dword [rax + 0x44], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x155c]
and eax, 0x5010000
movsd qword [rdi + 0x38], xmm0
cmp eax, 0x1000000
jne 0x18000d2b6
ucomiss xmm1, xmm10
jp 0x18000d2b6
jne 0x18000d2b6
bt r14d, 0xa
jae 0x18000d2aa
movss xmm0, dword [rsi + 0x1560]
jmp 0x18000d2ae
movaps xmm0, xmm10
movss dword [rdi + 0x3c], xmm0
mov dword [rdi + 0x38], edx
test r14b, 0x21
jne 0x18000d402
test byte [rdi + 0xc], 1
mov rcx, qword [0x18004fe90]
je 0x18000d2d3
movaps xmm2, xmm10
jmp 0x18000d307
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rcx + 0x191c]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18000d2f7
mulss xmm0, dword [rax + 0x2a8]
movss xmm2, dword [rcx + 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 + 0x1a68], rdi
jne 0x18000d3bc
cmp dword [rsi + 0x1a94], 0
jne 0x18000d3bc
cmp dword [rsi + 0x1a9c], 0
jne 0x18000d3bc
mov rax, qword [rcx + 0x1a60]
movss xmm1, dword [rcx + 0x15b0]
movss xmm0, dword [rcx + 0x15b4]
movss xmm6, dword [rcx + 0x130]
maxss xmm4, dword [rax + 0x258]
maxss xmm5, dword [rax + 0x25c]
minss xmm3, dword [rax + 0x260]
minss xmm2, dword [rax + 0x264]
subss xmm4, xmm1
subss xmm5, xmm0
addss xmm3, xmm1
addss xmm2, xmm0
comiss xmm6, xmm4
jb 0x18000d3bc
movss xmm0, dword [rcx + 0x134]
comiss xmm0, xmm5
jb 0x18000d3bc
comiss xmm3, xmm6
jbe 0x18000d3bc
comiss xmm2, xmm0
jbe 0x18000d3bc
cmp byte [rsi + 0x425], 0
je 0x18000d3bc
mov byte [rdi + 0x82], 1
cmp byte [rdi + 0x82], 0
je 0x18000d409
cmp byte [rdi + 0x81], 0
mov rcx, qword [0x18004fe90]
sete al
test dword [rdi + 0xc], 0x100
mov byte [rdi + 0x81], al
jne 0x18000d3f8
comiss xmm10, dword [rcx + 0x2f44]
jb 0x18000d3f8
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2f44], eax
mov rcx, rdi
call fcn.18000ee80
jmp 0x18000d409
mov byte [rdi + 0x81], 0
lea r8, [rdi + 0x28]
mov byte [rdi + 0x82], 0
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.18000ac30
movzx r12d, byte [rsp + 0x32]
test r14b, 0x40
je 0x18000d466
cmp byte [rdi + 0x81], 0
jne 0x18000d466
test r13b, r13b
jne 0x18000d44b
movss xmm0, dword [rsp + 0x48]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x32], 1
test bl, bl
jne 0x18000d508
movss xmm0, dword [rsp + 0x4c]
mov r12b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x18000d508
movzx eax, byte [rdi + 0x94]
test al, al
jg 0x18000d47e
cmp byte [rdi + 0x95], 0
jle 0x18000d508
test r13b, r13b
jne 0x18000d4ad
test al, al
jle 0x18000d4ad
cmp byte [rdi + 0x97], r13b
je 0x18000d49d
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rsp + 0x48]
jmp 0x18000d4a3
movss xmm0, dword [rsp + 0x48]
movss dword [rdi + 0x20], xmm0
mov byte [rsp + 0x32], 1
test bl, bl
jne 0x18000d4dc
cmp byte [rdi + 0x95], bl
jle 0x18000d4dc
cmp byte [rdi + 0x97], bl
je 0x18000d4ce
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rsp + 0x4c]
jmp 0x18000d4d4
movss xmm0, dword [rsp + 0x4c]
movss dword [rdi + 0x24], xmm0
mov r12b, 1
cmp byte [rdi + 0x81], 0
jne 0x18000d508
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x18004fe90]
jne 0x18000d508
comiss xmm10, dword [rcx + 0x2f44]
jb 0x18000d508
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x2f44], eax
mov r8, qword [rdi + 0x20]
lea rcx, [rsp + 0x78]
mov rdx, rdi
call fcn.18000a8d0
cmp byte [rdi + 0x81], 0
mov rbx, qword [0x18004fe90]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x20], xmm0
je 0x18000d5a2
bt r14d, 0x18
jb 0x18000d5a2
test byte [rdi + 0xc], 1
je 0x18000d545
movaps xmm2, xmm10
jmp 0x18000d579
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rbx + 0x191c]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18000d569
mulss xmm0, dword [rax + 0x2a8]
movss xmm2, dword [rbx + 0x1594]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm1, dword [rdi + 0x10]
addss xmm2, dword [rdi + 0x14]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x20]
subss xmm2, dword [rdi + 0x14]
subss xmm0, xmm1
movss dword [rsp + 0x64], xmm2
movss dword [rsp + 0x60], xmm0
jmp 0x18000d5ac
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rsp + 0x60]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x18], xmm0
test cl, 1
je 0x18000d5c8
movaps xmm1, xmm10
jmp 0x18000d5fc
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rbx + 0x191c]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18000d5ec
mulss xmm0, dword [rax + 0x2a8]
movss xmm1, dword [rbx + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x18000d645
mov rax, qword [rdi + 0x360]
movss xmm13, dword [rbx + 0x191c]
mulss xmm13, dword [rdi + 0x2a8]
test rax, rax
je 0x18000d629
mulss xmm13, dword [rax + 0x2a8]
movss xmm0, dword [rbx + 0x1594]
addss xmm13, dword [rdi + 0x158]
addss xmm0, xmm0
addss xmm13, xmm0
jmp 0x18000d649
movaps xmm13, xmm10
addss xmm13, xmm1
test r15b, r15b
je 0x18000d68c
mov dword [rdi + 0x98], 0xffffffff
bt r14d, 0x1a
jae 0x18000d68c
cmp byte [rsp + 0x31], 0
jne 0x18000d68c
movsxd rax, dword [rsi + 0x1bc0]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1bc8]
shl rcx, 4
movsd xmm0, qword [rcx + rax - 0x10]
movsd qword [rdi + 0x10], xmm0
mov r13, qword [rsp + 0x38]
bt r14d, 0x18
jae 0x18000d725
lea r15, [r13 + 0x188]
movzx eax, word [r15]
mov word [rdi + 0x8c], ax
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
cmp r8d, ecx
jne 0x18000d6ea
inc r8d
test ecx, ecx
je 0x18000d6cc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18000d6d1
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.180015970
mov rbx, qword [0x18004fe90]
movsxd rcx, dword [r15]
mov rax, qword [r15 + 8]
mov qword [rax + rcx*8], rdi
inc dword [r15]
movzx r15d, byte [rsp + 0x31]
mov eax, dword [rsp + 0x40]
bt r14d, 0x1a
jb 0x18000d72f
test r15b, r15b
jne 0x18000d72f
cmp eax, 0x3000000
je 0x18000d72f
movsd xmm0, qword [r13 + 0xd0]
movsd qword [rdi + 0x10], xmm0
jmp 0x18000d72f
movzx r15d, byte [rsp + 0x31]
mov eax, dword [rsp + 0x40]
movss xmm7, dword [rdi + 0xb0]
ucomiss xmm7, dword [0x180047bb4]
jp 0x18000d746
je 0x18000d838
cmp dword [rdi + 0xa0], 0
jne 0x18000d838
movss xmm1, dword [rdi + 0x20]
movss xmm4, dword [rdi + 0xbc]
movss xmm5, dword [rdi + 0xb4]
and dword [rdi + 0xa4], 0xfffffff1
movss xmm3, dword [rdi + 0x10]
movss xmm6, dword [rdi + 0x14]
mov dword [rdi + 0xb0], 0x7f7fffff
mov dword [rdi + 0xb4], 0x7f7fffff
mulss xmm1, dword [rdi + 0xb8]
mulss xmm4, dword [rdi + 0x24]
subss xmm7, xmm1
subss xmm5, xmm4
cvttss2si eax, xmm7
movd xmm7, eax
cvtdq2ps xmm7, xmm7
cvttss2si eax, xmm5
movss dword [rdi + 0x10], xmm7
subss xmm7, xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm7
movss dword [rdi + 0x14], xmm2
subss xmm2, xmm6
addss xmm0, dword [rdi + 0xd0]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0xd4]
movss dword [rdi + 0xd0], xmm0
movaps xmm0, xmm7
addss xmm0, dword [rdi + 0xe8]
addss xmm7, dword [rdi + 0xe0]
movss dword [rdi + 0xd4], xmm1
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0xec]
addss xmm2, dword [rdi + 0xe4]
movss dword [rdi + 0xe8], xmm0
movss dword [rdi + 0xe0], xmm7
movss dword [rdi + 0xec], xmm1
movss dword [rdi + 0xe4], xmm2
jmp 0x18000d87b
bt r14d, 0x1c
jb 0x18000d865
bt r14d, 0x1a
jae 0x18000d852
test r15b, r15b
jne 0x18000d852
cmp dword [rsp + 0x34], 0
jg 0x18000d865
bt r14d, 0x19
jae 0x18000d87b
test r15b, r15b
jne 0x18000d87b
cmp eax, 0x3000000
je 0x18000d87b
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.180010d70
movsd xmm0, qword [rax]
movsd qword [rdi + 0x10], xmm0
movss xmm3, dword [rbx + 0x10]
movss xmm6, dword [rbx + 0x14]
movss dword [rsp + 0x60], xmm3
movss dword [rbp - 0x58], xmm3
movss dword [rsp + 0x34], xmm6
movss dword [rbp - 0x54], xmm6
movss dword [rbp - 0x60], xmm10
movss dword [rbp - 0x5c], xmm10
test r15b, r15b
jne 0x18000d9cf
bt r14d, 0x18
jb 0x18000d9cf
cmp byte [rdi + 0x94], r15b
jg 0x18000d9cf
cmp byte [rdi + 0x95], r15b
jg 0x18000d9cf
movss xmm4, dword [rsi + 0x15ec]
movaps xmm0, xmm3
movss xmm5, dword [rsi + 0x15f0]
subss xmm0, xmm10
maxss xmm4, dword [rsi + 0x15f4]
maxss xmm5, dword [rsi + 0x15f8]
comiss xmm0, xmm10
jbe 0x18000d9cf
movaps xmm0, xmm6
subss xmm0, xmm10
comiss xmm0, xmm10
jbe 0x18000d9cf
cmp byte [rbx + 0xcc], r15b
je 0x18000d96f
test byte [rdi + 0xc], 1
jne 0x18000d96f
mov rax, qword [rdi + 0x360]
movss xmm0, dword [rbx + 0x191c]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18000d94c
mulss xmm0, dword [rax + 0x2a8]
movss xmm1, dword [rbx + 0x1594]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x18]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
jmp 0x18000d97a
movsd xmm0, qword [rdi + 0x18]
movsd qword [rsp + 0x38], xmm0
lea rax, [rsp + 0x38]
movss xmm1, dword [rax]
subss xmm3, xmm4
movss xmm2, dword [rax + 4]
addss xmm4, xmm10
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x10]
maxss xmm0, xmm4
subss xmm0, xmm1
movaps xmm1, xmm6
subss xmm1, xmm5
addss xmm5, xmm10
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 xmm1, eax
cvttss2si eax, dword [rdi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rdi + 0x10], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x14], xmm0
bt r14d, 0x18
jae 0x18000da02
movss xmm2, dword [rsi + 0x1580]
jmp 0x18000da23
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18000da1b
movss xmm2, dword [rsi + 0x1588]
jmp 0x18000da23
movss xmm2, dword [rsi + 0x1564]
xor cl, cl
movss dword [rdi + 0x40], xmm2
mov dword [rsp + 0x5c], ecx
cmp byte [rsp + 0x33], cl
je 0x18000da5f
bt r14d, 0xc
jb 0x18000da5f
bt r14d, 0x1a
jae 0x18000da49
mov byte [rsp + 0x5c], 1
jmp 0x18000da5f
test r14d, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0x5c], ecx
addss xmm2, dword [0x180047ae8]
xorps xmm0, xmm0
mov dword [rsp + 0x58], 0xffffffff
movups xmmword [rbp - 0x50], xmm0
xor r15d, r15d
movss xmm0, dword [rsi + 0x1918]
cmp byte [rsi + 0xcb], r15b
movaps xmm1, xmm0
mulss xmm0, dword [0x180047aa0]
setne r15b
cmp byte [rdi + 0x81], 0
mulss xmm1, dword [0x180047af4]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x38], xmm0
jne 0x18000daf4
lea rax, [rbp - 0x50]
mov rcx, rdi
lea r9d, [r15 + 1]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
call fcn.18000b040
mov rbx, qword [0x18004fe90]
test al, al
je 0x18000daf4
mov r12b, 1
movzx ecx, r12b
jmp 0x18000daf9
movzx ecx, byte [rsp + 0x32]
cmp byte [rdi + 0x81], 0
movzx eax, byte [rsp + 0x58]
mov byte [rdi + 0x88], al
jne 0x18000dc38
cmp qword [rsp + 0x50], 0
movss xmm2, dword [rdi + 0x230]
movss xmm3, dword [rdi + 0x234]
subss xmm2, dword [rdi + 0x228]
subss xmm3, dword [rdi + 0x22c]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rdi + 0x20]
subss xmm4, xmm13
addss xmm2, dword [rdi + 0x74]
addss xmm3, dword [rdi + 0x78]
jne 0x18000db60
mov qword [rbp - 0x78], 0
lea rax, [rbp - 0x78]
jmp 0x18000db8a
movss xmm0, dword [rdi + 0x38]
lea rax, [rbp - 0x70]
movss xmm1, dword [rdi + 0x3c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x70], xmm0
movss dword [rbp - 0x6c], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x18000db9a
movaps xmm5, xmm2
test r12b, r12b
jne 0x18000dba2
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x18000dbb8
comiss xmm1, xmm4
jbe 0x18000dbb4
test r14b, 8
je 0x18000dbb8
xor cl, cl
jmp 0x18000dbba
mov cl, 1
mov byte [rdi + 0x7d], cl
bt r14d, 0xf
jb 0x18000dbf8
test cl, cl
je 0x18000dbd2
movss xmm0, dword [rsi + 0x15c0]
jmp 0x18000dbd6
movaps xmm0, xmm10
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x18000dbee
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x18000dbf8
mov byte [rdi + 0x7c], 0
movaps xmm1, xmm10
jmp 0x18000dc1c
mov byte [rdi + 0x7c], 1
test cl, cl
jne 0x18000dc14
comiss xmm1, xmm4
jbe 0x18000dc0f
test r14b, 8
jne 0x18000dc0f
mov cl, 1
jmp 0x18000dc11
xor cl, cl
mov byte [rdi + 0x7d], cl
movss xmm1, dword [rsi + 0x15c0]
test cl, cl
je 0x18000dc2a
movss xmm0, dword [rsi + 0x15c0]
jmp 0x18000dc2e
movaps xmm0, xmm10
movss dword [rdi + 0x74], xmm0
movss dword [rdi + 0x78], xmm1
mov r12d, dword [rsp + 0x40]
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18000dc5c
lea rax, [r13 + 0x258]
cmp r12d, 0x3000000
jne 0x18000dc60
lea rax, [rbp - 0x60]
test byte [rdi + 0xc], 1
movss xmm15, dword [rdi + 0x10]
movss xmm5, dword [rdi + 0x14]
movaps xmm2, xmm15
addss xmm2, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm3, xmm5
addss xmm3, dword [rdi + 0x1c]
je 0x18000dc8b
movaps xmm0, xmm10
jmp 0x18000dcbf
mov rax, qword [rdi + 0x360]
movss xmm1, dword [rbx + 0x191c]
mulss xmm1, dword [rdi + 0x2a8]
test rax, rax
je 0x18000dcaf
mulss xmm1, dword [rax + 0x2a8]
movss xmm0, dword [rbx + 0x1594]
addss xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm5
movss dword [rsp + 0x78], xmm15
addss xmm1, xmm0
movaps xmm4, xmm15
addss xmm4, dword [rdi + 0x20]
movss xmm0, dword [rdi + 0x14]
mov eax, r14d
movss dword [rsp + 0x48], xmm0
and eax, 0x401
movss dword [rsp + 0x7c], xmm0
movss dword [rsp + 0x40], xmm1
movss dword [rsp + 0x58], xmm4
movss dword [rbp - 0x80], xmm4
movaps xmm4, xmm6
movss dword [rbp - 0x7c], xmm1
movss dword [rdi + 0x218], xmm15
movss dword [rdi + 0x21c], xmm5
movss dword [rdi + 0x220], xmm2
movss dword [rdi + 0x224], xmm3
movaps xmm3, xmm6
movss xmm0, dword [rdi + 0x218]
shufps xmm4, xmm6, 0x55
maxss xmm0, xmm6
shufps xmm3, xmm6, 0xaa
maxss xmm5, xmm4
movss dword [rdi + 0x218], xmm0
movss dword [rdi + 0x21c], xmm5
movaps xmm5, xmm6
movss xmm1, dword [rdi + 0x220]
movss xmm0, dword [rdi + 0x224]
minss xmm1, xmm3
shufps xmm5, xmm6, 0xff
minss xmm0, xmm5
movss dword [rdi + 0x220], xmm1
movss dword [rdi + 0x224], xmm0
movss xmm11, dword [rdi + 0x10]
movss xmm7, dword [rdi + 0x14]
movaps xmm8, xmm11
movss dword [rdi + 0x228], xmm11
movaps xmm9, xmm7
addss xmm9, xmm13
addss xmm8, dword [rdi + 0x18]
addss xmm7, dword [rdi + 0x1c]
movss dword [rdi + 0x22c], xmm9
subss xmm8, dword [rdi + 0x74]
subss xmm7, dword [rdi + 0x78]
movss dword [rdi + 0x230], xmm8
movss dword [rdi + 0x234], xmm7
cmp eax, 1
jne 0x18000dde1
movss xmm12, dword [rdi + 0x44]
jmp 0x18000ddea
movss xmm12, dword [rsi + 0x159c]
movss xmm14, dword [0x180047ab8]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x38]
addss xmm11, xmm14
mulss xmm0, xmm14
addss xmm9, xmm14
addss xmm8, xmm14
addss xmm7, xmm14
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm9, xmm12
subss xmm7, dword [rdi + 0x44]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x44]
addss xmm11, xmm1
subss xmm8, xmm1
cvttss2si eax, xmm11
xorps xmm11, xmm11
cvtsi2ss xmm11, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x238], xmm11
cvtsi2ss xmm0, eax
cvttss2si eax, xmm8
movss dword [rdi + 0x23c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm7
movss dword [rdi + 0x240], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x244], xmm0
movss xmm0, dword [rdi + 0x23c]
comiss xmm4, xmm0
jbe 0x18000de99
movaps xmm1, xmm4
jmp 0x18000dea0
movaps xmm1, xmm5
minss xmm1, xmm0
comiss xmm6, xmm11
jbe 0x18000deab
movaps xmm0, xmm6
jmp 0x18000deb3
movaps xmm0, xmm3
minss xmm0, xmm11
movss dword [rdi + 0x238], xmm0
movss dword [rdi + 0x23c], xmm1
movss xmm0, dword [rdi + 0x244]
comiss xmm4, xmm0
ja 0x18000ded7
minss xmm5, xmm0
movaps xmm4, xmm5
movss xmm0, dword [rdi + 0x240]
comiss xmm6, xmm0
jbe 0x18000dee9
movaps xmm3, xmm6
jmp 0x18000deed
minss xmm3, xmm0
movss dword [rdi + 0x240], xmm3
movss dword [rdi + 0x244], xmm4
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm10
jbe 0x18000df1b
test r14d, 0x2000040
jne 0x18000df1b
mulss xmm0, dword [0x180047ac0]
jmp 0x18000df2b
movss xmm0, dword [rsi + 0x1918]
mulss xmm0, dword [0x180047b60]
cvttss2si eax, xmm0
mov rcx, rdi
mov r8b, 1
mov rdx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x280], xmm0
lea rcx, [rsp + 0x68]
movss xmm0, dword [rdi + 0x230]
subss xmm0, dword [rdi + 0x228]
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, xmm10
maxss xmm0, xmm1
movss dword [rdi + 0x5c], xmm0
movss xmm0, dword [rdi + 0x234]
subss xmm0, dword [rdi + 0x22c]
subss xmm2, xmm0
movaps xmm0, xmm10
maxss xmm0, xmm2
movss dword [rdi + 0x60], xmm0
call fcn.18000fd20
mov rcx, qword [rdi + 0x2b0]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x54], xmm0
mov dword [rdi + 0x64], 0x7f7fffff
mov dword [rdi + 0x68], 0x7f7fffff
call fcn.18001d670
mov rax, qword [rsi + 0x1910]
mov rcx, qword [rdi + 0x2b0]
mov rdx, qword [rax + 0x48]
mov rdx, qword [rdx + 8]
call fcn.18001dc70
mov rcx, qword [0x18004fe90]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1a60]
mov byte [rax + 0x80], 1
mov rbx, qword [rcx + 0x1a60]
mov rcx, qword [rbx + 0x2b0]
call fcn.18001db40
mov rax, qword [rbx + 0x2b0]
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 + 0x258], eax
movss dword [rbx + 0x25c], xmm0
movss dword [rbx + 0x260], xmm1
movss dword [rbx + 0x264], xmm2
mov r9, qword [0x18004fe90]
bt r14d, 0x1b
jae 0x18000e0d6
mov eax, dword [r9 + 0x1bb0]
sub eax, 1
js 0x18000e0bd
mov r8, qword [r9 + 0x1bb8]
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 0x18000e0b3
test dword [rax + 0xc], 0x8000000
jne 0x18000e0bf
sub r8, 0x30
sub rdx, 1
jns 0x18000e0a2
xor eax, eax
cmp rdi, rax
jne 0x18000e0d6
cmp dword [rdi + 0xa0], 0
jg 0x18000e0d6
mov cl, 1
mov edx, 0x3a4
jmp 0x18000e0dd
xor cl, cl
mov edx, 0x394
mov rax, qword [rsi + 0x1cf0]
test rax, rax
je 0x18000e0f6
cmp rdi, qword [rax + 0x368]
jne 0x18000e0f6
mov bl, 1
jmp 0x18000e0f8
xor bl, bl
test cl, cl
jne 0x18000e104
test bl, bl
je 0x18000e24e
movups xmm1, xmmword [rdx + r9 + 0x1558]
lea rcx, [rsp + 0x68]
movss xmm0, dword [rsi + 0x1d90]
mulss xmm0, dword [r9 + 0x1558]
movups xmmword [rsp + 0x68], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x74], xmm1
call fcn.180004ce0
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rbp - 0x60]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x58]
movss dword [rsp + 0x20], xmm10
call fcn.18001fd80
test bl, bl
je 0x18000e24e
movss xmm12, dword [rsp + 0x34]
cmp rdi, qword [rsi + 0x1cf0]
jne 0x18000e255
movss xmm0, dword [rsi + 0x1918]
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 xmm10, 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 0x18000e1dc
comiss xmm10, xmm4
jb 0x18000e1dc
comiss xmm2, dword [rsp + 0x60]
jb 0x18000e1dc
comiss xmm3, xmm12
jae 0x18000e255
mov rax, qword [0x18004fe90]
lea rcx, [rsp + 0x68]
movss xmm0, dword [rsi + 0x1d04]
mulss xmm0, dword [0x180047aa4]
movups xmm1, xmmword [rax + 0x18dc]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rsp + 0x68], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x74], xmm1
call fcn.180004ce0
movss xmm0, dword [rsi + 0x1564]
lea r8, [rbp - 0x58]
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rbp - 0x60]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm0
call fcn.18001fd80
jmp 0x18000e255
movss xmm12, dword [rsp + 0x34]
mov eax, r14d
xor bl, bl
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18000e29e
cmp r12d, 0x3000000
je 0x18000e29e
mov rdx, qword [rdi + 0x2b0]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x38], 0
jne 0x18000e29e
mov rax, qword [r13 + 0x2b0]
cmp dword [rax + 0x20], 0
jle 0x18000e29e
mov bl, 1
mov qword [rdi + 0x2b0], rax
mov rax, qword [rsi + 0x1ce8]
test rax, rax
jne 0x18000e2b1
mov rax, qword [rsi + 0x1bd0]
mov r12d, dword [rsp + 0x5c]
test r12b, r12b
jne 0x18000e2d5
test rax, rax
je 0x18000e2d0
mov rax, qword [rax + 0x370]
cmp qword [rdi + 0x370], rax
je 0x18000e2d5
xor r8b, r8b
jmp 0x18000e2d8
mov r8b, 1
movss xmm0, dword [rsp + 0x38]
lea rax, [rbp - 0x50]
movss dword [rsp + 0x28], xmm0
lea r9d, [r15 + 1]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.18000be20
test bl, bl
je 0x18000e310
lea rax, [rdi + 0x2b8]
mov qword [rdi + 0x2b0], rax
cmp qword [rsi + 0x1cf0], rdi
jne 0x18000e495
movss xmm1, dword [rsi + 0x1918]
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 xmm10, xmm9
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x18000e3ac
comiss xmm10, xmm8
jb 0x18000e3ac
comiss xmm7, dword [rsp + 0x60]
jb 0x18000e3ac
comiss xmm6, xmm12
jb 0x18000e3ac
xorps xmm1, xmmword [0x180047d00]
movaps xmm11, xmm2
subss xmm1, dword [0x180047ae8]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rax, qword [0x18004fe90]
lea rcx, [rbp - 0x50]
movss xmm0, dword [rsi + 0x1d04]
movups xmm1, xmmword [rax + 0x18dc]
mulss xmm0, dword [rax + 0x1558]
movups xmmword [rbp - 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x44], xmm1
call fcn.180004ce0
mov rbx, qword [rdi + 0x2b0]
mov r15d, eax
test eax, 0xff000000
je 0x18000e495
test byte [rbx + 0x30], 1
addss xmm9, xmm14
addss xmm8, xmm14
mov dword [rsp + 0x20], 0xffffffff
movaps xmm3, xmm11
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x38]
mov rcx, rbx
movss dword [rsp + 0x38], xmm9
movss dword [rsp + 0x3c], xmm8
je 0x18000e43c
subss xmm7, xmm14
subss xmm6, xmm14
jmp 0x18000e44c
subss xmm7, dword [0x180047ab4]
subss xmm6, dword [0x180047ab4]
movss dword [rsp + 0x50], xmm7
movss dword [rsp + 0x54], xmm6
call fcn.18001f740
movss xmm0, dword [0x180047b28]
mov r9d, r15d
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.18001df40
xor r15d, r15d
mov dword [rbx + 0x80], r15d
jmp 0x18000e498
xor r15d, r15d
movss xmm6, dword [rdi + 0x30]
mov ecx, r14d
movaps xmm14, xmmword [rsp + 0xe0]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm10
jp 0x18000e4f2
jne 0x18000e4f2
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
jne 0x18000e4d0
movss xmm9, dword [rdi + 0x28]
jmp 0x18000e4d4
movaps xmm9, xmm10
movss xmm0, dword [rdi + 0x38]
movss xmm1, dword [rdi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x74]
maxss xmm9, xmm1
jmp 0x18000e4f6
movaps xmm9, xmm6
movss xmm4, dword [rdi + 0x34]
ucomiss xmm4, xmm10
jp 0x18000e536
jne 0x18000e536
test cl, cl
je 0x18000e50f
movss xmm8, dword [rdi + 0x2c]
jmp 0x18000e513
movaps xmm8, xmm10
movss xmm0, dword [rdi + 0x3c]
movss xmm1, dword [rdi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm13
subss xmm1, dword [rdi + 0x78]
maxss xmm8, xmm1
jmp 0x18000e53a
movaps xmm8, xmm4
ucomiss xmm6, xmm10
movss xmm5, dword [rdi + 0x38]
movss xmm11, dword [rdi + 0x54]
movaps xmm1, xmm5
maxss xmm1, dword [rdi + 0x44]
movss xmm0, dword [rdi + 0x228]
movss xmm7, dword [rdi + 0x3c]
subss xmm0, xmm11
movss xmm12, dword [rdi + 0x58]
addss xmm1, xmm0
movaps xmm0, xmm7
maxss xmm0, dword [rdi + 0x44]
cvttss2si eax, xmm1
movss xmm1, dword [rdi + 0x22c]
subss xmm1, xmm12
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
addss xmm9, xmm3
movss dword [rdi + 0x248], xmm3
movss xmm3, dword [rdi + 0x10]
cvttss2si eax, xmm1
movaps xmm1, xmm3
movss dword [rdi + 0x250], xmm9
movaps xmm9, xmmword [rsp + 0x130]
subss xmm1, xmm11
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm5
addss xmm8, xmm2
movss dword [rdi + 0x24c], xmm2
movss dword [rdi + 0x268], xmm1
movss dword [rdi + 0x254], xmm8
movss xmm8, dword [rdi + 0x14]
movaps xmm2, xmm8
subss xmm2, xmm12
addss xmm2, xmm7
addss xmm2, xmm13
movss dword [rdi + 0x26c], xmm2
jp 0x18000e623
jne 0x18000e623
movss xmm6, dword [rdi + 0x18]
movaps xmm0, xmm5
addss xmm0, xmm5
subss xmm6, xmm0
subss xmm6, dword [rdi + 0x74]
ucomiss xmm4, xmm10
addss xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x160]
movss dword [rdi + 0x270], xmm1
jp 0x18000e659
jne 0x18000e659
movss xmm4, dword [rdi + 0x1c]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm4, xmm0
subss xmm4, xmm13
subss xmm4, dword [rdi + 0x78]
mov qword [rdi + 0x10c], 0
addss xmm7, xmm13
movaps xmm13, xmmword [rsp + 0xf0]
addss xmm5, xmm10
addss xmm2, xmm4
subss xmm7, xmm12
movaps xmm12, xmmword [rsp + 0x100]
subss xmm5, xmm11
movaps xmm11, xmmword [rsp + 0x110]
movss dword [rdi + 0x274], xmm2
addss xmm7, xmm8
movaps xmm8, xmmword [rsp + 0x140]
movss dword [rdi + 0x108], xmm5
addss xmm5, xmm10
movss dword [rdi + 0xe4], xmm7
movss dword [rdi + 0xd4], xmm7
addss xmm5, xmm3
movss dword [rdi + 0xdc], xmm7
movss dword [rdi + 0xe0], xmm5
movss dword [rdi + 0xd0], xmm5
movss dword [rdi + 0xd8], xmm5
movss dword [rdi + 0xe8], xmm5
movss dword [rdi + 0xec], xmm7
movaps xmm7, xmmword [rsp + 0x150]
mov qword [rdi + 0xf8], 0
mov qword [rdi + 0xf0], 0
mov qword [rdi + 0x100], 0
mov dword [rdi + 0x13c], r15d
mov dword [rdi + 0x140], 1
mov eax, dword [rdi + 0x148]
mov dword [rdi + 0x144], eax
mov qword [rdi + 0x148], 0
mov byte [rdi + 0x150], 0
movss xmm0, dword [rdi + 0x60]
comiss xmm0, xmm10
seta al
cmp byte [rsp + 0x33], 0
mov byte [rdi + 0x151], al
mov byte [rdi + 0x152], 0
movss xmm0, dword [rdi + 0x38]
maxss xmm0, dword [rsi + 0x15a0]
maxss xmm0, dword [rsi + 0x1b5c]
movss dword [rdi + 0x154], xmm0
mov eax, dword [rsi + 0x1b60]
mov dword [rdi + 0x158], eax
movss xmm0, dword [rsi + 0x15a0]
movss dword [rdi + 0x15c], xmm0
mov qword [rdi + 0x160], 0
je 0x18000e7c9
xor eax, eax
mov qword [rdi + 0x174], rax
mov dword [rdi + 0x17c], eax
movss xmm1, dword [rdi + 0x160]
cvttss2si eax, xmm1
addss xmm1, dword [rdi + 0x174]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x168], xmm0
movss dword [rdi + 0x160], xmm1
mov dword [rdi + 0x174], r15d
movss xmm0, dword [rdi + 0x178]
comiss xmm0, xmm10
jbe 0x18000e821
movss xmm0, dword [rdi + 0x15c]
addss xmm0, dword [rdi + 0x160]
movss dword [rdi + 0x160], xmm0
movss xmm1, dword [rdi + 0x160]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x16c], xmm0
addss xmm1, dword [rdi + 0x178]
movss dword [rdi + 0x160], xmm1
mov dword [rdi + 0x178], r15d
movss xmm0, dword [rdi + 0x17c]
comiss xmm0, xmm10
jbe 0x18000e869
addss xmm1, dword [rdi + 0x15c]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x170], xmm0
addss xmm1, dword [rdi + 0x17c]
movss dword [rdi + 0x160], xmm1
mov qword [rdi + 0x17c], 0
mov dword [rdi + 0x184], r15d
mov ecx, dword [rdi + 0x18c]
test ecx, ecx
jns 0x18000e8c5
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x188]
test eax, eax
cmovg edx, eax
call fcn.180015970
mov dword [rdi + 0x188], r15d
lea rax, [rdi + 0x288]
mov qword [rdi + 0x198], rax
mov eax, 1
mov qword [rdi + 0x1a0], r15
mov dword [rdi + 0x1a8], eax
test r13, r13
je 0x18000e912
mov eax, dword [r13 + 0x1a8]
mov dword [rdi + 0x1ac], eax
mov qword [rdi + 0x1b0], 0xffffffffffffffff
mov eax, dword [r13 + 0x1b8]
jmp 0x18000e926
mov dword [rdi + 0x1ac], eax
mov eax, r15d
mov qword [rdi + 0x1b0], 0xffffffffffffffff
mov dword [rdi + 0x1b8], eax
mov eax, dword [rdi + 0x280]
mov dword [rdi + 0x1bc], eax
mov dword [rdi + 0x1c0], 0xbf800000
mov ecx, dword [rdi + 0x1cc]
test ecx, ecx
jns 0x18000e969
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1c8]
test eax, eax
cmovg edx, eax
call fcn.180015ea0
mov dword [rdi + 0x1c8], r15d
mov ecx, dword [rdi + 0x1dc]
test ecx, ecx
jns 0x18000e997
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1d8]
test eax, eax
cmovg edx, eax
call fcn.180015ea0
mov dword [rdi + 0x1d8], r15d
mov ecx, dword [rdi + 0x1ec]
test ecx, ecx
jns 0x18000e9c5
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1e8]
test eax, eax
cmovg edx, eax
call fcn.180015ea0
lea rcx, [rdi + 0x1f8]
mov dword [rdi + 0x1e8], r15d
xor edx, edx
call fcn.180015620
bt r14d, 0x18
jae 0x18000ea43
mov eax, dword [r13 + 0x1b8]
cmp dword [rdi + 0x1b8], eax
je 0x18000ea43
lea rbx, [rdi + 0x1c8]
mov dword [rdi + 0x1b8], eax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18000ea31
inc r8d
test ecx, ecx
je 0x18000ea1a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18000ea1f
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180015ea0
movsxd rdx, dword [rbx]
mov eax, dword [rdi + 0x1b8]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
inc dword [rbx]
movzx eax, byte [rdi + 0x94]
test al, al
jle 0x18000ea56
dec al
mov byte [rdi + 0x94], al
movzx eax, byte [rdi + 0x95]
test al, al
jle 0x18000ea69
dec al
mov byte [rdi + 0x95], al
test r12b, r12b
je 0x18000eb23
mov rcx, rdi
call fcn.18000ee80
mov eax, dword [rdi + 0xc]
mov rdx, qword [0x18004fe90]
bt eax, 0x12
jb 0x18000eb10
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18000eaa3
cmp dword [rdi + 0x388], 0
jne 0x18000eb10
movsxd rcx, dword [rdx + 0x1c18]
mov rax, qword [rdx + 0x1bd0]
mov qword [rdx + 0x1bd8], 0
mov dword [rax + rcx*4 + 0x388], r15d
mov word [rdx + 0x1c25], 1
mov qword [rdx + 0x1c28], 0
mov qword [rdx + 0x1c30], 0
mov dword [rdx + 0x1c38], r15d
cmp byte [rdx + 0x1c3d], 0
jne 0x18000eb06
cmp byte [rdx + 0x1c25], 0
jne 0x18000eb06
xor al, al
mov byte [rdx + 0x1c24], al
jmp 0x18000eb23
mov al, 1
mov byte [rdx + 0x1c24], al
jmp 0x18000eb23
mov eax, dword [rdi + 0x388]
mov dword [rdx + 0x1bd8], eax
mov dword [rdx + 0x1bdc], r15d
test r14b, 1
jne 0x18000eb3a
mov r8, qword [rbp - 0x68]
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.18000c4b0
mov eax, dword [rdi + 0x4c]
movss xmm4, dword [rsp + 0x58]
movss xmm3, dword [rsp + 0x40]
movss xmm5, dword [rsp + 0x48]
mov dword [rdi + 0x114], eax
mov rax, qword [0x18004fe90]
movss xmm1, dword [rax + 0x15b0]
movss xmm0, dword [rax + 0x15b4]
subss xmm15, xmm1
movss xmm2, dword [rax + 0x130]
addss xmm4, xmm1
addss xmm3, xmm0
subss xmm5, xmm0
comiss xmm2, xmm15
movaps xmm15, xmmword [rsp + 0xd0]
jb 0x18000ebb4
movss xmm0, dword [rax + 0x134]
comiss xmm0, xmm5
jb 0x18000ebb4
comiss xmm4, xmm2
jbe 0x18000ebb4
comiss xmm3, xmm0
jbe 0x18000ebb4
mov ebx, 1
mov eax, ebx
jmp 0x18000ebbc
mov eax, r15d
mov ebx, 1
movups xmm0, xmmword [rsp + 0x78]
mov dword [rdi + 0x118], eax
lea rdx, [rdi + 0x240]
lea rcx, [rdi + 0x238]
mov r8b, 1
movups xmmword [rdi + 0x11c], xmm0
call fcn.180009640
mov byte [rdi + 0x80], 0
jmp 0x18000ec4e
mov rax, qword [0x18004fe90]
movss xmm0, dword [rax + 0x191c]
mov qword [rax + 0x1a60], rdi
mov rcx, qword [rdi + 0x360]
mulss xmm0, dword [rdi + 0x2a8]
test rcx, rcx
je 0x18000ec1f
mulss xmm0, dword [rcx + 0x2a8]
lea rdx, [rdi + 0x240]
movss dword [rax + 0x1930], xmm0
lea rcx, [rdi + 0x238]
movss dword [rax + 0x1918], xmm0
movzx r8d, bl
call fcn.180009640
mov r13, qword [rsp + 0x38]
xor r15d, r15d
inc word [rdi + 0x8a]
mov r12, qword [rsp + 0x188]
mov dword [rsi + 0x1b00], r15d
mov r15, qword [rsp + 0x170]
bt r14d, 0x18
jae 0x18000ecec
test r14b, 0x40
jne 0x18000ecb3
cmp byte [rdi + 0x94], 0
jg 0x18000ecb3
cmp byte [rdi + 0x95], 0
jg 0x18000ecb3
movss xmm0, dword [rdi + 0x218]
comiss xmm0, dword [rdi + 0x220]
jae 0x18000ecad
movss xmm0, dword [rdi + 0x21c]
comiss xmm0, dword [rdi + 0x224]
jb 0x18000ecb3
mov dword [rdi + 0x9c], ebx
test r13, r13
je 0x18000ecec
cmp byte [r13 + 0x81], 0
jne 0x18000eccc
cmp dword [r13 + 0x9c], 0
jle 0x18000ecd2
mov dword [rdi + 0x9c], ebx
cmp byte [r13 + 0x81], 0
jne 0x18000ece6
cmp dword [r13 + 0xa0], 0
jle 0x18000ecec
mov dword [rdi + 0xa0], ebx
comiss xmm10, dword [rsi + 0x1558]
mov rsi, qword [rsp + 0x1b8]
mov r14, qword [rsp + 0x178]
mov r13, qword [rsp + 0x180]
movaps xmm10, xmmword [rsp + 0x120]
jb 0x18000ed1d
mov dword [rdi + 0x9c], ebx
cmp dword [rdi + 0x9c], 0
jg 0x18000ed33
cmp dword [rdi + 0xa0], 0
jg 0x18000ed33
xor cl, cl
jmp 0x18000ed35
mov cl, 1
xor al, al
mov byte [rdi + 0x85], cl
cmp byte [rdi + 0x81], al
jne 0x18000ed4e
cmp byte [rdi + 0x7e], al
je 0x18000ed4e
test cl, cl
je 0x18000ed6b
cmp byte [rdi + 0x94], al
jg 0x18000ed6b
cmp byte [rdi + 0x95], al
jg 0x18000ed6b
cmp dword [rdi + 0xa0], 0
movzx eax, al
cmovle eax, ebx
mov byte [rdi + 0x83], al
xor al, 1
mov rcx, qword [rbp - 0x40]
xor rcx, rsp
call fcn.18003f9d0
add rsp, 0x190
pop rdi
pop rbx
pop rbp
ret