Function at 0x18002b170
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 [0x1800769e8]
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.180028bb0
test rax, rax
mov qword [rbp - 0x78], rax
mov rsi, rax
sete dl
mov byte [rbp + 0x160], dl
test rax, rax
jne 0x18002b1e7
mov edx, ebx
mov rcx, rdi
call fcn.180028f80
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 0x18002b233
cmp byte [r14 + 0x3e35], 0
je 0x18002b233
mov al, 1
jmp 0x18002b235
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 0x18002b282
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 0x18002b2a3
or byte [rsi + 0xdc], 8
or byte [rsi + 0xdd], 8
or byte [rsi + 0xde], 8
xor r12d, r12d
cmp r10d, ebx
je 0x18002b300
mov r8d, edi
mov rcx, rsi
call fcn.180028c80
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 0x18002b307
mov edi, dword [rsi + 0x14]
mov dword [rsp + 0x44], edi
movsxd rax, dword [r9]
test eax, eax
jne 0x18002b313
mov r15, r12
jmp 0x18002b323
imul rcx, rax, 0x58
mov rax, qword [r14 + 0x3ea8]
mov r15, qword [rcx + rax - 0x58]
cmp r10d, ebx
je 0x18002b337
test edi, 0x5000000
mov rbx, r12
cmovne rbx, r15
jmp 0x18002b33e
mov rbx, qword [rsi + 0x368]
mov qword [rsp + 0x78], rbx
cmp dword [rsi + 0xf0], r12d
jne 0x18002b363
lea rdx, [rsi + 0x10]
lea rcx, [rsi + 0xf0]
call fcn.180038420
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 0x18002b457
inc ecx
test r8d, r8d
je 0x18002b43c
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18002b441
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, r9
call fcn.1800389e0
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 0x18002b4af
inc dword [r14 + 0x4898]
mov eax, dword [rsp + 0x60]
cmp eax, dword [rsp + 0x68]
je 0x18002b561
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 0x18002b531
mov eax, edi
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18002b501
mov rax, qword [rbx + 0x378]
mov qword [rsi + 0x378], rax
bt edi, 0x1a
jae 0x18002b515
mov rax, qword [rbx + 0x380]
mov qword [rsi + 0x380], rax
bt edi, 0x1b
jb 0x18002b531
test edi, 0x5000000
je 0x18002b531
mov rax, qword [rbx + 0x388]
mov qword [rsi + 0x388], rax
test dword [rsi + 0x14], 0x800000
je 0x18002b55a
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 0x18002b540
mov qword [rsi + 0x370], r15
mov rbx, qword [0x1800769e8]
lea rdx, [rbp + 0x168]
mov edi, dword [rsi + 0x10]
mov dword [rbp + 0x168], edi
lea rcx, [rbx + 0x4848]
call fcn.180038420
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 0x18002b5f0
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.180037b20
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 0x18002b6a1
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 0x18002b692
movss xmm0, dword [r14 + 0x47c4]
movss xmm1, dword [r14 + 0x47c0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18006b2a4]
jbe 0x18002b692
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 0x18002b6a1
lea rdx, [r14 + 0x47b8]
mov rcx, rsi
call fcn.18002db30
test byte [r14 + 0x47a8], 2
xorps xmm10, xmm10
je 0x18002b6f6
movsx eax, byte [rsi + 0xdd]
lea rdx, [r14 + 0x47c8]
mov r8d, dword [r14 + 0x47b0]
and eax, r8d
je 0x18002b6d8
movss xmm0, dword [rdx]
comiss xmm0, xmm10
jbe 0x18002b6d8
mov r15b, 1
jmp 0x18002b6dc
test eax, eax
je 0x18002b6ee
movss xmm0, dword [r14 + 0x47cc]
comiss xmm0, xmm10
jbe 0x18002b6ee
mov r13b, 1
mov rcx, rsi
call fcn.18002dca0
test byte [r14 + 0x47a8], 0x80
je 0x18002b73c
movss xmm0, dword [r14 + 0x47d8]
comiss xmm0, xmm10
jb 0x18002b71e
movss dword [rsi + 0x94], xmm0
mov dword [rsi + 0x9c], r10d
movss xmm0, dword [r14 + 0x47dc]
comiss xmm0, xmm10
jb 0x18002b73c
movss dword [rsi + 0x98], xmm0
mov dword [rsi + 0xa0], r10d
test byte [r14 + 0x47a8], 4
mov edi, dword [rsp + 0x68]
je 0x18002b75a
movsd xmm0, qword [r14 + 0x47d0]
movsd qword [rsi + 0x48], xmm0
jmp 0x18002b764
cmp dword [rsp + 0x60], edi
je 0x18002b764
mov qword [rsi + 0x48], r12
test byte [r14 + 0x47a8], 8
je 0x18002b7b5
mov ecx, dword [r14 + 0x47b4]
movzx edx, byte [r14 + 0x47e0]
test ecx, ecx
je 0x18002b78c
movsx eax, byte [rsi + 0xde]
test ecx, eax
je 0x18002b7b5
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 0x18002b7c7
mov rcx, rsi
call fcn.18002d780
cmp byte [rsi + 0xbc], r12b
je 0x18002b7e5
and byte [rsi + 0xdc], 0xf7
and byte [rsi + 0xdd], 0xf7
and byte [rsi + 0xde], 0xf7
mov ecx, 1
cmp dword [rsp + 0x60], edi
je 0x18002d298
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.1800384f0
mov rcx, qword [rsi + 0x298]
call fcn.1800407b0
mov dword [rsi + 0x1b0], 0xffffffff
cmp byte [rsi + 0x3d4], r12b
je 0x18002b8f7
mov rcx, qword [rsi + 0x298]
mov edx, dword [rsi + 0x3cc]
add rcx, 0x10
mov byte [rsi + 0x3d4], r12b
call fcn.180038810
mov rcx, qword [rsi + 0x298]
mov edx, dword [rsi + 0x3d0]
add rcx, 0x20
call fcn.1800385d0
xor eax, eax
mov qword [rsi + 0x3cc], rax
mov r10, qword [rbp - 0x78]
cmp qword [r14 + 0x4a28], r12
je 0x18002b9c4
test dword [rsi + 0x14], 0x80000
jne 0x18002b9c4
test r10, r10
je 0x18002b9c4
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 0x18002b945
inc rax
test ecx, ecx
jne 0x18002b932
test edx, edx
je 0x18002b9c4
movsxd rdi, dword [rsi + 0x78]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], 0
jne 0x18002b954
inc rbx
cmp rdi, rbx
jae 0x18002b9a7
test r9, r9
je 0x18002b97d
mov rax, qword [0x1800769e8]
test rax, rax
je 0x18002b97d
dec dword [rax + 0xf4]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1800769e8]
test rax, rax
je 0x18002b998
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.1800293e0
movzx eax, byte [rsi + 0xd8]
test al, al
jle 0x18002b9e7
dec al
mov byte [rsi + 0xd8], al
movzx eax, byte [rsi + 0xd9]
test al, al
jle 0x18002b9fa
dec al
mov byte [rsi + 0xd9], al
movzx eax, byte [rsi + 0xda]
test al, al
jle 0x18002ba0d
dec al
mov byte [rsi + 0xda], al
test r10, r10
jne 0x18002ba23
test r15b, r15b
je 0x18002ba1c
test r13b, r13b
jne 0x18002ba23
mov byte [rsi + 0xd9], 1
xor r11d, r11d
cmp byte [rbp + 0x158], r11b
je 0x18002ba6c
test ebx, 0x6000000
je 0x18002ba6c
mov byte [rsi + 0xd9], 1
test bl, 0x40
je 0x18002ba6c
test r15b, r15b
jne 0x18002ba50
mov dword [rsi + 0x30], r11d
mov dword [rsi + 0x28], r11d
test r13b, r13b
jne 0x18002ba5d
mov dword [rsi + 0x34], r11d
mov dword [rsi + 0x2c], r11d
mov qword [rsi + 0x40], 0
mov qword [rdx], 0
mov rdx, qword [0x1800769e8]
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 0x18002baa4
imul rcx, rax, 0x238
add rcx, qword [rdx + 0x4b38]
jmp 0x18002baa7
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 0x18002bad5
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 0x18002bafd
movss xmm1, dword [r14 + 0x3800]
jmp 0x18002bb1f
test ebx, 0x6000000
je 0x18002bb16
bt ebx, 0x1b
jb 0x18002bb16
movss xmm1, dword [r14 + 0x3808]
jmp 0x18002bb1f
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 0x18002bb66
ucomiss xmm1, xmm10
jp 0x18002bb66
jne 0x18002bb66
bt ebx, 0xa
jae 0x18002bb59
movss xmm0, dword [r14 + 0x37dc]
jmp 0x18002bb5d
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 0x18002bcf3
mov r8d, dword [rsi + 0x14]
mov rcx, qword [rsi]
test r8b, 1
je 0x18002bbbb
movaps xmm2, xmm10
jmp 0x18002bbef
mov rax, qword [rsi + 0x368]
movss xmm0, dword [rcx + 0x3c0c]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18002bbdf
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 0x18002bca8
cmp dword [r14 + 0x3f1c], 0
jne 0x18002bca8
cmp dword [r14 + 0x3f20], 0
jne 0x18002bca8
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 0x18002bca8
movss xmm0, dword [rdx + 0xe0c]
comiss xmm0, xmm5
jb 0x18002bca8
comiss xmm3, xmm1
jbe 0x18002bca8
comiss xmm2, xmm0
jbe 0x18002bca8
cmp word [r14 + 0x3752], 2
jne 0x18002bca8
mov byte [rsi + 0xba], 1
cmp byte [rsi + 0xba], 0
je 0x18002bcfa
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 0x18002bcfa
comiss xmm10, dword [rdx + 0x5bc4]
jb 0x18002bcfa
mov eax, dword [rdx + 0x1c]
mov dword [rdx + 0x5bc4], eax
jmp 0x18002bcfa
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 0x18002bd2e
movaps xmm2, xmm10
jmp 0x18002bd62
mov rcx, qword [rsi + 0x368]
movss xmm0, dword [rdx + 0x3c0c]
mulss xmm0, dword [rsi + 0x290]
test rcx, rcx
je 0x18002bd52
mulss xmm0, dword [rcx + 0x290]
movss xmm2, dword [rdx + 0x3810]
addss xmm2, xmm2
addss xmm2, xmm0
bt r8d, 0xa
jae 0x18002bda7
mov rax, qword [rsi + 0x368]
movss xmm1, dword [rdx + 0x3c0c]
mulss xmm1, dword [rsi + 0x290]
test rax, rax
je 0x18002bd8d
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rdx + 0x3810]
addss xmm1, dword [rsi + 0x168]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x18002bdab
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.1800294f0
mov eax, ebx
lea r12, [rsi + 0xb9]
and eax, 0x40
mov dword [rbp - 0x48], eax
je 0x18002be26
cmp byte [r12], 0
mov qword [rbp - 0x80], r12
jne 0x18002be26
test r15b, r15b
jne 0x18002be07
movss xmm0, dword [rsp + 0x70]
movss dword [rsi + 0x30], xmm0
mov byte [rbp + 0x160], 1
test r13b, r13b
jne 0x18002bee5
movss xmm0, dword [rsp + 0x74]
mov al, 1
movss dword [rsi + 0x34], xmm0
mov dword [rsp + 0x5c], eax
jmp 0x18002bee5
movzx eax, byte [rsi + 0xd0]
mov rcx, r12
test al, al
jg 0x18002be45
cmp byte [rsi + 0xd1], 0
mov qword [rbp - 0x80], rcx
jle 0x18002bee5
test r15b, r15b
jne 0x18002be76
test al, al
jle 0x18002be76
cmp byte [rsi + 0xd3], r15b
je 0x18002be64
movss xmm0, dword [rsi + 0x30]
maxss xmm0, dword [rsp + 0x70]
jmp 0x18002be6a
movss xmm0, dword [rsp + 0x70]
movss dword [rsi + 0x30], xmm0
mov byte [rbp + 0x160], 1
test r13b, r13b
jne 0x18002beab
cmp byte [rsi + 0xd1], r13b
jle 0x18002beab
cmp byte [rsi + 0xd3], r13b
je 0x18002be9a
movss xmm0, dword [rsi + 0x34]
maxss xmm0, dword [rsp + 0x74]
jmp 0x18002bea0
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 0x18002bee5
test dword [rsi + 0x14], 0x100
mov rdx, qword [0x1800769e8]
mov qword [rbp - 0x80], rcx
jne 0x18002bee5
comiss xmm10, dword [rdx + 0x5bc4]
mov qword [rbp - 0x80], rcx
jb 0x18002bee5
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.1800291c0
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 0x18002bf7a
test edx, edx
jne 0x18002bf7a
test byte [rsi + 0x14], 1
mov rcx, qword [rsi]
je 0x18002bf26
movaps xmm1, xmm10
jmp 0x18002bf5a
mov rax, qword [rsi + 0x368]
movss xmm0, dword [rcx + 0x3c0c]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18002bf4a
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 0x18002bf84
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 0x18002bff8
mov eax, ebx
mov dword [rsi + 0xd4], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18002bff8
test r15b, r15b
jne 0x18002bff8
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 0x18002c084
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 0x18002c04f
inc r8d
test ecx, ecx
je 0x18002c033
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002c038
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180037e60
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 0x18002c08c
test r15b, r15b
jne 0x18002c08c
cmp eax, 0x3000000
je 0x18002c08c
movsd xmm0, qword [rdx + 0x100]
movsd qword [r12 + r13], xmm0
jmp 0x18002c08c
mov ebx, dword [rsp + 0x64]
mov eax, dword [rsp + 0x48]
movss xmm1, dword [rsi + 0xe0]
ucomiss xmm1, dword [0x18006b444]
jp 0x18002c09f
je 0x18002c0fb
cmp byte [rsi + 0xd9], 0
jne 0x18002c0fb
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.18002db30
mov r13d, dword [rsp + 0x44]
jmp 0x18002c15e
cmp dword [rbp - 0x4c], 0
je 0x18002c114
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.180031770
mov r13d, dword [rsp + 0x44]
jmp 0x18002c148
test ebx, ebx
je 0x18002c124
test r15b, r15b
jne 0x18002c124
cmp byte [rsp + 0x40], r15b
jg 0x18002c101
mov r13d, dword [rsp + 0x44]
bt r13d, 0x19
jae 0x18002c15e
mov rdx, rsi
test r15b, r15b
jne 0x18002c161
cmp eax, 0x3000000
je 0x18002c161
lea rcx, [rbp - 0x70]
call fcn.180031770
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 [0x1800769e8]
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 0x18002c2be
test r8d, r8d
jne 0x18002c2be
subss xmm4, xmm8
comiss xmm4, xmm10
jbe 0x18002c2be
subss xmm5, xmm9
comiss xmm5, xmm10
jbe 0x18002c2be
movss xmm0, dword [rsi + 0x2c]
cmp byte [r12 + 0x7f], r15b
je 0x18002c27c
test byte [rsi + 0x14], 1
jne 0x18002c27c
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x368]
movss xmm1, dword [rcx + 0x3c0c]
mulss xmm1, dword [rsi + 0x290]
test rax, rax
je 0x18002c26c
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 0x18002c29d
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rdx + r15]
comiss xmm2, xmm0
ja 0x18002c2af
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [rdx + r15], xmm2
movss dword [rdx + r15 + 4], xmm3
jmp 0x18002c2c3
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 0x18002c2fb
movss xmm0, dword [r14 + 0x37fc]
jmp 0x18002c31e
mov eax, r13d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18002c315
movss xmm0, dword [r14 + 0x3804]
jmp 0x18002c31e
movss xmm0, dword [r14 + 0x37e0]
xor cl, cl
movss dword [rsi + 0x58], xmm0
mov dword [rbp + 0x168], ecx
cmp byte [rbp + 0x158], cl
je 0x18002c549
bt r13d, 0xc
jb 0x18002c549
test ebx, ebx
je 0x18002c34f
mov byte [rbp + 0x168], 1
jmp 0x18002c365
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 0x18002c549
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 0x18002c3a1
test dword [rcx + 0x14], 0x8000000
jne 0x18002c3b0
sub r8, 0x38
sub rdx, 1
jns 0x18002c390
jmp 0x18002c549
mov r15, qword [rsi + 0x378]
mov rax, rsi
cmp r15, rcx
je 0x18002c544
cmp rax, rcx
je 0x18002c544
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18002c3c3
mov byte [rbp + 0x168], al
cmp rsi, r15
jne 0x18002c544
mov r8, qword [r12 + 0x4880]
add r8, 8
add r8, r9
mov rdx, qword [r8]
test rdx, rdx
je 0x18002c474
test dword [rdx + 0x14], 0x8000000
je 0x18002c474
cmp byte [rdx + 0xb6], 0
jne 0x18002c419
cmp byte [rdx + 0xb7], 0
je 0x18002c474
mov rax, rsi
cmp r15, rdx
je 0x18002c482
cmp rax, rdx
je 0x18002c482
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18002c421
mov rax, qword [rdx + 0x370]
mov rcx, qword [rax + 0x378]
test rcx, rcx
je 0x18002c474
mov rax, rsi
cmp r15, rcx
je 0x18002c484
nop dword [rax]
cmp rax, rcx
je 0x18002c484
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18002c450
mov rax, qword [rcx + 0x370]
mov rcx, qword [rax + 0x378]
test rcx, rcx
jne 0x18002c445
sub r8, 0x38
sub r10, 1
jns 0x18002c3f6
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 0x18002c4b5
cmp qword [r9], r15
je 0x18002c4b5
add r9, 8
cmp r9, rcx
jb 0x18002c4a7
sub r9, rdx
mov rdi, rdx
sar r9, 3
cmp rdx, rcx
jae 0x18002c4d2
cmp qword [rdi], r8
je 0x18002c4d2
add rdi, 8
cmp rdi, rcx
jb 0x18002c4c4
sub rdi, rdx
mov r10, rdx
sar rdi, 3
cmp r9d, edi
jge 0x18002c518
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 0x18002c544
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 [0x18006b2c4]
xor r9d, r9d
cmp byte [r14 + 0x7e], r9b
mov r12d, r9d
mulss xmm2, dword [0x18006b314]
setne r12b
mov dword [rbp - 0x50], 0xffffffff
movups xmmword [rbp + 0x48], xmm0
inc r12d
movss xmm0, dword [rsi + 0x58]
addss xmm0, dword [0x18006b310]
addss xmm1, xmm0
maxss xmm2, xmm1
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
cmp byte [rbx], r9b
jne 0x18002c5e0
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.180029850
test al, al
je 0x18002c5e0
mov cl, 1
movzx edx, cl
jmp 0x18002c5eb
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 0x18002c74f
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 0x18002c658
mov qword [rbp - 0x44], 0
lea rax, [rbp - 0x44]
jmp 0x18002c682
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 0x18002c692
movaps xmm5, xmm2
test cl, cl
jne 0x18002c699
movaps xmm4, xmm3
bt r13d, 0xe
jb 0x18002c6af
comiss xmm1, xmm4
jbe 0x18002c6ab
test r13b, 8
je 0x18002c6af
xor cl, cl
jmp 0x18002c6b1
mov cl, 1
mov byte [rsi + 0xb5], cl
lea rdx, [r14 + 0x3844]
bt r13d, 0xf
jb 0x18002c6f8
test cl, cl
je 0x18002c6cf
movss xmm0, dword [rdx]
jmp 0x18002c6d3
movaps xmm0, xmm10
subss xmm5, xmm0
comiss xmm7, xmm5
jbe 0x18002c6eb
mov eax, r13d
and eax, 0x808
cmp eax, 0x800
je 0x18002c6f8
mov byte [rsi + 0xb4], 0
movaps xmm1, xmm10
jmp 0x18002c71e
mov byte [rsi + 0xb4], 1
test cl, cl
jne 0x18002c71a
comiss xmm1, xmm4
jbe 0x18002c712
test r13b, 8
jne 0x18002c712
mov cl, 1
jmp 0x18002c714
xor cl, cl
mov byte [rsi + 0xb5], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x18002c728
movss xmm0, dword [rdx]
jmp 0x18002c72c
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 0x18002c777
cmp dword [rsp + 0x48], 0x3000000
je 0x18002c777
mov rax, qword [rsp + 0x78]
add rax, 0x238
jmp 0x18002c77b
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 0x18002c7ad
movaps xmm0, xmm10
jmp 0x18002c7e1
mov rax, qword [rsi + 0x368]
movss xmm1, dword [rcx + 0x3c0c]
mulss xmm1, dword [rsi + 0x290]
test rax, rax
je 0x18002c7d1
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 xmm7, xmm4
mov eax, r13d
shufps xmm7, 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, xmm7
shufps xmm6, xmm4, 0xff
minss xmm0, xmm6
movss dword [rsi + 0x1f0], xmm1
movss dword [rsi + 0x1f4], xmm0
movss xmm8, dword [rsi + r15]
movss xmm9, dword [rsi + 0x24]
movaps xmm10, xmm8
movaps xmm12, xmm9
addss xmm8, dword [rsi + 0x28]
addss xmm9, dword [rsi + 0x2c]
addss xmm10, dword [rsi + 0x60]
addss xmm12, dword [rsi + 0x64]
subss xmm8, dword [rsi + 0x68]
subss xmm9, dword [rsi + 0x6c]
movss dword [rsi + 0x1f8], xmm10
movss dword [rsi + 0x1fc], xmm12
movss dword [rsi + 0x200], xmm8
movss dword [rsi + 0x204], xmm9
cmp eax, 1
jne 0x18002c90b
movss xmm11, dword [rsi + 0x5c]
jmp 0x18002c914
movss xmm11, dword [r14 + 0x3818]
movss xmm2, dword [0x18006b2dc]
lea r15, [rsi + 0x208]
movss xmm0, dword [rsi + 0x50]
addss xmm10, xmm2
mulss xmm0, xmm2
addss xmm12, xmm2
lea r13, [rsi + 0x210]
addss xmm8, xmm2
addss xmm9, xmm2
cvttss2si eax, xmm0
subss xmm9, dword [rsi + 0x5c]
addss xmm12, xmm11
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [rsi + 0x5c]
addss xmm10, xmm1
subss xmm8, xmm1
cvttss2si eax, xmm10
movd xmm10, eax
cvttss2si eax, xmm12
cvtdq2ps xmm10, xmm10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm8
movss dword [rsi + 0x20c], xmm0
movss dword [r15], xmm10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm9
movss dword [r13], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x214], xmm0
movss xmm0, dword [r15 + 4]
comiss xmm5, xmm0
jbe 0x18002c9c9
movaps xmm1, xmm5
jmp 0x18002c9d0
movaps xmm1, xmm6
minss xmm1, xmm0
comiss xmm4, xmm10
jbe 0x18002c9db
movaps xmm0, xmm4
jmp 0x18002c9e3
movaps xmm0, xmm7
minss xmm0, xmm10
movss dword [r15], xmm0
movss dword [r15 + 4], xmm1
movss xmm0, dword [r15 + 0xc]
comiss xmm5, xmm0
ja 0x18002ca00
minss xmm6, xmm0
movaps xmm5, xmm6
movss xmm0, dword [r15 + 8]
comiss xmm4, xmm0
ja 0x18002ca12
minss xmm7, xmm0
movaps xmm4, xmm7
movss dword [r15 + 8], xmm4
xorps xmm6, xmm6
movss dword [r15 + 0xc], xmm5
movss xmm0, dword [rsi + 0x28]
comiss xmm0, xmm6
jbe 0x18002ca3f
test dword [rsp + 0x44], 0x2000040
jne 0x18002ca3f
mulss xmm0, dword [0x18006b2e4]
jmp 0x18002ca50
movss xmm0, dword [r14 + 0x3c08]
mulss xmm0, dword [0x18006b390]
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.1800308f0
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.180040e60
mov rcx, qword [0x1800769e8]
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.180040d50
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 0x18002cc73
cmp dword [rsp + 0x48], 0x3000000
je 0x18002cc73
mov r9, qword [rsp + 0x78]
movsxd rax, dword [r9 + 0x190]
cmp eax, 2
jl 0x18002cc35
mov rcx, rax
mov rax, qword [r9 + 0x198]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x18002cc35
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 0x18002cc30
comiss xmm2, xmm5
jbe 0x18002cc30
comiss xmm3, xmm6
jbe 0x18002cc30
comiss xmm4, xmm7
jbe 0x18002cc30
mov r8b, 1
xorps xmm6, xmm6
jmp 0x18002cc3d
xorps xmm6, xmm6
jmp 0x18002cc3a
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 0x18002cc78
mov rax, qword [r9 + 0x298]
cmp dword [rax + 0x20], 0
jle 0x18002cc78
test r8b, r8b
jne 0x18002cc78
mov bl, 1
mov qword [rsi + 0x298], rax
jmp 0x18002cc78
mov rdi, qword [rsp + 0x50]
mov rax, qword [r14 + 0x4a18]
test rax, rax
jne 0x18002cc8b
mov rax, qword [r14 + 0x48b0]
cmp byte [rbp + 0x168], 0
jne 0x18002ccae
test rax, rax
je 0x18002cca9
mov rax, qword [rax + 0x388]
cmp qword [rsi + 0x388], rax
je 0x18002ccae
xor r8b, r8b
jmp 0x18002ccb1
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.18002a710
test bl, bl
je 0x18002cce4
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 0x18002cd3e
jne 0x18002cd3e
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 0x18002cd35
movss xmm7, dword [rsi + 0x38]
maxss xmm7, xmm1
jmp 0x18002cd41
xorps xmm7, xmm7
maxss xmm7, xmm1
jmp 0x18002cd41
movaps xmm7, xmm4
movss xmm5, dword [rsi + 0x4c]
ucomiss xmm5, xmm6
jp 0x18002cd7c
jne 0x18002cd7c
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 0x18002cd76
movss xmm6, dword [rsi + 0x3c]
maxss xmm6, xmm1
jmp 0x18002cd7f
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 0x18002ce92
jne 0x18002ce92
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 0x18002cec3
jne 0x18002cec3
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 0x18002d076
xor eax, eax
mov qword [rbx + 0x12], rax
cvttss2si eax, xmm0
mov rcx, rbx
mov word [rbx + 8], ax
call fcn.18004e300
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 0x18002d0c3
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.180037e60
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 0x18002d0fa
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.180038280
lea rcx, [rsi + 0x1d8]
call fcn.180038280
movzx eax, byte [rsi + 0xd0]
test al, al
jle 0x18002d141
dec al
mov byte [rsi + 0xd0], al
movzx eax, byte [rsi + 0xd1]
test al, al
jle 0x18002d154
dec al
mov byte [rsi + 0xd1], al
cmp byte [rbp + 0x168], r12b
je 0x18002d16f
mov rcx, rsi
call fcn.18002d780
xor edx, edx
mov rcx, rsi
call fcn.180032c10
mov ebx, dword [rsp + 0x44]
movss xmm6, dword [rbp + 0x160]
movss xmm7, dword [rsp + 0x64]
test bl, 1
jne 0x18002d1bf
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.18002ad40
mov rdx, qword [0x1800769e8]
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 0x18002d23a
movss xmm0, dword [rdx + 0xe0c]
comiss xmm0, xmm15
jb 0x18002d23a
comiss xmm2, xmm1
jbe 0x18002d23a
comiss xmm3, xmm0
mov r8d, 1
ja 0x18002d23d
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 0x18002d28f
cmp dword [rsi + 0x10], eax
je 0x18002d28a
cmp dword [rsi + 0x7c], eax
jne 0x18002d28f
call fcn.1800372e0
mov r12d, dword [rbp - 0x48]
jmp 0x18002d327
mov rcx, qword [0x1800769e8]
mov qword [rcx + 0x3ed0], rsi
movsxd rax, dword [rsi + 0x1b0]
cmp eax, 0xffffffff
je 0x18002d2c2
imul rdx, rax, 0x238
add rdx, qword [rcx + 0x4b38]
jmp 0x18002d2c4
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 0x18002d2f2
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.1800279b0
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 0x18002d4d2
cmp dword [rsp + 0x58], 0
je 0x18002d440
test r12d, r12d
jne 0x18002d3f4
cmp byte [rsi + 0xd0], r12b
jg 0x18002d3f4
cmp byte [rsi + 0xd1], r12b
jg 0x18002d3f4
bt ebx, 0x17
jae 0x18002d3bb
cmp byte [r14 + 0x48f0], r12b
je 0x18002d3bb
mov rcx, qword [r14 + 0x48b0]
test rcx, rcx
je 0x18002d3bb
mov rax, qword [rsi + 0x390]
cmp qword [rcx + 0x390], rax
jne 0x18002d3bb
mov al, 1
jmp 0x18002d3bd
xor al, al
cmp byte [r14 + 0x5c58], 0
jne 0x18002d3f4
test al, al
jne 0x18002d3f4
movss xmm0, dword [rsi + 0x1e8]
comiss xmm0, dword [rsi + 0x1f0]
jae 0x18002d3ed
movss xmm0, dword [rsi + 0x1ec]
comiss xmm0, dword [rsi + 0x1f4]
jb 0x18002d3f4
mov byte [rsi + 0xd8], 1
lea rax, [rsi + 0xd8]
test rdi, rdi
je 0x18002d447
cmp byte [rdi + 0xb9], 0
jne 0x18002d41b
cmp byte [rdi + 0xd8], 0
jg 0x18002d41b
lea rax, [rsi + 0xd8]
jmp 0x18002d425
lea rax, [rsi + 0xd8]
mov byte [rax], 1
cmp byte [rdi + 0xb9], 0
jne 0x18002d437
cmp byte [rdi + 0xd9], 0
jle 0x18002d447
mov byte [rsi + 0xd9], 1
jmp 0x18002d447
lea rax, [rsi + 0xd8]
comiss xmm10, dword [r14 + 0x37d0]
jb 0x18002d454
mov byte [rax], 1
cmp byte [rax], 0
jg 0x18002d470
cmp byte [rsi + 0xd9], 0
jg 0x18002d470
xor cl, cl
cmp byte [rsi + 0xda], cl
jg 0x18002d472
xor al, al
jmp 0x18002d474
mov cl, 1
mov al, 1
mov byte [rsi + 0xbd], al
movzx eax, byte [rsi + 0xdb]
test al, al
jle 0x18002d494
dec al
mov byte [rsi + 0xdb], al
or dword [rsi + 0x14], 0xc0200
xor al, al
cmp byte [rsi + 0xb9], al
jne 0x18002d4aa
cmp byte [rsi + 0xb6], al
je 0x18002d4aa
test cl, cl
je 0x18002d4cc
cmp byte [rsi + 0xd0], al
jg 0x18002d4cc
cmp byte [rsi + 0xd1], al
jg 0x18002d4cc
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 0x18002d55c
cmp byte [r14 + 0x84], 0
je 0x18002d50d
cmp qword [rbp - 0x78], 0
je 0x18002d528
cmp byte [r14 + 0x85], 0
je 0x18002d55c
movsx eax, byte [r14 + 0x5cca]
cmp eax, dword [r14 + 0x3ea0]
jne 0x18002d55c
movzx eax, byte [rsi + 0xd0]
test al, al
jle 0x18002d53b
inc al
mov byte [rsi + 0xd0], al
movzx eax, byte [rsi + 0xd1]
test al, al
jle 0x18002d54e
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