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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push r14
lea rbp, [rax - 0x148]
sub rsp, 0x230
mov r14, qword [0x180078a28]
mov qword [rax - 0x20], rbx
mov ebx, r8d
mov qword [rax - 0x28], rdi
mov rdi, rcx
mov qword [rax - 0x30], r12
mov qword [rax - 0x38], r13
mov qword [rax - 0x40], r15
movaps xmmword [rax - 0x98], xmm10
call fcn.18002aea0
test rax, rax
mov qword [rbp - 0x78], rax
mov rsi, rax
sete dl
mov byte [rbp + 0x160], dl
test rax, rax
jne 0x18002d4d7
mov edx, ebx
mov rcx, rdi
call fcn.18002b270
movzx edx, byte [rbp + 0x160]
mov rsi, rax
mov r10d, dword [rsi + 0x260]
lea r9, [r14 + 0x3ea0]
mov ecx, ebx
mov dword [rsp + 0x60], r10d
mov edi, ebx
and ecx, 0xc0200
or edi, 6
cmp ecx, 0xc0200
cmovne edi, ebx
cmp dword [r9], 0
mov ebx, dword [r14 + 0x3e28]
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x68], ebx
jne 0x18002d523
cmp byte [r14 + 0x3e35], 0
je 0x18002d523
mov al, 1
jmp 0x18002d525
xor al, al
mov byte [rsi + 0xbe], al
lea eax, [rbx - 1]
cmp r10d, eax
setl r8b
mov byte [rbp + 0x158], r8b
bt edi, 0x1a
jae 0x18002d572
movsxd rax, dword [r14 + 0x4888]
imul rax, rax, 0x38
add rax, qword [r14 + 0x4880]
cmp rsi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rsi + 0xcc], eax
setne al
or cl, al
or r8b, cl
mov byte [rbp + 0x158], r8b
mov byte [rsi + 0xbc], r8b
test r8b, r8b
je 0x18002d593
or byte [rsi + 0xdc], 8
or byte [rsi + 0xdd], 8
or byte [rsi + 0xde], 8
xor r12d, r12d
cmp r10d, ebx
je 0x18002d5f0
mov r8d, edi
mov rcx, rsi
call fcn.18002af70
mov r10d, dword [rsp + 0x60]
lea r9, [r14 + 0x3ea0]
mov dword [rsi + 0x14], edi
mov dword [rsi + 0x260], ebx
movsd xmm0, qword [r14 + 0x3e20]
mov word [rsi + 0xc6], r12w
cvtpd2ps xmm0, xmm0
movss dword [rsi + 0x264], xmm0
movzx eax, word [r14 + 0x3ec0]
inc dword [r14 + 0x3ec0]
mov word [rsi + 0xc8], ax
jmp 0x18002d5f7
mov edi, dword [rsi + 0x14]
mov dword [rsp + 0x44], edi
movsxd rax, dword [r9]
test eax, eax
jne 0x18002d603
mov r15, r12
jmp 0x18002d613
imul rcx, rax, 0x58
mov rax, qword [r14 + 0x3ea8]
mov r15, qword [rcx + rax - 0x58]
cmp r10d, ebx
je 0x18002d627
test edi, 0x5000000
mov rbx, r12
cmovne rbx, r15
jmp 0x18002d62e
mov rbx, qword [rsi + 0x368]
mov qword [rsp + 0x78], rbx
cmp dword [rsi + 0xf0], r12d
jne 0x18002d653
lea rdx, [rsi + 0x10]
lea rcx, [rsi + 0xf0]
call fcn.18003a710
lea r9, [r14 + 0x3ea0]
mov eax, dword [r14 + 0x47a4]
xorps xmm0, xmm0
movups xmm1, xmmword [r14 + 0x477c]
mov dword [rbp + 0x10], eax
movups xmmword [rbp + 0x14], xmm0
mov qword [r14 + 0x3ed0], rsi
movzx eax, word [rsi + 0xf0]
movups xmm0, xmmword [r14 + 0x476c]
mov r8d, dword [r9 + 4]
mov ecx, dword [r9]
mov word [rbp + 0x14], ax
movzx eax, word [r14 + 0x4818]
mov word [rbp + 0x16], ax
movzx eax, word [r14 + 0x4828]
mov word [rbp + 0x18], ax
movzx eax, word [r14 + 0x4838]
mov word [rbp + 0x1a], ax
movzx eax, word [r14 + 0x4848]
mov word [rbp + 0x1c], ax
movzx eax, word [r14 + 0x4868]
mov word [rbp + 0x1e], ax
movzx eax, word [r14 + 0x4858]
mov word [rbp + 0x20], ax
movzx eax, word [r14 + 0x4888]
mov word [rbp + 0x22], ax
movzx eax, word [r14 + 0x5b78]
mov word [rbp + 0x24], ax
mov qword [rbp - 0x30], rsi
movups xmmword [rbp - 0x28], xmm0
movups xmm0, xmmword [r14 + 0x478c]
movups xmmword [rbp - 0x18], xmm1
movsd xmm1, qword [r14 + 0x479c]
movsd qword [rbp + 8], xmm1
movups xmmword [rbp - 8], xmm0
cmp ecx, r8d
jne 0x18002d747
inc ecx
test r8d, r8d
je 0x18002d72c
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18002d731
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, r9
call fcn.18003acd0
lea r9, [r14 + 0x3ea0]
movsxd rax, dword [r9]
movaps xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
imul rcx, rax, 0x58
mov rax, qword [r9 + 8]
movups xmmword [rcx + rax], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm1, xmmword [rbp]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp + 0x10]
movups xmmword [rcx + rax + 0x30], xmm1
movsd xmm1, qword [rbp + 0x20]
movups xmmword [rcx + rax + 0x40], xmm0
movsd qword [rcx + rax + 0x50], xmm1
mov eax, edi
inc dword [r9]
and eax, 0x10000000
mov dword [rbp - 0x4c], eax
je 0x18002d79f
inc dword [r14 + 0x4898]
mov eax, dword [rsp + 0x60]
cmp eax, dword [rsp + 0x68]
je 0x18002d851
mov qword [rsi + 0x368], rbx
mov qword [rsi + 0x390], rsi
mov qword [rsi + 0x388], rsi
mov qword [rsi + 0x380], rsi
mov qword [rsi + 0x378], rsi
test rbx, rbx
je 0x18002d821
mov eax, edi
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18002d7f1
mov rax, qword [rbx + 0x378]
mov qword [rsi + 0x378], rax
bt edi, 0x1a
jae 0x18002d805
mov rax, qword [rbx + 0x380]
mov qword [rsi + 0x380], rax
bt edi, 0x1b
jb 0x18002d821
test edi, 0x5000000
je 0x18002d821
mov rax, qword [rbx + 0x388]
mov qword [rsi + 0x388], rax
test dword [rsi + 0x14], 0x800000
je 0x18002d84a
mov rcx, rsi
nop dword [rax]
mov rax, qword [rcx + 0x368]
mov qword [rsi + 0x390], rax
mov rcx, rax
test dword [rax + 0x14], 0x800000
jne 0x18002d830
mov qword [rsi + 0x370], r15
mov rbx, qword [0x180078a28]
lea rdx, [rbp + 0x168]
mov edi, dword [rsi + 0x10]
mov dword [rbp + 0x168], edi
lea rcx, [rbx + 0x4848]
call fcn.18003a710
mov dword [rbx + 0x474c], edi
xor r10d, r10d
mov eax, dword [r14 + 0x474c]
mov ebx, dword [rsp + 0x44]
mov dword [rsi + 0x3c8], eax
mov eax, ebx
and eax, 0x4000000
mov qword [r14 + 0x3ed0], r10
mov dword [rsp + 0x64], eax
je 0x18002d8e0
movsxd rax, dword [r14 + 0x4888]
lea rcx, [r14 + 0x4888]
imul rbx, rax, 0x38
add rbx, qword [r14 + 0x4880]
mov rdx, rbx
mov qword [rbx + 8], rsi
mov eax, dword [r15 + 0x158]
mov dword [rbx + 0x18], eax
call fcn.180039e10
mov eax, dword [rbx]
xor r10d, r10d
mov ebx, dword [rsp + 0x44]
mov dword [rsi + 0xcc], eax
xor dl, dl
xor r15b, r15b
xor r13b, r13b
mov byte [rbp + 0x168], dl
test byte [r14 + 0x47a8], 1
je 0x18002d991
mov r8d, dword [r14 + 0x47ac]
movzx ecx, byte [rsi + 0xdc]
movsx eax, cl
test r8d, eax
setne dl
mov byte [rbp + 0x168], dl
test r8d, eax
je 0x18002d982
movss xmm0, dword [r14 + 0x47c4]
movss xmm1, dword [r14 + 0x47c0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18006d3bc]
jbe 0x18002d982
movsd xmm0, qword [r14 + 0x47b8]
and ecx, 0xf1
mov eax, dword [rsi + 0xdc]
and eax, 0xffffff00
movsd qword [rsi + 0xe0], xmm0
movsd xmm1, qword [r14 + 0x47c0]
or ecx, eax
mov dword [rsi + 0xdc], ecx
movsd qword [rsi + 0xe8], xmm1
jmp 0x18002d991
lea rdx, [r14 + 0x47b8]
mov rcx, rsi
call fcn.18002fe10
test byte [r14 + 0x47a8], 2
xorps xmm10, xmm10
je 0x18002d9e6
movsx eax, byte [rsi + 0xdd]
lea rdx, [r14 + 0x47c8]
mov r8d, dword [r14 + 0x47b0]
and eax, r8d
je 0x18002d9c8
movss xmm0, dword [rdx]
comiss xmm0, xmm10
jbe 0x18002d9c8
mov r15b, 1
jmp 0x18002d9cc
test eax, eax
je 0x18002d9de
movss xmm0, dword [r14 + 0x47cc]
comiss xmm0, xmm10
jbe 0x18002d9de
mov r13b, 1
mov rcx, rsi
call fcn.18002ff80
test byte [r14 + 0x47a8], 0x80
je 0x18002da2c
movss xmm0, dword [r14 + 0x47d8]
comiss xmm0, xmm10
jb 0x18002da0e
movss dword [rsi + 0x94], xmm0
mov dword [rsi + 0x9c], r10d
movss xmm0, dword [r14 + 0x47dc]
comiss xmm0, xmm10
jb 0x18002da2c
movss dword [rsi + 0x98], xmm0
mov dword [rsi + 0xa0], r10d
test byte [r14 + 0x47a8], 4
mov edi, dword [rsp + 0x68]
je 0x18002da4a
movsd xmm0, qword [r14 + 0x47d0]
movsd qword [rsi + 0x48], xmm0
jmp 0x18002da54
cmp dword [rsp + 0x60], edi
je 0x18002da54
mov qword [rsi + 0x48], r12
test byte [r14 + 0x47a8], 8
je 0x18002daa5
mov ecx, dword [r14 + 0x47b4]
movzx edx, byte [r14 + 0x47e0]
test ecx, ecx
je 0x18002da7c
movsx eax, byte [rsi + 0xde]
test ecx, eax
je 0x18002daa5
movzx ecx, byte [rsi + 0xde]
mov eax, dword [rsi + 0xdc]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rsi + 0xb9], dl
mov dword [rsi + 0xdc], ecx
test byte [r14 + 0x47a8], 0x20
je 0x18002dab7
mov rcx, rsi
call fcn.18002fa60
cmp byte [rsi + 0xbc], r12b
je 0x18002dad5
and byte [rsi + 0xdc], 0xf7
and byte [rsi + 0xdd], 0xf7
and byte [rsi + 0xde], 0xf7
mov ecx, 1
cmp dword [rsp + 0x60], edi
je 0x18002f585
movaps xmmword [rsp + 0x1f0], xmm6
mov eax, ebx
movaps xmmword [rsp + 0x1e0], xmm7
and eax, 0x3000000
movaps xmmword [rsp + 0x1d0], xmm8
mov edx, ecx
movaps xmmword [rsp + 0x1c0], xmm9
movaps xmmword [rsp + 0x1a0], xmm11
movaps xmmword [rsp + 0x190], xmm12
movaps xmmword [rsp + 0x180], xmm13
movaps xmmword [rsp + 0x170], xmm14
mov byte [rsi + 0xb6], cl
lea rcx, [rsi + 0xf0]
movaps xmmword [rsp + 0x160], xmm15
mov byte [rsi + 0xc0], r12b
mov dword [rsp + 0x48], eax
movzx eax, byte [rsi + 0xd9]
mov dword [rsi + 0x238], 0xff7fffff
mov dword [rsi + 0x23c], 0xff7fffff
mov dword [rsi + 0x240], 0x7f7fffff
mov dword [rsi + 0x244], 0x7f7fffff
mov byte [rsp + 0x40], al
call fcn.18003a7e0
mov rcx, qword [rsi + 0x298]
call fcn.180042a80
mov dword [rsi + 0x1b0], 0xffffffff
cmp byte [rsi + 0x3d4], r12b
je 0x18002dbe7
mov rcx, qword [rsi + 0x298]
mov edx, dword [rsi + 0x3cc]
add rcx, 0x10
mov byte [rsi + 0x3d4], r12b
call fcn.18003ab00
mov rcx, qword [rsi + 0x298]
mov edx, dword [rsi + 0x3d0]
add rcx, 0x20
call fcn.18003a8c0
xor eax, eax
mov qword [rsi + 0x3cc], rax
mov r10, qword [rbp - 0x78]
cmp qword [r14 + 0x4a28], r12
je 0x18002dcb4
test dword [rsi + 0x14], 0x80000
jne 0x18002dcb4
test r10, r10
je 0x18002dcb4
mov r12, qword [rbp + 0x150]
mov r9, qword [rsi + 8]
mov rax, r12
mov r8, r9
sub r8, r12
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18002dc35
inc rax
test ecx, ecx
jne 0x18002dc22
test edx, edx
je 0x18002dcb4
movsxd rdi, dword [rsi + 0x78]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], 0
jne 0x18002dc44
inc rbx
cmp rdi, rbx
jae 0x18002dc97
test r9, r9
je 0x18002dc6d
mov rax, qword [0x180078a28]
test rax, rax
je 0x18002dc6d
dec dword [rax + 0xf4]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x180078a28]
test rax, rax
je 0x18002dc88
inc dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov rdi, rbx
mov r8, rbx
mov rdx, r12
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov r10, qword [rbp - 0x78]
mov ebx, dword [rsp + 0x44]
mov qword [rsi + 8], rax
mov dword [rsi + 0x78], edi
lea rdx, [rsi + 0x38]
mov rcx, rsi
lea r8, [rsi + 0x40]
call fcn.18002b6d0
movzx eax, byte [rsi + 0xd8]
test al, al
jle 0x18002dcd7
dec al
mov byte [rsi + 0xd8], al
movzx eax, byte [rsi + 0xd9]
test al, al
jle 0x18002dcea
dec al
mov byte [rsi + 0xd9], al
movzx eax, byte [rsi + 0xda]
test al, al
jle 0x18002dcfd
dec al
mov byte [rsi + 0xda], al
test r10, r10
jne 0x18002dd13
test r15b, r15b
je 0x18002dd0c
test r13b, r13b
jne 0x18002dd13
mov byte [rsi + 0xd9], 1
xor r11d, r11d
cmp byte [rbp + 0x158], r11b
je 0x18002dd5c
test ebx, 0x6000000
je 0x18002dd5c
mov byte [rsi + 0xd9], 1
test bl, 0x40
je 0x18002dd5c
test r15b, r15b
jne 0x18002dd40
mov dword [rsi + 0x30], r11d
mov dword [rsi + 0x28], r11d
test r13b, r13b
jne 0x18002dd4d
mov dword [rsi + 0x34], r11d
mov dword [rsi + 0x2c], r11d
mov qword [rsi + 0x40], 0
mov qword [rdx], 0
mov rdx, qword [0x180078a28]
mov rax, qword [rdx + 0x48a8]
mov rdi, qword [rax]
mov qword [rsi + 0x18], rdi
mov qword [rdx + 0x3ed0], rsi
movsxd rax, dword [rsi + 0x1b0]
cmp eax, 0xffffffff
je 0x18002dd94
imul rcx, rax, 0x238
add rcx, qword [rdx + 0x4b38]
jmp 0x18002dd97
mov rcx, r11
mov qword [rdx + 0x4b10], rcx
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x3c0c]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18002ddc5
mulss xmm0, dword [rax + 0x290]
mov eax, ebx
movss dword [rdx + 0x3c20], xmm0
and eax, 0x1000000
movss dword [rdx + 0x3c08], xmm0
mov dword [rsp + 0x58], eax
je 0x18002dded
movss xmm1, dword [r14 + 0x3800]
jmp 0x18002de0f
test ebx, 0x6000000
je 0x18002de06
bt ebx, 0x1b
jb 0x18002de06
movss xmm1, dword [r14 + 0x3808]
jmp 0x18002de0f
movss xmm1, dword [r14 + 0x37e4]
movss dword [rsi + 0x5c], xmm1
mov eax, ebx
movsd xmm0, qword [r14 + 0x37d8]
and eax, 0x5010000
movsd qword [rsi + 0x50], xmm0
cmp eax, 0x1000000
jne 0x18002de56
ucomiss xmm1, xmm10
jp 0x18002de56
jne 0x18002de56
bt ebx, 0xa
jae 0x18002de49
movss xmm0, dword [r14 + 0x37dc]
jmp 0x18002de4d
movaps xmm0, xmm10
movss dword [rsi + 0x54], xmm0
mov dword [rsi + 0x50], r11d
movss xmm0, dword [rsi + 0x50]
movzx r10d, byte [rbp + 0x160]
mov dword [rsp + 0x5c], r10d
maxss xmm0, dword [r14 + 0x381c]
maxss xmm0, dword [r14 + 0x480c]
movss dword [rsi + 0x164], xmm0
mov eax, dword [r14 + 0x4810]
mov dword [rsi + 0x168], eax
test bl, 0x21
jne 0x18002dfe3
mov r8d, dword [rsi + 0x14]
mov rcx, qword [rsi]
test r8b, 1
je 0x18002deab
movaps xmm2, xmm10
jmp 0x18002dedf
mov rax, qword [rsi + 0x368]
movss xmm0, dword [rcx + 0x3c0c]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18002decf
mulss xmm0, dword [rax + 0x290]
movss xmm2, dword [rcx + 0x3810]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm4, dword [rsi + 0x20]
movaps xmm3, xmm4
movss xmm5, dword [rsi + 0x24]
addss xmm3, dword [rsi + 0x30]
addss xmm2, dword [rsi + 0x24]
cmp qword [r14 + 0x3ed8], rsi
jne 0x18002df98
cmp dword [r14 + 0x3f1c], 0
jne 0x18002df98
cmp dword [r14 + 0x3f20], 0
jne 0x18002df98
mov rax, qword [rdx + 0x3ed0]
movss xmm1, dword [rdx + 0x3834]
movss xmm0, dword [rdx + 0x3838]
maxss xmm4, dword [rax + 0x238]
minss xmm3, dword [rax + 0x240]
maxss xmm5, dword [rax + 0x23c]
minss xmm2, dword [rax + 0x244]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [rdx + 0xe08]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x18002df98
movss xmm0, dword [rdx + 0xe0c]
comiss xmm0, xmm5
jb 0x18002df98
comiss xmm3, xmm1
jbe 0x18002df98
comiss xmm2, xmm0
jbe 0x18002df98
cmp word [r14 + 0x3752], 2
jne 0x18002df98
mov byte [rsi + 0xba], 1
cmp byte [rsi + 0xba], 0
je 0x18002dfea
movzx ecx, byte [rsi + 0xb9]
test cl, cl
movzx r10d, r10b
sete al
test cl, cl
mov ecx, 1
mov byte [rsi + 0xb9], al
cmovne r10d, ecx
mov dword [rsp + 0x5c], r10d
bt r8d, 8
jb 0x18002dfea
comiss xmm10, dword [rdx + 0x5bc4]
jb 0x18002dfea
mov eax, dword [rdx + 0x1c]
mov dword [rdx + 0x5bc4], eax
jmp 0x18002dfea
mov byte [rsi + 0xb9], 0
mov r8d, dword [rsi + 0x14]
movss xmm11, dword [rsi + 0xac]
movss xmm12, dword [rsi + 0xb0]
mov rdx, qword [rsi]
mov byte [rsi + 0xba], 0
mov dword [rsi + 0x60], r11d
mov dword [rsi + 0x68], r11d
test r8b, 1
je 0x18002e01e
movaps xmm2, xmm10
jmp 0x18002e052
mov rcx, qword [rsi + 0x368]
movss xmm0, dword [rdx + 0x3c0c]
mulss xmm0, dword [rsi + 0x290]
test rcx, rcx
je 0x18002e042
mulss xmm0, dword [rcx + 0x290]
movss xmm2, dword [rdx + 0x3810]
addss xmm2, xmm2
addss xmm2, xmm0
bt r8d, 0xa
jae 0x18002e097
mov rax, qword [rsi + 0x368]
movss xmm1, dword [rdx + 0x3c0c]
mulss xmm1, dword [rsi + 0x290]
test rax, rax
je 0x18002e07d
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rdx + 0x3810]
addss xmm1, dword [rsi + 0x168]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x18002e09b
movaps xmm1, xmm10
addss xmm1, xmm2
mov dword [rsi + 0x6c], r11d
lea r8, [rsi + 0x40]
mov qword [rsi + 0xac], 0
mov rdx, rsi
lea rcx, [rsp + 0x70]
movss dword [rsi + 0x64], xmm1
call fcn.18002b7e0
mov eax, ebx
lea r12, [rsi + 0xb9]
and eax, 0x40
mov dword [rbp - 0x48], eax
je 0x18002e116
cmp byte [r12], 0
mov qword [rbp - 0x80], r12
jne 0x18002e116
test r15b, r15b
jne 0x18002e0f7
movss xmm0, dword [rsp + 0x70]
movss dword [rsi + 0x30], xmm0
mov byte [rbp + 0x160], 1
test r13b, r13b
jne 0x18002e1d5
movss xmm0, dword [rsp + 0x74]
mov al, 1
movss dword [rsi + 0x34], xmm0
mov dword [rsp + 0x5c], eax
jmp 0x18002e1d5
movzx eax, byte [rsi + 0xd0]
mov rcx, r12
test al, al
jg 0x18002e135
cmp byte [rsi + 0xd1], 0
mov qword [rbp - 0x80], rcx
jle 0x18002e1d5
test r15b, r15b
jne 0x18002e166
test al, al
jle 0x18002e166
cmp byte [rsi + 0xd3], r15b
je 0x18002e154
movss xmm0, dword [rsi + 0x30]
maxss xmm0, dword [rsp + 0x70]
jmp 0x18002e15a
movss xmm0, dword [rsp + 0x70]
movss dword [rsi + 0x30], xmm0
mov byte [rbp + 0x160], 1
test r13b, r13b
jne 0x18002e19b
cmp byte [rsi + 0xd1], r13b
jle 0x18002e19b
cmp byte [rsi + 0xd3], r13b
je 0x18002e18a
movss xmm0, dword [rsi + 0x34]
maxss xmm0, dword [rsp + 0x74]
jmp 0x18002e190
movss xmm0, dword [rsp + 0x74]
mov al, 1
movss dword [rsi + 0x34], xmm0
mov dword [rsp + 0x5c], eax
cmp byte [r12], 0
mov qword [rbp - 0x80], rcx
jne 0x18002e1d5
test dword [rsi + 0x14], 0x100
mov rdx, qword [0x180078a28]
mov qword [rbp - 0x80], rcx
jne 0x18002e1d5
comiss xmm10, dword [rdx + 0x5bc4]
mov qword [rbp - 0x80], rcx
jb 0x18002e1d5
mov eax, dword [rdx + 0x1c]
mov dword [rdx + 0x5bc4], eax
mov qword [rbp - 0x80], rcx
lea r8, [rsi + 0x30]
mov rdx, rsi
lea rcx, [rbp + 0x40]
call fcn.18002b4b0
cmp byte [r12], 0
mov edx, dword [rsp + 0x58]
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rsi + 0x30], xmm2
movss dword [rsi + 0x34], xmm0
je 0x18002e26a
test edx, edx
jne 0x18002e26a
test byte [rsi + 0x14], 1
mov rcx, qword [rsi]
je 0x18002e216
movaps xmm1, xmm10
jmp 0x18002e24a
mov rax, qword [rsi + 0x368]
movss xmm0, dword [rcx + 0x3c0c]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18002e23a
mulss xmm0, dword [rax + 0x290]
movss xmm1, dword [rcx + 0x3810]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [rsi + 0x20]
addss xmm1, dword [rsi + 0x24]
subss xmm2, dword [rsi + 0x20]
subss xmm1, dword [rsi + 0x24]
movss dword [rbp - 0x70], xmm2
movss dword [rbp - 0x6c], xmm1
jmp 0x18002e274
movsd xmm0, qword [rsi + 0x30]
movsd qword [rbp - 0x70], xmm0
cmp byte [rbp + 0x158], 0
lea rax, [rbp - 0x70]
movsd xmm0, qword [rax]
mov r12d, 0x20
movzx r15d, byte [rbp + 0x168]
mov r13, rsi
movsd qword [rsi + 0x28], xmm0
mov qword [rsp + 0x50], r12
je 0x18002e2e8
mov eax, ebx
mov dword [rsi + 0xd4], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18002e2e8
test r15b, r15b
jne 0x18002e2e8
movsxd rax, dword [r14 + 0x4888]
imul rcx, rax, 0x38
mov rax, qword [r14 + 0x4890]
movss xmm0, dword [rcx + rax - 0x14]
movss xmm1, dword [rcx + rax - 0x10]
movss dword [r12 + rsi], xmm0
movss dword [r12 + rsi + 4], xmm1
test edx, edx
je 0x18002e374
mov rdx, qword [rsp + 0x78]
lea rbx, [rdx + 0x190]
movzx eax, word [rbx]
mov word [rsi + 0xc6], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18002e33f
inc r8d
test ecx, ecx
je 0x18002e323
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002e328
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18003a150
mov rdx, qword [rsp + 0x78]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rsi
inc dword [rbx]
mov ebx, dword [rsp + 0x64]
mov eax, dword [rsp + 0x48]
test ebx, ebx
jne 0x18002e37c
test r15b, r15b
jne 0x18002e37c
cmp eax, 0x3000000
je 0x18002e37c
movsd xmm0, qword [rdx + 0x100]
movsd qword [r12 + r13], xmm0
jmp 0x18002e37c
mov ebx, dword [rsp + 0x64]
mov eax, dword [rsp + 0x48]
movss xmm1, dword [rsi + 0xe0]
ucomiss xmm1, dword [0x18006d524]
jp 0x18002e38f
je 0x18002e3eb
cmp byte [rsi + 0xd9], 0
jne 0x18002e3eb
movss xmm0, dword [rsi + 0xe8]
lea rdx, [rbp + 0x168]
mulss xmm0, dword [rsi + 0x28]
xor r8d, r8d
mov rcx, rsi
subss xmm1, xmm0
movss xmm0, dword [rsi + 0xe4]
movss dword [rbp + 0x168], xmm1
movss xmm1, dword [rsi + 0x2c]
mulss xmm1, dword [rsi + 0xec]
subss xmm0, xmm1
movss dword [rbp + 0x16c], xmm0
call fcn.18002fe10
mov r13d, dword [rsp + 0x44]
jmp 0x18002e44e
cmp dword [rbp - 0x4c], 0
je 0x18002e404
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.180033a60
mov r13d, dword [rsp + 0x44]
jmp 0x18002e438
test ebx, ebx
je 0x18002e414
test r15b, r15b
jne 0x18002e414
cmp byte [rsp + 0x40], r15b
jg 0x18002e3f1
mov r13d, dword [rsp + 0x44]
bt r13d, 0x19
jae 0x18002e44e
mov rdx, rsi
test r15b, r15b
jne 0x18002e451
cmp eax, 0x3000000
je 0x18002e451
lea rcx, [rbp - 0x70]
call fcn.180033a60
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rsi + r12 + 4], xmm1
movss dword [rsi + r12], xmm0
mov rdx, rsi
movss xmm0, dword [rdi + 0x14]
movss xmm1, dword [rdi + 0x18]
movaps xmm7, xmm0
movss xmm8, dword [rdi + 4]
movaps xmm6, xmm1
movss xmm9, dword [rdi + 8]
movaps xmm4, xmm8
movss xmm3, dword [r14 + 0x3890]
movaps xmm5, xmm9
movss xmm2, dword [r14 + 0x388c]
mov r12, qword [0x180078a28]
mov r8d, dword [rsp + 0x58]
movss dword [rbp - 0x60], xmm8
movss dword [rbp - 0x5c], xmm9
addss xmm7, dword [rdi + 0x1c]
addss xmm6, dword [rdi + 0x20]
addss xmm4, dword [rdi + 0xc]
addss xmm5, dword [rdi + 0x10]
maxss xmm3, dword [r14 + 0x3898]
maxss xmm2, dword [r14 + 0x3894]
movss dword [rbp - 0x58], xmm4
movss dword [rbp - 0x54], xmm5
subss xmm6, xmm3
subss xmm7, xmm2
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [rbp + 0x3c], xmm6
movss dword [rbp + 0x38], xmm7
movss dword [rbp + 0x30], xmm2
movss dword [rbp + 0x34], xmm3
test r15b, r15b
jne 0x18002e5ae
test r8d, r8d
jne 0x18002e5ae
subss xmm4, xmm8
comiss xmm4, xmm10
jbe 0x18002e5ae
subss xmm5, xmm9
comiss xmm5, xmm10
jbe 0x18002e5ae
movss xmm0, dword [rsi + 0x2c]
cmp byte [r12 + 0x7f], r15b
je 0x18002e56c
test byte [rsi + 0x14], 1
jne 0x18002e56c
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x368]
movss xmm1, dword [rcx + 0x3c0c]
mulss xmm1, dword [rsi + 0x290]
test rax, rax
je 0x18002e55c
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rcx + 0x3810]
addss xmm0, xmm0
addss xmm0, xmm1
mov r15, qword [rsp + 0x50]
subss xmm3, xmm0
subss xmm2, dword [rsi + 0x28]
movss xmm0, dword [rdx + r15 + 4]
comiss xmm3, xmm0
ja 0x18002e58d
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rdx + r15]
comiss xmm2, xmm0
ja 0x18002e59f
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [rdx + r15], xmm2
movss dword [rdx + r15 + 4], xmm3
jmp 0x18002e5b3
mov r15, qword [rsp + 0x50]
cvttss2si eax, dword [rdx + r15]
movd xmm1, eax
cvttss2si eax, dword [rdx + r15 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rdx + r15], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rdx + r15 + 4], xmm0
test r8d, r8d
je 0x18002e5eb
movss xmm0, dword [r14 + 0x37fc]
jmp 0x18002e60e
mov eax, r13d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18002e605
movss xmm0, dword [r14 + 0x3804]
jmp 0x18002e60e
movss xmm0, dword [r14 + 0x37e0]
xor cl, cl
movss dword [rsi + 0x58], xmm0
mov dword [rbp + 0x168], ecx
cmp byte [rbp + 0x158], cl
je 0x18002e839
bt r13d, 0xc
jb 0x18002e839
test ebx, ebx
je 0x18002e63f
mov byte [rbp + 0x168], 1
jmp 0x18002e655
cmp dword [rsp + 0x48], 0
mov eax, 1
movzx ecx, cl
cmove ecx, eax
mov dword [rbp + 0x168], ecx
mov eax, dword [r12 + 0x4878]
sub eax, 1
js 0x18002e839
mov r8, qword [r12 + 0x4880]
movsxd r10, eax
add r8, 8
imul r9, r10, 0x38
mov rdx, r10
add r8, r9
nop
mov rcx, qword [r8]
test rcx, rcx
je 0x18002e691
test dword [rcx + 0x14], 0x8000000
jne 0x18002e6a0
sub r8, 0x38
sub rdx, 1
jns 0x18002e680
jmp 0x18002e839
mov r15, qword [rsi + 0x378]
mov rax, rsi
cmp r15, rcx
je 0x18002e834
cmp rax, rcx
je 0x18002e834
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18002e6b3
mov byte [rbp + 0x168], al
cmp rsi, r15
jne 0x18002e834
mov r8, qword [r12 + 0x4880]
add r8, 8
add r8, r9
mov rdx, qword [r8]
test rdx, rdx
je 0x18002e764
test dword [rdx + 0x14], 0x8000000
je 0x18002e764
cmp byte [rdx + 0xb6], 0
jne 0x18002e709
cmp byte [rdx + 0xb7], 0
je 0x18002e764
mov rax, rsi
cmp r15, rdx
je 0x18002e772
cmp rax, rdx
je 0x18002e772
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18002e711
mov rax, qword [rdx + 0x370]
mov rcx, qword [rax + 0x378]
test rcx, rcx
je 0x18002e764
mov rax, rsi
cmp r15, rcx
je 0x18002e774
nop dword [rax]
cmp rax, rcx
je 0x18002e774
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18002e740
mov rax, qword [rcx + 0x370]
mov rcx, qword [rax + 0x378]
test rcx, rcx
jne 0x18002e735
sub r8, 0x38
sub r10, 1
jns 0x18002e6e6
xor edx, edx
mov r8, qword [rdx + 0x378]
mov rdx, qword [r12 + 0x3e78]
movsxd rax, dword [r12 + 0x3e70]
mov r9, rdx
lea rcx, [rdx + rax*8]
cmp rdx, rcx
jae 0x18002e7a5
cmp qword [r9], r15
je 0x18002e7a5
add r9, 8
cmp r9, rcx
jb 0x18002e797
sub r9, rdx
mov rdi, rdx
sar r9, 3
cmp rdx, rcx
jae 0x18002e7c2
cmp qword [rdi], r8
je 0x18002e7c2
add rdi, 8
cmp rdi, rcx
jb 0x18002e7b4
sub rdi, rdx
mov r10, rdx
sar rdi, 3
cmp r9d, edi
jge 0x18002e808
mov eax, edi
sub eax, r9d
dec eax
movsxd r8, eax
lea eax, [r9 + 1]
movsxd rcx, eax
movsxd rax, r9d
shl r8, 3
lea rdx, [rdx + rcx*8]
lea rcx, [r10 + rax*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r12 + 0x3e78]
movsxd rcx, edi
mov qword [rax + rcx*8 - 8], r15
jmp 0x18002e834
lea eax, [rdi + 1]
movsxd rbx, edi
movsxd rcx, eax
sub r9d, edi
movsxd r8, r9d
shl r8, 3
lea rdx, [rdx + rbx*8]
lea rcx, [r10 + rcx*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r12 + 0x3e78]
mov qword [rax + rbx*8], r15
mov r15, qword [rsp + 0x50]
movss xmm1, dword [r14 + 0x3c08]
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x80]
movaps xmm2, xmm1
mulss xmm1, dword [0x18006d3dc]
xor r9d, r9d
cmp byte [r14 + 0x7e], r9b
mov r12d, r9d
mulss xmm2, dword [0x18006d42c]
setne r12b
mov dword [rbp - 0x50], 0xffffffff
movups xmmword [rbp + 0x48], xmm0
inc r12d
movss xmm0, dword [rsi + 0x58]
addss xmm0, dword [0x18006d428]
addss xmm1, xmm0
maxss xmm2, xmm1
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
cmp byte [rbx], r9b
jne 0x18002e8d0
lea rax, [rbp + 0x30]
mov r9d, r12d
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x50]
lea rax, [rbp + 0x48]
mov rcx, rsi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.18002bb40
test al, al
je 0x18002e8d0
mov cl, 1
movzx edx, cl
jmp 0x18002e8db
movzx edx, byte [rbp + 0x160]
mov ecx, dword [rsp + 0x5c]
cmp byte [rbx], 0
movzx eax, byte [rbp - 0x50]
mov byte [rsi + 0xc1], al
jne 0x18002ea3f
cmp qword [rbp - 0x78], 0
movss xmm6, dword [rsi + 0x6c]
movss xmm2, dword [rsi + 0x200]
movaps xmm0, xmm6
movss xmm3, dword [rsi + 0x204]
addss xmm0, dword [rsi + 0x64]
subss xmm2, dword [rsi + 0x1f8]
subss xmm3, dword [rsi + 0x1fc]
movss xmm4, dword [rsi + 0x34]
movss xmm5, dword [rsi + 0x30]
subss xmm4, xmm0
addss xmm2, xmm11
addss xmm3, xmm12
jne 0x18002e948
mov qword [rbp - 0x44], 0
lea rax, [rbp - 0x44]
jmp 0x18002e972
movss xmm0, dword [rsi + 0x50]
lea rax, [rbp - 0x3c]
movss xmm1, dword [rsi + 0x54]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rsi + 0x38]
addss xmm1, dword [rsi + 0x3c]
movss dword [rbp - 0x3c], xmm0
movss dword [rbp - 0x38], xmm1
movss xmm7, dword [rax]
movss xmm1, dword [rax + 4]
test dl, dl
jne 0x18002e982
movaps xmm5, xmm2
test cl, cl
jne 0x18002e989
movaps xmm4, xmm3
bt r13d, 0xe
jb 0x18002e99f
comiss xmm1, xmm4
jbe 0x18002e99b
test r13b, 8
je 0x18002e99f
xor cl, cl
jmp 0x18002e9a1
mov cl, 1
mov byte [rsi + 0xb5], cl
lea rdx, [r14 + 0x3844]
bt r13d, 0xf
jb 0x18002e9e8
test cl, cl
je 0x18002e9bf
movss xmm0, dword [rdx]
jmp 0x18002e9c3
movaps xmm0, xmm10
subss xmm5, xmm0
comiss xmm7, xmm5
jbe 0x18002e9db
mov eax, r13d
and eax, 0x808
cmp eax, 0x800
je 0x18002e9e8
mov byte [rsi + 0xb4], 0
movaps xmm1, xmm10
jmp 0x18002ea0e
mov byte [rsi + 0xb4], 1
test cl, cl
jne 0x18002ea0a
comiss xmm1, xmm4
jbe 0x18002ea02
test r13b, 8
jne 0x18002ea02
mov cl, 1
jmp 0x18002ea04
xor cl, cl
mov byte [rsi + 0xb5], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x18002ea18
movss xmm0, dword [rdx]
jmp 0x18002ea1c
movaps xmm0, xmm10
movss dword [rsi + 0xac], xmm0
addss xmm6, xmm1
addss xmm0, dword [rsi + 0x68]
movss dword [rsi + 0xb0], xmm1
movss dword [rsi + 0x6c], xmm6
movss dword [rsi + 0x68], xmm0
mov edi, r13d
and edi, 0x5000000
cmp edi, 0x1000000
jne 0x18002ea67
cmp dword [rsp + 0x48], 0x3000000
je 0x18002ea67
mov rax, qword [rsp + 0x78]
add rax, 0x238
jmp 0x18002ea6b
lea rax, [rbp - 0x60]
test byte [rsi + 0x14], 1
movups xmm4, xmmword [rax]
mov rcx, qword [rsi]
movss xmm14, dword [rsi + r15]
movss xmm6, dword [rsi + 0x24]
movaps xmm2, xmm14
addss xmm2, dword [rsi + 0x28]
movaps xmm3, xmm6
addss xmm3, dword [rsi + 0x2c]
movups xmmword [rbp - 0x60], xmm4
je 0x18002ea9d
movaps xmm0, xmm10
jmp 0x18002ead1
mov rax, qword [rsi + 0x368]
movss xmm1, dword [rcx + 0x3c0c]
mulss xmm1, dword [rsi + 0x290]
test rax, rax
je 0x18002eac1
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rcx + 0x3810]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm15, dword [rsi + r15 + 4]
movaps xmm5, xmm6
addss xmm5, xmm0
movss dword [rbp - 0x70], xmm14
movss dword [rbp - 0x6c], xmm15
movaps xmm1, xmm14
addss xmm1, dword [rsi + 0x30]
movaps xmm8, xmm4
mov eax, r13d
shufps xmm8, xmm4, 0xaa
and eax, 0x401
movss dword [rbp - 0x64], xmm5
movss dword [rsp + 0x64], xmm5
movaps xmm5, xmm4
movss dword [rbp - 0x68], xmm1
movss dword [rsi + 0x1e8], xmm14
movss dword [rsi + 0x1ec], xmm6
movss dword [rsi + 0x1f0], xmm2
movss dword [rsi + 0x1f4], xmm3
movss xmm0, dword [rsi + 0x1e8]
movss dword [rbp + 0x160], xmm1
maxss xmm0, xmm4
shufps xmm5, xmm4, 0x55
maxss xmm6, xmm5
movss dword [rsi + 0x1e8], xmm0
movss dword [rsi + 0x1ec], xmm6
movaps xmm6, xmm4
movss xmm1, dword [rsi + 0x1f0]
movss xmm0, dword [rsi + 0x1f4]
minss xmm1, xmm8
shufps xmm6, xmm4, 0xff
minss xmm0, xmm6
movss dword [rsi + 0x1f0], xmm1
movss dword [rsi + 0x1f4], xmm0
movss xmm10, dword [rsi + r15]
movss xmm11, dword [rsi + 0x24]
movaps xmm7, xmm10
movaps xmm12, xmm11
addss xmm10, dword [rsi + 0x28]
addss xmm11, dword [rsi + 0x2c]
addss xmm7, dword [rsi + 0x60]
addss xmm12, dword [rsi + 0x64]
subss xmm10, dword [rsi + 0x68]
subss xmm11, dword [rsi + 0x6c]
movss dword [rsi + 0x1f8], xmm7
movss dword [rsi + 0x1fc], xmm12
movss dword [rsi + 0x200], xmm10
movss dword [rsi + 0x204], xmm11
cmp eax, 1
jne 0x18002ebfc
movss xmm9, dword [rsi + 0x5c]
jmp 0x18002ec05
movss xmm9, dword [r14 + 0x3818]
movss xmm2, dword [0x18006d3f4]
lea r15, [rsi + 0x208]
movss xmm0, dword [rsi + 0x50]
addss xmm7, xmm2
mulss xmm0, xmm2
addss xmm12, xmm2
lea r13, [rsi + 0x210]
addss xmm10, xmm2
addss xmm11, xmm2
cvttss2si eax, xmm0
subss xmm11, dword [rsi + 0x5c]
addss xmm12, xmm9
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [rsi + 0x5c]
addss xmm7, xmm1
subss xmm10, xmm1
cvttss2si eax, xmm7
movd xmm7, eax
cvttss2si eax, xmm12
cvtdq2ps xmm7, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm10
movss dword [rsi + 0x20c], xmm0
movss dword [r15], xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm11
movss dword [r13], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x214], xmm0
movss xmm0, dword [r15 + 4]
comiss xmm5, xmm0
jbe 0x18002ecb5
movaps xmm1, xmm5
jmp 0x18002ecbc
movaps xmm1, xmm6
minss xmm1, xmm0
comiss xmm4, xmm7
jbe 0x18002ecc6
movaps xmm0, xmm4
jmp 0x18002ecce
movaps xmm0, xmm8
minss xmm0, xmm7
movss dword [r15], xmm0
movss dword [r15 + 4], xmm1
movss xmm0, dword [r15 + 0xc]
comiss xmm5, xmm0
ja 0x18002eceb
minss xmm6, xmm0
movaps xmm5, xmm6
movss xmm0, dword [r15 + 8]
comiss xmm4, xmm0
ja 0x18002ecff
minss xmm8, xmm0
movaps xmm4, xmm8
movss dword [r15 + 8], xmm4
xorps xmm6, xmm6
movss dword [r15 + 0xc], xmm5
movss xmm0, dword [rsi + 0x28]
comiss xmm0, xmm6
jbe 0x18002ed2c
test dword [rsp + 0x44], 0x2000040
jne 0x18002ed2c
mulss xmm0, dword [0x18006d3fc]
jmp 0x18002ed3d
movss xmm0, dword [r14 + 0x3c08]
mulss xmm0, dword [0x18006d494]
cvttss2si eax, xmm0
mov rdx, rsi
lea rcx, [rbp + 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x268], xmm0
movss xmm0, dword [rsi + 0x200]
subss xmm0, dword [rsi + 0x1f8]
movss xmm1, dword [rsi + 0x50]
addss xmm1, xmm1
addss xmm1, dword [rsi + 0x38]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [rsi + 0x54]
addss xmm1, xmm1
movss dword [rsi + 0x8c], xmm0
movss xmm0, dword [rsi + 0x204]
subss xmm0, dword [rsi + 0x1fc]
addss xmm1, dword [rsi + 0x3c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [rsi + 0x90], xmm0
call fcn.180032be0
mov rcx, qword [rsi + 0x298]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rsi + 0x84], xmm0
movss dword [rsi + 0x88], xmm1
mov dword [rsi + 0x94], 0x7f7fffff
mov dword [rsi + 0x98], 0x7f7fffff
mov qword [rsi + 0x70], 0
mov rax, qword [r14 + 0x3c00]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.180043130
mov rcx, qword [0x180078a28]
lea r8, [rbp - 0x58]
xor r9d, r9d
lea rdx, [rbp - 0x60]
mov rax, qword [rcx + 0x3ed0]
mov byte [rax + 0xb8], 1
mov rbx, qword [rcx + 0x3ed0]
mov rcx, qword [rbx + 0x298]
call fcn.180043020
mov rax, qword [rbx + 0x298]
movsxd rcx, dword [rax + 0x58]
mov rax, qword [rax + 0x60]
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 + 0x238], eax
movss dword [rbx + 0x23c], xmm0
movss dword [rbx + 0x240], xmm1
movss dword [rbx + 0x244], xmm2
xor bl, bl
cmp edi, 0x1000000
jne 0x18002ef60
cmp dword [rsp + 0x48], 0x3000000
je 0x18002ef60
mov r9, qword [rsp + 0x78]
movsxd rax, dword [r9 + 0x190]
cmp eax, 2
jl 0x18002ef22
mov rcx, rax
mov rax, qword [r9 + 0x198]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x18002ef22
movss xmm1, dword [rsi + 0x24]
movss xmm5, dword [rdx + 0x24]
movaps xmm2, xmm1
mov rdi, qword [rsp + 0x50]
movaps xmm0, xmm5
addss xmm0, dword [rdx + 0x2c]
movss xmm7, dword [rdx + 0x20]
addss xmm2, dword [rsi + 0x2c]
movss xmm6, dword [rsi + rdi]
movaps xmm3, xmm7
addss xmm3, dword [rdx + 0x28]
comiss xmm0, xmm1
movaps xmm4, xmm6
addss xmm4, dword [rsi + 0x28]
jbe 0x18002ef1d
comiss xmm2, xmm5
jbe 0x18002ef1d
comiss xmm3, xmm6
jbe 0x18002ef1d
comiss xmm4, xmm7
jbe 0x18002ef1d
mov r8b, 1
xorps xmm6, xmm6
jmp 0x18002ef2a
xorps xmm6, xmm6
jmp 0x18002ef27
mov rdi, qword [rsp + 0x50]
xor r8b, r8b
mov rdx, qword [rsi + 0x298]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x18002ef65
mov rax, qword [r9 + 0x298]
cmp dword [rax + 0x20], 0
jle 0x18002ef65
test r8b, r8b
jne 0x18002ef65
mov bl, 1
mov qword [rsi + 0x298], rax
jmp 0x18002ef65
mov rdi, qword [rsp + 0x50]
mov rax, qword [r14 + 0x4a18]
test rax, rax
jne 0x18002ef78
mov rax, qword [r14 + 0x48b0]
cmp byte [rbp + 0x168], 0
jne 0x18002ef9b
test rax, rax
je 0x18002ef96
mov rax, qword [rax + 0x388]
cmp qword [rsi + 0x388], rax
je 0x18002ef9b
xor r8b, r8b
jmp 0x18002ef9e
mov r8b, 1
movss dword [rsp + 0x30], xmm13
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x70]
mov rcx, rsi
mov dword [rsp + 0x20], r12d
call fcn.18002ca00
test bl, bl
je 0x18002efd1
lea rax, [rsi + 0x2a0]
mov qword [rsi + 0x298], rax
mov eax, dword [rsp + 0x44]
mov ecx, eax
movss xmm4, dword [rsi + 0x48]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm4, xmm6
jp 0x18002f02b
jne 0x18002f02b
movss xmm0, dword [rsi + 0x50]
and eax, 0x808
movss xmm1, dword [rsi + 0x28]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [rsi + 0x60]
addss xmm0, dword [rsi + 0x68]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x18002f022
movss xmm7, dword [rsi + 0x38]
maxss xmm7, xmm1
jmp 0x18002f02e
xorps xmm7, xmm7
maxss xmm7, xmm1
jmp 0x18002f02e
movaps xmm7, xmm4
movss xmm5, dword [rsi + 0x4c]
ucomiss xmm5, xmm6
jp 0x18002f069
jne 0x18002f069
movss xmm0, dword [rsi + 0x54]
movss xmm1, dword [rsi + 0x2c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [rsi + 0x64]
addss xmm0, dword [rsi + 0x6c]
subss xmm1, xmm0
test cl, cl
je 0x18002f063
movss xmm6, dword [rsi + 0x3c]
maxss xmm6, xmm1
jmp 0x18002f06c
movaps xmm6, xmm5
movss xmm8, dword [rsi + 0x50]
movss xmm10, dword [rsi + 0x84]
movaps xmm1, xmm8
maxss xmm1, dword [rsi + 0x5c]
movss xmm0, dword [rsi + 0x1f8]
subss xmm0, xmm10
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [rsi + 0x218], xmm3
addss xmm7, xmm3
movss xmm9, dword [rsi + 0x54]
movss xmm11, dword [rsi + 0x88]
movaps xmm1, xmm9
movss xmm0, dword [rsi + 0x1fc]
maxss xmm1, dword [rsi + 0x5c]
subss xmm0, xmm11
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rsi + 0x21c], xmm2
addss xmm2, xmm6
movss dword [rsi + 0x220], xmm7
movss dword [rsi + 0x224], xmm2
movups xmm0, xmmword [rsi + 0x218]
movups xmmword [rsi + 0x228], xmm0
movss xmm12, dword [rsi + rdi]
xorps xmm0, xmm0
ucomiss xmm4, xmm0
movss xmm6, dword [rsi + 0x60]
movaps xmm2, xmm12
subss xmm2, xmm10
addss xmm2, xmm8
addss xmm2, xmm6
movss dword [rsi + 0x248], xmm2
movss xmm13, dword [rsi + 0x24]
movss xmm7, dword [rsi + 0x64]
movaps xmm3, xmm13
subss xmm3, xmm11
addss xmm3, xmm9
addss xmm3, xmm7
movss dword [rsi + 0x24c], xmm3
jp 0x18002f17f
jne 0x18002f17f
movss xmm4, dword [rsi + 0x28]
movaps xmm0, xmm8
addss xmm0, xmm8
movaps xmm1, xmm6
addss xmm1, dword [rsi + 0x68]
subss xmm4, xmm0
xorps xmm0, xmm0
subss xmm4, xmm1
ucomiss xmm5, xmm0
addss xmm4, xmm2
movss dword [rsi + 0x250], xmm4
jp 0x18002f1b0
jne 0x18002f1b0
movss xmm5, dword [rsi + 0x2c]
movaps xmm0, xmm9
addss xmm0, xmm9
movaps xmm1, xmm7
addss xmm1, dword [rsi + 0x6c]
subss xmm5, xmm0
subss xmm5, xmm1
xor r12d, r12d
addss xmm5, xmm3
cvtps2pd xmm2, xmm8
lea rbx, [rsi + 0x16c]
movss dword [rsi + 0x254], xmm5
movaps xmm0, xmm6
addss xmm0, xmm8
movaps xmm8, xmmword [rsp + 0x1d0]
cvtps2pd xmm3, xmm9
movaps xmm9, xmmword [rsp + 0x1c0]
subss xmm0, xmm10
cvtps2pd xmm1, xmm10
movss dword [rsi + 0x144], xmm0
xorps xmm10, xmm10
mov qword [rsi + 0x148], r12
cvtps2pd xmm0, xmm12
movaps xmm12, xmmword [rsp + 0x190]
addsd xmm2, xmm0
cvtps2pd xmm0, xmm6
subsd xmm2, xmm1
xorps xmm1, xmm1
addsd xmm2, xmm0
cvtps2pd xmm0, xmm13
movaps xmm13, xmmword [rsp + 0x180]
addsd xmm2, xmm1
addsd xmm3, xmm0
cvtps2pd xmm1, xmm11
movaps xmm11, xmmword [rsp + 0x1a0]
subsd xmm3, xmm1
cvtpd2ps xmm1, xmm2
cvtps2pd xmm0, xmm7
movss dword [rsi + 0x110], xmm1
addsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
movss dword [rsi + 0x114], xmm0
movss xmm0, dword [rsi + 0x110]
movss xmm1, dword [rsi + 0x114]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm2, xmm0
subsd xmm3, xmm1
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm0, xmm3
movss dword [rsi + 0x150], xmm2
movss dword [rsi + 0x154], xmm0
movss xmm0, dword [rsi + 0x114]
movss xmm1, dword [rsi + 0x110]
movss dword [rsi + 0x100], xmm1
movss dword [rsi + 0x104], xmm0
movss dword [rsi + 0x108], xmm1
movss dword [rsi + 0x10c], xmm0
movss dword [rsi + 0x118], xmm1
movss dword [rsi + 0x11c], xmm0
movss dword [rsi + 0x120], xmm1
movss dword [rsi + 0x124], xmm0
mov qword [rsi + 0x130], r12
mov qword [rsi + 0x128], r12
mov qword [rsi + 0x138], r12
mov word [rsi + 0x140], r12w
mov dword [rsi + 0x158], r12d
movzx eax, word [rsi + 0x15e]
mov word [rsi + 0x15c], ax
mov word [rsi + 0x15e], r12w
mov byte [rsi + 0x160], r12b
movss xmm0, dword [rsi + 0x90]
comiss xmm0, xmm10
seta al
mov byte [rsi + 0x161], al
mov byte [rsi + 0x162], r12b
movss xmm0, dword [r14 + 0x381c]
cmp byte [rbp + 0x158], r12b
je 0x18002f363
xor eax, eax
mov qword [rbx + 0x12], rax
cvttss2si eax, xmm0
mov rcx, rbx
mov word [rbx + 8], ax
call fcn.1800505c0
xor eax, eax
mov qword [rbx + 0x12], rax
mov eax, dword [rbx + 4]
mov dword [rbx], eax
mov dword [rbx + 4], r12d
mov qword [rsi + 0x188], r12
mov ecx, dword [rsi + 0x194]
test ecx, ecx
jns 0x18002f3b0
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rsi + 0x190]
test eax, eax
cmovg edx, eax
call fcn.18003a150
mov rdi, qword [rsp + 0x78]
lea rax, [rsi + 0x270]
mov dword [rsi + 0x190], r12d
mov qword [rsi + 0x1a0], rax
mov eax, 1
mov qword [rsi + 0x1a8], r12
mov dword [rsi + 0x1b4], eax
test rdi, rdi
je 0x18002f3e7
mov eax, dword [rdi + 0x1b4]
mov dword [rsi + 0x1b8], eax
lea rcx, [rsi + 0x1c8]
mov eax, dword [rsi + 0x268]
mov dword [rsi + 0x1bc], eax
mov dword [rsi + 0x1c0], 0xbf800000
call fcn.18003a570
lea rcx, [rsi + 0x1d8]
call fcn.18003a570
movzx eax, byte [rsi + 0xd0]
test al, al
jle 0x18002f42e
dec al
mov byte [rsi + 0xd0], al
movzx eax, byte [rsi + 0xd1]
test al, al
jle 0x18002f441
dec al
mov byte [rsi + 0xd1], al
cmp byte [rbp + 0x168], r12b
je 0x18002f45c
mov rcx, rsi
call fcn.18002fa60
xor edx, edx
mov rcx, rsi
call fcn.180034f00
mov ebx, dword [rsp + 0x44]
movss xmm6, dword [rbp + 0x160]
movss xmm7, dword [rsp + 0x64]
test bl, 1
jne 0x18002f4ac
mov r8, qword [rbp + 0x150]
lea rdx, [rbp - 0x60]
movaps xmm0, xmm14
movss dword [rbp - 0x5c], xmm15
addss xmm0, dword [rsi + 0x5c]
movaps xmm1, xmm6
movss dword [rbp - 0x54], xmm7
subss xmm1, dword [rsi + 0x5c]
mov rcx, rsi
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x58], xmm1
call fcn.18002d030
mov rdx, qword [0x180078a28]
mov dword [rsi + 0x258], r12d
movss xmm1, dword [rdx + 0x3834]
movss xmm0, dword [rdx + 0x3838]
subss xmm14, xmm1
movaps xmm2, xmm1
subss xmm15, xmm0
movss xmm1, dword [rdx + 0xe08]
addss xmm2, xmm6
movaps xmm6, xmmword [rsp + 0x1f0]
movaps xmm3, xmm0
addss xmm3, xmm7
movaps xmm7, xmmword [rsp + 0x1e0]
comiss xmm1, xmm14
movaps xmm14, xmmword [rsp + 0x170]
jb 0x18002f527
movss xmm0, dword [rdx + 0xe0c]
comiss xmm0, xmm15
jb 0x18002f527
comiss xmm2, xmm1
jbe 0x18002f527
comiss xmm3, xmm0
mov r8d, 1
ja 0x18002f52a
mov r8d, r12d
mov eax, dword [rsi + 0x7c]
mov ecx, dword [r14 + 0x4750]
movups xmm0, xmmword [rbp - 0x70]
mov dword [rdx + 0x476c], eax
movaps xmm15, xmmword [rsp + 0x160]
movups xmmword [rdx + 0x4788], xmm0
mov dword [rdx + 0x4770], ecx
movups xmmword [rdx + 0x4778], xmm0
mov dword [rdx + 0x4774], r8d
mov eax, dword [r14 + 0x4754]
test eax, eax
je 0x18002f57c
cmp dword [rsi + 0x10], eax
je 0x18002f577
cmp dword [rsi + 0x7c], eax
jne 0x18002f57c
call fcn.1800395d0
mov r12d, dword [rbp - 0x48]
jmp 0x18002f614
mov rcx, qword [0x180078a28]
mov qword [rcx + 0x3ed0], rsi
movsxd rax, dword [rsi + 0x1b0]
cmp eax, 0xffffffff
je 0x18002f5af
imul rdx, rax, 0x238
add rdx, qword [rcx + 0x4b38]
jmp 0x18002f5b1
xor edx, edx
mov qword [rcx + 0x4b10], rdx
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x3c0c]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18002f5df
mulss xmm0, dword [rax + 0x290]
mov rdi, qword [rsp + 0x78]
lea r13, [rsi + 0x210]
mov eax, ebx
movss dword [rcx + 0x3c20], xmm0
and eax, 0x1000000
movss dword [rcx + 0x3c08], xmm0
mov r12d, ebx
mov dword [rsp + 0x58], eax
and r12d, 0x40
lea r15, [rsi + 0x208]
mov r8b, 1
mov rdx, r13
mov rcx, r15
call fcn.180029ca0
mov r15, qword [rsp + 0x208]
xor eax, eax
mov r13, qword [rsp + 0x210]
mov byte [rsi + 0xb8], 0
inc word [rsi + 0xc2]
mov dword [r14 + 0x47a8], eax
mov eax, dword [rsp + 0x60]
cmp eax, dword [rsp + 0x68]
je 0x18002f7bf
cmp dword [rsp + 0x58], 0
je 0x18002f72d
test r12d, r12d
jne 0x18002f6e1
cmp byte [rsi + 0xd0], r12b
jg 0x18002f6e1
cmp byte [rsi + 0xd1], r12b
jg 0x18002f6e1
bt ebx, 0x17
jae 0x18002f6a8
cmp byte [r14 + 0x48f0], r12b
je 0x18002f6a8
mov rcx, qword [r14 + 0x48b0]
test rcx, rcx
je 0x18002f6a8
mov rax, qword [rsi + 0x390]
cmp qword [rcx + 0x390], rax
jne 0x18002f6a8
mov al, 1
jmp 0x18002f6aa
xor al, al
cmp byte [r14 + 0x5c58], 0
jne 0x18002f6e1
test al, al
jne 0x18002f6e1
movss xmm0, dword [rsi + 0x1e8]
comiss xmm0, dword [rsi + 0x1f0]
jae 0x18002f6da
movss xmm0, dword [rsi + 0x1ec]
comiss xmm0, dword [rsi + 0x1f4]
jb 0x18002f6e1
mov byte [rsi + 0xd8], 1
lea rax, [rsi + 0xd8]
test rdi, rdi
je 0x18002f734
cmp byte [rdi + 0xb9], 0
jne 0x18002f708
cmp byte [rdi + 0xd8], 0
jg 0x18002f708
lea rax, [rsi + 0xd8]
jmp 0x18002f712
lea rax, [rsi + 0xd8]
mov byte [rax], 1
cmp byte [rdi + 0xb9], 0
jne 0x18002f724
cmp byte [rdi + 0xd9], 0
jle 0x18002f734
mov byte [rsi + 0xd9], 1
jmp 0x18002f734
lea rax, [rsi + 0xd8]
comiss xmm10, dword [r14 + 0x37d0]
jb 0x18002f741
mov byte [rax], 1
cmp byte [rax], 0
jg 0x18002f75d
cmp byte [rsi + 0xd9], 0
jg 0x18002f75d
xor cl, cl
cmp byte [rsi + 0xda], cl
jg 0x18002f75f
xor al, al
jmp 0x18002f761
mov cl, 1
mov al, 1
mov byte [rsi + 0xbd], al
movzx eax, byte [rsi + 0xdb]
test al, al
jle 0x18002f781
dec al
mov byte [rsi + 0xdb], al
or dword [rsi + 0x14], 0xc0200
xor al, al
cmp byte [rsi + 0xb9], al
jne 0x18002f797
cmp byte [rsi + 0xb6], al
je 0x18002f797
test cl, cl
je 0x18002f7b9
cmp byte [rsi + 0xd0], al
jg 0x18002f7b9
cmp byte [rsi + 0xd1], al
jg 0x18002f7b9
cmp byte [rsi + 0xd9], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [rsi + 0xbb], al
cmp byte [rsi + 0xbe], 0
movaps xmm10, xmmword [rsp + 0x1b0]
mov r12, qword [rsp + 0x218]
mov rdi, qword [rsp + 0x220]
mov rbx, qword [rsp + 0x228]
jne 0x18002f849
cmp byte [r14 + 0x84], 0
je 0x18002f7fa
cmp qword [rbp - 0x78], 0
je 0x18002f815
cmp byte [r14 + 0x85], 0
je 0x18002f849
movsx eax, byte [r14 + 0x5cca]
cmp eax, dword [r14 + 0x3ea0]
jne 0x18002f849
movzx eax, byte [rsi + 0xd0]
test al, al
jle 0x18002f828
inc al
mov byte [rsi + 0xd0], al
movzx eax, byte [rsi + 0xd1]
test al, al
jle 0x18002f83b
inc al
mov byte [rsi + 0xd1], al
xor al, al
add rsp, 0x230
pop r14
pop rsi
pop rbp
ret
cmp byte [rsi + 0xbb], 0
sete al
add rsp, 0x230
pop r14
pop rsi
pop rbp
ret