Function at 0x1800509b0
Capabilities:
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x1f0
mov r14, qword [0x1801b0930]
mov r11, rcx
mov ebx, r8d
movaps xmmword [rax - 0xa8], xmm11
mov r8d, 0xffffffff
mov qword [rax - 0x40], r13
mov ecx, r8d
movzx r10d, byte [r11]
lea r9, [r11 + 1]
test r10b, r10b
je 0x180050a3f
lea rdi, [0x18018e450]
nop dword [rax]
cmp r10b, 0x23
jne 0x180050a23
cmp byte [r9], r10b
jne 0x180050a23
cmp byte [r9 + 1], r10b
cmove ecx, r8d
movzx edx, cl
movzx eax, r10b
movzx r10d, byte [r9]
xor rdx, rax
shr ecx, 8
inc r9
xor ecx, dword [rdi + rdx*4]
test r10b, r10b
jne 0x180050a10
not ecx
call fcn.18004e510
test rax, rax
mov qword [rbp - 0x70], rax
mov rdi, rax
sete dl
mov byte [rbp + 0x140], dl
test rax, rax
jne 0x180050a72
mov edx, ebx
mov rcx, r11
call fcn.18004e790
movzx edx, byte [rbp + 0x140]
mov rdi, rax
mov esi, dword [r14 + 0x3e20]
mov ecx, ebx
mov r9d, dword [rdi + 0x250]
mov r12d, ebx
or r12d, 6
mov dword [rsp + 0x48], esi
and ecx, 0xc0200
mov dword [rsp + 0x44], r9d
cmp ecx, 0xc0200
cmovne r12d, ebx
lea rbx, [r14 + 0x3e70]
cmp dword [rbx], 0
mov dword [rsp + 0x30], r12d
jne 0x180050ac1
cmp byte [r14 + 0x3e2d], 0
je 0x180050ac1
mov al, 1
jmp 0x180050ac3
xor al, al
mov byte [rdi + 0x9e], al
lea eax, [rsi - 1]
cmp r9d, eax
setl r8b
mov byte [rbp + 0x138], r8b
bt r12d, 0x1a
jae 0x180050b11
movsxd rax, dword [r14 + 0x4088]
imul rax, rax, 0x38
add rax, qword [r14 + 0x4080]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0xac], eax
setne al
or cl, al
or r8b, cl
mov byte [rbp + 0x138], r8b
mov byte [rdi + 0x9c], r8b
test r8b, r8b
je 0x180050b32
or byte [rdi + 0xbc], 8
or byte [rdi + 0xbd], 8
or byte [rdi + 0xbe], 8
xor r13d, r13d
cmp r9d, esi
je 0x180050b89
mov r8d, r12d
mov rcx, rdi
call fcn.18004e600
mov r9d, dword [rsp + 0x44]
mov dword [rdi + 0xc], r12d
mov dword [rdi + 0x250], esi
movsd xmm0, qword [r14 + 0x3e18]
mov word [rdi + 0xa6], r13w
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x254], xmm0
movzx eax, word [r14 + 0x3e90]
inc dword [r14 + 0x3e90]
mov word [rdi + 0xa8], ax
jmp 0x180050b92
mov r12d, dword [rdi + 0xc]
mov dword [rsp + 0x30], r12d
movsxd rax, dword [rbx]
test eax, eax
jne 0x180050b9e
mov r15, r13
jmp 0x180050bae
imul rcx, rax, 0x58
mov rax, qword [r14 + 0x3e78]
mov r15, qword [rcx + rax - 0x58]
cmp r9d, esi
je 0x180050bc0
test r12d, 0x5000000
cmovne r13, r15
jmp 0x180050bc7
mov r13, qword [rdi + 0x358]
lea rsi, [rdi + 0xd0]
mov qword [rsp + 0x58], r13
cmp dword [rsi], 0
mov r9d, 8
jne 0x180050c04
cmp dword [rsi + 4], 0
jne 0x180050bf5
mov edx, r9d
mov rcx, rsi
call fcn.18005c7c0
mov r9d, 8
movsxd rdx, dword [rsi]
mov eax, dword [rdi + 8]
mov rcx, qword [rsi + 8]
mov dword [rcx + rdx*4], eax
inc dword [rsi]
mov rdx, qword [0x1801b0930]
xorps xmm0, xmm0
mov eax, dword [r14 + 0x3fa4]
movups xmm1, xmmword [r14 + 0x3f7c]
mov qword [r14 + 0x3ea0], rdi
mov r8d, dword [rbx + 4]
movups xmmword [rbp + 4], xmm0
mov dword [rbp], eax
mov rax, qword [rdx + 0x3ea0]
movups xmm0, xmmword [r14 + 0x3f6c]
mov qword [rbp - 0x40], rdi
movups xmmword [rbp - 0x28], xmm1
movzx ecx, word [rax + 0xd0]
movzx eax, word [rdx + 0x4018]
movsd xmm1, qword [r14 + 0x3f9c]
mov word [rbp + 6], ax
movzx eax, word [rdx + 0x4028]
mov word [rbp + 8], ax
movzx eax, word [rdx + 0x4038]
mov word [rbp + 0xa], ax
movzx eax, word [rdx + 0x4048]
mov word [rbp + 0xc], ax
movzx eax, word [rdx + 0x4068]
mov word [rbp + 0xe], ax
movzx eax, word [rdx + 0x4058]
mov word [rbp + 0x10], ax
movzx eax, word [rdx + 0x4088]
movups xmmword [rbp - 0x38], xmm0
mov word [rbp + 0x12], ax
movups xmm0, xmmword [r14 + 0x3f8c]
movzx eax, word [rdx + 0x5354]
mov word [rbp + 4], cx
mov ecx, dword [rbx]
mov word [rbp + 0x14], ax
movsd qword [rbp - 8], xmm1
movups xmmword [rbp - 0x18], xmm0
cmp ecx, r8d
jne 0x180050cf4
inc ecx
test r8d, r8d
je 0x180050ce2
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180050ce5
mov eax, r9d
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18005c5f0
movsxd rax, dword [rbx]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
imul rcx, rax, 0x58
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm0
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp]
movups xmmword [rcx + rax + 0x30], xmm1
movsd xmm1, qword [rbp + 0x10]
movups xmmword [rcx + rax + 0x40], xmm0
movsd qword [rcx + rax + 0x50], xmm1
mov eax, r12d
inc dword [rbx]
and eax, 0x10000000
mov dword [rsp + 0x64], eax
je 0x180050d4d
inc dword [r14 + 0x4098]
mov eax, dword [rsp + 0x44]
cmp eax, dword [rsp + 0x48]
je 0x180050e01
mov qword [rdi + 0x358], r13
mov qword [rdi + 0x380], rdi
mov qword [rdi + 0x378], rdi
mov qword [rdi + 0x370], rdi
mov qword [rdi + 0x368], rdi
test r13, r13
je 0x180050dd3
mov eax, r12d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x180050da0
mov rax, qword [r13 + 0x368]
mov qword [rdi + 0x368], rax
bt r12d, 0x1a
jae 0x180050db5
mov rax, qword [r13 + 0x370]
mov qword [rdi + 0x370], rax
bt r12d, 0x1b
jb 0x180050dd3
test r12d, 0x5000000
je 0x180050dd3
mov rax, qword [r13 + 0x378]
mov qword [rdi + 0x378], rax
test dword [rdi + 0xc], 0x800000
je 0x180050dfa
mov rcx, rdi
nop
mov rax, qword [rcx + 0x358]
mov qword [rdi + 0x380], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x180050de0
mov qword [rdi + 0x360], r15
mov r13, qword [0x1801b0930]
mov r12d, dword [rdi + 8]
lea rbx, [r13 + 0x4048]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180050e47
inc r8d
test ecx, ecx
je 0x180050e30
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180050e35
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18005c7c0
movsxd rcx, dword [rbx]
xor r10d, r10d
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], r12d
inc dword [rbx]
mov ebx, dword [rsp + 0x30]
mov dword [r13 + 0x3f4c], r12d
mov eax, dword [r14 + 0x3f4c]
mov dword [rdi + 0x3b8], eax
mov eax, ebx
and eax, 0x4000000
mov qword [r14 + 0x3ea0], r10
mov dword [rsp + 0x3c], eax
je 0x180050ebd
lea rcx, [r14 + 0x4088]
movsxd rax, dword [rcx]
imul rbx, rax, 0x38
add rbx, qword [r14 + 0x4080]
mov rdx, rbx
mov qword [rbx + 8], rdi
mov eax, dword [r15 + 0x148]
mov dword [rbx + 0x18], eax
call fcn.18005bd40
mov eax, dword [rbx]
xor r10d, r10d
mov ebx, dword [rsp + 0x30]
mov dword [rdi + 0xac], eax
xor r13b, r13b
xor r15b, r15b
xor r12b, r12b
test byte [r14 + 0x3fa8], 1
je 0x180050f64
mov r8d, dword [r14 + 0x3fac]
movzx ecx, byte [rdi + 0xbc]
movsx eax, cl
test r8d, eax
setne r13b
test r8d, eax
je 0x180050f55
movss xmm0, dword [r14 + 0x3fc4]
movss xmm1, dword [r14 + 0x3fc0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180198674]
jbe 0x180050f55
movsd xmm0, qword [r14 + 0x3fb8]
and ecx, 0xf1
mov eax, dword [rdi + 0xbc]
and eax, 0xffffff00
movsd qword [rdi + 0xc0], xmm0
movsd xmm1, qword [r14 + 0x3fc0]
or ecx, eax
mov dword [rdi + 0xbc], ecx
movsd qword [rdi + 0xc8], xmm1
jmp 0x180050f64
lea rdx, [r14 + 0x3fb8]
mov rcx, rdi
call fcn.1800533c0
test byte [r14 + 0x3fa8], 2
xorps xmm11, xmm11
je 0x180050fb0
movsx eax, byte [rdi + 0xbd]
lea rdx, [r14 + 0x3fc8]
mov r8d, dword [r14 + 0x3fb0]
and eax, r8d
je 0x180050f97
comiss xmm11, dword [rdx]
jae 0x180050f97
mov r15b, 1
jmp 0x180050f9b
test eax, eax
je 0x180050fa8
comiss xmm11, dword [r14 + 0x3fcc]
jae 0x180050fa8
mov r12b, 1
mov rcx, rdi
call fcn.180053520
test byte [r14 + 0x3fa8], 0x80
je 0x180050fed
movss xmm0, dword [r14 + 0x3fd8]
comiss xmm0, xmm11
jb 0x180050fd2
movss dword [rdi + 0x74], xmm0
mov dword [rdi + 0x7c], r10d
movss xmm0, dword [r14 + 0x3fdc]
comiss xmm0, xmm11
jb 0x180050fed
movss dword [rdi + 0x78], xmm0
mov dword [rdi + 0x80], r10d
test byte [r14 + 0x3fa8], 4
je 0x180051007
movsd xmm0, qword [r14 + 0x3fd0]
movsd qword [rdi + 0x40], xmm0
jmp 0x180051019
mov eax, dword [rsp + 0x44]
cmp eax, dword [rsp + 0x48]
je 0x180051019
mov qword [rdi + 0x40], 0
test byte [r14 + 0x3fa8], 8
je 0x18005106a
mov ecx, dword [r14 + 0x3fb4]
movzx edx, byte [r14 + 0x3fe0]
test ecx, ecx
je 0x180051041
movsx eax, byte [rdi + 0xbe]
test ecx, eax
je 0x18005106a
movzx ecx, byte [rdi + 0xbe]
mov eax, dword [rdi + 0xbc]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rdi + 0x99], dl
mov dword [rdi + 0xbc], ecx
test byte [r14 + 0x3fa8], 0x20
je 0x18005107c
mov rcx, rdi
call fcn.180052f50
cmp byte [rdi + 0x9c], 0
je 0x18005109a
and byte [rdi + 0xbc], 0xf7
and byte [rdi + 0xbd], 0xf7
and byte [rdi + 0xbe], 0xf7
mov eax, dword [rsp + 0x44]
mov r8d, 1
cmp eax, dword [rsp + 0x48]
je 0x180052b25
movaps xmmword [rsp + 0x1d0], xmm6
mov eax, ebx
movaps xmmword [rsp + 0x1c0], xmm7
and eax, 0x3000000
movaps xmmword [rsp + 0x1b0], xmm8
movaps xmmword [rsp + 0x1a0], xmm9
movaps xmmword [rsp + 0x190], xmm10
movaps xmmword [rsp + 0x170], xmm12
movaps xmmword [rsp + 0x160], xmm13
movaps xmmword [rsp + 0x150], xmm14
mov byte [rdi + 0x96], r8b
mov byte [rdi + 0xa0], 0
movaps xmmword [rsp + 0x140], xmm15
mov dword [rsp + 0x38], eax
movzx eax, byte [rdi + 0xb9]
mov dword [rdi + 0x228], 0xff7fffff
mov dword [rdi + 0x22c], 0xff7fffff
mov dword [rdi + 0x230], 0x7f7fffff
mov dword [rdi + 0x234], 0x7f7fffff
mov ecx, dword [rsi + 4]
mov byte [rsp + 0x34], al
cmp ecx, r8d
jge 0x18005117c
test ecx, ecx
je 0x180051160
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180051165
mov eax, 8
cmp eax, r8d
mov edx, r8d
mov rcx, rsi
cmovg edx, eax
call fcn.18005c7c0
mov r8d, 1
mov dword [rsi], r8d
mov rcx, qword [rdi + 0x288]
call fcn.18005d750
cmp byte [rdi + 0x3c4], 0
mov dword [rdi + 0x1a0], 0xffffffff
je 0x1800511da
mov rcx, qword [rdi + 0x288]
mov edx, dword [rdi + 0x3bc]
add rcx, 0x10
mov byte [rdi + 0x3c4], 0
call fcn.18005c480
mov rcx, qword [rdi + 0x288]
mov edx, dword [rdi + 0x3c0]
add rcx, 0x20
call fcn.18005c1f0
xor eax, eax
mov qword [rdi + 0x3bc], rax
cmp qword [r14 + 0x4228], 0
mov r9, qword [rbp - 0x70]
je 0x1800512b4
test dword [rdi + 0xc], 0x80000
jne 0x1800512b4
test r9, r9
je 0x1800512b4
mov r10, qword [rbp + 0x130]
mov r9, qword [rdi]
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 0x180051233
inc rax
test ecx, ecx
jne 0x180051220
test edx, edx
je 0x1800512b0
movsxd rsi, dword [rdi + 0x58]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x180051242
inc rbx
cmp rsi, rbx
jae 0x18005129c
test r9, r9
je 0x18005126b
mov rax, qword [0x1801b0930]
test rax, rax
je 0x18005126b
dec dword [rax + 0xf4]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1801b0930]
test rax, rax
je 0x180051286
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 + 0x130]
mov rsi, rbx
mov r9, rax
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], rax
mov dword [rdi + 0x58], esi
mov r9, qword [rbp - 0x70]
lea rdx, [rdi + 0x30]
mov rcx, rdi
lea r8, [rdi + 0x38]
call fcn.18004ec90
movzx eax, byte [rdi + 0xb8]
test al, al
jle 0x1800512d7
dec al
mov byte [rdi + 0xb8], al
movzx eax, byte [rdi + 0xb9]
test al, al
jle 0x1800512ea
dec al
mov byte [rdi + 0xb9], al
movzx eax, byte [rdi + 0xba]
test al, al
jle 0x1800512fd
dec al
mov byte [rdi + 0xba], al
test r9, r9
jne 0x180051313
test r15b, r15b
je 0x18005130c
test r12b, r12b
jne 0x180051313
mov byte [rdi + 0xb9], 1
mov r8d, dword [rsp + 0x30]
xor r9d, r9d
cmp byte [rbp + 0x138], r9b
je 0x180051363
test r8d, 0x6000000
je 0x180051363
mov byte [rdi + 0xb9], 1
test r8b, 0x40
je 0x180051363
test r15b, r15b
jne 0x180051347
mov dword [rdi + 0x28], r9d
mov dword [rdi + 0x20], r9d
test r12b, r12b
jne 0x180051354
mov dword [rdi + 0x2c], r9d
mov dword [rdi + 0x24], r9d
mov qword [rdi + 0x38], 0
mov qword [rdx], 0
mov rcx, qword [0x1801b0930]
mov rax, qword [rcx + 0x40a8]
mov rsi, qword [rax]
mov qword [rdi + 0x10], rsi
mov qword [rcx + 0x3ea0], rdi
movsxd rax, dword [rdi + 0x1a0]
cmp eax, 0xffffffff
je 0x18005139b
imul rdx, rax, 0x218
add rdx, qword [rcx + 0x4338]
jmp 0x18005139e
mov rdx, r9
movss xmm0, dword [rcx + 0x3c04]
mov qword [rcx + 0x4310], rdx
mov rax, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x280]
test rax, rax
je 0x1800513c9
mulss xmm0, dword [rax + 0x280]
mov eax, r8d
movss dword [rcx + 0x3c18], xmm0
and eax, 0x1000000
movss dword [rcx + 0x3c00], xmm0
mov dword [rsp + 0x40], eax
je 0x1800513f2
movss xmm1, dword [r14 + 0x3810]
jmp 0x180051416
test r8d, 0x6000000
je 0x18005140d
bt r8d, 0x1b
jb 0x18005140d
movss xmm1, dword [r14 + 0x3818]
jmp 0x180051416
movss xmm1, dword [r14 + 0x37f4]
movss dword [rdi + 0x54], xmm1
mov eax, r8d
movsd xmm0, qword [r14 + 0x37e8]
and eax, 0x5010000
movsd qword [rdi + 0x48], xmm0
cmp eax, 0x1000000
jne 0x18005145d
ucomiss xmm1, xmm11
jne 0x18005145d
bt r8d, 0xa
jae 0x180051450
movss xmm0, dword [r14 + 0x37ec]
jmp 0x180051454
movaps xmm0, xmm11
movss dword [rdi + 0x4c], xmm0
mov dword [rdi + 0x48], r9d
movss xmm0, dword [r14 + 0x382c]
maxss xmm0, dword [rdi + 0x48]
maxss xmm0, dword [r14 + 0x400c]
movss dword [rdi + 0x154], xmm0
mov eax, dword [r14 + 0x4010]
mov dword [rdi + 0x158], eax
movzx eax, byte [rbp + 0x140]
mov byte [rbp + 0x148], al
test r8b, 0x21
jne 0x1800515e6
mov edx, dword [rdi + 0xc]
test dl, 1
je 0x1800514ae
movaps xmm0, xmm11
jmp 0x1800514e2
mov rax, qword [rdi + 0x358]
movss xmm1, dword [rdi + 0x280]
mulss xmm1, dword [rcx + 0x3c04]
test rax, rax
je 0x1800514d2
mulss xmm1, dword [rax + 0x280]
movss xmm0, dword [rcx + 0x3820]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm3, dword [rdi + 0x18]
movaps xmm1, xmm3
addss xmm1, dword [rdi + 0x28]
addss xmm0, dword [rdi + 0x1c]
cmp qword [r14 + 0x3ea8], rdi
jne 0x1800515aa
cmp dword [r14 + 0x3ed8], 0
jne 0x1800515aa
cmp dword [r14 + 0x3edc], 0
jne 0x1800515aa
mov rax, qword [rcx + 0x3ea0]
movss xmm2, dword [rax + 0x228]
movss xmm4, dword [rax + 0x230]
maxss xmm2, xmm3
movss xmm3, dword [rax + 0x22c]
minss xmm4, xmm1
movss xmm1, dword [rcx + 0x3844]
movss xmm5, dword [rax + 0x234]
maxss xmm3, dword [rdi + 0x1c]
subss xmm2, xmm1
minss xmm5, xmm0
movss xmm0, dword [rcx + 0x3848]
addss xmm4, xmm1
movss xmm1, dword [rcx + 0xdfc]
subss xmm3, xmm0
comiss xmm1, xmm2
addss xmm5, xmm0
jb 0x1800515aa
movss xmm0, dword [rcx + 0xe00]
comiss xmm0, xmm3
jb 0x1800515aa
comiss xmm1, xmm4
jae 0x1800515aa
comiss xmm0, xmm5
jae 0x1800515aa
cmp byte [r14 + 0x373d], 0
je 0x1800515aa
mov byte [rdi + 0x9a], 1
cmp byte [rdi + 0x9a], 0
je 0x1800515ed
cmp byte [rdi + 0x99], 0
sete al
mov byte [rdi + 0x99], al
bt edx, 8
jb 0x1800515dc
comiss xmm11, dword [rcx + 0x539c]
jb 0x1800515dc
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x539c], eax
mov rcx, rdi
call fcn.180052f50
jmp 0x1800515ed
mov byte [rdi + 0x99], 0
lea r8, [rdi + 0x38]
mov byte [rdi + 0x9a], 0
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.18004eda0
mov ecx, dword [rsp + 0x30]
and ecx, 0x40
mov dword [rbp - 0x64], ecx
je 0x180051651
cmp byte [rdi + 0x99], 0
jne 0x180051651
test r15b, r15b
jne 0x180051631
movss xmm0, dword [rsp + 0x68]
movss dword [rdi + 0x28], xmm0
mov byte [rbp + 0x140], 1
test r12b, r12b
jne 0x1800516ec
movss xmm0, dword [rsp + 0x6c]
movss dword [rdi + 0x2c], xmm0
mov byte [rbp + 0x148], 1
jmp 0x1800516ec
movzx eax, byte [rdi + 0xb0]
test al, al
jg 0x180051669
cmp byte [rdi + 0xb1], 0
jle 0x1800516ec
test r15b, r15b
jne 0x180051692
test al, al
jle 0x180051692
movss xmm0, dword [rsp + 0x68]
cmp byte [rdi + 0xb3], r15b
je 0x180051686
maxss xmm0, dword [rdi + 0x28]
movss dword [rdi + 0x28], xmm0
mov byte [rbp + 0x140], 1
test r12b, r12b
jne 0x1800516c0
cmp byte [rdi + 0xb1], r12b
jle 0x1800516c0
movss xmm0, dword [rsp + 0x6c]
cmp byte [rdi + 0xb3], r12b
je 0x1800516b4
maxss xmm0, dword [rdi + 0x2c]
movss dword [rdi + 0x2c], xmm0
mov byte [rbp + 0x148], 1
cmp byte [rdi + 0x99], 0
jne 0x1800516ec
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x1801b0930]
jne 0x1800516ec
comiss xmm11, dword [rcx + 0x539c]
jb 0x1800516ec
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x539c], eax
lea r15, [rdi + 0x28]
mov rdx, rdi
mov r8, r15
lea rcx, [rbp - 0x60]
call fcn.18004ea60
cmp byte [rdi + 0x99], 0
mov r8d, dword [rsp + 0x40]
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [r15], xmm2
movss dword [r15 + 4], xmm0
je 0x180051785
test r8d, r8d
jne 0x180051785
test byte [rdi + 0xc], 1
mov rdx, qword [0x1801b0930]
je 0x180051739
movaps xmm0, xmm11
jmp 0x18005176d
mov rax, qword [rdi + 0x358]
movss xmm1, dword [rdx + 0x3c04]
mulss xmm1, dword [rdi + 0x280]
test rax, rax
je 0x18005175d
mulss xmm1, dword [rax + 0x280]
movss xmm0, dword [rdx + 0x3820]
addss xmm0, xmm0
addss xmm0, xmm1
addss xmm0, dword [rdi + 0x1c]
movss dword [rsp + 0x4c], xmm2
subss xmm0, dword [rdi + 0x1c]
movss dword [rsp + 0x50], xmm0
jmp 0x180051797
movsd xmm0, qword [r15]
mov rdx, qword [0x1801b0930]
movsd qword [rsp + 0x4c], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rsp + 0x4c]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x20], xmm0
test cl, 1
je 0x1800517b3
movaps xmm1, xmm11
jmp 0x1800517e7
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rdx + 0x3c04]
mulss xmm0, dword [rdi + 0x280]
test rax, rax
je 0x1800517d7
mulss xmm0, dword [rax + 0x280]
movss xmm1, dword [rdx + 0x3820]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x18005182e
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rdx + 0x3c04]
mulss xmm0, dword [rdi + 0x280]
test rax, rax
je 0x180051811
mulss xmm0, dword [rax + 0x280]
movss xmm10, dword [rdx + 0x3820]
addss xmm0, dword [rdi + 0x158]
addss xmm10, xmm10
addss xmm10, xmm0
jmp 0x180051832
movaps xmm10, xmm11
cmp byte [rbp + 0x138], 0
addss xmm10, xmm1
mov r12d, dword [rsp + 0x30]
movss dword [rsp + 0x60], xmm10
je 0x180051892
mov eax, r12d
mov dword [rdi + 0xb4], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180051892
test r13b, r13b
jne 0x180051892
movsxd rax, dword [r14 + 0x4088]
imul rcx, rax, 0x38
mov rax, qword [r14 + 0x4090]
movss xmm0, dword [rcx + rax - 0x14]
movss xmm1, dword [rcx + rax - 0x10]
movss dword [rdi + 0x18], xmm0
movss dword [rdi + 0x1c], xmm1
test r8d, r8d
je 0x18005191e
mov rdx, qword [rsp + 0x58]
lea rbx, [rdx + 0x180]
movzx eax, word [rbx]
mov word [rdi + 0xa6], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x1800518ea
inc r8d
test ecx, ecx
je 0x1800518ce
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800518d3
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18005c090
mov rdx, qword [rsp + 0x58]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov ebx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x38]
test ebx, ebx
jne 0x180051926
test r13b, r13b
jne 0x180051926
cmp eax, 0x3000000
je 0x180051926
movsd xmm0, qword [rdx + 0xe0]
movsd qword [rdi + 0x18], xmm0
jmp 0x180051926
mov ebx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x38]
movss xmm1, dword [rdi + 0xc0]
ucomiss xmm1, dword [0x180198dec]
je 0x180051988
cmp byte [rdi + 0xb9], 0
jne 0x180051988
movss xmm0, dword [rdi + 0xc8]
lea rdx, [rsp + 0x4c]
mulss xmm0, dword [rdi + 0x20]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xc4]
movss dword [rsp + 0x4c], xmm1
movss xmm1, dword [rdi + 0xcc]
mulss xmm1, dword [rdi + 0x24]
subss xmm0, xmm1
movss dword [rsp + 0x50], xmm0
call fcn.1800533c0
jmp 0x1800519d2
cmp dword [rsp + 0x64], 0
jne 0x1800519b2
test ebx, ebx
je 0x18005199f
test r13b, r13b
jne 0x18005199f
cmp byte [rsp + 0x34], r13b
jg 0x1800519b2
bt r12d, 0x19
jae 0x1800519d2
test r13b, r13b
jne 0x1800519d2
cmp eax, 0x3000000
je 0x1800519d2
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1800565c0
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x18], xmm0
movss dword [rdi + 0x1c], xmm1
movss xmm0, dword [rsi + 0x14]
movss xmm1, dword [rsi + 0x18]
movaps xmm7, xmm0
movss xmm8, dword [rsi + 4]
movaps xmm6, xmm1
movss xmm9, dword [rsi + 8]
movaps xmm4, xmm8
movss xmm3, dword [r14 + 0x388c]
movaps xmm5, xmm9
movss xmm2, dword [r14 + 0x3888]
mov ecx, dword [rsp + 0x40]
movss dword [rbp - 0x80], xmm8
movss dword [rbp - 0x7c], xmm9
addss xmm7, dword [rsi + 0x1c]
addss xmm6, dword [rsi + 0x20]
addss xmm4, dword [rsi + 0xc]
addss xmm5, dword [rsi + 0x10]
maxss xmm3, dword [r14 + 0x3894]
maxss xmm2, dword [r14 + 0x3890]
movss dword [rbp - 0x78], xmm4
movss dword [rbp - 0x74], xmm5
subss xmm6, xmm3
subss xmm7, xmm2
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [rbp + 0x2c], xmm6
movss dword [rbp + 0x28], xmm7
movss dword [rbp + 0x20], xmm2
movss dword [rbp + 0x24], xmm3
test r13b, r13b
jne 0x180051b20
test ecx, ecx
jne 0x180051b20
subss xmm4, xmm8
comiss xmm4, xmm11
jbe 0x180051b20
mov r13, qword [0x1801b0930]
subss xmm5, xmm9
comiss xmm5, xmm11
jbe 0x180051b27
movss xmm0, dword [rdi + 0x24]
cmp byte [r13 + 0x7f], cl
je 0x180051ae9
test byte [rdi + 0xc], 1
jne 0x180051ae9
mov rax, qword [rdi + 0x358]
movss xmm1, dword [r13 + 0x3c04]
mulss xmm1, dword [rdi + 0x280]
test rax, rax
je 0x180051ad8
mulss xmm1, dword [rax + 0x280]
movss xmm0, dword [r13 + 0x3820]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x20]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x1c]
comiss xmm0, xmm3
jb 0x180051b03
movaps xmm3, xmm0
minss xmm3, xmm6
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm2
jb 0x180051b14
movaps xmm2, xmm0
minss xmm2, xmm7
movss dword [rdi + 0x18], xmm2
movss dword [rdi + 0x1c], xmm3
jmp 0x180051b27
mov r13, qword [0x1801b0930]
cvttss2si eax, dword [rdi + 0x18]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rdi + 0x18], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x1c], xmm0
test ecx, ecx
je 0x180051b58
movss xmm0, dword [r14 + 0x380c]
jmp 0x180051b7b
mov eax, r12d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180051b72
movss xmm0, dword [r14 + 0x3814]
jmp 0x180051b7b
movss xmm0, dword [r14 + 0x37f0]
xor dl, dl
movss dword [rdi + 0x50], xmm0
mov dword [rsp + 0x3c], edx
cmp byte [rbp + 0x138], dl
je 0x180051d84
bt r12d, 0xc
jb 0x180051d84
test ebx, ebx
je 0x180051ba8
mov byte [rsp + 0x3c], 1
jmp 0x180051bbc
cmp dword [rsp + 0x38], 0
mov ecx, 1
movzx edx, dl
cmove edx, ecx
mov dword [rsp + 0x3c], edx
call fcn.180055750
test rax, rax
je 0x180051d84
mov r15, qword [rdi + 0x368]
mov rcx, rdi
cmp r15, rax
je 0x180051d80
nop dword [rax]
cmp rcx, rax
je 0x180051d80
mov rcx, qword [rcx + 0x360]
test rcx, rcx
jne 0x180051be0
mov byte [rsp + 0x3c], cl
cmp rdi, r15
jne 0x180051d80
mov eax, dword [r13 + 0x4078]
test eax, eax
jle 0x180051cc2
sub eax, 1
js 0x180051cc2
movsxd r8, eax
imul r9, r8, 0x38
add r9, 8
add r9, qword [r13 + 0x4080]
nop dword [rax]
mov rdx, qword [r9]
test rdx, rdx
je 0x180051cb4
test dword [rdx + 0xc], 0x8000000
je 0x180051cb4
cmp byte [rdx + 0x96], 0
jne 0x180051c53
cmp byte [rdx + 0x97], 0
je 0x180051cb4
mov rax, rdi
cmp r15, rdx
je 0x180051cc2
nop dword [rax + rax]
cmp rax, rdx
je 0x180051cc2
mov rax, qword [rax + 0x360]
test rax, rax
jne 0x180051c60
mov rax, qword [rdx + 0x360]
mov rcx, qword [rax + 0x368]
test rcx, rcx
je 0x180051cb4
mov rax, rdi
cmp r15, rcx
je 0x180051cc4
nop dword [rax]
cmp rax, rcx
je 0x180051cc4
mov rax, qword [rax + 0x360]
test rax, rax
jne 0x180051c90
mov rax, qword [rcx + 0x360]
mov rcx, qword [rax + 0x368]
test rcx, rcx
jne 0x180051c84
sub r9, 0x38
sub r8, 1
jns 0x180051c30
xor edx, edx
mov r8, qword [rdx + 0x368]
mov rdx, qword [r13 + 0x3e48]
movsxd rax, dword [r13 + 0x3e40]
mov r9, rdx
lea rcx, [rdx + rax*8]
cmp rdx, rcx
jae 0x180051cf3
cmp qword [r9], r15
je 0x180051cf3
add r9, 8
cmp r9, rcx
jb 0x180051ce5
sub r9, rdx
mov rsi, rdx
sar r9, 3
cmp rdx, rcx
jae 0x180051d10
cmp qword [rsi], r8
je 0x180051d10
add rsi, 8
cmp rsi, rcx
jb 0x180051d02
sub rsi, rdx
mov r10, rdx
sar rsi, 3
cmp r9d, esi
jge 0x180051d55
mov eax, esi
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 [r13 + 0x3e48]
movsxd rcx, esi
mov qword [rax + rcx*8 - 8], r15
jmp 0x180051d80
lea eax, [rsi + 1]
movsxd rbx, esi
movsxd rcx, eax
sub r9d, esi
movsxd r8, r9d
shl r8, 3
lea rdx, [rdx + rbx*8]
lea rcx, [r10 + rcx*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r13 + 0x3e48]
mov qword [rax + rbx*8], r15
lea r15, [rdi + 0x28]
xorps xmm0, xmm0
mov dword [rbp - 0x68], 0xffffffff
movups xmmword [rbp + 0x30], xmm0
xor ecx, ecx
movss xmm0, dword [r14 + 0x3c00]
cmp byte [r14 + 0x7e], cl
movaps xmm1, xmm0
mulss xmm1, dword [0x18019873c]
setne cl
mulss xmm0, dword [0x180198930]
inc ecx
cmp byte [rdi + 0x99], 0
addss xmm1, dword [rdi + 0x50]
mov dword [rsp + 0x4c], ecx
addss xmm1, dword [0x1801988d4]
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x64], xmm0
jne 0x180051e19
lea rax, [rbp + 0x20]
mov r9d, ecx
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x68]
lea rax, [rbp + 0x30]
mov rcx, rdi
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.18004f140
test al, al
je 0x180051e19
mov cl, 1
movzx edx, cl
jmp 0x180051e27
movzx edx, byte [rbp + 0x140]
movzx ecx, byte [rbp + 0x148]
cmp byte [rdi + 0x99], 0
movzx eax, byte [rbp - 0x68]
mov byte [rdi + 0xa1], al
jne 0x180051f76
cmp qword [rbp - 0x70], 0
movss xmm2, dword [rdi + 0x1f0]
movss xmm3, dword [rdi + 0x1f4]
subss xmm2, dword [rdi + 0x1e8]
subss xmm3, dword [rdi + 0x1ec]
movss xmm4, dword [rdi + 0x2c]
movss xmm5, dword [r15]
subss xmm4, xmm10
addss xmm2, dword [rdi + 0x8c]
addss xmm3, dword [rdi + 0x90]
jne 0x180051e92
mov qword [rbp - 0x50], 0
lea rax, [rbp - 0x50]
jmp 0x180051ebc
movss xmm0, dword [rdi + 0x48]
lea rax, [rbp - 0x48]
movss xmm1, dword [rdi + 0x4c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x30]
addss xmm1, dword [rdi + 0x34]
movss dword [rbp - 0x48], xmm0
movss dword [rbp - 0x44], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test dl, dl
jne 0x180051ecc
movaps xmm5, xmm2
test cl, cl
jne 0x180051ed3
movaps xmm4, xmm3
bt r12d, 0xe
jb 0x180051ee9
comiss xmm1, xmm4
jbe 0x180051ee5
test r12b, 8
je 0x180051ee9
xor cl, cl
jmp 0x180051eeb
mov cl, 1
mov byte [rdi + 0x95], cl
lea rdx, [r14 + 0x3854]
bt r12d, 0xf
jb 0x180051f32
test cl, cl
je 0x180051f09
movss xmm0, dword [rdx]
jmp 0x180051f0d
movaps xmm0, xmm11
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x180051f25
mov eax, r12d
and eax, 0x808
cmp eax, 0x800
je 0x180051f32
mov byte [rdi + 0x94], 0
movaps xmm1, xmm11
jmp 0x180051f58
mov byte [rdi + 0x94], 1
test cl, cl
jne 0x180051f54
comiss xmm1, xmm4
jbe 0x180051f4c
test r12b, 8
jne 0x180051f4c
mov cl, 1
jmp 0x180051f4e
xor cl, cl
mov byte [rdi + 0x95], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x180051f62
movss xmm0, dword [rdx]
jmp 0x180051f66
movaps xmm0, xmm11
movss dword [rdi + 0x8c], xmm0
movss dword [rdi + 0x90], xmm1
and r12d, 0x5000000
cmp r12d, 0x1000000
jne 0x180051f9d
cmp dword [rsp + 0x38], 0x3000000
je 0x180051f9d
mov rax, qword [rsp + 0x58]
add rax, 0x228
jmp 0x180051fa1
lea rax, [rbp - 0x80]
test byte [rdi + 0xc], 1
movss xmm13, dword [rdi + 0x18]
movss xmm4, dword [rdi + 0x1c]
movaps xmm2, xmm13
addss xmm2, dword [rdi + 0x20]
movups xmm6, xmmword [rax]
movaps xmm3, xmm4
addss xmm3, dword [rdi + 0x24]
je 0x180051fcc
movaps xmm0, xmm11
jmp 0x180052007
mov rdx, qword [0x1801b0930]
mov rax, qword [rdi + 0x358]
movss xmm1, dword [rdx + 0x3c04]
mulss xmm1, dword [rdi + 0x280]
test rax, rax
je 0x180051ff7
mulss xmm1, dword [rax + 0x280]
movss xmm0, dword [rdx + 0x3820]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm14, dword [rdi + 0x1c]
movaps xmm1, xmm4
mov ecx, dword [rsp + 0x30]
addss xmm1, xmm0
movss dword [rbp - 0x60], xmm13
movaps xmm15, xmm13
addss xmm15, dword [r15]
movss dword [rbp - 0x5c], xmm14
movaps xmm7, xmm6
shufps xmm7, xmm6, 0x55
movaps xmm12, xmm6
movss dword [rbp - 0x54], xmm1
movaps xmm11, xmm6
movss dword [rbp + 0x140], xmm1
mov eax, ecx
movss dword [rbp - 0x58], xmm15
and eax, 0x401
movss dword [rdi + 0x1d8], xmm13
movss dword [rdi + 0x1dc], xmm4
maxss xmm4, xmm7
movss dword [rdi + 0x1e0], xmm2
movss dword [rdi + 0x1e4], xmm3
movss xmm0, dword [rdi + 0x1d8]
shufps xmm12, xmm6, 0xaa
maxss xmm0, xmm6
movss dword [rdi + 0x1dc], xmm4
shufps xmm11, xmm6, 0xff
movss dword [rdi + 0x1d8], xmm0
movss xmm1, dword [rdi + 0x1e0]
movss xmm0, dword [rdi + 0x1e4]
minss xmm1, xmm12
minss xmm0, xmm11
movss dword [rdi + 0x1e0], xmm1
movss dword [rdi + 0x1e4], xmm0
movss xmm4, dword [rdi + 0x18]
movss xmm8, dword [rdi + 0x1c]
movaps xmm9, xmm4
movss dword [rdi + 0x1e8], xmm4
movaps xmm10, xmm8
addss xmm9, dword [rdi + 0x20]
addss xmm8, dword [rdi + 0x24]
addss xmm10, dword [rsp + 0x60]
subss xmm9, dword [rdi + 0x8c]
subss xmm8, dword [rdi + 0x90]
movss dword [rdi + 0x1ec], xmm10
movss dword [rdi + 0x1f0], xmm9
movss dword [rdi + 0x1f4], xmm8
cmp eax, 1
jne 0x180052132
movss xmm5, dword [rdi + 0x54]
jmp 0x18005213b
movss xmm5, dword [r14 + 0x3828]
movss xmm2, dword [0x180198794]
lea r13, [rdi + 0x1f8]
movss xmm0, dword [rdi + 0x48]
addss xmm4, xmm2
mulss xmm0, xmm2
addss xmm10, xmm2
xorps xmm1, xmm1
addss xmm9, xmm2
addss xmm8, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm10, xmm5
subss xmm8, dword [rdi + 0x54]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x54]
addss xmm4, xmm1
subss xmm9, xmm1
cvttss2si eax, xmm4
xorps xmm4, xmm4
cvtsi2ss xmm4, eax
cvttss2si eax, xmm10
movss dword [r13], xmm4
cvtsi2ss xmm0, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x1fc], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm8
movss dword [rdi + 0x200], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x204], xmm0
movss xmm0, dword [r13 + 4]
comiss xmm0, xmm7
jae 0x1800521e7
movaps xmm0, xmm7
jmp 0x1800521ec
minss xmm0, xmm11
comiss xmm4, xmm6
jae 0x1800521f6
movaps xmm4, xmm6
jmp 0x1800521fb
minss xmm4, xmm12
movss dword [r13], xmm4
movss dword [r13 + 4], xmm0
movss xmm1, dword [r13 + 0xc]
comiss xmm1, xmm7
jae 0x180052217
movaps xmm1, xmm7
jmp 0x18005221c
minss xmm1, xmm11
movss xmm0, dword [r13 + 8]
comiss xmm0, xmm6
jae 0x18005222c
movaps xmm0, xmm6
jmp 0x180052231
minss xmm0, xmm12
movss dword [r13 + 8], xmm0
xorps xmm9, xmm9
movss dword [r13 + 0xc], xmm1
movss xmm0, dword [rdi + 0x20]
comiss xmm0, xmm9
jbe 0x18005225e
test ecx, 0x2000040
jne 0x18005225e
mulss xmm0, dword [0x1801987d0]
jmp 0x18005226f
movss xmm0, dword [r14 + 0x3c00]
mulss xmm0, dword [0x180198c94]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rbp + 0x148]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x258], xmm0
movss xmm0, dword [rdi + 0x1f0]
subss xmm0, dword [rdi + 0x1e8]
movss xmm1, dword [rdi + 0x48]
addss xmm1, xmm1
addss xmm1, dword [rdi + 0x30]
subss xmm1, xmm0
maxss xmm1, xmm9
movss dword [rdi + 0x6c], xmm1
movss xmm0, dword [rdi + 0x1f4]
subss xmm0, dword [rdi + 0x1ec]
movss xmm1, dword [rdi + 0x4c]
addss xmm1, xmm1
addss xmm1, dword [rdi + 0x34]
subss xmm1, xmm0
maxss xmm1, xmm9
movss dword [rdi + 0x70], xmm1
call fcn.180054ef0
mov rcx, qword [rdi + 0x288]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x64], xmm0
movss dword [rdi + 0x68], xmm1
mov dword [rdi + 0x74], 0x7f7fffff
mov dword [rdi + 0x78], 0x7f7fffff
mov rax, qword [r14 + 0x3bf8]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.18005de40
comiss xmm6, xmm12
mov rcx, qword [0x1801b0930]
mov rax, qword [rcx + 0x3ea0]
movss dword [rsp + 0x70], xmm6
mov byte [rax + 0x98], 1
mov rsi, qword [rcx + 0x3ea0]
movss dword [rsp + 0x74], xmm7
movss dword [rsp + 0x78], xmm12
movss dword [rsp + 0x7c], xmm11
mov r15, qword [rsi + 0x288]
jb 0x18005236e
movss dword [rsp + 0x78], xmm6
comiss xmm7, xmm11
jb 0x18005237a
movss dword [rsp + 0x7c], xmm7
mov ecx, dword [r15 + 0x5c]
mov r8d, dword [r15 + 0x58]
cmp r8d, ecx
jne 0x1800523b1
inc r8d
test ecx, ecx
je 0x180052399
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005239e
mov eax, 8
cmp eax, r8d
lea rcx, [r15 + 0x58]
cmovg r8d, eax
mov edx, r8d
call fcn.180064c70
movsxd rdx, dword [r15 + 0x58]
mov rcx, r15
mov rax, qword [r15 + 0x60]
add rdx, rdx
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rax + rdx*8], xmm0
inc dword [r15 + 0x58]
movups xmmword [r15 + 0x88], xmm0
call fcn.18005dae0
mov rax, qword [rsi + 0x288]
xor bl, bl
mov r15, qword [rsp + 0x58]
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 [rsi + 0x228], eax
movss dword [rsi + 0x22c], xmm0
movss dword [rsi + 0x230], xmm1
movss dword [rsi + 0x234], xmm2
cmp r12d, 0x1000000
jne 0x180052500
cmp dword [rsp + 0x38], 0x3000000
je 0x180052500
movsxd rax, dword [r15 + 0x180]
cmp eax, 2
jl 0x1800524c9
mov rcx, rax
mov rax, qword [r15 + 0x188]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x1800524c9
movss xmm0, dword [rdx + 0x18]
lea rcx, [rsp + 0x70]
movss xmm1, dword [rdx + 0x1c]
movss dword [rsp + 0x70], xmm0
addss xmm0, dword [rdx + 0x20]
movss dword [rsp + 0x74], xmm1
addss xmm1, dword [rdx + 0x24]
lea rdx, [rbp - 0x80]
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [rdi + 0x18]
movss dword [rsp + 0x7c], xmm1
movss xmm1, dword [rdi + 0x1c]
movss dword [rbp - 0x80], xmm0
addss xmm0, dword [rdi + 0x20]
movss dword [rbp - 0x7c], xmm1
addss xmm1, dword [rdi + 0x24]
movss dword [rbp - 0x78], xmm0
movss dword [rbp - 0x74], xmm1
call fcn.1800448c0
movzx r8d, al
jmp 0x1800524cc
xor r8b, r8b
mov rdx, qword [rdi + 0x288]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x180052500
mov rax, qword [r15 + 0x288]
cmp dword [rax + 0x20], 0
jle 0x180052500
test r8b, r8b
jne 0x180052500
mov bl, 1
mov qword [rdi + 0x288], rax
mov rax, qword [r14 + 0x4218]
test rax, rax
jne 0x180052513
mov rax, qword [r14 + 0x40b0]
mov esi, dword [rsp + 0x3c]
test sil, sil
jne 0x180052536
test rax, rax
je 0x180052531
mov rax, qword [rax + 0x378]
cmp qword [rdi + 0x378], rax
je 0x180052536
xor r8b, r8b
jmp 0x180052539
mov r8b, 1
movss xmm0, dword [rsp + 0x64]
lea rax, [rbp + 0x30]
mov r9d, dword [rsp + 0x4c]
lea rdx, [rbp - 0x60]
movss dword [rsp + 0x28], xmm0
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.18004ff90
test bl, bl
je 0x180052571
lea rax, [rdi + 0x290]
mov qword [rdi + 0x288], rax
mov eax, dword [rsp + 0x30]
mov ecx, eax
movss xmm6, dword [rdi + 0x40]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm9
je 0x180052590
movaps xmm8, xmm6
jmp 0x1800525c8
movss xmm0, dword [rdi + 0x48]
and eax, 0x808
movss xmm8, dword [rdi + 0x20]
addss xmm0, xmm0
subss xmm8, xmm0
subss xmm8, dword [rdi + 0x8c]
cmp eax, 0x800
jne 0x1800525c0
movss xmm0, dword [rdi + 0x30]
jmp 0x1800525c3
xorps xmm0, xmm0
maxss xmm8, xmm0
movss xmm5, dword [rdi + 0x44]
ucomiss xmm5, xmm9
je 0x1800525d8
movaps xmm7, xmm5
jmp 0x18005260a
movss xmm0, dword [rdi + 0x4c]
movss xmm7, dword [rdi + 0x24]
addss xmm0, xmm0
subss xmm7, xmm0
subss xmm7, dword [rsp + 0x60]
subss xmm7, dword [rdi + 0x90]
test cl, cl
je 0x180052603
movss xmm0, dword [rdi + 0x34]
jmp 0x180052606
xorps xmm0, xmm0
maxss xmm7, xmm0
movss xmm2, dword [rdi + 0x54]
movss xmm9, dword [rdi + 0x48]
movss xmm11, dword [rdi + 0x64]
movaps xmm1, xmm9
movss xmm0, dword [rdi + 0x1e8]
maxss xmm1, xmm2
movss xmm10, dword [rdi + 0x4c]
subss xmm0, xmm11
movss xmm12, dword [rdi + 0x68]
maxss xmm2, xmm10
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x1ec]
subss xmm0, xmm12
cvttss2si eax, xmm1
addss xmm2, xmm0
movd xmm4, eax
cvttss2si eax, xmm2
cvtdq2ps xmm4, xmm4
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm4
movaps xmm1, xmm3
addss xmm0, xmm8
shufps xmm3, xmm3, 0
addss xmm1, xmm7
movss xmm7, dword [rsp + 0x60]
xorps xmm8, xmm8
ucomiss xmm6, xmm8
movss xmm3, xmm0
shufps xmm3, xmm3, 0x27
movss xmm3, xmm1
shufps xmm3, xmm3, 0x39
movss xmm3, xmm4
movups xmmword [rdi + 0x208], xmm3
movups xmmword [rdi + 0x218], xmm3
movss xmm4, dword [rdi + 0x18]
movaps xmm1, xmm4
subss xmm1, xmm11
addss xmm1, xmm9
movss dword [rdi + 0x238], xmm1
movss xmm3, dword [rdi + 0x1c]
movaps xmm2, xmm3
subss xmm2, xmm12
addss xmm2, xmm10
addss xmm2, xmm7
movss dword [rdi + 0x23c], xmm2
jne 0x180052703
movss xmm6, dword [rdi + 0x20]
movaps xmm0, xmm9
addss xmm0, xmm9
subss xmm6, xmm0
subss xmm6, dword [rdi + 0x8c]
addss xmm6, xmm1
ucomiss xmm5, xmm8
movaps xmm8, xmmword [rsp + 0x1b0]
movss dword [rdi + 0x240], xmm6
jne 0x18005273c
movss xmm5, dword [rdi + 0x24]
movaps xmm0, xmm10
addss xmm0, xmm10
subss xmm5, xmm0
subss xmm5, xmm7
subss xmm5, dword [rdi + 0x90]
xor r12d, r12d
addss xmm5, xmm2
cvtps2pd xmm3, xmm3
lea rbx, [rdi + 0x15c]
movss dword [rdi + 0x244], xmm5
movaps xmm0, xmm9
subss xmm0, xmm11
cvtps2pd xmm2, xmm4
movss dword [rdi + 0x124], xmm0
mov qword [rdi + 0x128], r12
cvtps2pd xmm0, xmm9
movaps xmm9, xmmword [rsp + 0x1a0]
addsd xmm2, xmm0
cvtps2pd xmm1, xmm11
cvtps2pd xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x190]
subsd xmm2, xmm1
addsd xmm3, xmm0
xorps xmm11, xmm11
cvtps2pd xmm1, xmm12
movaps xmm12, xmmword [rsp + 0x170]
subsd xmm3, xmm1
cvtpd2ps xmm1, xmm2
cvtps2pd xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x1c0]
movss dword [rdi + 0xf0], xmm1
addsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0xf4], xmm0
movss xmm0, dword [rdi + 0xf0]
movss xmm1, dword [rdi + 0xf4]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm2, xmm0
subsd xmm3, xmm1
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x130], xmm2
movss dword [rdi + 0x134], xmm0
movss xmm0, dword [rdi + 0xf4]
movss xmm1, dword [rdi + 0xf0]
movss dword [rdi + 0xe0], xmm1
movss dword [rdi + 0xe4], xmm0
movss dword [rdi + 0xe8], xmm1
movss dword [rdi + 0xec], xmm0
movss dword [rdi + 0xf8], xmm1
movss dword [rdi + 0xfc], xmm0
movss dword [rdi + 0x100], xmm1
movss dword [rdi + 0x104], xmm0
mov qword [rdi + 0x110], r12
mov qword [rdi + 0x108], r12
mov qword [rdi + 0x118], r12
mov word [rdi + 0x120], r12w
mov dword [rdi + 0x148], r12d
movzx eax, word [rdi + 0x14e]
mov word [rdi + 0x14c], ax
mov word [rdi + 0x14e], r12w
mov byte [rdi + 0x150], r12b
comiss xmm11, dword [rdi + 0x70]
setb al
mov byte [rdi + 0x151], al
mov byte [rdi + 0x152], r12b
movss xmm0, dword [r14 + 0x382c]
cmp byte [rbp + 0x138], r12b
je 0x1800528ca
xor eax, eax
mov qword [rbx + 0x12], rax
cvttss2si eax, xmm0
mov rcx, rbx
mov word [rbx + 8], ax
call fcn.180078a90
xor eax, eax
mov qword [rbx + 0x12], rax
mov eax, dword [rbx + 4]
mov dword [rbx], eax
mov dword [rbx + 4], r12d
mov qword [rdi + 0x178], r12
mov ecx, dword [rdi + 0x184]
test ecx, ecx
jns 0x180052917
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x180]
test eax, eax
cmovg edx, eax
call fcn.18005c090
mov dword [rdi + 0x180], r12d
lea rax, [rdi + 0x260]
mov qword [rdi + 0x190], rax
mov eax, 1
mov qword [rdi + 0x198], r12
mov dword [rdi + 0x1a4], eax
test r15, r15
je 0x18005294a
mov eax, dword [r15 + 0x1a4]
mov dword [rdi + 0x1a8], eax
mov eax, dword [rdi + 0x258]
mov dword [rdi + 0x1ac], eax
mov dword [rdi + 0x1b0], 0xbf800000
mov ecx, dword [rdi + 0x1bc]
test ecx, ecx
jns 0x18005298d
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1b8]
test eax, eax
cmovg edx, eax
call fcn.18005c7c0
mov dword [rdi + 0x1b8], r12d
mov ecx, dword [rdi + 0x1cc]
test ecx, ecx
jns 0x1800529bb
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1c8]
test eax, eax
cmovg edx, eax
call fcn.18005c7c0
mov dword [rdi + 0x1c8], r12d
movzx eax, byte [rdi + 0xb0]
test al, al
jle 0x1800529d5
dec al
mov byte [rdi + 0xb0], al
movzx eax, byte [rdi + 0xb1]
test al, al
jle 0x1800529e8
dec al
mov byte [rdi + 0xb1], al
test sil, sil
je 0x1800529ff
mov rcx, rdi
call fcn.180052f50
xor edx, edx
mov rcx, rdi
call fcn.180057640
mov ebx, dword [rsp + 0x30]
movss xmm6, dword [rbp + 0x140]
test bl, 1
jne 0x180052a4d
movss xmm2, dword [rdi + 0x54]
lea rdx, [rbp - 0x80]
mov r8, qword [rbp + 0x130]
movaps xmm0, xmm2
movaps xmm1, xmm15
movss dword [rbp - 0x7c], xmm14
addss xmm0, xmm13
movss dword [rbp - 0x74], xmm6
subss xmm1, xmm2
mov rcx, rdi
movss dword [rbp - 0x80], xmm0
movss dword [rbp - 0x78], xmm1
call fcn.180050560
mov rdx, qword [0x1801b0930]
mov dword [rdi + 0x248], r12d
movss xmm1, dword [rdx + 0x3844]
movss xmm0, dword [rdx + 0x3848]
subss xmm13, xmm1
movaps xmm2, xmm1
subss xmm14, xmm0
movss xmm1, dword [rdx + 0xdfc]
addss xmm2, xmm15
movaps xmm15, xmmword [rsp + 0x140]
movaps xmm3, xmm0
addss xmm3, xmm6
movaps xmm6, xmmword [rsp + 0x1d0]
comiss xmm1, xmm13
movaps xmm13, xmmword [rsp + 0x160]
jb 0x180052aca
movss xmm0, dword [rdx + 0xe00]
comiss xmm0, xmm14
jb 0x180052aca
comiss xmm1, xmm2
jae 0x180052aca
comiss xmm0, xmm3
mov r8d, 1
jb 0x180052acd
mov r8d, r12d
mov eax, dword [rdi + 0x5c]
mov ecx, dword [r14 + 0x3f50]
movups xmm0, xmmword [rbp - 0x60]
mov dword [rdx + 0x3f6c], eax
movaps xmm14, xmmword [rsp + 0x150]
movups xmmword [rdx + 0x3f78], xmm0
mov dword [rdx + 0x3f70], ecx
mov dword [rdx + 0x3f74], r8d
mov eax, dword [r14 + 0x3f54]
test eax, eax
je 0x180052b18
cmp dword [rdi + 8], eax
je 0x180052b13
cmp dword [rdi + 0x5c], eax
jne 0x180052b18
call fcn.18005b890
mov esi, dword [rsp + 0x40]
mov r12d, dword [rbp - 0x64]
jmp 0x180052ba9
mov rcx, qword [0x1801b0930]
mov qword [rcx + 0x3ea0], rdi
movsxd rax, dword [rdi + 0x1a0]
cmp eax, 0xffffffff
je 0x180052b4f
imul rdx, rax, 0x218
add rdx, qword [rcx + 0x4338]
jmp 0x180052b53
xor eax, eax
mov edx, eax
movss xmm0, dword [rcx + 0x3c04]
mov qword [rcx + 0x4310], rdx
mov rax, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x280]
test rax, rax
je 0x180052b7e
mulss xmm0, dword [rax + 0x280]
mov r15, qword [rsp + 0x58]
lea r13, [rdi + 0x1f8]
mov esi, ebx
movss dword [rcx + 0x3c18], xmm0
and esi, 0x1000000
movss dword [rcx + 0x3c00], xmm0
mov r12d, ebx
and r12d, 0x40
lea rdx, [rdi + 0x200]
mov r8b, 1
mov rcx, r13
call fcn.18004cdc0
mov r13, qword [rsp + 0x1e8]
xor eax, eax
mov byte [rdi + 0x98], 0
inc word [rdi + 0xa2]
mov dword [r14 + 0x3fa8], eax
mov eax, dword [rsp + 0x44]
cmp eax, dword [rsp + 0x48]
je 0x180052d51
test esi, esi
je 0x180052cbf
test r12d, r12d
jne 0x180052c6f
cmp byte [rdi + 0xb0], r12b
jg 0x180052c6f
cmp byte [rdi + 0xb1], r12b
jg 0x180052c6f
bt ebx, 0x17
jae 0x180052c36
cmp byte [r14 + 0x40f4], r12b
je 0x180052c36
mov rcx, qword [r14 + 0x40b0]
test rcx, rcx
je 0x180052c36
mov rax, qword [rdi + 0x380]
cmp qword [rcx + 0x380], rax
jne 0x180052c36
mov al, 1
jmp 0x180052c38
xor al, al
cmp byte [r14 + 0x53f4], 0
jne 0x180052c6f
test al, al
jne 0x180052c6f
movss xmm0, dword [rdi + 0x1e0]
comiss xmm0, dword [rdi + 0x1d8]
jbe 0x180052c68
movss xmm0, dword [rdi + 0x1e4]
comiss xmm0, dword [rdi + 0x1dc]
ja 0x180052c6f
mov byte [rdi + 0xb8], 1
lea rax, [rdi + 0xb8]
test r15, r15
je 0x180052cc6
cmp byte [r15 + 0x99], 0
jne 0x180052c98
cmp byte [r15 + 0xb8], 0
jg 0x180052c98
lea rax, [rdi + 0xb8]
jmp 0x180052ca2
lea rax, [rdi + 0xb8]
mov byte [rax], 1
cmp byte [r15 + 0x99], 0
jne 0x180052cb6
cmp byte [r15 + 0xb9], 0
jle 0x180052cc6
mov byte [rdi + 0xb9], 1
jmp 0x180052cc6
lea rax, [rdi + 0xb8]
comiss xmm11, dword [r14 + 0x37e0]
jb 0x180052cd3
mov byte [rax], 1
cmp byte [rax], 0
jg 0x180052cef
cmp byte [rdi + 0xb9], 0
jg 0x180052cef
xor cl, cl
cmp byte [rdi + 0xba], cl
jg 0x180052cf1
xor al, al
jmp 0x180052cf3
mov cl, 1
mov al, 1
mov byte [rdi + 0x9d], al
movzx eax, byte [rdi + 0xbb]
test al, al
jle 0x180052d13
dec al
mov byte [rdi + 0xbb], al
or dword [rdi + 0xc], 0xc0200
xor al, al
cmp byte [rdi + 0x99], al
jne 0x180052d29
cmp byte [rdi + 0x96], al
je 0x180052d29
test cl, cl
je 0x180052d4b
cmp byte [rdi + 0xb0], al
jg 0x180052d4b
cmp byte [rdi + 0xb1], al
jg 0x180052d4b
cmp byte [rdi + 0xb9], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [rdi + 0x9b], al
cmp byte [rdi + 0x9b], 0
movaps xmm11, xmmword [rsp + 0x180]
sete al
add rsp, 0x1f0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret