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

Disassembly:
mov r11, rsp
push rbp
push rsi
push r14
lea rbp, [r11 - 0x128]
sub rsp, 0x210
mov rax, qword [0x180136280]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r14, qword [0x180157948]
mov qword [r11 + 0x20], 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 - 0x60], rdx
mov qword [rbp - 0x80], rcx
call fcn.18004b160
test rax, rax
mov qword [rsp + 0x60], rax
mov rsi, rax
sete dl
mov byte [rsp + 0x41], dl
test rax, rax
jne 0x18004d8d3
mov edx, r12d
mov rcx, rbx
call fcn.18004b530
movzx edx, byte [rsp + 0x41]
mov rsi, rax
mov ecx, r12d
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x18004d8e8
or r12d, 6
cmp dword [r14 + 0x3e98], 0
mov r13d, dword [r14 + 0x3e48]
mov r9d, dword [rsi + 0x260]
mov dword [rsp + 0x58], r13d
mov dword [rsp + 0x54], r9d
jne 0x18004d918
cmp byte [r14 + 0x3e55], 0
je 0x18004d918
mov al, 1
jmp 0x18004d91a
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 0x18004d965
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 0x18004d986
or byte [rsi + 0xdc], 8
or byte [rsi + 0xdd], 8
or byte [rsi + 0xde], 8
xor ebx, ebx
cmp r9d, r13d
je 0x18004d9dc
mov r8d, r12d
mov rcx, rsi
call fcn.18004b230
mov r9d, dword [rsp + 0x54]
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 0x18004d9e0
mov r12d, dword [rsi + 0x14]
movsxd rax, dword [r14 + 0x3e98]
test eax, eax
jne 0x18004d9f0
mov r15, rbx
jmp 0x18004da00
imul rcx, rax, 0x58
mov rax, qword [r14 + 0x3ea0]
mov r15, qword [rcx + rax - 0x58]
cmp r9d, r13d
je 0x18004da15
test r12d, 0x5000000
mov rdi, rbx
cmovne rdi, r15
jmp 0x18004da1c
mov rdi, qword [rsi + 0x368]
mov qword [rsp + 0x68], rdi
cmp dword [rsi + 0xf0], ebx
jne 0x18004da39
lea rdx, [rsi + 0x10]
lea rcx, [rsi + 0xf0]
call fcn.18005af60
mov eax, dword [r14 + 0x479c]
lea rbx, [r14 + 0x3e98]
movups xmm1, xmmword [r14 + 0x4774]
mov dword [rbp - 0x10], 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 - 0x50], rsi
movups xmmword [rbp - 0xc], xmm0
mov word [rbp - 0xc], ax
movzx eax, word [r14 + 0x4810]
mov word [rbp - 0xa], ax
movzx eax, word [r14 + 0x4820]
mov word [rbp - 8], ax
movzx eax, word [r14 + 0x4830]
mov word [rbp - 6], ax
movzx eax, word [r14 + 0x4840]
mov word [rbp - 4], ax
movzx eax, word [r14 + 0x4860]
mov word [rbp - 2], ax
movzx eax, word [r14 + 0x4850]
mov word [rbp], ax
movzx eax, word [r14 + 0x4880]
mov word [rbp + 2], ax
movzx eax, word [r14 + 0x5b58]
mov word [rbp + 4], ax
movups xmm0, xmmword [r14 + 0x4764]
movups xmmword [rbp - 0x38], xmm1
movsd xmm1, qword [r14 + 0x4794]
movsd qword [rbp - 0x18], xmm1
movups xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [r14 + 0x4784]
movups xmmword [rbp - 0x28], xmm0
cmp ecx, r8d
jne 0x18004db2c
inc ecx
test r8d, r8d
je 0x18004db18
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18004db1d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18005b5b0
movsxd rax, dword [rbx]
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
imul rcx, rax, 0x58
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rcx + rax + 0x30], xmm1
movsd xmm1, qword [rbp]
movups xmmword [rcx + rax + 0x40], xmm0
movsd qword [rcx + rax + 0x50], xmm1
inc dword [rbx]
bt r12d, 0x1c
jae 0x18004db7e
inc dword [r14 + 0x4890]
cmp dword [rsp + 0x54], r13d
je 0x18004dc31
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 0x18004dc01
mov eax, r12d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18004dbce
mov rax, qword [rdi + 0x378]
mov qword [rsi + 0x378], rax
bt r12d, 0x1a
jae 0x18004dbe3
mov rax, qword [rdi + 0x380]
mov qword [rsi + 0x380], rax
bt r12d, 0x1b
jb 0x18004dc01
test r12d, 0x5000000
je 0x18004dc01
mov rax, qword [rdi + 0x388]
mov qword [rsi + 0x388], rax
test dword [rsi + 0x14], 0x800000
je 0x18004dc2a
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 0x18004dc10
mov qword [rsi + 0x370], r15
mov rbx, qword [0x180157948]
lea rdx, [rbp + 0x10]
mov edi, dword [rsi + 0x10]
mov dword [rbp + 0x10], edi
lea rcx, [rbx + 0x4840]
call fcn.18005af60
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 0x18004dcac
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.18005a710
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 0x18004dd56
movsx ecx, byte [rsi + 0xdc]
mov r8d, dword [r14 + 0x47a4]
test r8d, ecx
setne dl
mov byte [rsp + 0x42], dl
test r8d, ecx
je 0x18004dd47
movss xmm0, dword [r14 + 0x47bc]
movss xmm1, dword [r14 + 0x47b8]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180124014]
jbe 0x18004dd47
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 0x18004dd56
lea rdx, [r14 + 0x47b0]
mov rcx, rsi
call fcn.180050410
test byte [r14 + 0x47a0], 2
xorps xmm14, xmm14
je 0x18004ddb3
movsx eax, byte [rsi + 0xdd]
mov r8d, dword [r14 + 0x47a8]
and eax, r8d
je 0x18004dd8b
movss xmm0, dword [r14 + 0x47c0]
comiss xmm0, xmm14
jbe 0x18004dd8b
mov r15b, 1
jmp 0x18004dd92
xor r15b, r15b
test eax, eax
je 0x18004dda4
movss xmm0, dword [r14 + 0x47c4]
comiss xmm0, xmm14
jbe 0x18004dda4
mov r13b, 1
lea rdx, [r14 + 0x47c0]
mov rcx, rsi
call fcn.180050580
test byte [r14 + 0x47a0], 0x80
je 0x18004ddf9
movss xmm0, dword [r14 + 0x47d0]
comiss xmm0, xmm14
jb 0x18004dddb
movss dword [rsi + 0x94], xmm0
mov dword [rsi + 0x9c], r10d
movss xmm0, dword [r14 + 0x47d4]
comiss xmm0, xmm14
jb 0x18004ddf9
movss dword [rsi + 0x98], xmm0
mov dword [rsi + 0xa0], r10d
test byte [r14 + 0x47a0], 4
mov ebx, dword [rsp + 0x58]
mov edi, dword [rsp + 0x54]
je 0x18004de1b
movsd xmm0, qword [r14 + 0x47c8]
movsd qword [rsi + 0x48], xmm0
jmp 0x18004de27
cmp edi, ebx
je 0x18004de27
mov qword [rsi + 0x48], 0
test byte [r14 + 0x47a0], 8
je 0x18004de78
mov ecx, dword [r14 + 0x47ac]
movzx edx, byte [r14 + 0x47d8]
test ecx, ecx
je 0x18004de4f
movsx eax, byte [rsi + 0xde]
test ecx, eax
je 0x18004de78
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 0x18004de8a
mov rcx, rsi
call fcn.18004fe80
cmp byte [rsi + 0xbc], 0
je 0x18004dea8
and byte [rsi + 0xdc], 0xf7
and byte [rsi + 0xdd], 0xf7
and byte [rsi + 0xde], 0xf7
mov edx, 1
cmp edi, ebx
je 0x18004f8e1
movaps xmmword [rsp + 0x1e0], xmm6
lea rcx, [rsi + 0xf0]
movaps xmmword [rsp + 0x1d0], xmm7
mov eax, r12d
movaps xmmword [rsp + 0x1c0], xmm8
and eax, 0x3000000
cmp qword [rbp - 0x60], 0
movaps xmmword [rsp + 0x1b0], xmm9
movaps xmmword [rsp + 0x1a0], xmm10
movaps xmmword [rsp + 0x190], xmm11
movaps xmmword [rsp + 0x180], xmm12
movaps xmmword [rsp + 0x170], xmm13
mov byte [rsi + 0xb6], dl
mov dword [rsp + 0x4c], eax
movzx eax, byte [rsi + 0xd9]
mov byte [rsp + 0x43], al
setne al
mov byte [rsi + 0xc0], al
mov dword [rsi + 0x238], 0xff7fffff
mov dword [rsi + 0x23c], 0xff7fffff
mov dword [rsi + 0x240], 0x7f7fffff
mov dword [rsi + 0x244], 0x7f7fffff
call fcn.18005b030
mov rcx, qword [rsi + 0x298]
call fcn.180064160
cmp byte [rsi + 0x3d4], 0
mov dword [rsi + 0x1b0], 0xffffffff
je 0x18004dfb7
mov rcx, qword [rsi + 0x298]
mov edx, dword [rsi + 0x3cc]
add rcx, 0x10
mov byte [rsi + 0x3d4], 0
call fcn.18005b370
mov rcx, qword [rsi + 0x298]
mov edx, dword [rsi + 0x3d0]
add rcx, 0x20
call fcn.18005b110
mov qword [rsi + 0x3cc], 0
cmp qword [r14 + 0x4a20], 0
mov r9, qword [rsp + 0x60]
je 0x18004e084
test dword [rsi + 0x14], 0x80000
jne 0x18004e084
test r9, r9
je 0x18004e084
mov r10, qword [rbp - 0x80]
mov r9, qword [rsi + 8]
mov rax, r10
mov r8, r9
sub r8, r10
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18004e004
inc rax
test ecx, ecx
jne 0x18004dff1
test edx, edx
je 0x18004e07f
movsxd rdi, dword [rsi + 0x78]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x18004e013
inc rbx
cmp rdi, rbx
jae 0x18004e06a
test r9, r9
je 0x18004e03c
mov rax, qword [0x180157948]
test rax, rax
je 0x18004e03c
dec dword [rax + 0xf4]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x180157948]
test rax, rax
je 0x18004e057
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.18004b9e0
movzx eax, byte [rsi + 0xd8]
test al, al
jle 0x18004e0a7
dec al
mov byte [rsi + 0xd8], al
movzx eax, byte [rsi + 0xd9]
test al, al
jle 0x18004e0ba
dec al
mov byte [rsi + 0xd9], al
movzx eax, byte [rsi + 0xda]
test al, al
jle 0x18004e0cd
dec al
mov byte [rsi + 0xda], al
test r9, r9
jne 0x18004e0e3
test r15b, r15b
je 0x18004e0dc
test r13b, r13b
jne 0x18004e0e3
mov byte [rsi + 0xd9], 1
xor r9d, r9d
cmp byte [rsp + 0x40], r9b
je 0x18004e12d
test r12d, 0x6000000
je 0x18004e12d
mov byte [rsi + 0xd9], 1
test r12b, 0x40
je 0x18004e12d
test r15b, r15b
jne 0x18004e110
mov dword [rsi + 0x30], r9d
mov dword [rsi + 0x28], r9d
test r13b, r13b
jne 0x18004e11d
mov dword [rsi + 0x34], r9d
mov dword [rsi + 0x2c], r9d
mov qword [rsi + 0x40], 0
mov qword [rsi + 0x38], 0
mov rdx, qword [0x180157948]
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 0x18004e165
imul rcx, rax, 0x238
add rcx, qword [rdx + 0x4b30]
jmp 0x18004e168
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 0x18004e196
mulss xmm0, dword [rax + 0x290]
movss dword [rdx + 0x3c40], xmm0
movss dword [rdx + 0x3c28], xmm0
bt r12d, 0x18
jae 0x18004e1b8
movss xmm1, dword [r14 + 0x3820]
jmp 0x18004e1dc
test r12d, 0x6000000
je 0x18004e1d3
bt r12d, 0x1b
jb 0x18004e1d3
movss xmm1, dword [r14 + 0x3828]
jmp 0x18004e1dc
movss xmm1, dword [r14 + 0x3804]
mov rax, rsi
movss dword [rax + 0x5c], xmm1
mov eax, r12d
movsd xmm0, qword [r14 + 0x37f8]
and eax, 0x5010000
movsd qword [rsi + 0x50], xmm0
cmp eax, 0x1000000
jne 0x18004e228
ucomiss xmm1, xmm14
jp 0x18004e228
jne 0x18004e228
bt r12d, 0xa
jae 0x18004e21b
movss xmm0, dword [r14 + 0x37fc]
jmp 0x18004e21f
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 + 0x50], 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 0x18004e3b1
test byte [rsi + 0x14], 1
mov rcx, qword [rsi]
je 0x18004e276
movaps xmm2, xmm14
jmp 0x18004e2aa
mov rax, qword [rsi + 0x368]
movss xmm0, dword [rcx + 0x3c2c]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18004e29a
mulss xmm0, dword [rax + 0x290]
movss xmm2, dword [rcx + 0x3830]
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 + 0x3ed0], rsi
jne 0x18004e367
cmp dword [r14 + 0x3f14], 0
jne 0x18004e367
cmp dword [r14 + 0x3f18], 0
jne 0x18004e367
mov rax, qword [rdx + 0x3ec8]
movss xmm1, dword [rdx + 0x3854]
movss xmm0, dword [rdx + 0x3858]
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 0x18004e367
movss xmm0, dword [rdx + 0xe0c]
comiss xmm0, xmm5
jb 0x18004e367
comiss xmm3, xmm1
jbe 0x18004e367
comiss xmm2, xmm0
jbe 0x18004e367
cmp word [r14 + 0x3752], 2
jne 0x18004e367
mov byte [rsi + 0xba], 1
cmp byte [rsi + 0xba], 0
je 0x18004e3b8
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 + 0x50], ebx
jne 0x18004e3b8
comiss xmm14, dword [rdx + 0x5ba4]
jb 0x18004e3b8
mov eax, dword [rdx + 0x1c]
mov dword [rdx + 0x5ba4], eax
jmp 0x18004e3b8
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 0x18004e3f3
movaps xmm2, xmm14
jmp 0x18004e423
mov rdx, qword [rsi + 0x368]
movss xmm0, dword [rsi + 0x290]
mulss xmm0, dword [rax]
test rdx, rdx
je 0x18004e413
mulss xmm0, dword [rdx + 0x290]
movss xmm2, dword [rcx + 0x3830]
addss xmm2, xmm2
addss xmm2, xmm0
bt r8d, 0xa
jae 0x18004e464
movss xmm1, dword [rsi + 0x290]
mulss xmm1, dword [rax]
mov rax, qword [rsi + 0x368]
test rax, rax
je 0x18004e44a
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rcx + 0x3830]
addss xmm1, dword [rsi + 0x168]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x18004e468
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 + 0x18]
movss dword [rsi + 0x64], xmm1
call fcn.18004baf0
test r12b, 0x40
je 0x18004e4d1
cmp byte [rsi + 0xb9], 0
jne 0x18004e4d1
test r15b, r15b
jne 0x18004e4b3
movss xmm0, dword [rbp + 0x18]
movss dword [rsi + 0x30], xmm0
mov byte [rsp + 0x41], 1
test r13b, r13b
jne 0x18004e575
movss xmm0, dword [rbp + 0x1c]
mov al, 1
movss dword [rsi + 0x34], xmm0
mov dword [rsp + 0x50], eax
jmp 0x18004e575
movzx eax, byte [rsi + 0xd0]
test al, al
jg 0x18004e4e9
cmp byte [rsi + 0xd1], 0
jle 0x18004e575
test r15b, r15b
jne 0x18004e516
test al, al
jle 0x18004e516
cmp byte [rsi + 0xd3], r15b
je 0x18004e507
movss xmm0, dword [rsi + 0x30]
maxss xmm0, dword [rbp + 0x18]
jmp 0x18004e50c
movss xmm0, dword [rbp + 0x18]
movss dword [rsi + 0x30], xmm0
mov byte [rsp + 0x41], 1
test r13b, r13b
jne 0x18004e549
cmp byte [rsi + 0xd1], r13b
jle 0x18004e549
cmp byte [rsi + 0xd3], r13b
je 0x18004e539
movss xmm0, dword [rsi + 0x34]
maxss xmm0, dword [rbp + 0x1c]
jmp 0x18004e53e
movss xmm0, dword [rbp + 0x1c]
mov al, 1
movss dword [rsi + 0x34], xmm0
mov dword [rsp + 0x50], eax
cmp byte [rsi + 0xb9], 0
jne 0x18004e575
test dword [rsi + 0x14], 0x100
mov rcx, qword [0x180157948]
jne 0x18004e575
comiss xmm14, dword [rcx + 0x5ba4]
jb 0x18004e575
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5ba4], eax
lea r8, [rsi + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.18004b790
cmp byte [rsi + 0xb9], 0
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rsi + 0x30], xmm2
movss dword [rsi + 0x34], xmm0
je 0x18004e60e
bt r12d, 0x18
jb 0x18004e60e
test byte [rsi + 0x14], 1
mov rcx, qword [rsi]
je 0x18004e5b8
movaps xmm1, xmm14
jmp 0x18004e5ec
mov rax, qword [rsi + 0x368]
movss xmm0, dword [rcx + 0x3c2c]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18004e5dc
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]
movss dword [rsp + 0x44], xmm2
movss dword [rsp + 0x48], xmm1
jmp 0x18004e619
movsd xmm0, qword [rsi + 0x30]
movsd qword [rsp + 0x44], xmm0
movzx ebx, byte [rsp + 0x40]
lea rax, [rsp + 0x44]
movsd xmm0, qword [rax]
movzx r15d, byte [rsp + 0x42]
movsd qword [rsi + 0x28], xmm0
test bl, bl
je 0x18004e67c
mov eax, r12d
mov dword [rsi + 0xd4], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18004e67c
test r15b, r15b
jne 0x18004e67c
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 0x18004e70a
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 0x18004e6d1
inc r8d
test ecx, ecx
je 0x18004e6ba
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004e6bf
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18005aa60
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rsi
inc dword [rbx]
mov eax, dword [rsp + 0x4c]
movzx ebx, byte [rsp + 0x40]
bt r12d, 0x1a
jb 0x18004e70e
test r15b, r15b
jne 0x18004e70e
cmp eax, 0x3000000
je 0x18004e70e
movsd xmm0, qword [r13 + 0x100]
movsd qword [rsi + 0x20], xmm0
jmp 0x18004e70e
mov eax, dword [rsp + 0x4c]
movss xmm1, dword [rsi + 0xe0]
ucomiss xmm1, dword [0x1801241c8]
jp 0x18004e721
je 0x18004e772
cmp byte [rsi + 0xd9], 0
jne 0x18004e772
movss xmm0, dword [rsi + 0xe8]
lea rdx, [rsp + 0x44]
mulss xmm0, dword [rsi + 0x28]
xor r8d, r8d
mov rcx, rsi
subss xmm1, xmm0
movss xmm0, dword [rsi + 0xe4]
movss dword [rsp + 0x44], xmm1
movss xmm1, dword [rsi + 0x2c]
mulss xmm1, dword [rsi + 0xec]
subss xmm0, xmm1
movss dword [rsp + 0x48], xmm0
call fcn.180050410
jmp 0x18004e7be
bt r12d, 0x1c
jb 0x18004e79f
bt r12d, 0x1a
jae 0x18004e78c
test r15b, r15b
jne 0x18004e78c
cmp byte [rsp + 0x43], r15b
jg 0x18004e79f
bt r12d, 0x19
jae 0x18004e7be
test r15b, r15b
jne 0x18004e7be
cmp eax, 0x3000000
je 0x18004e7be
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.180054630
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 [0x180157948]
movss dword [rbp + 0x20], xmm8
movss dword [rbp + 0x24], 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 + 0x28], xmm5
movss dword [rbp + 0x2c], xmm4
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 0x18004e90a
bt r12d, 0x18
jb 0x18004e90a
subss xmm5, xmm8
comiss xmm5, xmm14
jbe 0x18004e90a
subss xmm4, xmm9
comiss xmm4, xmm14
jbe 0x18004e90a
movss xmm0, dword [rsi + 0x2c]
cmp byte [r13 + 0x7f], r15b
je 0x18004e8d5
test byte [rsi + 0x14], 1
jne 0x18004e8d5
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x368]
movss xmm1, dword [rcx + 0x3c2c]
mulss xmm1, dword [rsi + 0x290]
test rax, rax
je 0x18004e8c5
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 0x18004e8ef
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rsi + 0x20]
comiss xmm2, xmm0
ja 0x18004e900
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 0x18004e93e
movss xmm0, dword [r14 + 0x381c]
jmp 0x18004e961
mov eax, r12d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18004e958
movss xmm0, dword [r14 + 0x3824]
jmp 0x18004e961
movss xmm0, dword [r14 + 0x3800]
xor cl, cl
movss dword [rsi + 0x58], xmm0
mov dword [rsp + 0x44], ecx
test bl, bl
je 0x18004ebc2
bt r12d, 0xc
jb 0x18004ebc2
bt r12d, 0x1a
jae 0x18004e98d
mov byte [rsp + 0x44], 1
jmp 0x18004e9a3
test r12d, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0x44], ecx
mov eax, dword [r13 + 0x4870]
sub eax, 1
js 0x18004ebc2
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 0x18004e9d9
test dword [rcx + 0x14], 0x8000000
jne 0x18004e9e8
sub r8, 0x38
sub rdx, 1
jns 0x18004e9c8
jmp 0x18004ebc2
mov rax, rsi
cmp qword [rsi + 0x378], rcx
je 0x18004ebc2
nop dword [rax + rax]
cmp rax, rcx
je 0x18004ebc2
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18004ea00
mov r8, qword [rsi + 0x378]
xor r15b, r15b
mov dword [rsp + 0x44], r15d
cmp rsi, r8
jne 0x18004ebc7
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 0x18004ead4
test dword [rdx + 0x14], 0x8000000
je 0x18004ead4
cmp byte [rdx + 0xb6], 0
jne 0x18004ea7b
cmp byte [rdx + 0xb7], 0
je 0x18004ead4
mov rax, rsi
cmp r8, rdx
je 0x18004eae2
cmp rax, rdx
je 0x18004eae2
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18004ea83
mov rax, qword [rdx + 0x370]
mov rcx, qword [rax + 0x378]
test rcx, rcx
je 0x18004ead4
mov rax, rsi
cmp r8, rcx
je 0x18004eae4
nop
cmp rax, rcx
je 0x18004eae4
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18004eab0
mov rax, qword [rcx + 0x370]
mov rcx, qword [rax + 0x378]
test rcx, rcx
jne 0x18004eaa7
sub r10, 0x38
sub r9, 1
jns 0x18004ea50
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 0x18004eb1e
nop dword [rax]
cmp qword [r9], r15
je 0x18004eb1e
add r9, 8
cmp r9, rcx
jb 0x18004eb10
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 0x18004eb4e
nop dword [rax]
cmp qword [rdi], r8
je 0x18004eb4e
add rdi, 8
cmp rdi, rcx
jb 0x18004eb40
mov r10, qword [r13 + 0x3e70]
sub rdi, r10
sar rdi, 3
cmp r9d, edi
jge 0x18004eb97
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 0x18004ebc2
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 + 0x44]
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 [0x18012403c]
setne dil
mulss xmm2, dword [0x180124094]
inc edi
cmp byte [rsi + 0xb9], 0
movups xmmword [rbp + 0x40], xmm0
movss xmm0, dword [rsi + 0x58]
addss xmm0, dword [0x180124090]
addss xmm0, xmm1
maxss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
jne 0x18004ec58
lea rax, [rbp + 0x30]
mov r9d, edi
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x10]
lea rax, [rbp + 0x40]
mov rcx, rsi
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x20], rax
call fcn.18004be70
test al, al
je 0x18004ec58
mov cl, 1
movzx edx, cl
jmp 0x18004ec61
movzx edx, byte [rsp + 0x41]
mov ecx, dword [rsp + 0x50]
cmp byte [rsi + 0xb9], 0
movzx eax, byte [rbp + 0x10]
mov byte [rsi + 0xc1], al
jne 0x18004edd0
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 0x18004ecd0
mov qword [rbp - 0x70], 0
lea rax, [rbp - 0x70]
jmp 0x18004ecfa
movss xmm0, dword [rsi + 0x50]
lea rax, [rbp - 0x68]
movss xmm1, dword [rsi + 0x54]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rsi + 0x38]
addss xmm1, dword [rsi + 0x3c]
movss dword [rbp - 0x68], xmm0
movss dword [rbp - 0x64], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test dl, dl
jne 0x18004ed0a
movaps xmm5, xmm2
test cl, cl
jne 0x18004ed11
movaps xmm4, xmm3
bt r12d, 0xe
jb 0x18004ed27
comiss xmm1, xmm4
jbe 0x18004ed23
test r12b, 8
je 0x18004ed27
xor cl, cl
jmp 0x18004ed29
mov cl, 1
mov byte [rsi + 0xb5], cl
bt r12d, 0xf
jb 0x18004ed6e
test cl, cl
je 0x18004ed45
movss xmm0, dword [r14 + 0x3864]
jmp 0x18004ed49
movaps xmm0, xmm14
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x18004ed61
mov eax, r12d
and eax, 0x808
cmp eax, 0x800
je 0x18004ed6e
mov byte [rsi + 0xb4], 0
movaps xmm1, xmm14
jmp 0x18004ed99
mov byte [rsi + 0xb4], 1
test cl, cl
jne 0x18004ed90
comiss xmm1, xmm4
jbe 0x18004ed88
test r12b, 8
jne 0x18004ed88
mov cl, 1
jmp 0x18004ed8a
xor cl, cl
mov byte [rsi + 0xb5], cl
movss xmm1, dword [r14 + 0x3864]
test cl, cl
je 0x18004eda8
movss xmm0, dword [r14 + 0x3864]
jmp 0x18004edac
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 0x18004edf7
cmp dword [rsp + 0x4c], 0x3000000
je 0x18004edf7
mov r13, qword [rsp + 0x68]
lea rax, [r13 + 0x238]
jmp 0x18004ee00
mov r13, qword [rsp + 0x68]
lea rax, [rbp + 0x20]
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 + 0x20], xmm4
je 0x18004ee30
movaps xmm2, xmm14
jmp 0x18004ee64
mov rax, qword [rsi + 0x368]
movss xmm0, dword [rcx + 0x3c2c]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18004ee54
mulss xmm0, dword [rax + 0x290]
movss xmm2, dword [rcx + 0x3830]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rsi + 0x24]
addss xmm2, xmm6
movss dword [rsp + 0x74], xmm0
movaps xmm1, xmm7
addss xmm1, dword [rsi + 0x30]
movss dword [rsp + 0x70], xmm7
mov eax, r12d
and eax, 0x401
movss dword [rsp + 0x7c], xmm2
movss dword [rsp + 0x78], xmm1
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 0x18004ef7b
movss xmm11, dword [rsi + 0x5c]
jmp 0x18004ef84
movss xmm11, dword [r14 + 0x3838]
movss xmm2, dword [0x180124058]
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 0x18004f033
movaps xmm1, xmm5
jmp 0x18004f03a
movaps xmm1, xmm6
minss xmm1, xmm0
comiss xmm4, xmm8
jbe 0x18004f045
movaps xmm0, xmm4
jmp 0x18004f04d
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 0x18004f071
minss xmm6, xmm0
movaps xmm5, xmm6
movss xmm0, dword [rsi + 0x210]
comiss xmm4, xmm0
ja 0x18004f085
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 0x18004f0b3
test r12d, 0x2000040
jne 0x18004f0b3
mulss xmm0, dword [0x180124060]
jmp 0x18004f0c4
movss xmm0, dword [r14 + 0x3c28]
mulss xmm0, dword [0x1801240fc]
cvttss2si eax, xmm0
mov rcx, rsi
mov rdx, rsi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x268], xmm0
lea rcx, [rbp - 0x78]
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.1800538d0
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.180064800
mov rcx, qword [0x180157948]
lea r8, [rbp + 0x28]
xor r9d, r9d
lea rdx, [rbp + 0x20]
mov rax, qword [rcx + 0x3ec8]
mov byte [rax + 0xb8], 1
mov rbx, qword [rcx + 0x3ec8]
mov rcx, qword [rbx + 0x298]
call fcn.1800646f0
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 0x18004f2da
cmp dword [rsp + 0x4c], 0x3000000
je 0x18004f2da
movsxd rax, dword [r13 + 0x190]
cmp eax, 2
jl 0x18004f2a3
mov rcx, rax
mov rax, qword [r13 + 0x198]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x18004f2a3
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 0x18004f2a3
comiss xmm2, xmm5
jbe 0x18004f2a3
comiss xmm3, xmm6
jbe 0x18004f2a3
comiss xmm4, xmm7
jbe 0x18004f2a3
mov r8b, 1
jmp 0x18004f2a6
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 0x18004f2da
mov rax, qword [r13 + 0x298]
cmp dword [rax + 0x20], 0
jle 0x18004f2da
test r8b, r8b
jne 0x18004f2da
mov bl, 1
mov qword [rsi + 0x298], rax
mov rax, qword [r14 + 0x4a10]
test rax, rax
jne 0x18004f2ed
mov rax, qword [r14 + 0x48a8]
test r15b, r15b
jne 0x18004f30c
test rax, rax
je 0x18004f307
mov rax, qword [rax + 0x388]
cmp qword [rsi + 0x388], rax
je 0x18004f30c
xor r8b, r8b
jmp 0x18004f30f
mov r8b, 1
movss dword [rsp + 0x30], xmm13
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x70]
mov rcx, rsi
mov dword [rsp + 0x20], edi
call fcn.18004cd40
test bl, bl
je 0x18004f342
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 0x18004f39e
jne 0x18004f39e
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 0x18004f394
movss xmm6, dword [rsi + 0x38]
maxss xmm6, xmm1
jmp 0x18004f3a1
movaps xmm6, xmm14
maxss xmm6, xmm1
jmp 0x18004f3a1
movaps xmm6, xmm5
movss xmm4, dword [rsi + 0x4c]
ucomiss xmm4, xmm14
jp 0x18004f3e7
jne 0x18004f3e7
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 0x18004f3dd
movss xmm7, dword [rsi + 0x3c]
maxss xmm7, xmm1
jmp 0x18004f3ea
movaps xmm7, xmm14
maxss xmm7, xmm1
jmp 0x18004f3ea
movaps xmm7, xmm4
ucomiss xmm5, xmm14
movss xmm9, dword [rsi + 0x50]
movss xmm10, dword [rsi + 0x84]
movaps xmm0, xmm9
maxss xmm0, dword [rsi + 0x5c]
movss xmm1, dword [rsi + 0x1f8]
subss xmm1, xmm10
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [rsi + 0x218], xmm3
addss xmm6, xmm3
movss xmm8, dword [rsi + 0x54]
movss xmm11, dword [rsi + 0x88]
movaps xmm1, xmm8
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, xmm9
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, xmm8
addss xmm3, xmm7
movss dword [rsi + 0x24c], xmm3
jp 0x18004f4f8
jne 0x18004f4f8
movss xmm5, dword [rsi + 0x28]
movaps xmm0, xmm9
addss xmm0, xmm9
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 0x18004f52a
jne 0x18004f52a
movss xmm4, dword [rsi + 0x2c]
movaps xmm0, xmm8
addss xmm0, xmm8
movaps xmm1, xmm7
addss xmm1, dword [rsi + 0x6c]
subss xmm4, xmm0
subss xmm4, xmm1
xor ecx, ecx
addss xmm3, xmm4
cvtps2pd xmm2, xmm9
lea rbx, [rsi + 0x16c]
movss dword [rsi + 0x254], xmm3
movaps xmm0, xmm6
addss xmm0, xmm9
cvtps2pd xmm1, xmm10
subss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x1a0]
cvtps2pd xmm3, xmm8
movss dword [rsi + 0x144], xmm0
mov qword [rsi + 0x148], rcx
cvtps2pd xmm0, xmm12
movaps xmm12, xmmword [rsp + 0x180]
addsd xmm2, xmm0
cvtps2pd xmm0, xmm6
subsd xmm2, xmm1
xorps xmm1, xmm1
addsd xmm2, xmm0
cvtps2pd xmm0, xmm13
movaps xmm13, xmmword [rsp + 0x170]
addsd xmm2, xmm1
addsd xmm3, xmm0
cvtps2pd xmm1, xmm11
movaps xmm11, xmmword [rsp + 0x190]
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], rcx
mov qword [rsi + 0x128], rcx
mov qword [rsi + 0x138], rcx
mov word [rsi + 0x140], cx
mov dword [rsi + 0x158], ecx
movzx eax, word [rsi + 0x15e]
mov word [rsi + 0x15c], ax
mov word [rsi + 0x15e], cx
mov byte [rsi + 0x160], cl
movss xmm0, dword [rsi + 0x90]
comiss xmm0, xmm14
seta al
mov byte [rsi + 0x161], al
mov byte [rsi + 0x162], cl
movss xmm0, dword [r14 + 0x383c]
cmp byte [rsp + 0x40], cl
je 0x18004f6c7
xor eax, eax
mov qword [rbx + 0x12], rax
cvttss2si eax, xmm0
mov rcx, rbx
mov word [rbx + 8], ax
call fcn.180079b00
xor eax, eax
xor edi, edi
mov qword [rbx + 0x12], rax
mov eax, dword [rbx + 4]
mov dword [rbx], eax
mov dword [rbx + 4], edi
mov qword [rsi + 0x188], rdi
mov ecx, dword [rsi + 0x194]
test ecx, ecx
jns 0x18004f714
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.18005aa60
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 0x18004f748
mov eax, dword [r13 + 0x1b4]
jmp 0x18004f74a
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.18005ae90
lea rcx, [rsi + 0x1d8]
call fcn.18005ae90
movzx eax, byte [rsi + 0xd0]
test al, al
jle 0x18004f791
dec al
mov byte [rsi + 0xd0], al
movzx eax, byte [rsi + 0xd1]
test al, al
jle 0x18004f7a4
dec al
mov byte [rsi + 0xd1], al
test r15b, r15b
je 0x18004f7bb
mov rcx, rsi
call fcn.18004fe80
xor edx, edx
mov rcx, rsi
call fcn.180055920
movss xmm8, dword [rsp + 0x7c]
movss xmm7, dword [rsp + 0x78]
movss xmm6, dword [rsp + 0x74]
movss xmm9, dword [rsp + 0x70]
test bl, r12b
jne 0x18004f814
mov r9, qword [rbp - 0x60]
lea rdx, [rbp + 0x20]
mov r8, qword [rbp - 0x80]
movaps xmm0, xmm9
addss xmm0, dword [rsi + 0x5c]
movaps xmm1, xmm7
movss dword [rbp + 0x24], xmm6
subss xmm1, dword [rsi + 0x5c]
mov rcx, rsi
movss dword [rbp + 0x2c], xmm8
movss dword [rbp + 0x20], xmm0
movss dword [rbp + 0x28], xmm1
call fcn.18004d3a0
mov rdx, qword [0x180157948]
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 + 0x1b0]
jb 0x18004f875
movss xmm0, dword [rdx + 0xe0c]
comiss xmm0, xmm6
jb 0x18004f875
comiss xmm7, xmm1
jbe 0x18004f875
comiss xmm8, xmm0
mov r8d, ebx
ja 0x18004f878
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 + 0x1c0]
movaps xmm7, xmmword [rsp + 0x1d0]
movaps xmm6, xmmword [rsp + 0x1e0]
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 0x18004f959
cmp dword [rsi + 0x10], eax
je 0x18004f8da
cmp dword [rsi + 0x7c], eax
jne 0x18004f959
call fcn.180059ea0
jmp 0x18004f959
mov rcx, qword [0x180157948]
mov qword [rcx + 0x3ec8], rsi
movsxd rax, dword [rsi + 0x1b0]
cmp eax, 0xffffffff
je 0x18004f90d
imul rdx, rax, 0x238
add rdx, qword [rcx + 0x4b30]
xor edi, edi
jmp 0x18004f911
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 0x18004f93f
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.1800498e0
mov eax, dword [rsp + 0x54]
mov r15, qword [rsp + 0x1f0]
mov byte [rsi + 0xb8], 0
inc word [rsi + 0xc2]
mov dword [r14 + 0x47a0], edi
mov rdi, qword [rsp + 0x208]
cmp eax, dword [rsp + 0x58]
je 0x18004faf8
bt r12d, 0x18
jae 0x18004fa6a
test r12b, 0x40
jne 0x18004fa2f
cmp byte [rsi + 0xd0], 0
jg 0x18004fa2f
cmp byte [rsi + 0xd1], 0
jg 0x18004fa2f
bt r12d, 0x17
jae 0x18004f9f6
cmp byte [r14 + 0x48e8], 0
je 0x18004f9f6
mov rcx, qword [r14 + 0x48a8]
test rcx, rcx
je 0x18004f9f6
mov rax, qword [rsi + 0x390]
cmp qword [rcx + 0x390], rax
jne 0x18004f9f6
mov al, 1
jmp 0x18004f9f8
xor al, al
cmp byte [r14 + 0x5c38], 0
jne 0x18004fa2f
test al, al
jne 0x18004fa2f
movss xmm0, dword [rsi + 0x1e8]
comiss xmm0, dword [rsi + 0x1f0]
jae 0x18004fa28
movss xmm0, dword [rsi + 0x1ec]
comiss xmm0, dword [rsi + 0x1f4]
jb 0x18004fa2f
mov byte [rsi + 0xd8], 1
test r13, r13
je 0x18004fa6a
cmp byte [r13 + 0xb9], 0
jne 0x18004fa48
cmp byte [r13 + 0xd8], 0
jle 0x18004fa4f
mov byte [rsi + 0xd8], 1
cmp byte [r13 + 0xb9], 0
jne 0x18004fa63
cmp byte [r13 + 0xd9], 0
jle 0x18004fa6a
mov byte [rsi + 0xd9], 1
comiss xmm14, dword [r14 + 0x37f0]
jb 0x18004fa7b
mov byte [rsi + 0xd8], 1
cmp byte [rsi + 0xd8], 0
jg 0x18004fa9b
cmp byte [rsi + 0xd9], 0
jg 0x18004fa9b
xor cl, cl
cmp byte [rsi + 0xda], cl
jg 0x18004fa9d
xor al, al
jmp 0x18004fa9f
mov cl, 1
mov al, 1
mov byte [rsi + 0xbd], al
movzx eax, byte [rsi + 0xdb]
test al, al
jle 0x18004fabf
dec al
mov byte [rsi + 0xdb], al
or dword [rsi + 0x14], 0xc0200
xor al, al
cmp byte [rsi + 0xb9], al
jne 0x18004fad5
cmp byte [rsi + 0xb6], al
je 0x18004fad5
test cl, cl
je 0x18004faf2
cmp byte [rsi + 0xd0], al
jg 0x18004faf2
cmp byte [rsi + 0xd1], al
jg 0x18004faf2
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 + 0x160]
mov r13, qword [rsp + 0x1f8]
mov r12, qword [rsp + 0x200]
mov rbx, qword [rsp + 0x248]
jne 0x18004fb79
cmp byte [r14 + 0x84], 0
je 0x18004fb34
cmp qword [rsp + 0x60], 0
je 0x18004fb4f
cmp byte [r14 + 0x85], 0
je 0x18004fb79
movsx eax, byte [r14 + 0x5caa]
cmp eax, dword [r14 + 0x3e98]
jne 0x18004fb79
movzx eax, byte [rsi + 0xd0]
test al, al
jle 0x18004fb62
inc al
mov byte [rsi + 0xd0], al
movzx eax, byte [rsi + 0xd1]
test al, al
jle 0x18004fb75
inc al
mov byte [rsi + 0xd1], al
xor al, al
jmp 0x18004fb83
cmp byte [rsi + 0xbb], 0
sete al
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.18008f1c0
add rsp, 0x210
pop r14
pop rsi
pop rbp
ret