Function at 0x18002b190
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 [0x1800759d8]
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.180028bd0
test rax, rax
mov qword [rbp - 0x78], rax
mov rsi, rax
sete dl
mov byte [rbp + 0x160], dl
test rax, rax
jne 0x18002b207
mov edx, ebx
mov rcx, rdi
call fcn.180028fa0
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 0x18002b253
cmp byte [r14 + 0x3e35], 0
je 0x18002b253
mov al, 1
jmp 0x18002b255
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 0x18002b2a2
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 0x18002b2c3
or byte [rsi + 0xdc], 8
or byte [rsi + 0xdd], 8
or byte [rsi + 0xde], 8
xor r12d, r12d
cmp r10d, ebx
je 0x18002b320
mov r8d, edi
mov rcx, rsi
call fcn.180028ca0
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 0x18002b327
mov edi, dword [rsi + 0x14]
mov dword [rsp + 0x44], edi
movsxd rax, dword [r9]
test eax, eax
jne 0x18002b333
mov r15, r12
jmp 0x18002b343
imul rcx, rax, 0x58
mov rax, qword [r14 + 0x3ea8]
mov r15, qword [rcx + rax - 0x58]
cmp r10d, ebx
je 0x18002b357
test edi, 0x5000000
mov rbx, r12
cmovne rbx, r15
jmp 0x18002b35e
mov rbx, qword [rsi + 0x368]
mov qword [rsp + 0x78], rbx
cmp dword [rsi + 0xf0], r12d
jne 0x18002b383
lea rdx, [rsi + 0x10]
lea rcx, [rsi + 0xf0]
call fcn.180038440
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 0x18002b477
inc ecx
test r8d, r8d
je 0x18002b45c
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18002b461
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, r9
call fcn.180038a00
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 0x18002b4cf
inc dword [r14 + 0x4898]
mov eax, dword [rsp + 0x60]
cmp eax, dword [rsp + 0x68]
je 0x18002b581
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 0x18002b551
mov eax, edi
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18002b521
mov rax, qword [rbx + 0x378]
mov qword [rsi + 0x378], rax
bt edi, 0x1a
jae 0x18002b535
mov rax, qword [rbx + 0x380]
mov qword [rsi + 0x380], rax
bt edi, 0x1b
jb 0x18002b551
test edi, 0x5000000
je 0x18002b551
mov rax, qword [rbx + 0x388]
mov qword [rsi + 0x388], rax
test dword [rsi + 0x14], 0x800000
je 0x18002b57a
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 0x18002b560
mov qword [rsi + 0x370], r15
mov rbx, qword [0x1800759d8]
lea rdx, [rbp + 0x168]
mov edi, dword [rsi + 0x10]
mov dword [rbp + 0x168], edi
lea rcx, [rbx + 0x4848]
call fcn.180038440
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 0x18002b610
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.180037b40
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 0x18002b6c1
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 0x18002b6b2
movss xmm0, dword [r14 + 0x47c4]
movss xmm1, dword [r14 + 0x47c0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18006a284]
jbe 0x18002b6b2
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 0x18002b6c1
lea rdx, [r14 + 0x47b8]
mov rcx, rsi
call fcn.18002db40
test byte [r14 + 0x47a8], 2
xorps xmm10, xmm10
je 0x18002b716
movsx eax, byte [rsi + 0xdd]
lea rdx, [r14 + 0x47c8]
mov r8d, dword [r14 + 0x47b0]
and eax, r8d
je 0x18002b6f8
movss xmm0, dword [rdx]
comiss xmm0, xmm10
jbe 0x18002b6f8
mov r15b, 1
jmp 0x18002b6fc
test eax, eax
je 0x18002b70e
movss xmm0, dword [r14 + 0x47cc]
comiss xmm0, xmm10
jbe 0x18002b70e
mov r13b, 1
mov rcx, rsi
call fcn.18002dcb0
test byte [r14 + 0x47a8], 0x80
je 0x18002b75c
movss xmm0, dword [r14 + 0x47d8]
comiss xmm0, xmm10
jb 0x18002b73e
movss dword [rsi + 0x94], xmm0
mov dword [rsi + 0x9c], r10d
movss xmm0, dword [r14 + 0x47dc]
comiss xmm0, xmm10
jb 0x18002b75c
movss dword [rsi + 0x98], xmm0
mov dword [rsi + 0xa0], r10d
test byte [r14 + 0x47a8], 4
mov edi, dword [rsp + 0x68]
je 0x18002b77a
movsd xmm0, qword [r14 + 0x47d0]
movsd qword [rsi + 0x48], xmm0
jmp 0x18002b784
cmp dword [rsp + 0x60], edi
je 0x18002b784
mov qword [rsi + 0x48], r12
test byte [r14 + 0x47a8], 8
je 0x18002b7d5
mov ecx, dword [r14 + 0x47b4]
movzx edx, byte [r14 + 0x47e0]
test ecx, ecx
je 0x18002b7ac
movsx eax, byte [rsi + 0xde]
test ecx, eax
je 0x18002b7d5
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 0x18002b7e7
mov rcx, rsi
call fcn.18002d790
cmp byte [rsi + 0xbc], r12b
je 0x18002b805
and byte [rsi + 0xdc], 0xf7
and byte [rsi + 0xdd], 0xf7
and byte [rsi + 0xde], 0xf7
mov ecx, 1
cmp dword [rsp + 0x60], edi
je 0x18002d2b5
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.180038510
mov rcx, qword [rsi + 0x298]
call fcn.1800407b0
mov dword [rsi + 0x1b0], 0xffffffff
cmp byte [rsi + 0x3d4], r12b
je 0x18002b917
mov rcx, qword [rsi + 0x298]
mov edx, dword [rsi + 0x3cc]
add rcx, 0x10
mov byte [rsi + 0x3d4], r12b
call fcn.180038830
mov rcx, qword [rsi + 0x298]
mov edx, dword [rsi + 0x3d0]
add rcx, 0x20
call fcn.1800385f0
xor eax, eax
mov qword [rsi + 0x3cc], rax
mov r10, qword [rbp - 0x78]
cmp qword [r14 + 0x4a28], r12
je 0x18002b9e4
test dword [rsi + 0x14], 0x80000
jne 0x18002b9e4
test r10, r10
je 0x18002b9e4
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 0x18002b965
inc rax
test ecx, ecx
jne 0x18002b952
test edx, edx
je 0x18002b9e4
movsxd rdi, dword [rsi + 0x78]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r12 + rbx], 0
jne 0x18002b974
inc rbx
cmp rdi, rbx
jae 0x18002b9c7
test r9, r9
je 0x18002b99d
mov rax, qword [0x1800759d8]
test rax, rax
je 0x18002b99d
dec dword [rax + 0xf4]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1800759d8]
test rax, rax
je 0x18002b9b8
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.180029400
movzx eax, byte [rsi + 0xd8]
test al, al
jle 0x18002ba07
dec al
mov byte [rsi + 0xd8], al
movzx eax, byte [rsi + 0xd9]
test al, al
jle 0x18002ba1a
dec al
mov byte [rsi + 0xd9], al
movzx eax, byte [rsi + 0xda]
test al, al
jle 0x18002ba2d
dec al
mov byte [rsi + 0xda], al
test r10, r10
jne 0x18002ba43
test r15b, r15b
je 0x18002ba3c
test r13b, r13b
jne 0x18002ba43
mov byte [rsi + 0xd9], 1
xor r11d, r11d
cmp byte [rbp + 0x158], r11b
je 0x18002ba8c
test ebx, 0x6000000
je 0x18002ba8c
mov byte [rsi + 0xd9], 1
test bl, 0x40
je 0x18002ba8c
test r15b, r15b
jne 0x18002ba70
mov dword [rsi + 0x30], r11d
mov dword [rsi + 0x28], r11d
test r13b, r13b
jne 0x18002ba7d
mov dword [rsi + 0x34], r11d
mov dword [rsi + 0x2c], r11d
mov qword [rsi + 0x40], 0
mov qword [rdx], 0
mov rdx, qword [0x1800759d8]
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 0x18002bac4
imul rcx, rax, 0x238
add rcx, qword [rdx + 0x4b38]
jmp 0x18002bac7
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 0x18002baf5
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 0x18002bb1d
movss xmm1, dword [r14 + 0x3800]
jmp 0x18002bb3f
test ebx, 0x6000000
je 0x18002bb36
bt ebx, 0x1b
jb 0x18002bb36
movss xmm1, dword [r14 + 0x3808]
jmp 0x18002bb3f
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 0x18002bb86
ucomiss xmm1, xmm10
jp 0x18002bb86
jne 0x18002bb86
bt ebx, 0xa
jae 0x18002bb79
movss xmm0, dword [r14 + 0x37dc]
jmp 0x18002bb7d
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 0x18002bd13
mov r8d, dword [rsi + 0x14]
mov rcx, qword [rsi]
test r8b, 1
je 0x18002bbdb
movaps xmm2, xmm10
jmp 0x18002bc0f
mov rax, qword [rsi + 0x368]
movss xmm0, dword [rcx + 0x3c0c]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18002bbff
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 0x18002bcc8
cmp dword [r14 + 0x3f1c], 0
jne 0x18002bcc8
cmp dword [r14 + 0x3f20], 0
jne 0x18002bcc8
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 0x18002bcc8
movss xmm0, dword [rdx + 0xe0c]
comiss xmm0, xmm5
jb 0x18002bcc8
comiss xmm3, xmm1
jbe 0x18002bcc8
comiss xmm2, xmm0
jbe 0x18002bcc8
cmp word [r14 + 0x3752], 2
jne 0x18002bcc8
mov byte [rsi + 0xba], 1
cmp byte [rsi + 0xba], 0
je 0x18002bd1a
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 0x18002bd1a
comiss xmm10, dword [rdx + 0x5bc4]
jb 0x18002bd1a
mov eax, dword [rdx + 0x1c]
mov dword [rdx + 0x5bc4], eax
jmp 0x18002bd1a
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 0x18002bd4e
movaps xmm2, xmm10
jmp 0x18002bd82
mov rcx, qword [rsi + 0x368]
movss xmm0, dword [rdx + 0x3c0c]
mulss xmm0, dword [rsi + 0x290]
test rcx, rcx
je 0x18002bd72
mulss xmm0, dword [rcx + 0x290]
movss xmm2, dword [rdx + 0x3810]
addss xmm2, xmm2
addss xmm2, xmm0
bt r8d, 0xa
jae 0x18002bdc7
mov rax, qword [rsi + 0x368]
movss xmm1, dword [rdx + 0x3c0c]
mulss xmm1, dword [rsi + 0x290]
test rax, rax
je 0x18002bdad
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rdx + 0x3810]
addss xmm1, dword [rsi + 0x168]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x18002bdcb
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.180029510
mov eax, ebx
lea r12, [rsi + 0xb9]
and eax, 0x40
mov dword [rbp - 0x48], eax
je 0x18002be46
cmp byte [r12], 0
mov qword [rbp - 0x80], r12
jne 0x18002be46
test r15b, r15b
jne 0x18002be27
movss xmm0, dword [rsp + 0x70]
movss dword [rsi + 0x30], xmm0
mov byte [rbp + 0x160], 1
test r13b, r13b
jne 0x18002bf05
movss xmm0, dword [rsp + 0x74]
mov al, 1
movss dword [rsi + 0x34], xmm0
mov dword [rsp + 0x5c], eax
jmp 0x18002bf05
movzx eax, byte [rsi + 0xd0]
mov rcx, r12
test al, al
jg 0x18002be65
cmp byte [rsi + 0xd1], 0
mov qword [rbp - 0x80], rcx
jle 0x18002bf05
test r15b, r15b
jne 0x18002be96
test al, al
jle 0x18002be96
cmp byte [rsi + 0xd3], r15b
je 0x18002be84
movss xmm0, dword [rsi + 0x30]
maxss xmm0, dword [rsp + 0x70]
jmp 0x18002be8a
movss xmm0, dword [rsp + 0x70]
movss dword [rsi + 0x30], xmm0
mov byte [rbp + 0x160], 1
test r13b, r13b
jne 0x18002becb
cmp byte [rsi + 0xd1], r13b
jle 0x18002becb
cmp byte [rsi + 0xd3], r13b
je 0x18002beba
movss xmm0, dword [rsi + 0x34]
maxss xmm0, dword [rsp + 0x74]
jmp 0x18002bec0
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 0x18002bf05
test dword [rsi + 0x14], 0x100
mov rdx, qword [0x1800759d8]
mov qword [rbp - 0x80], rcx
jne 0x18002bf05
comiss xmm10, dword [rdx + 0x5bc4]
mov qword [rbp - 0x80], rcx
jb 0x18002bf05
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.1800291e0
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 0x18002bf9a
test edx, edx
jne 0x18002bf9a
test byte [rsi + 0x14], 1
mov rcx, qword [rsi]
je 0x18002bf46
movaps xmm1, xmm10
jmp 0x18002bf7a
mov rax, qword [rsi + 0x368]
movss xmm0, dword [rcx + 0x3c0c]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18002bf6a
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 0x18002bfa4
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 0x18002c018
mov eax, ebx
mov dword [rsi + 0xd4], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18002c018
test r15b, r15b
jne 0x18002c018
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 0x18002c0a4
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 0x18002c06f
inc r8d
test ecx, ecx
je 0x18002c053
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002c058
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180037e80
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 0x18002c0ac
test r15b, r15b
jne 0x18002c0ac
cmp eax, 0x3000000
je 0x18002c0ac
movsd xmm0, qword [rdx + 0x100]
movsd qword [r12 + r13], xmm0
jmp 0x18002c0ac
mov ebx, dword [rsp + 0x64]
mov eax, dword [rsp + 0x48]
movss xmm1, dword [rsi + 0xe0]
ucomiss xmm1, dword [0x18006a3ec]
jp 0x18002c0bf
je 0x18002c11b
cmp byte [rsi + 0xd9], 0
jne 0x18002c11b
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.18002db40
mov r13d, dword [rsp + 0x44]
jmp 0x18002c17e
cmp dword [rbp - 0x4c], 0
je 0x18002c134
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.180031790
mov r13d, dword [rsp + 0x44]
jmp 0x18002c168
test ebx, ebx
je 0x18002c144
test r15b, r15b
jne 0x18002c144
cmp byte [rsp + 0x40], r15b
jg 0x18002c121
mov r13d, dword [rsp + 0x44]
bt r13d, 0x19
jae 0x18002c17e
mov rdx, rsi
test r15b, r15b
jne 0x18002c181
cmp eax, 0x3000000
je 0x18002c181
lea rcx, [rbp - 0x70]
call fcn.180031790
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 [0x1800759d8]
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 0x18002c2de
test r8d, r8d
jne 0x18002c2de
subss xmm4, xmm8
comiss xmm4, xmm10
jbe 0x18002c2de
subss xmm5, xmm9
comiss xmm5, xmm10
jbe 0x18002c2de
movss xmm0, dword [rsi + 0x2c]
cmp byte [r12 + 0x7f], r15b
je 0x18002c29c
test byte [rsi + 0x14], 1
jne 0x18002c29c
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x368]
movss xmm1, dword [rcx + 0x3c0c]
mulss xmm1, dword [rsi + 0x290]
test rax, rax
je 0x18002c28c
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 0x18002c2bd
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rdx + r15]
comiss xmm2, xmm0
ja 0x18002c2cf
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [rdx + r15], xmm2
movss dword [rdx + r15 + 4], xmm3
jmp 0x18002c2e3
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 0x18002c31b
movss xmm0, dword [r14 + 0x37fc]
jmp 0x18002c33e
mov eax, r13d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18002c335
movss xmm0, dword [r14 + 0x3804]
jmp 0x18002c33e
movss xmm0, dword [r14 + 0x37e0]
xor cl, cl
movss dword [rsi + 0x58], xmm0
mov dword [rbp + 0x168], ecx
cmp byte [rbp + 0x158], cl
je 0x18002c569
bt r13d, 0xc
jb 0x18002c569
test ebx, ebx
je 0x18002c36f
mov byte [rbp + 0x168], 1
jmp 0x18002c385
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 0x18002c569
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 0x18002c3c1
test dword [rcx + 0x14], 0x8000000
jne 0x18002c3d0
sub r8, 0x38
sub rdx, 1
jns 0x18002c3b0
jmp 0x18002c569
mov r15, qword [rsi + 0x378]
mov rax, rsi
cmp r15, rcx
je 0x18002c564
cmp rax, rcx
je 0x18002c564
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18002c3e3
mov byte [rbp + 0x168], al
cmp rsi, r15
jne 0x18002c564
mov r8, qword [r12 + 0x4880]
add r8, 8
add r8, r9
mov rdx, qword [r8]
test rdx, rdx
je 0x18002c494
test dword [rdx + 0x14], 0x8000000
je 0x18002c494
cmp byte [rdx + 0xb6], 0
jne 0x18002c439
cmp byte [rdx + 0xb7], 0
je 0x18002c494
mov rax, rsi
cmp r15, rdx
je 0x18002c4a2
cmp rax, rdx
je 0x18002c4a2
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18002c441
mov rax, qword [rdx + 0x370]
mov rcx, qword [rax + 0x378]
test rcx, rcx
je 0x18002c494
mov rax, rsi
cmp r15, rcx
je 0x18002c4a4
nop dword [rax]
cmp rax, rcx
je 0x18002c4a4
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18002c470
mov rax, qword [rcx + 0x370]
mov rcx, qword [rax + 0x378]
test rcx, rcx
jne 0x18002c465
sub r8, 0x38
sub r10, 1
jns 0x18002c416
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 0x18002c4d5
cmp qword [r9], r15
je 0x18002c4d5
add r9, 8
cmp r9, rcx
jb 0x18002c4c7
sub r9, rdx
mov rdi, rdx
sar r9, 3
cmp rdx, rcx
jae 0x18002c4f2
cmp qword [rdi], r8
je 0x18002c4f2
add rdi, 8
cmp rdi, rcx
jb 0x18002c4e4
sub rdi, rdx
mov r10, rdx
sar rdi, 3
cmp r9d, edi
jge 0x18002c538
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 0x18002c564
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 [0x18006a2a4]
xor r9d, r9d
cmp byte [r14 + 0x7e], r9b
mov r12d, r9d
mulss xmm2, dword [0x18006a2f4]
setne r12b
mov dword [rbp - 0x50], 0xffffffff
movups xmmword [rbp + 0x48], xmm0
inc r12d
movss xmm0, dword [rsi + 0x58]
addss xmm0, dword [0x18006a2f0]
addss xmm1, xmm0
maxss xmm2, xmm1
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
cmp byte [rbx], r9b
jne 0x18002c600
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.180029870
test al, al
je 0x18002c600
mov cl, 1
movzx edx, cl
jmp 0x18002c60b
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 0x18002c76f
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 0x18002c678
mov qword [rbp - 0x44], 0
lea rax, [rbp - 0x44]
jmp 0x18002c6a2
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 0x18002c6b2
movaps xmm5, xmm2
test cl, cl
jne 0x18002c6b9
movaps xmm4, xmm3
bt r13d, 0xe
jb 0x18002c6cf
comiss xmm1, xmm4
jbe 0x18002c6cb
test r13b, 8
je 0x18002c6cf
xor cl, cl
jmp 0x18002c6d1
mov cl, 1
mov byte [rsi + 0xb5], cl
lea rdx, [r14 + 0x3844]
bt r13d, 0xf
jb 0x18002c718
test cl, cl
je 0x18002c6ef
movss xmm0, dword [rdx]
jmp 0x18002c6f3
movaps xmm0, xmm10
subss xmm5, xmm0
comiss xmm7, xmm5
jbe 0x18002c70b
mov eax, r13d
and eax, 0x808
cmp eax, 0x800
je 0x18002c718
mov byte [rsi + 0xb4], 0
movaps xmm1, xmm10
jmp 0x18002c73e
mov byte [rsi + 0xb4], 1
test cl, cl
jne 0x18002c73a
comiss xmm1, xmm4
jbe 0x18002c732
test r13b, 8
jne 0x18002c732
mov cl, 1
jmp 0x18002c734
xor cl, cl
mov byte [rsi + 0xb5], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x18002c748
movss xmm0, dword [rdx]
jmp 0x18002c74c
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 0x18002c797
cmp dword [rsp + 0x48], 0x3000000
je 0x18002c797
mov rax, qword [rsp + 0x78]
add rax, 0x238
jmp 0x18002c79b
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 0x18002c7cd
movaps xmm0, xmm10
jmp 0x18002c801
mov rax, qword [rsi + 0x368]
movss xmm1, dword [rcx + 0x3c0c]
mulss xmm1, dword [rsi + 0x290]
test rax, rax
je 0x18002c7f1
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 0x18002c92c
movss xmm9, dword [rsi + 0x5c]
jmp 0x18002c935
movss xmm9, dword [r14 + 0x3818]
movss xmm2, dword [0x18006a2bc]
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 0x18002c9e5
movaps xmm1, xmm5
jmp 0x18002c9ec
movaps xmm1, xmm6
minss xmm1, xmm0
comiss xmm4, xmm7
jbe 0x18002c9f6
movaps xmm0, xmm4
jmp 0x18002c9fe
movaps xmm0, xmm8
minss xmm0, xmm7
movss dword [r15], xmm0
movss dword [r15 + 4], xmm1
movss xmm0, dword [r15 + 0xc]
comiss xmm5, xmm0
ja 0x18002ca1b
minss xmm6, xmm0
movaps xmm5, xmm6
movss xmm0, dword [r15 + 8]
comiss xmm4, xmm0
ja 0x18002ca2f
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 0x18002ca5c
test dword [rsp + 0x44], 0x2000040
jne 0x18002ca5c
mulss xmm0, dword [0x18006a2c4]
jmp 0x18002ca6d
movss xmm0, dword [r14 + 0x3c08]
mulss xmm0, dword [0x18006a35c]
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.180030910
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 [0x1800759d8]
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 0x18002cc90
cmp dword [rsp + 0x48], 0x3000000
je 0x18002cc90
mov r9, qword [rsp + 0x78]
movsxd rax, dword [r9 + 0x190]
cmp eax, 2
jl 0x18002cc52
mov rcx, rax
mov rax, qword [r9 + 0x198]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x18002cc52
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 0x18002cc4d
comiss xmm2, xmm5
jbe 0x18002cc4d
comiss xmm3, xmm6
jbe 0x18002cc4d
comiss xmm4, xmm7
jbe 0x18002cc4d
mov r8b, 1
xorps xmm6, xmm6
jmp 0x18002cc5a
xorps xmm6, xmm6
jmp 0x18002cc57
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 0x18002cc95
mov rax, qword [r9 + 0x298]
cmp dword [rax + 0x20], 0
jle 0x18002cc95
test r8b, r8b
jne 0x18002cc95
mov bl, 1
mov qword [rsi + 0x298], rax
jmp 0x18002cc95
mov rdi, qword [rsp + 0x50]
mov rax, qword [r14 + 0x4a18]
test rax, rax
jne 0x18002cca8
mov rax, qword [r14 + 0x48b0]
cmp byte [rbp + 0x168], 0
jne 0x18002cccb
test rax, rax
je 0x18002ccc6
mov rax, qword [rax + 0x388]
cmp qword [rsi + 0x388], rax
je 0x18002cccb
xor r8b, r8b
jmp 0x18002ccce
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.18002a730
test bl, bl
je 0x18002cd01
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 0x18002cd5b
jne 0x18002cd5b
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 0x18002cd52
movss xmm7, dword [rsi + 0x38]
maxss xmm7, xmm1
jmp 0x18002cd5e
xorps xmm7, xmm7
maxss xmm7, xmm1
jmp 0x18002cd5e
movaps xmm7, xmm4
movss xmm5, dword [rsi + 0x4c]
ucomiss xmm5, xmm6
jp 0x18002cd99
jne 0x18002cd99
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 0x18002cd93
movss xmm6, dword [rsi + 0x3c]
maxss xmm6, xmm1
jmp 0x18002cd9c
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 0x18002ceaf
jne 0x18002ceaf
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 0x18002cee0
jne 0x18002cee0
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 0x18002d093
xor eax, eax
mov qword [rbx + 0x12], rax
cvttss2si eax, xmm0
mov rcx, rbx
mov word [rbx + 8], ax
call fcn.18004e2f0
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 0x18002d0e0
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.180037e80
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 0x18002d117
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.1800382a0
lea rcx, [rsi + 0x1d8]
call fcn.1800382a0
movzx eax, byte [rsi + 0xd0]
test al, al
jle 0x18002d15e
dec al
mov byte [rsi + 0xd0], al
movzx eax, byte [rsi + 0xd1]
test al, al
jle 0x18002d171
dec al
mov byte [rsi + 0xd1], al
cmp byte [rbp + 0x168], r12b
je 0x18002d18c
mov rcx, rsi
call fcn.18002d790
xor edx, edx
mov rcx, rsi
call fcn.180032c30
mov ebx, dword [rsp + 0x44]
movss xmm6, dword [rbp + 0x160]
movss xmm7, dword [rsp + 0x64]
test bl, 1
jne 0x18002d1dc
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.18002ad60
mov rdx, qword [0x1800759d8]
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 0x18002d257
movss xmm0, dword [rdx + 0xe0c]
comiss xmm0, xmm15
jb 0x18002d257
comiss xmm2, xmm1
jbe 0x18002d257
comiss xmm3, xmm0
mov r8d, 1
ja 0x18002d25a
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 0x18002d2ac
cmp dword [rsi + 0x10], eax
je 0x18002d2a7
cmp dword [rsi + 0x7c], eax
jne 0x18002d2ac
call fcn.180037300
mov r12d, dword [rbp - 0x48]
jmp 0x18002d344
mov rcx, qword [0x1800759d8]
mov qword [rcx + 0x3ed0], rsi
movsxd rax, dword [rsi + 0x1b0]
cmp eax, 0xffffffff
je 0x18002d2df
imul rdx, rax, 0x238
add rdx, qword [rcx + 0x4b38]
jmp 0x18002d2e1
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 0x18002d30f
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.1800279d0
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 0x18002d4ef
cmp dword [rsp + 0x58], 0
je 0x18002d45d
test r12d, r12d
jne 0x18002d411
cmp byte [rsi + 0xd0], r12b
jg 0x18002d411
cmp byte [rsi + 0xd1], r12b
jg 0x18002d411
bt ebx, 0x17
jae 0x18002d3d8
cmp byte [r14 + 0x48f0], r12b
je 0x18002d3d8
mov rcx, qword [r14 + 0x48b0]
test rcx, rcx
je 0x18002d3d8
mov rax, qword [rsi + 0x390]
cmp qword [rcx + 0x390], rax
jne 0x18002d3d8
mov al, 1
jmp 0x18002d3da
xor al, al
cmp byte [r14 + 0x5c58], 0
jne 0x18002d411
test al, al
jne 0x18002d411
movss xmm0, dword [rsi + 0x1e8]
comiss xmm0, dword [rsi + 0x1f0]
jae 0x18002d40a
movss xmm0, dword [rsi + 0x1ec]
comiss xmm0, dword [rsi + 0x1f4]
jb 0x18002d411
mov byte [rsi + 0xd8], 1
lea rax, [rsi + 0xd8]
test rdi, rdi
je 0x18002d464
cmp byte [rdi + 0xb9], 0
jne 0x18002d438
cmp byte [rdi + 0xd8], 0
jg 0x18002d438
lea rax, [rsi + 0xd8]
jmp 0x18002d442
lea rax, [rsi + 0xd8]
mov byte [rax], 1
cmp byte [rdi + 0xb9], 0
jne 0x18002d454
cmp byte [rdi + 0xd9], 0
jle 0x18002d464
mov byte [rsi + 0xd9], 1
jmp 0x18002d464
lea rax, [rsi + 0xd8]
comiss xmm10, dword [r14 + 0x37d0]
jb 0x18002d471
mov byte [rax], 1
cmp byte [rax], 0
jg 0x18002d48d
cmp byte [rsi + 0xd9], 0
jg 0x18002d48d
xor cl, cl
cmp byte [rsi + 0xda], cl
jg 0x18002d48f
xor al, al
jmp 0x18002d491
mov cl, 1
mov al, 1
mov byte [rsi + 0xbd], al
movzx eax, byte [rsi + 0xdb]
test al, al
jle 0x18002d4b1
dec al
mov byte [rsi + 0xdb], al
or dword [rsi + 0x14], 0xc0200
xor al, al
cmp byte [rsi + 0xb9], al
jne 0x18002d4c7
cmp byte [rsi + 0xb6], al
je 0x18002d4c7
test cl, cl
je 0x18002d4e9
cmp byte [rsi + 0xd0], al
jg 0x18002d4e9
cmp byte [rsi + 0xd1], al
jg 0x18002d4e9
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 0x18002d579
cmp byte [r14 + 0x84], 0
je 0x18002d52a
cmp qword [rbp - 0x78], 0
je 0x18002d545
cmp byte [r14 + 0x85], 0
je 0x18002d579
movsx eax, byte [r14 + 0x5cca]
cmp eax, dword [r14 + 0x3ea0]
jne 0x18002d579
movzx eax, byte [rsi + 0xd0]
test al, al
jle 0x18002d558
inc al
mov byte [rsi + 0xd0], al
movzx eax, byte [rsi + 0xd1]
test al, al
jle 0x18002d56b
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