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

Disassembly:
mov r11, rsp
push rbp
push rsi
push r14
lea rbp, [r11 - 0x108]
sub rsp, 0x1f0
mov rax, qword [0x18009d240]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r14, qword [0x1800b7ea8]
mov qword [r11 + 0x10], rbx
mov rbx, rcx
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], r12
mov r12d, r8d
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x38], r15
movaps xmmword [r11 - 0xc8], xmm14
mov qword [rbp - 0x80], rcx
call fcn.180029c80
test rax, rax
mov qword [rsp + 0x60], rax
mov rsi, rax
sete dl
mov byte [rsp + 0x41], dl
test rax, rax
jne 0x18002c38f
mov edx, r12d
mov rcx, rbx
call fcn.18002a060
movzx edx, byte [rsp + 0x41]
mov rsi, rax
mov ecx, r12d
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x18002c3a4
or r12d, 6
cmp dword [r14 + 0x3e98], 0
mov r13d, dword [r14 + 0x3e48]
mov r9d, dword [rsi + 0x260]
mov dword [rsp + 0x5c], r13d
mov dword [rsp + 0x58], r9d
jne 0x18002c3d4
cmp byte [r14 + 0x3e55], 0
je 0x18002c3d4
mov al, 1
jmp 0x18002c3d6
xor al, al
mov byte [rsi + 0xbe], al
lea eax, [r13 - 1]
cmp r9d, eax
setl r8b
mov byte [rsp + 0x40], r8b
bt r12d, 0x1a
jae 0x18002c421
movsxd rax, dword [r14 + 0x4880]
imul rax, rax, 0x38
add rax, qword [r14 + 0x4878]
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 [rsp + 0x40], r8b
mov byte [rsi + 0xbc], r8b
test r8b, r8b
je 0x18002c442
or byte [rsi + 0xdc], 8
or byte [rsi + 0xdd], 8
or byte [rsi + 0xde], 8
xor ebx, ebx
cmp r9d, r13d
je 0x18002c498
mov r8d, r12d
mov rcx, rsi
call fcn.180029d50
mov r9d, dword [rsp + 0x58]
mov dword [rsi + 0x14], r12d
mov dword [rsi + 0x260], r13d
movsd xmm0, qword [r14 + 0x3e40]
mov word [rsi + 0xc6], bx
cvtpd2ps xmm0, xmm0
movss dword [rsi + 0x264], xmm0
movzx eax, word [r14 + 0x3eb8]
inc dword [r14 + 0x3eb8]
mov word [rsi + 0xc8], ax
jmp 0x18002c49c
mov r12d, dword [rsi + 0x14]
movsxd rax, dword [r14 + 0x3e98]
test eax, eax
jne 0x18002c4ac
mov r15, rbx
jmp 0x18002c4bc
imul rcx, rax, 0x58
mov rax, qword [r14 + 0x3ea0]
mov r15, qword [rcx + rax - 0x58]
cmp r9d, r13d
je 0x18002c4d1
test r12d, 0x5000000
mov rdi, rbx
cmovne rdi, r15
jmp 0x18002c4d8
mov rdi, qword [rsi + 0x368]
mov qword [rsp + 0x68], rdi
cmp dword [rsi + 0xf0], ebx
jne 0x18002c4f5
lea rdx, [rsi + 0x10]
lea rcx, [rsi + 0xf0]
call fcn.180039120
mov eax, dword [r14 + 0x479c]
lea rbx, [r14 + 0x3e98]
movups xmm1, xmmword [r14 + 0x4774]
mov dword [rbp - 0x30], eax
mov qword [r14 + 0x3ec8], rsi
xorps xmm0, xmm0
movzx eax, word [rsi + 0xf0]
mov r8d, dword [rbx + 4]
mov ecx, dword [rbx]
mov qword [rbp - 0x70], rsi
movups xmmword [rbp - 0x2c], xmm0
mov word [rbp - 0x2c], ax
movzx eax, word [r14 + 0x4810]
mov word [rbp - 0x2a], ax
movzx eax, word [r14 + 0x4820]
mov word [rbp - 0x28], ax
movzx eax, word [r14 + 0x4830]
mov word [rbp - 0x26], ax
movzx eax, word [r14 + 0x4840]
mov word [rbp - 0x24], ax
movzx eax, word [r14 + 0x4860]
mov word [rbp - 0x22], ax
movzx eax, word [r14 + 0x4850]
mov word [rbp - 0x20], ax
movzx eax, word [r14 + 0x4880]
mov word [rbp - 0x1e], ax
movzx eax, word [r14 + 0x5b58]
mov word [rbp - 0x1c], ax
movups xmm0, xmmword [r14 + 0x4764]
movups xmmword [rbp - 0x58], xmm1
movsd xmm1, qword [r14 + 0x4794]
movsd qword [rbp - 0x38], xmm1
movups xmmword [rbp - 0x68], xmm0
movups xmm0, xmmword [r14 + 0x4784]
movups xmmword [rbp - 0x48], xmm0
cmp ecx, r8d
jne 0x18002c5e8
inc ecx
test r8d, r8d
je 0x18002c5d4
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18002c5d9
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180039770
movsxd rax, dword [rbx]
movaps xmm0, xmmword [rbp - 0x70]
movaps xmm1, xmmword [rbp - 0x60]
imul rcx, rax, 0x58
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm0
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x40]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rcx + rax + 0x30], xmm1
movsd xmm1, qword [rbp - 0x20]
movups xmmword [rcx + rax + 0x40], xmm0
movsd qword [rcx + rax + 0x50], xmm1
inc dword [rbx]
bt r12d, 0x1c
jae 0x18002c63a
inc dword [r14 + 0x4890]
cmp dword [rsp + 0x58], r13d
je 0x18002c6f1
mov qword [rsi + 0x368], rdi
mov qword [rsi + 0x390], rsi
mov qword [rsi + 0x388], rsi
mov qword [rsi + 0x380], rsi
mov qword [rsi + 0x378], rsi
test rdi, rdi
je 0x18002c6bd
mov eax, r12d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18002c68a
mov rax, qword [rdi + 0x378]
mov qword [rsi + 0x378], rax
bt r12d, 0x1a
jae 0x18002c69f
mov rax, qword [rdi + 0x380]
mov qword [rsi + 0x380], rax
bt r12d, 0x1b
jb 0x18002c6bd
test r12d, 0x5000000
je 0x18002c6bd
mov rax, qword [rdi + 0x388]
mov qword [rsi + 0x388], rax
test dword [rsi + 0x14], 0x800000
je 0x18002c6ea
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 0x18002c6d0
mov qword [rsi + 0x370], r15
mov rbx, qword [0x1800b7ea8]
lea rdx, [rbp - 0x10]
mov edi, dword [rsi + 0x10]
mov dword [rbp - 0x10], edi
lea rcx, [rbx + 0x4840]
call fcn.180039120
mov dword [rbx + 0x4744], edi
xor r10d, r10d
mov eax, dword [r14 + 0x4744]
mov dword [rsi + 0x3c8], eax
mov qword [r14 + 0x3ec8], r10
bt r12d, 0x1a
jae 0x18002c76c
movsxd rax, dword [r14 + 0x4880]
lea rcx, [r14 + 0x4880]
imul rbx, rax, 0x38
add rbx, qword [r14 + 0x4878]
mov rdx, rbx
mov qword [rbx + 8], rsi
mov eax, dword [r15 + 0x158]
mov dword [rbx + 0x18], eax
call fcn.1800388e0
mov eax, dword [rbx]
xor r10d, r10d
mov dword [rsi + 0xcc], eax
xor dl, dl
xor r15b, r15b
xor r13b, r13b
mov byte [rsp + 0x42], dl
test byte [r14 + 0x47a0], 1
je 0x18002c816
movsx ecx, byte [rsi + 0xdc]
mov r8d, dword [r14 + 0x47a4]
test r8d, ecx
setne dl
mov byte [rsp + 0x42], dl
test r8d, ecx
je 0x18002c807
movss xmm0, dword [r14 + 0x47bc]
movss xmm1, dword [r14 + 0x47b8]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180090b9c]
jbe 0x18002c807
movsd xmm0, qword [r14 + 0x47b0]
and ecx, 0xf1
mov eax, dword [rsi + 0xdc]
and eax, 0xffffff00
movsd qword [rsi + 0xe0], xmm0
movsd xmm1, qword [r14 + 0x47b8]
or ecx, eax
mov dword [rsi + 0xdc], ecx
movsd qword [rsi + 0xe8], xmm1
jmp 0x18002c816
lea rdx, [r14 + 0x47b0]
mov rcx, rsi
call fcn.18002eea0
test byte [r14 + 0x47a0], 2
xorps xmm14, xmm14
je 0x18002c873
movsx eax, byte [rsi + 0xdd]
mov r8d, dword [r14 + 0x47a8]
and eax, r8d
je 0x18002c84b
movss xmm0, dword [r14 + 0x47c0]
comiss xmm0, xmm14
jbe 0x18002c84b
mov r15b, 1
jmp 0x18002c852
xor r15b, r15b
test eax, eax
je 0x18002c864
movss xmm0, dword [r14 + 0x47c4]
comiss xmm0, xmm14
jbe 0x18002c864
mov r13b, 1
lea rdx, [r14 + 0x47c0]
mov rcx, rsi
call fcn.18002f010
test byte [r14 + 0x47a0], 0x80
je 0x18002c8b9
movss xmm0, dword [r14 + 0x47d0]
comiss xmm0, xmm14
jb 0x18002c89b
movss dword [rsi + 0x94], xmm0
mov dword [rsi + 0x9c], r10d
movss xmm0, dword [r14 + 0x47d4]
comiss xmm0, xmm14
jb 0x18002c8b9
movss dword [rsi + 0x98], xmm0
mov dword [rsi + 0xa0], r10d
test byte [r14 + 0x47a0], 4
mov ebx, dword [rsp + 0x5c]
mov edi, dword [rsp + 0x58]
je 0x18002c8db
movsd xmm0, qword [r14 + 0x47c8]
movsd qword [rsi + 0x48], xmm0
jmp 0x18002c8e7
cmp edi, ebx
je 0x18002c8e7
mov qword [rsi + 0x48], 0
test byte [r14 + 0x47a0], 8
je 0x18002c938
mov ecx, dword [r14 + 0x47ac]
movzx edx, byte [r14 + 0x47d8]
test ecx, ecx
je 0x18002c90f
movsx eax, byte [rsi + 0xde]
test ecx, eax
je 0x18002c938
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 + 0x47a0], 0x20
je 0x18002c94a
mov rcx, rsi
call fcn.18002e910
cmp byte [rsi + 0xbc], 0
je 0x18002c968
and byte [rsi + 0xdc], 0xf7
and byte [rsi + 0xdd], 0xf7
and byte [rsi + 0xde], 0xf7
mov edx, 1
cmp edi, ebx
je 0x18002e371
movaps xmmword [rsp + 0x1c0], xmm6
lea rcx, [rsi + 0xf0]
movaps xmmword [rsp + 0x1b0], xmm7
mov eax, r12d
movaps xmmword [rsp + 0x1a0], xmm8
and eax, 0x3000000
movaps xmmword [rsp + 0x190], xmm9
movaps xmmword [rsp + 0x180], xmm10
movaps xmmword [rsp + 0x170], xmm11
movaps xmmword [rsp + 0x160], xmm12
movaps xmmword [rsp + 0x150], xmm13
mov byte [rsi + 0xb6], dl
mov byte [rsi + 0xc0], 0
mov dword [rsp + 0x50], 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 + 0x43], al
call fcn.1800391f0
mov rcx, qword [rsi + 0x298]
call fcn.1800419c0
cmp byte [rsi + 0x3d4], 0
mov dword [rsi + 0x1b0], 0xffffffff
je 0x18002ca70
mov rcx, qword [rsi + 0x298]
mov edx, dword [rsi + 0x3cc]
add rcx, 0x10
mov byte [rsi + 0x3d4], 0
call fcn.180039530
mov rcx, qword [rsi + 0x298]
mov edx, dword [rsi + 0x3d0]
add rcx, 0x20
call fcn.1800392d0
mov qword [rsi + 0x3cc], 0
cmp qword [r14 + 0x4a20], 0
mov r9, qword [rsp + 0x60]
je 0x18002cb43
test dword [rsi + 0x14], 0x80000
jne 0x18002cb43
test r9, r9
je 0x18002cb43
mov r10, qword [rbp - 0x80]
mov r9, qword [rsi + 8]
mov rax, r10
mov r8, r9
sub r8, r10
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18002cac3
inc rax
test ecx, ecx
jne 0x18002cab0
test edx, edx
je 0x18002cb3e
movsxd rdi, dword [rsi + 0x78]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x18002cad2
inc rbx
cmp rdi, rbx
jae 0x18002cb29
test r9, r9
je 0x18002cafb
mov rax, qword [0x1800b7ea8]
test rax, rax
je 0x18002cafb
dec dword [rax + 0xf4]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1800b7ea8]
test rax, rax
je 0x18002cb16
inc dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, qword [rbp - 0x80]
mov rdi, rbx
mov r9, rax
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi + 8], rax
mov dword [rsi + 0x78], edi
mov r9, qword [rsp + 0x60]
lea r8, [rsi + 0x40]
mov rcx, rsi
lea rdx, [rsi + 0x38]
call fcn.18002a520
movzx eax, byte [rsi + 0xd8]
test al, al
jle 0x18002cb66
dec al
mov byte [rsi + 0xd8], al
movzx eax, byte [rsi + 0xd9]
test al, al
jle 0x18002cb79
dec al
mov byte [rsi + 0xd9], al
movzx eax, byte [rsi + 0xda]
test al, al
jle 0x18002cb8c
dec al
mov byte [rsi + 0xda], al
test r9, r9
jne 0x18002cba2
test r15b, r15b
je 0x18002cb9b
test r13b, r13b
jne 0x18002cba2
mov byte [rsi + 0xd9], 1
xor r9d, r9d
cmp byte [rsp + 0x40], r9b
je 0x18002cbec
test r12d, 0x6000000
je 0x18002cbec
mov byte [rsi + 0xd9], 1
test r12b, 0x40
je 0x18002cbec
test r15b, r15b
jne 0x18002cbcf
mov dword [rsi + 0x30], r9d
mov dword [rsi + 0x28], r9d
test r13b, r13b
jne 0x18002cbdc
mov dword [rsi + 0x34], r9d
mov dword [rsi + 0x2c], r9d
mov qword [rsi + 0x40], 0
mov qword [rsi + 0x38], 0
mov rdx, qword [0x1800b7ea8]
mov rax, qword [rdx + 0x48a0]
mov rdi, qword [rax]
mov qword [rsi + 0x18], rdi
mov qword [rdx + 0x3ec8], rsi
movsxd rax, dword [rsi + 0x1b0]
cmp eax, 0xffffffff
je 0x18002cc24
imul rcx, rax, 0x238
add rcx, qword [rdx + 0x4b30]
jmp 0x18002cc27
mov rcx, r9
mov qword [rdx + 0x4b08], rcx
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x3c2c]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18002cc55
mulss xmm0, dword [rax + 0x290]
movss dword [rdx + 0x3c40], xmm0
movss dword [rdx + 0x3c28], xmm0
bt r12d, 0x18
jae 0x18002cc77
movss xmm1, dword [r14 + 0x3820]
jmp 0x18002cc9b
test r12d, 0x6000000
je 0x18002cc92
bt r12d, 0x1b
jb 0x18002cc92
movss xmm1, dword [r14 + 0x3828]
jmp 0x18002cc9b
movss xmm1, dword [r14 + 0x3804]
movss dword [rsi + 0x5c], xmm1
mov eax, r12d
movsd xmm0, qword [r14 + 0x37f8]
and eax, 0x5010000
movsd qword [rsi + 0x50], xmm0
cmp eax, 0x1000000
jne 0x18002cce4
ucomiss xmm1, xmm14
jp 0x18002cce4
jne 0x18002cce4
bt r12d, 0xa
jae 0x18002ccd7
movss xmm0, dword [r14 + 0x37fc]
jmp 0x18002ccdb
movaps xmm0, xmm14
movss dword [rsi + 0x54], xmm0
mov dword [rsi + 0x50], r9d
movss xmm0, dword [rsi + 0x50]
movzx ebx, byte [rsp + 0x41]
mov dword [rsp + 0x54], ebx
maxss xmm0, dword [r14 + 0x383c]
maxss xmm0, dword [r14 + 0x4804]
movss dword [rsi + 0x164], xmm0
mov eax, dword [r14 + 0x4808]
mov dword [rsi + 0x168], eax
test r12b, 0x21
jne 0x18002ce73
test byte [rsi + 0x14], 1
mov rcx, qword [rsi]
je 0x18002cd32
movaps xmm2, xmm14
jmp 0x18002cd66
mov rax, qword [rsi + 0x368]
movss xmm0, dword [rcx + 0x3c2c]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18002cd56
mulss xmm0, dword [rax + 0x290]
movss xmm2, dword [rcx + 0x3830]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm3, dword [rsi + 0x20]
movaps xmm0, xmm3
movss xmm4, dword [rsi + 0x24]
addss xmm0, dword [rsi + 0x30]
addss xmm2, dword [rsi + 0x24]
cmp qword [r14 + 0x3ed0], rsi
jne 0x18002ce29
cmp dword [r14 + 0x3f14], 0
jne 0x18002ce29
cmp dword [r14 + 0x3f18], 0
jne 0x18002ce29
mov rax, qword [rdx + 0x3ec8]
movss xmm1, dword [rdx + 0x3854]
movaps xmm5, xmm1
minss xmm0, dword [rax + 0x240]
maxss xmm3, dword [rax + 0x238]
maxss xmm4, dword [rax + 0x23c]
minss xmm2, dword [rax + 0x244]
addss xmm5, xmm0
movss xmm0, dword [rdx + 0x3858]
subss xmm3, xmm1
movaps xmm6, xmm0
movss xmm1, dword [rdx + 0xe08]
subss xmm4, xmm0
addss xmm6, xmm2
comiss xmm1, xmm3
jb 0x18002ce29
movss xmm0, dword [rdx + 0xe0c]
comiss xmm0, xmm4
jb 0x18002ce29
comiss xmm5, xmm1
jbe 0x18002ce29
comiss xmm6, xmm0
jbe 0x18002ce29
cmp word [r14 + 0x3752], 2
jne 0x18002ce29
mov byte [rsi + 0xba], 1
cmp byte [rsi + 0xba], 0
je 0x18002ce7a
movzx ecx, byte [rsi + 0xb9]
test cl, cl
movzx ebx, bl
sete al
test cl, cl
mov byte [rsi + 0xb9], al
mov eax, 1
cmovne ebx, eax
test dword [rsi + 0x14], 0x100
mov dword [rsp + 0x54], ebx
jne 0x18002ce7a
comiss xmm14, dword [rdx + 0x5ba4]
jb 0x18002ce7a
mov eax, dword [rdx + 0x1c]
mov dword [rdx + 0x5ba4], eax
jmp 0x18002ce7a
mov byte [rsi + 0xb9], 0
mov rcx, qword [rsi]
mov r8d, dword [rsi + 0x14]
movss xmm10, dword [rsi + 0xac]
movss xmm11, dword [rsi + 0xb0]
mov byte [rsi + 0xba], 0
lea rax, [rcx + 0x3c2c]
mov dword [rsi + 0x60], r9d
mov dword [rsi + 0x68], r9d
test r8b, 1
je 0x18002ceb5
movaps xmm2, xmm14
jmp 0x18002cee5
mov rdx, qword [rsi + 0x368]
movss xmm0, dword [rsi + 0x290]
mulss xmm0, dword [rax]
test rdx, rdx
je 0x18002ced5
mulss xmm0, dword [rdx + 0x290]
movss xmm2, dword [rcx + 0x3830]
addss xmm2, xmm2
addss xmm2, xmm0
bt r8d, 0xa
jae 0x18002cf26
movss xmm1, dword [rsi + 0x290]
mulss xmm1, dword [rax]
mov rax, qword [rsi + 0x368]
test rax, rax
je 0x18002cf0c
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rcx + 0x3830]
addss xmm1, dword [rsi + 0x168]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x18002cf2a
movaps xmm1, xmm14
addss xmm1, xmm2
mov dword [rsi + 0x6c], r9d
lea r8, [rsi + 0x40]
mov qword [rsi + 0xac], 0
mov rdx, rsi
lea rcx, [rbp - 8]
movss dword [rsi + 0x64], xmm1
call fcn.18002a630
test r12b, 0x40
je 0x18002cf93
cmp byte [rsi + 0xb9], 0
jne 0x18002cf93
test r15b, r15b
jne 0x18002cf75
movss xmm0, dword [rbp - 8]
movss dword [rsi + 0x30], xmm0
mov byte [rsp + 0x41], 1
test r13b, r13b
jne 0x18002d037
movss xmm0, dword [rbp - 4]
mov al, 1
movss dword [rsi + 0x34], xmm0
mov dword [rsp + 0x54], eax
jmp 0x18002d037
movzx eax, byte [rsi + 0xd0]
test al, al
jg 0x18002cfab
cmp byte [rsi + 0xd1], 0
jle 0x18002d037
test r15b, r15b
jne 0x18002cfd8
test al, al
jle 0x18002cfd8
cmp byte [rsi + 0xd3], r15b
je 0x18002cfc9
movss xmm0, dword [rsi + 0x30]
maxss xmm0, dword [rbp - 8]
jmp 0x18002cfce
movss xmm0, dword [rbp - 8]
movss dword [rsi + 0x30], xmm0
mov byte [rsp + 0x41], 1
test r13b, r13b
jne 0x18002d00b
cmp byte [rsi + 0xd1], r13b
jle 0x18002d00b
cmp byte [rsi + 0xd3], r13b
je 0x18002cffb
movss xmm0, dword [rsi + 0x34]
maxss xmm0, dword [rbp - 4]
jmp 0x18002d000
movss xmm0, dword [rbp - 4]
mov al, 1
movss dword [rsi + 0x34], xmm0
mov dword [rsp + 0x54], eax
cmp byte [rsi + 0xb9], 0
jne 0x18002d037
test dword [rsi + 0x14], 0x100
mov rcx, qword [0x1800b7ea8]
jne 0x18002d037
comiss xmm14, dword [rcx + 0x5ba4]
jb 0x18002d037
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5ba4], eax
lea r8, [rsi + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.18002a2d0
cmp byte [rsi + 0xb9], 0
movss xmm2, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rsi + 0x30], xmm2
movss dword [rsi + 0x34], xmm1
je 0x18002d0c4
bt r12d, 0x18
jb 0x18002d0c4
test byte [rsi + 0x14], 1
mov rcx, qword [rsi]
je 0x18002d07a
movaps xmm1, xmm14
jmp 0x18002d0ae
mov rax, qword [rsi + 0x368]
movss xmm0, dword [rcx + 0x3c2c]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18002d09e
mulss xmm0, dword [rax + 0x290]
movss xmm1, dword [rcx + 0x3830]
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]
jmp 0x18002d0dd
movaps xmm0, xmm2
unpcklps xmm0, xmm1
movaps xmm1, xmm0
movsd qword [rsp + 0x48], xmm0
movss xmm2, dword [rsp + 0x48]
shufps xmm1, xmm1, 0x55
movzx ebx, byte [rsp + 0x40]
movzx r15d, byte [rsp + 0x42]
movss dword [rsi + 0x28], xmm2
movss dword [rsi + 0x2c], xmm1
test bl, bl
je 0x18002d13c
mov eax, r12d
mov dword [rsi + 0xd4], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18002d13c
test r15b, r15b
jne 0x18002d13c
movsxd rax, dword [r14 + 0x4880]
imul rcx, rax, 0x38
mov rax, qword [r14 + 0x4888]
movss xmm0, dword [rcx + rax - 0x14]
movss xmm1, dword [rcx + rax - 0x10]
movss dword [rsi + 0x20], xmm0
movss dword [rsi + 0x24], xmm1
bt r12d, 0x18
jae 0x18002d1ca
mov r13, qword [rsp + 0x68]
lea rbx, [r13 + 0x190]
movzx eax, word [rbx]
mov word [rsi + 0xc6], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18002d191
inc r8d
test ecx, ecx
je 0x18002d17a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002d17f
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180038c20
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rsi
inc dword [rbx]
mov eax, dword [rsp + 0x50]
movzx ebx, byte [rsp + 0x40]
bt r12d, 0x1a
jb 0x18002d1ce
test r15b, r15b
jne 0x18002d1ce
cmp eax, 0x3000000
je 0x18002d1ce
movsd xmm0, qword [r13 + 0x100]
movsd qword [rsi + 0x20], xmm0
jmp 0x18002d1ce
mov eax, dword [rsp + 0x50]
movss xmm1, dword [rsi + 0xe0]
ucomiss xmm1, dword [0x180090cc0]
jp 0x18002d1e1
je 0x18002d232
cmp byte [rsi + 0xd9], 0
jne 0x18002d232
movss xmm0, dword [rsi + 0x28]
lea rdx, [rsp + 0x48]
mulss xmm0, dword [rsi + 0xe8]
xor r8d, r8d
mov rcx, rsi
subss xmm1, xmm0
movss xmm0, dword [rsi + 0xe4]
movss dword [rsp + 0x48], xmm1
movss xmm1, dword [rsi + 0x2c]
mulss xmm1, dword [rsi + 0xec]
subss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.18002eea0
jmp 0x18002d27e
bt r12d, 0x1c
jb 0x18002d25f
bt r12d, 0x1a
jae 0x18002d24c
test r15b, r15b
jne 0x18002d24c
cmp byte [rsp + 0x43], r15b
jg 0x18002d25f
bt r12d, 0x19
jae 0x18002d27e
test r15b, r15b
jne 0x18002d27e
cmp eax, 0x3000000
je 0x18002d27e
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.180032880
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rsi + 0x20], xmm0
movss dword [rsi + 0x24], xmm1
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 xmm5, xmm8
movss xmm3, dword [r14 + 0x38b0]
movaps xmm4, xmm9
movss xmm2, dword [r14 + 0x38ac]
mov r13, qword [0x1800b7ea8]
movss dword [rbp], xmm8
movss dword [rbp + 4], xmm9
addss xmm7, dword [rdi + 0x1c]
addss xmm6, dword [rdi + 0x20]
addss xmm5, dword [rdi + 0xc]
addss xmm4, dword [rdi + 0x10]
maxss xmm3, dword [r14 + 0x38b8]
maxss xmm2, dword [r14 + 0x38b4]
movss dword [rbp + 8], xmm5
movss dword [rbp + 0xc], xmm4
subss xmm6, xmm3
subss xmm7, xmm2
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [rbp + 0x1c], xmm6
movss dword [rbp + 0x18], xmm7
movss dword [rbp + 0x10], xmm2
movss dword [rbp + 0x14], xmm3
test r15b, r15b
jne 0x18002d3c6
bt r12d, 0x18
jb 0x18002d3c6
subss xmm5, xmm8
comiss xmm5, xmm14
jbe 0x18002d3c6
subss xmm4, xmm9
comiss xmm4, xmm14
jbe 0x18002d3c6
movss xmm0, dword [rsi + 0x2c]
cmp byte [r13 + 0x7f], r15b
je 0x18002d391
test byte [rsi + 0x14], 1
jne 0x18002d391
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x368]
movss xmm1, dword [rcx + 0x3c2c]
mulss xmm1, dword [rsi + 0x290]
test rax, rax
je 0x18002d381
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rcx + 0x3830]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rsi + 0x28]
subss xmm3, xmm0
movss xmm0, dword [rsi + 0x24]
comiss xmm3, xmm0
ja 0x18002d3ab
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rsi + 0x20]
comiss xmm2, xmm0
ja 0x18002d3bc
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [rsi + 0x20], xmm2
movss dword [rsi + 0x24], xmm3
cvttss2si eax, dword [rsi + 0x20]
movd xmm1, eax
cvttss2si eax, dword [rsi + 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rsi + 0x20], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x24], xmm0
bt r12d, 0x18
jae 0x18002d3fa
movss xmm0, dword [r14 + 0x381c]
jmp 0x18002d41d
mov eax, r12d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18002d414
movss xmm0, dword [r14 + 0x3824]
jmp 0x18002d41d
movss xmm0, dword [r14 + 0x3800]
xor cl, cl
movss dword [rsi + 0x58], xmm0
mov dword [rsp + 0x48], ecx
test bl, bl
je 0x18002d672
bt r12d, 0xc
jb 0x18002d672
bt r12d, 0x1a
jae 0x18002d449
mov byte [rsp + 0x48], 1
jmp 0x18002d45f
test r12d, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0x48], ecx
mov eax, dword [r13 + 0x4870]
sub eax, 1
js 0x18002d672
movsxd rdx, eax
mov rax, qword [r13 + 0x4878]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
mov rcx, qword [r8]
test rcx, rcx
je 0x18002d495
test dword [rcx + 0x14], 0x8000000
jne 0x18002d4a4
sub r8, 0x38
sub rdx, 1
jns 0x18002d484
jmp 0x18002d672
mov rax, rsi
cmp qword [rsi + 0x378], rcx
je 0x18002d672
cmp rax, rcx
je 0x18002d672
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18002d4b4
mov r8, qword [rsi + 0x378]
xor r15b, r15b
mov dword [rsp + 0x48], r15d
cmp rsi, r8
jne 0x18002d677
movsxd r9, dword [r13 + 0x4870]
mov r10, qword [r13 + 0x4878]
dec r9
imul rcx, r9, 0x38
add r10, 8
add r10, rcx
nop dword [rax]
mov rdx, qword [r10]
test rdx, rdx
je 0x18002d584
test dword [rdx + 0x14], 0x8000000
je 0x18002d584
cmp byte [rdx + 0xb6], 0
jne 0x18002d523
cmp byte [rdx + 0xb7], 0
je 0x18002d584
mov rax, rsi
cmp r8, rdx
je 0x18002d592
nop dword [rax + rax]
cmp rax, rdx
je 0x18002d592
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18002d530
mov rax, qword [rdx + 0x370]
mov rcx, qword [rax + 0x378]
test rcx, rcx
je 0x18002d584
mov rax, rsi
cmp r8, rcx
je 0x18002d594
nop dword [rax]
cmp rax, rcx
je 0x18002d594
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18002d560
mov rax, qword [rcx + 0x370]
mov rcx, qword [rax + 0x378]
test rcx, rcx
jne 0x18002d554
sub r10, 0x38
sub r9, 1
jns 0x18002d500
xor edx, edx
mov r9, qword [r13 + 0x3e70]
movsxd rax, dword [r13 + 0x3e68]
mov r15, qword [rsi + 0x378]
mov r8, qword [rdx + 0x378]
lea rcx, [r9 + rax*8]
cmp r9, rcx
jae 0x18002d5ce
nop dword [rax]
cmp qword [r9], r15
je 0x18002d5ce
add r9, 8
cmp r9, rcx
jb 0x18002d5c0
mov rdi, qword [r13 + 0x3e70]
movsxd rax, dword [r13 + 0x3e68]
sub r9, rdi
sar r9, 3
lea rcx, [rdi + rax*8]
cmp rdi, rcx
jae 0x18002d5fe
nop dword [rax]
cmp qword [rdi], r8
je 0x18002d5fe
add rdi, 8
cmp rdi, rcx
jb 0x18002d5f0
mov r10, qword [r13 + 0x3e70]
sub rdi, r10
sar rdi, 3
cmp r9d, edi
jge 0x18002d647
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, [r10 + rcx*8]
lea rcx, [r10 + rax*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r13 + 0x3e70]
movsxd rcx, edi
mov qword [rax + rcx*8 - 8], r15
jmp 0x18002d672
lea eax, [rdi + 1]
movsxd rbx, edi
movsxd rcx, eax
sub r9d, edi
movsxd r8, r9d
shl r8, 3
lea rdx, [r10 + rbx*8]
lea rcx, [r10 + rcx*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r13 + 0x3e70]
mov qword [rax + rbx*8], r15
mov r15d, dword [rsp + 0x48]
movss xmm1, dword [r14 + 0x3c28]
xorps xmm0, xmm0
xor edi, edi
mov dword [rbp - 0x10], 0xffffffff
cmp byte [r14 + 0x7e], dil
movaps xmm2, xmm1
mulss xmm1, dword [0x180090bc0]
setne dil
mulss xmm2, dword [0x180090c10]
inc edi
cmp byte [rsi + 0xb9], 0
movups xmmword [rbp + 0x20], xmm0
movss xmm0, dword [rsi + 0x58]
addss xmm0, dword [0x180090c0c]
addss xmm0, xmm1
maxss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
jne 0x18002d708
lea rax, [rbp + 0x10]
mov r9d, edi
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x10]
lea rax, [rbp + 0x20]
mov rcx, rsi
lea rdx, [rbp - 8]
mov qword [rsp + 0x20], rax
call fcn.18002a9c0
test al, al
je 0x18002d708
mov cl, 1
movzx edx, cl
jmp 0x18002d711
movzx edx, byte [rsp + 0x41]
mov ecx, dword [rsp + 0x54]
cmp byte [rsi + 0xb9], 0
movzx eax, byte [rbp - 0x10]
mov byte [rsi + 0xc1], al
jne 0x18002d865
cmp qword [rsp + 0x60], 0
movss xmm0, dword [rsi + 0x6c]
movss xmm2, dword [rsi + 0x200]
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, xmm10
addss xmm3, xmm11
jne 0x18002d77c
movaps xmm1, xmm14
movaps xmm0, xmm14
jmp 0x18002d798
movss xmm1, dword [rsi + 0x50]
movss xmm0, dword [rsi + 0x54]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [rsi + 0x38]
addss xmm0, dword [rsi + 0x3c]
test dl, dl
jne 0x18002d79f
movaps xmm5, xmm2
test cl, cl
jne 0x18002d7a6
movaps xmm4, xmm3
bt r12d, 0xe
jb 0x18002d7bc
comiss xmm0, xmm4
jbe 0x18002d7b8
test r12b, 8
je 0x18002d7bc
xor cl, cl
jmp 0x18002d7be
mov cl, 1
mov byte [rsi + 0xb5], cl
bt r12d, 0xf
jb 0x18002d803
test cl, cl
je 0x18002d7da
movss xmm2, dword [r14 + 0x3864]
jmp 0x18002d7de
movaps xmm2, xmm14
subss xmm5, xmm2
comiss xmm1, xmm5
jbe 0x18002d7f6
mov eax, r12d
and eax, 0x808
cmp eax, 0x800
je 0x18002d803
mov byte [rsi + 0xb4], 0
movaps xmm1, xmm14
jmp 0x18002d82e
mov byte [rsi + 0xb4], 1
test cl, cl
jne 0x18002d825
comiss xmm0, xmm4
jbe 0x18002d81d
test r12b, 8
jne 0x18002d81d
mov cl, 1
jmp 0x18002d81f
xor cl, cl
mov byte [rsi + 0xb5], cl
movss xmm1, dword [r14 + 0x3864]
test cl, cl
je 0x18002d83d
movss xmm0, dword [r14 + 0x3864]
jmp 0x18002d841
movaps xmm0, xmm14
movss dword [rsi + 0xac], xmm0
addss xmm0, dword [rsi + 0x68]
movss dword [rsi + 0xb0], xmm1
addss xmm1, dword [rsi + 0x6c]
movss dword [rsi + 0x68], xmm0
movss dword [rsi + 0x6c], xmm1
mov eax, r12d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18002d88c
cmp dword [rsp + 0x50], 0x3000000
je 0x18002d88c
mov r13, qword [rsp + 0x68]
lea rax, [r13 + 0x238]
jmp 0x18002d895
mov r13, qword [rsp + 0x68]
lea rax, [rbp]
test byte [rsi + 0x14], 1
movups xmm4, xmmword [rax]
mov rcx, qword [rsi]
movss xmm7, dword [rsi + 0x20]
movss xmm6, dword [rsi + 0x24]
movaps xmm3, xmm7
addss xmm3, dword [rsi + 0x28]
movaps xmm5, xmm6
addss xmm5, dword [rsi + 0x2c]
movups xmmword [rbp], xmm4
je 0x18002d8c5
movaps xmm0, xmm14
jmp 0x18002d8f9
mov rax, qword [rsi + 0x368]
movss xmm1, dword [rcx + 0x3c2c]
mulss xmm1, dword [rsi + 0x290]
test rax, rax
je 0x18002d8e9
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rcx + 0x3830]
addss xmm0, xmm0
addss xmm0, xmm1
movss dword [rsp + 0x70], xmm7
movaps xmm1, xmm6
addss xmm1, xmm0
movaps xmm2, xmm7
movss xmm0, dword [rsi + 0x24]
mov eax, r12d
addss xmm2, dword [rsi + 0x30]
movss dword [rsp + 0x74], xmm0
and eax, 0x401
movss dword [rsp + 0x7c], xmm1
movss dword [rsp + 0x78], xmm2
movss dword [rsi + 0x1e8], xmm7
movaps xmm7, xmm4
movss dword [rsi + 0x1ec], xmm6
movss dword [rsi + 0x1f0], xmm3
movss dword [rsi + 0x1f4], xmm5
movaps xmm5, xmm4
movss xmm0, dword [rsi + 0x1e8]
shufps xmm5, xmm4, 0x55
maxss xmm0, xmm4
shufps xmm7, xmm4, 0xaa
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 xmm9, dword [rsi + 0x20]
movss xmm10, dword [rsi + 0x24]
movaps xmm8, xmm9
movaps xmm12, xmm10
addss xmm9, dword [rsi + 0x28]
addss xmm10, dword [rsi + 0x2c]
addss xmm8, dword [rsi + 0x60]
addss xmm12, dword [rsi + 0x64]
subss xmm9, dword [rsi + 0x68]
subss xmm10, dword [rsi + 0x6c]
movss dword [rsi + 0x1f8], xmm8
movss dword [rsi + 0x1fc], xmm12
movss dword [rsi + 0x200], xmm9
movss dword [rsi + 0x204], xmm10
cmp eax, 1
jne 0x18002da13
movss xmm11, dword [rsi + 0x5c]
jmp 0x18002da1c
movss xmm11, dword [r14 + 0x3838]
movss xmm2, dword [0x180090bd8]
xorps xmm1, xmm1
movss xmm0, dword [rsi + 0x50]
addss xmm8, xmm2
mulss xmm0, xmm2
addss xmm12, xmm2
addss xmm9, xmm2
addss xmm10, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm12, xmm11
subss xmm10, dword [rsi + 0x5c]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rsi + 0x5c]
addss xmm8, xmm1
subss xmm9, xmm1
cvttss2si eax, xmm8
xorps xmm8, xmm8
cvtsi2ss xmm8, eax
cvttss2si eax, xmm12
movss dword [rsi + 0x208], xmm8
cvtsi2ss xmm0, eax
cvttss2si eax, xmm9
movss dword [rsi + 0x20c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm10
movss dword [rsi + 0x210], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rsi + 0x214], xmm0
movss xmm0, dword [rsi + 0x20c]
comiss xmm5, xmm0
jbe 0x18002dacb
movaps xmm1, xmm5
jmp 0x18002dad2
movaps xmm1, xmm6
minss xmm1, xmm0
comiss xmm4, xmm8
jbe 0x18002dadd
movaps xmm0, xmm4
jmp 0x18002dae5
movaps xmm0, xmm7
minss xmm0, xmm8
movss dword [rsi + 0x208], xmm0
movss dword [rsi + 0x20c], xmm1
movss xmm0, dword [rsi + 0x214]
comiss xmm5, xmm0
ja 0x18002db09
minss xmm6, xmm0
movaps xmm5, xmm6
movss xmm0, dword [rsi + 0x210]
comiss xmm4, xmm0
ja 0x18002db1d
minss xmm7, xmm0
movaps xmm4, xmm7
movss dword [rsi + 0x210], xmm4
movss dword [rsi + 0x214], xmm5
movss xmm0, dword [rsi + 0x28]
comiss xmm0, xmm14
jbe 0x18002db4b
test r12d, 0x2000040
jne 0x18002db4b
mulss xmm0, dword [0x180090be0]
jmp 0x18002db5c
movss xmm0, dword [r14 + 0x3c28]
mulss xmm0, dword [0x180090c64]
cvttss2si eax, xmm0
mov rdx, rsi
lea rcx, [rbp - 0x78]
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]
movss xmm2, dword [rsi + 0x54]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rsi + 0x38]
addss xmm2, dword [rsi + 0x3c]
subss xmm1, xmm0
movaps xmm0, xmm14
maxss xmm0, xmm1
movss dword [rsi + 0x8c], xmm0
movss xmm0, dword [rsi + 0x204]
subss xmm0, dword [rsi + 0x1fc]
subss xmm2, xmm0
movaps xmm0, xmm14
maxss xmm0, xmm2
movss dword [rsi + 0x90], xmm0
call fcn.180031b30
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 + 0x3c20]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.180042020
mov rcx, qword [0x1800b7ea8]
lea r8, [rbp + 8]
xor r9d, r9d
lea rdx, [rbp]
mov rax, qword [rcx + 0x3ec8]
mov byte [rax + 0xb8], 1
mov rbx, qword [rcx + 0x3ec8]
mov rcx, qword [rbx + 0x298]
call fcn.180041f10
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
mov eax, r12d
movss dword [rbx + 0x23c], xmm0
and eax, 0x5000000
movss dword [rbx + 0x240], xmm1
movss dword [rbx + 0x244], xmm2
xor bl, bl
cmp eax, 0x1000000
jne 0x18002dd6f
cmp dword [rsp + 0x50], 0x3000000
je 0x18002dd6f
movsxd rax, dword [r13 + 0x190]
cmp eax, 2
jl 0x18002dd38
mov rcx, rax
mov rax, qword [r13 + 0x198]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x18002dd38
movss xmm1, dword [rsi + 0x24]
movss xmm5, dword [rdx + 0x24]
movaps xmm2, xmm1
movss xmm7, dword [rdx + 0x20]
movaps xmm0, xmm5
addss xmm0, dword [rdx + 0x2c]
movss xmm6, dword [rsi + 0x20]
movaps xmm3, xmm7
addss xmm3, dword [rdx + 0x28]
addss xmm2, dword [rsi + 0x2c]
movaps xmm4, xmm6
comiss xmm0, xmm1
addss xmm4, dword [rsi + 0x28]
jbe 0x18002dd38
comiss xmm2, xmm5
jbe 0x18002dd38
comiss xmm3, xmm6
jbe 0x18002dd38
comiss xmm4, xmm7
jbe 0x18002dd38
mov r8b, 1
jmp 0x18002dd3b
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 0x18002dd6f
mov rax, qword [r13 + 0x298]
cmp dword [rax + 0x20], 0
jle 0x18002dd6f
test r8b, r8b
jne 0x18002dd6f
mov bl, 1
mov qword [rsi + 0x298], rax
mov rax, qword [r14 + 0x4a10]
test rax, rax
jne 0x18002dd82
mov rax, qword [r14 + 0x48a8]
test r15b, r15b
jne 0x18002dda1
test rax, rax
je 0x18002dd9c
mov rax, qword [rax + 0x388]
cmp qword [rsi + 0x388], rax
je 0x18002dda1
xor r8b, r8b
jmp 0x18002dda4
mov r8b, 1
movss dword [rsp + 0x30], xmm13
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x70]
mov rcx, rsi
mov dword [rsp + 0x20], edi
call fcn.18002b860
test bl, bl
je 0x18002ddd7
lea rax, [rsi + 0x2a0]
mov qword [rsi + 0x298], rax
movss xmm5, dword [rsi + 0x48]
mov ecx, r12d
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm14
jp 0x18002de33
jne 0x18002de33
movss xmm0, dword [rsi + 0x50]
mov eax, r12d
movss xmm1, dword [rsi + 0x28]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [rsi + 0x68]
addss xmm0, dword [rsi + 0x60]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x18002de29
movss xmm6, dword [rsi + 0x38]
maxss xmm6, xmm1
jmp 0x18002de36
movaps xmm6, xmm14
maxss xmm6, xmm1
jmp 0x18002de36
movaps xmm6, xmm5
movss xmm4, dword [rsi + 0x4c]
ucomiss xmm4, xmm14
jp 0x18002de7c
jne 0x18002de7c
movss xmm0, dword [rsi + 0x54]
movss xmm1, dword [rsi + 0x2c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [rsi + 0x6c]
addss xmm0, dword [rsi + 0x64]
subss xmm1, xmm0
test cl, cl
je 0x18002de72
movss xmm7, dword [rsi + 0x3c]
maxss xmm7, xmm1
jmp 0x18002de7f
movaps xmm7, xmm14
maxss xmm7, xmm1
jmp 0x18002de7f
movaps xmm7, xmm4
ucomiss xmm5, xmm14
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 xmm6, 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, xmm7
movss dword [rsi + 0x220], xmm6
movss dword [rsi + 0x224], xmm2
movups xmm0, xmmword [rsi + 0x218]
movups xmmword [rsi + 0x228], xmm0
movss xmm12, dword [rsi + 0x20]
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 0x18002df8d
jne 0x18002df8d
movss xmm5, dword [rsi + 0x28]
movaps xmm0, xmm8
addss xmm0, xmm8
movaps xmm1, xmm6
addss xmm1, dword [rsi + 0x68]
subss xmm5, xmm0
subss xmm5, xmm1
ucomiss xmm4, xmm14
addss xmm2, xmm5
movss dword [rsi + 0x250], xmm2
jp 0x18002dfbf
jne 0x18002dfbf
movss xmm4, dword [rsi + 0x2c]
movaps xmm0, xmm9
addss xmm0, xmm9
movaps xmm1, xmm7
addss xmm1, dword [rsi + 0x6c]
subss xmm4, xmm0
subss xmm4, xmm1
xor edi, edi
addss xmm3, xmm4
cvtps2pd xmm2, xmm12
lea rcx, [rsi + 0x16c]
movaps xmm12, xmmword [rsp + 0x160]
movaps xmm0, xmm6
movss dword [rsi + 0x254], xmm3
addss xmm0, xmm8
cvtps2pd xmm3, xmm13
movaps xmm13, xmmword [rsp + 0x150]
subss xmm0, xmm10
cvtps2pd xmm1, xmm10
movss dword [rsi + 0x144], xmm0
movaps xmm10, xmmword [rsp + 0x180]
mov qword [rsi + 0x148], rdi
cvtps2pd xmm0, xmm8
addsd xmm2, xmm0
cvtps2pd xmm0, xmm6
subsd xmm2, xmm1
xorps xmm1, xmm1
addsd xmm2, xmm0
cvtps2pd xmm0, xmm9
addsd xmm2, xmm1
addsd xmm3, xmm0
cvtps2pd xmm1, xmm11
movaps xmm11, xmmword [rsp + 0x170]
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], rdi
mov qword [rsi + 0x128], rdi
mov qword [rsi + 0x138], rdi
mov word [rsi + 0x140], di
mov dword [rsi + 0x158], edi
movzx eax, word [rsi + 0x15e]
mov word [rsi + 0x15c], ax
mov word [rsi + 0x15e], di
mov byte [rsi + 0x160], dil
movss xmm0, dword [rsi + 0x90]
comiss xmm0, xmm14
seta al
mov byte [rsi + 0x161], al
mov byte [rsi + 0x162], dil
movss xmm0, dword [r14 + 0x383c]
cmp byte [rsp + 0x40], dil
je 0x18002e15f
xor eax, eax
mov qword [rcx + 0x12], rax
cvttss2si eax, xmm0
mov word [rcx + 8], ax
call fcn.18004fa10
xor r11d, r11d
mov qword [rcx + 0x12], r11
mov eax, dword [rcx + 4]
mov dword [rcx], eax
mov dword [rcx + 4], edi
mov qword [rsi + 0x188], rdi
mov ecx, dword [rsi + 0x194]
test ecx, ecx
jns 0x18002e1a8
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rsi + 0x190]
test eax, eax
cmovg edx, eax
call fcn.180038c20
mov dword [rsi + 0x190], edi
lea rax, [rsi + 0x270]
mov qword [rsi + 0x1a0], rax
mov ebx, 1
mov qword [rsi + 0x1a8], rdi
mov dword [rsi + 0x1b4], ebx
test r13, r13
je 0x18002e1dc
mov eax, dword [r13 + 0x1b4]
jmp 0x18002e1de
mov eax, ebx
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.180039050
lea rcx, [rsi + 0x1d8]
call fcn.180039050
movzx eax, byte [rsi + 0xd0]
test al, al
jle 0x18002e225
dec al
mov byte [rsi + 0xd0], al
movzx eax, byte [rsi + 0xd1]
test al, al
jle 0x18002e238
dec al
mov byte [rsi + 0xd1], al
test r15b, r15b
je 0x18002e24f
mov rcx, rsi
call fcn.18002e910
xor edx, edx
mov rcx, rsi
call fcn.180033be0
movss xmm8, dword [rsp + 0x7c]
movss xmm7, dword [rsp + 0x78]
movss xmm6, dword [rsp + 0x74]
movss xmm9, dword [rsp + 0x70]
test bl, r12b
jne 0x18002e2a4
mov r8, qword [rbp - 0x80]
lea rdx, [rbp]
movaps xmm0, xmm9
movss dword [rbp + 4], xmm6
addss xmm0, dword [rsi + 0x5c]
movaps xmm1, xmm7
movss dword [rbp + 0xc], xmm8
subss xmm1, dword [rsi + 0x5c]
mov rcx, rsi
movss dword [rbp], xmm0
movss dword [rbp + 8], xmm1
call fcn.18002bec0
mov rdx, qword [0x1800b7ea8]
mov dword [rsi + 0x258], edi
movss xmm1, dword [rdx + 0x3854]
movss xmm0, dword [rdx + 0x3858]
subss xmm9, xmm1
addss xmm7, xmm1
movss xmm1, dword [rdx + 0xe08]
addss xmm8, xmm0
subss xmm6, xmm0
comiss xmm1, xmm9
movaps xmm9, xmmword [rsp + 0x190]
jb 0x18002e305
movss xmm0, dword [rdx + 0xe0c]
comiss xmm0, xmm6
jb 0x18002e305
comiss xmm7, xmm1
jbe 0x18002e305
comiss xmm8, xmm0
mov r8d, ebx
ja 0x18002e308
mov r8d, edi
mov eax, dword [rsi + 0x7c]
mov ecx, dword [r14 + 0x4748]
movups xmm0, xmmword [rsp + 0x70]
mov dword [rdx + 0x4764], eax
movaps xmm8, xmmword [rsp + 0x1a0]
movaps xmm7, xmmword [rsp + 0x1b0]
movaps xmm6, xmmword [rsp + 0x1c0]
movups xmmword [rdx + 0x4780], xmm0
mov dword [rdx + 0x4768], ecx
movups xmmword [rdx + 0x4770], xmm0
mov dword [rdx + 0x476c], r8d
mov eax, dword [r14 + 0x474c]
test eax, eax
je 0x18002e3e9
cmp dword [rsi + 0x10], eax
je 0x18002e36a
cmp dword [rsi + 0x7c], eax
jne 0x18002e3e9
call fcn.180038060
jmp 0x18002e3e9
mov rcx, qword [0x1800b7ea8]
mov qword [rcx + 0x3ec8], rsi
movsxd rax, dword [rsi + 0x1b0]
cmp eax, 0xffffffff
je 0x18002e39d
imul rdx, rax, 0x238
add rdx, qword [rcx + 0x4b30]
xor edi, edi
jmp 0x18002e3a1
xor edi, edi
mov edx, edi
mov qword [rcx + 0x4b08], rdx
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x3c2c]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18002e3cf
mulss xmm0, dword [rax + 0x290]
mov r13, qword [rsp + 0x68]
mov ebx, 1
movss dword [rcx + 0x3c40], xmm0
movss dword [rcx + 0x3c28], xmm0
lea rdx, [rsi + 0x210]
mov r8b, 1
lea rcx, [rsi + 0x208]
call fcn.180028a30
mov eax, dword [rsp + 0x58]
mov r15, qword [rsp + 0x1d0]
mov byte [rsi + 0xb8], 0
inc word [rsi + 0xc2]
mov dword [r14 + 0x47a0], edi
mov rdi, qword [rsp + 0x1e8]
cmp eax, dword [rsp + 0x5c]
je 0x18002e588
bt r12d, 0x18
jae 0x18002e4fa
test r12b, 0x40
jne 0x18002e4bf
cmp byte [rsi + 0xd0], 0
jg 0x18002e4bf
cmp byte [rsi + 0xd1], 0
jg 0x18002e4bf
bt r12d, 0x17
jae 0x18002e486
cmp byte [r14 + 0x48e8], 0
je 0x18002e486
mov rcx, qword [r14 + 0x48a8]
test rcx, rcx
je 0x18002e486
mov rax, qword [rsi + 0x390]
cmp qword [rcx + 0x390], rax
jne 0x18002e486
mov al, 1
jmp 0x18002e488
xor al, al
cmp byte [r14 + 0x5c38], 0
jne 0x18002e4bf
test al, al
jne 0x18002e4bf
movss xmm0, dword [rsi + 0x1e8]
comiss xmm0, dword [rsi + 0x1f0]
jae 0x18002e4b8
movss xmm0, dword [rsi + 0x1ec]
comiss xmm0, dword [rsi + 0x1f4]
jb 0x18002e4bf
mov byte [rsi + 0xd8], 1
test r13, r13
je 0x18002e4fa
cmp byte [r13 + 0xb9], 0
jne 0x18002e4d8
cmp byte [r13 + 0xd8], 0
jle 0x18002e4df
mov byte [rsi + 0xd8], 1
cmp byte [r13 + 0xb9], 0
jne 0x18002e4f3
cmp byte [r13 + 0xd9], 0
jle 0x18002e4fa
mov byte [rsi + 0xd9], 1
comiss xmm14, dword [r14 + 0x37f0]
jb 0x18002e50b
mov byte [rsi + 0xd8], 1
cmp byte [rsi + 0xd8], 0
jg 0x18002e52b
cmp byte [rsi + 0xd9], 0
jg 0x18002e52b
xor cl, cl
cmp byte [rsi + 0xda], cl
jg 0x18002e52d
xor al, al
jmp 0x18002e52f
mov cl, 1
mov al, 1
mov byte [rsi + 0xbd], al
movzx eax, byte [rsi + 0xdb]
test al, al
jle 0x18002e54f
dec al
mov byte [rsi + 0xdb], al
or dword [rsi + 0x14], 0xc0200
xor al, al
cmp byte [rsi + 0xb9], al
jne 0x18002e565
cmp byte [rsi + 0xb6], al
je 0x18002e565
test cl, cl
je 0x18002e582
cmp byte [rsi + 0xd0], al
jg 0x18002e582
cmp byte [rsi + 0xd1], al
jg 0x18002e582
cmp byte [rsi + 0xd9], 0
movzx eax, al
cmovle eax, ebx
mov byte [rsi + 0xbb], al
cmp byte [rsi + 0xbe], 0
movaps xmm14, xmmword [rsp + 0x140]
mov r13, qword [rsp + 0x1d8]
mov r12, qword [rsp + 0x1e0]
mov rbx, qword [rsp + 0x218]
jne 0x18002e609
cmp byte [r14 + 0x84], 0
je 0x18002e5c4
cmp qword [rsp + 0x60], 0
je 0x18002e5df
cmp byte [r14 + 0x85], 0
je 0x18002e609
movsx eax, byte [r14 + 0x5caa]
cmp eax, dword [r14 + 0x3e98]
jne 0x18002e609
movzx eax, byte [rsi + 0xd0]
test al, al
jle 0x18002e5f2
inc al
mov byte [rsi + 0xd0], al
movzx eax, byte [rsi + 0xd1]
test al, al
jle 0x18002e605
inc al
mov byte [rsi + 0xd1], al
xor al, al
jmp 0x18002e613
cmp byte [rsi + 0xbb], 0
sete al
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180058630
add rsp, 0x1f0
pop r14
pop rsi
pop rbp
ret