Function at 0x180038cf0
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
lea rbp, [r11 - 0x188]
sub rsp, 0x270
mov rax, qword [0x180111040]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rsi, qword [0x1801170c8]
mov r10d, 0xffffffff
mov qword [r11 + 0x20], rbx
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov r14d, r8d
mov qword [r11 - 0x38], r15
movaps xmmword [r11 - 0xc8], xmm14
mov r11, rcx
mov qword [rsp + 0x78], rcx
mov ecx, r10d
mov qword [rbp - 0x50], rdx
movzx r9d, byte [r11]
lea r8, [r11 + 1]
test r9b, r9b
je 0x180038d93
lea rbx, [0x1800ebb50]
cmp r9b, 0x23
jne 0x180038d77
cmp byte [r8], r9b
jne 0x180038d77
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180038d64
not ecx
call fcn.180035f60
test rax, rax
mov qword [rsp + 0x58], rax
mov rdi, rax
sete dl
mov dword [rsp + 0x44], edx
test rax, rax
jne 0x180038dc3
mov edx, r14d
mov rcx, r11
call fcn.1800362f0
mov edx, dword [rsp + 0x44]
mov rdi, rax
mov ecx, dword [rdi + 0x10]
cmp dword [rsi + 0x4004], ecx
jne 0x180038dcf
int3
mov ecx, r14d
and ecx, 0x30200
cmp ecx, 0x30200
jne 0x180038de4
or r14d, 6
cmp dword [rsi + 0x3fd8], 0
mov r12d, dword [rsi + 0x3f60]
mov r9d, dword [rdi + 0x270]
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x4c], r9d
jne 0x180038e12
cmp byte [rsi + 0x3f6d], 0
je 0x180038e12
mov al, 1
jmp 0x180038e14
xor al, al
mov byte [rdi + 0xc6], al
lea eax, [r12 - 1]
cmp r9d, eax
setl r8b
mov byte [rsp + 0x41], r8b
bt r14d, 0x1a
jae 0x180038e60
movsxd rax, dword [rsi + 0x4ad0]
imul rax, rax, 0x38
add rax, qword [rsi + 0x4ac8]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0xd8], eax
setne al
or cl, al
or r8b, cl
mov byte [rsp + 0x41], r8b
mov byte [rdi + 0xc4], r8b
test r8b, r8b
je 0x180038e81
or byte [rdi + 0xe8], 8
or byte [rdi + 0xe9], 8
or byte [rdi + 0xea], 8
xor ebx, ebx
cmp r9d, r12d
je 0x180038eed
mov r8d, r14d
mov rcx, rdi
call fcn.180035fe0
mov dword [rdi + 0x14], r14d
test dword [rsi + 0x49e8], 0x100
je 0x180038eab
mov eax, dword [rsi + 0x4a20]
jmp 0x180038ead
mov eax, ebx
mov r9d, dword [rsp + 0x4c]
mov dword [rdi + 0x18], eax
mov dword [rdi + 0x270], r12d
movsd xmm0, qword [rsi + 0x3f58]
mov word [rdi + 0xd0], bx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x274], xmm0
movzx eax, word [rsi + 0x3ff8]
inc dword [rsi + 0x3ff8]
mov word [rdi + 0xd2], ax
jmp 0x180038ef1
mov r14d, dword [rdi + 0x14]
movsxd rax, dword [rsi + 0x3fd8]
test eax, eax
jne 0x180038f01
mov r15, rbx
jmp 0x180038f11
imul rcx, rax, 0x68
mov rax, qword [rsi + 0x3fe0]
mov r15, qword [rcx + rax - 0x68]
cmp r9d, r12d
je 0x180038f26
test r14d, 0x5000000
mov r13, rbx
cmovne r13, r15
jmp 0x180038f2d
mov r13, qword [rdi + 0x378]
lea rbx, [rdi + 0x100]
mov qword [rsp + 0x60], r13
cmp dword [rbx], 0
mov edx, 8
jne 0x180038f65
cmp dword [rbx + 4], 0
jne 0x180038f51
mov rcx, rbx
call fcn.1800540b0
movsxd rdx, dword [rbx]
mov eax, dword [rdi + 0x10]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
mov edx, 8
inc dword [rbx]
mov eax, dword [rsi + 0x49e0]
xorps xmm0, xmm0
movups xmm1, xmmword [rsi + 0x49a8]
mov dword [rbp + 0x50], eax
movups xmmword [rbp + 0x54], xmm0
mov qword [rsi + 0x4008], rdi
movzx eax, word [rbx]
lea rbx, [rsi + 0x3fd8]
movups xmm0, xmmword [rsi + 0x4998]
mov r8d, dword [rbx + 4]
mov ecx, dword [rbx]
mov word [rbp + 0x54], ax
movzx eax, word [rsi + 0x4a60]
mov word [rbp + 0x56], ax
movzx eax, word [rsi + 0x4a70]
mov word [rbp + 0x58], ax
movzx eax, word [rsi + 0x4a80]
mov word [rbp + 0x5a], ax
movzx eax, word [rsi + 0x4a90]
mov word [rbp + 0x5c], ax
movzx eax, word [rsi + 0x4ab0]
mov word [rbp + 0x5e], ax
movzx eax, word [rsi + 0x4aa0]
mov word [rbp + 0x60], ax
movzx eax, word [rsi + 0x4ad0]
mov word [rbp + 0x62], ax
movzx eax, word [rsi + 0x5e74]
mov word [rbp + 0x64], ax
mov qword [rbp], rdi
movups xmmword [rbp + 8], xmm0
movups xmm0, xmmword [rsi + 0x49b8]
movups xmmword [rbp + 0x18], xmm1
movups xmm1, xmmword [rsi + 0x49c8]
movups xmmword [rbp + 0x28], xmm0
movsd xmm0, qword [rsi + 0x49d8]
movsd qword [rbp + 0x48], xmm0
movups xmmword [rbp + 0x38], xmm1
cmp ecx, r8d
jne 0x18003904f
inc ecx
test r8d, r8d
je 0x18003903e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180039040
mov eax, edx
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180053c30
movsxd rax, dword [rbx]
movaps xmm0, xmmword [rbp]
movaps xmm1, xmmword [rbp + 0x10]
imul rcx, rax, 0x68
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 + 0x30]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp + 0x40]
movups xmmword [rcx + rax + 0x30], xmm1
movaps xmm1, xmmword [rbp + 0x50]
movups xmmword [rcx + rax + 0x40], xmm0
movsd xmm0, qword [rbp + 0x60]
movups xmmword [rcx + rax + 0x50], xmm1
movsd qword [rcx + rax + 0x60], xmm0
inc dword [rbx]
bt r14d, 0x1c
jae 0x1800390a9
inc dword [rsi + 0x4af0]
cmp dword [rsp + 0x4c], r12d
je 0x180039161
mov qword [rdi + 0x378], r13
mov qword [rdi + 0x3a0], rdi
mov qword [rdi + 0x398], rdi
mov qword [rdi + 0x390], rdi
mov qword [rdi + 0x388], rdi
test r13, r13
je 0x18003912c
mov eax, r14d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1800390f9
mov rax, qword [r13 + 0x388]
mov qword [rdi + 0x388], rax
bt r14d, 0x1a
jae 0x18003910e
mov rax, qword [r13 + 0x390]
mov qword [rdi + 0x390], rax
bt r14d, 0x1b
jb 0x18003912c
test r14d, 0x5000000
je 0x18003912c
mov rax, qword [r13 + 0x398]
mov qword [rdi + 0x398], rax
test dword [rdi + 0x14], 0x800000
je 0x18003915a
mov rcx, rdi
nop dword [rax + rax]
mov rax, qword [rcx + 0x378]
mov qword [rdi + 0x3a0], rax
mov rcx, rax
test dword [rax + 0x14], 0x800000
jne 0x180039140
mov qword [rdi + 0x380], r15
bt r14d, 0x17
jb 0x1800391c2
mov r13, qword [0x1801170c8]
mov r12d, dword [rdi + 0x10]
lea rbx, [r13 + 0x4a90]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x1800391ae
inc r8d
test ecx, ecx
je 0x180039197
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003919c
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.1800540b0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], r12d
inc dword [rbx]
mov dword [r13 + 0x4968], r12d
mov eax, dword [rsi + 0x4968]
xor r11d, r11d
mov dword [rdi + 0x3e8], eax
mov qword [rsi + 0x4008], r11
bt r14d, 0x1a
jae 0x180039219
movsxd rax, dword [rsi + 0x4ad0]
lea rcx, [rsi + 0x4ad0]
imul rbx, rax, 0x38
add rbx, qword [rsi + 0x4ac8]
mov rdx, rbx
mov qword [rbx + 8], rdi
mov eax, dword [r15 + 0x168]
mov dword [rbx + 0x18], eax
call fcn.180052fd0
mov eax, dword [rbx]
xor r11d, r11d
mov dword [rdi + 0xd8], eax
xor r13b, r13b
mov byte [rsp + 0x40], 0
xor r12b, r12b
mov byte [rsp + 0x42], r13b
test byte [rsi + 0x49e8], 1
je 0x1800392c0
movsx ecx, byte [rdi + 0xe8]
mov r8d, dword [rsi + 0x49ec]
test r8d, ecx
setne byte [rsp + 0x40]
test r8d, ecx
je 0x1800392b1
movss xmm0, dword [rsi + 0x4a04]
movss xmm1, dword [rsi + 0x4a00]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180101574]
jbe 0x1800392b1
movsd xmm0, qword [rsi + 0x49f8]
and ecx, 0xf1
mov eax, dword [rdi + 0xe8]
and eax, 0xffffff00
movsd qword [rdi + 0xec], xmm0
movsd xmm1, qword [rsi + 0x4a00]
or ecx, eax
mov dword [rdi + 0xe8], ecx
movsd qword [rdi + 0xf4], xmm1
jmp 0x1800392c0
lea rdx, [rsi + 0x49f8]
mov rcx, rdi
call fcn.18003bd40
test byte [rsi + 0x49e8], 2
xorps xmm14, xmm14
je 0x180039351
movsx ecx, byte [rdi + 0xe9]
mov eax, ecx
and eax, dword [rsi + 0x49f0]
je 0x1800392f5
movss xmm0, dword [rsi + 0x4a08]
comiss xmm0, xmm14
jbe 0x1800392f5
mov r12b, 1
jmp 0x1800392f9
test eax, eax
je 0x18003930a
movss xmm0, dword [rsi + 0x4a0c]
comiss xmm0, xmm14
jbe 0x18003930a
mov r13b, 1
test byte [rdi + 0x18], 4
mov byte [rsp + 0x42], r13b
je 0x180039323
test cl, 4
jne 0x180039323
mov eax, dword [rdi + 0x38]
mov dword [rsi + 0x4a08], eax
test byte [rdi + 0x18], 8
je 0x18003933b
test byte [rdi + 0xe9], 4
jne 0x18003933b
mov eax, dword [rdi + 0x3c]
mov dword [rsi + 0x4a0c], eax
mov r8d, dword [rsi + 0x49f0]
lea rdx, [rsi + 0x4a08]
mov rcx, rdi
call fcn.18003beb0
test byte [rsi + 0x49e8], 0x80
je 0x180039394
movss xmm0, dword [rsi + 0x4a18]
comiss xmm0, xmm14
jb 0x180039377
movss dword [rdi + 0x9c], xmm0
mov dword [rdi + 0xa4], r11d
movss xmm0, dword [rsi + 0x4a1c]
comiss xmm0, xmm14
jb 0x180039394
movss dword [rdi + 0xa0], xmm0
mov dword [rdi + 0xa8], r11d
test byte [rsi + 0x49e8], 4
mov ebx, dword [rsp + 0x50]
mov r15d, dword [rsp + 0x4c]
je 0x1800393b5
movsd xmm0, qword [rsi + 0x4a10]
movsd qword [rdi + 0x50], xmm0
jmp 0x1800393c2
cmp r15d, ebx
je 0x1800393c2
mov qword [rdi + 0x50], 0
test byte [rsi + 0x49e8], 8
je 0x180039410
mov ecx, dword [rsi + 0x49f4]
movzx edx, byte [rsi + 0x4a24]
test ecx, ecx
je 0x1800393e7
movsx eax, byte [rdi + 0xea]
test ecx, eax
je 0x180039410
movzx ecx, byte [rdi + 0xea]
mov eax, dword [rdi + 0xe8]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rdi + 0xc1], dl
mov dword [rdi + 0xe8], ecx
test byte [rsi + 0x49e8], 0x20
je 0x180039423
xor edx, edx
mov rcx, rdi
call fcn.18003b290
cmp byte [rdi + 0xc4], 0
je 0x180039441
and byte [rdi + 0xe8], 0xf7
and byte [rdi + 0xe9], 0xf7
and byte [rdi + 0xea], 0xf7
mov r8d, 1
cmp r15d, ebx
je 0x18003ad87
movaps xmmword [rsp + 0x240], xmm6
mov eax, r14d
movaps xmmword [rsp + 0x230], xmm7
and eax, 0x3000000
cmp qword [rbp - 0x50], 0
movaps xmmword [rsp + 0x220], xmm8
movaps xmmword [rsp + 0x210], xmm9
movaps xmmword [rsp + 0x200], xmm10
movaps xmmword [rsp + 0x1f0], xmm11
movaps xmmword [rsp + 0x1e0], xmm12
mov byte [rdi + 0xbe], r8b
movaps xmmword [rsp + 0x1d0], xmm13
mov dword [rsp + 0x48], eax
movzx eax, byte [rdi + 0xe5]
mov byte [rsp + 0x43], al
setne al
mov byte [rdi + 0xc8], al
mov dword [rdi + 0x248], 0xff7fffff
mov dword [rdi + 0x24c], 0xff7fffff
mov dword [rdi + 0x250], 0x7f7fffff
mov dword [rdi + 0x254], 0x7f7fffff
mov ecx, dword [rdi + 0x104]
cmp ecx, r8d
jge 0x180039524
test ecx, ecx
je 0x180039504
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180039509
mov eax, 8
cmp eax, r8d
lea rcx, [rdi + 0x100]
mov edx, r8d
cmovg edx, eax
call fcn.1800540b0
mov r8d, 1
mov dword [rdi + 0x100], r8d
mov rcx, qword [rdi + 0x2a8]
call fcn.18008de60
cmp byte [rdi + 0x3f4], 0
mov dword [rdi + 0x1c0], 0xffffffff
je 0x180039587
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3ec]
add rcx, 0x10
mov byte [rdi + 0x3f4], 0
call fcn.180053a40
mov rcx, qword [rdi + 0x2a8]
mov edx, dword [rdi + 0x3f0]
add rcx, 0x20
call fcn.180053690
xor r11d, r11d
mov qword [rdi + 0x3ec], r11
cmp qword [rsi + 0x4cf8], 0
mov r9, qword [rsp + 0x58]
je 0x1800396b4
test dword [rdi + 0x14], 0x20000
jne 0x1800396b4
test r9, r9
je 0x1800396b4
mov r10, qword [rsp + 0x78]
mov r9, qword [rdi + 8]
mov rax, r10
mov r8, r9
sub r8, r10
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800395d5
inc rax
test ecx, ecx
jne 0x1800395c2
test edx, edx
je 0x1800396af
movsxd r15, dword [rdi + 0x80]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [r10 + rbx], 0
jne 0x1800395f0
inc rbx
cmp r15, rbx
jae 0x180039696
test r9, r9
je 0x18003967a
mov r8, qword [0x1801170c8]
test r8, r8
je 0x18003967a
movsx rdx, word [r8 + 0x60a8]
lea rcx, [r8 + 0x60ac]
mov r10d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x18003966f
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60a8], cx
movsx rax, cx
lea rcx, [r8 + 0x60ac]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], 0
inc word [rcx + 6]
inc dword [r8 + 0x60a4]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call fcn.1800323d0
mov r10, qword [rsp + 0x78]
mov r9, rax
mov r15, rbx
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi + 8], rax
mov dword [rdi + 0x80], r15d
mov r9, qword [rsp + 0x58]
lea r8, [rdi + 0x48]
mov rcx, rdi
lea rdx, [rdi + 0x40]
call fcn.180036800
movzx eax, byte [rdi + 0xe4]
test al, al
jle 0x1800396d7
dec al
mov byte [rdi + 0xe4], al
movzx eax, byte [rdi + 0xe5]
test al, al
jle 0x1800396ea
dec al
mov byte [rdi + 0xe5], al
movzx eax, byte [rdi + 0xe6]
test al, al
jle 0x1800396fd
dec al
mov byte [rdi + 0xe6], al
test r9, r9
jne 0x180039713
test r12b, r12b
je 0x18003970c
test r13b, r13b
jne 0x180039713
mov byte [rdi + 0xe5], 1
xor r9d, r9d
cmp byte [rsp + 0x41], r9b
je 0x18003975d
test r14d, 0x6000000
je 0x18003975d
mov byte [rdi + 0xe5], 1
test r14b, 0x40
je 0x18003975d
test r12b, r12b
jne 0x180039740
mov dword [rdi + 0x38], r9d
mov dword [rdi + 0x30], r9d
test r13b, r13b
jne 0x18003974d
mov dword [rdi + 0x3c], r9d
mov dword [rdi + 0x34], r9d
mov qword [rdi + 0x48], 0
mov qword [rdi + 0x40], 0
mov rdx, qword [0x1801170c8]
mov rax, qword [rdx + 0x4b00]
mov r15, qword [rax]
mov qword [rdi + 0x20], r15
mov qword [rdx + 0x4008], rdi
movsxd rax, dword [rdi + 0x1c0]
cmp eax, 0xffffffff
je 0x180039795
imul rcx, rax, 0x250
add rcx, qword [rdx + 0x4e10]
jmp 0x180039798
mov rcx, r9
mov qword [rdx + 0x4de8], rcx
mov rax, qword [rdi]
movss xmm0, dword [rax + 0x3d44]
mov rax, qword [rdi + 0x378]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x1800397c6
mulss xmm0, dword [rax + 0x2a0]
movss dword [rdx + 0x3d58], xmm0
movss dword [rdx + 0x3d40], xmm0
test rcx, rcx
jne 0x1800397e8
cmp qword [rdi + 0x1b8], rcx
jne 0x1800397e8
mov al, 1
jmp 0x1800397ea
xor al, al
mov byte [rdi + 0x170], al
bt r14d, 0x18
jae 0x180039801
movss xmm1, dword [rsi + 0x3920]
jmp 0x180039823
test r14d, 0x6000000
je 0x18003981b
bt r14d, 0x1b
jb 0x18003981b
movss xmm1, dword [rsi + 0x3928]
jmp 0x180039823
movss xmm1, dword [rsi + 0x3904]
mov rax, rdi
movss dword [rax + 0x64], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x38f8]
and eax, 0x5000000
movsd qword [rdi + 0x58], xmm0
cmp eax, 0x1000000
jne 0x180039873
test byte [rdi + 0x18], 2
jne 0x180039873
ucomiss xmm1, xmm14
jp 0x180039873
jne 0x180039873
bt r14d, 0xa
jae 0x180039866
movss xmm0, dword [rsi + 0x38fc]
jmp 0x18003986a
movaps xmm0, xmm14
movss dword [rdi + 0x5c], xmm0
mov dword [rdi + 0x58], r9d
movss xmm0, dword [rdi + 0x58]
maxss xmm0, dword [rsi + 0x393c]
maxss xmm0, dword [rsi + 0x4a4c]
movss dword [rdi + 0x174], xmm0
mov eax, dword [rsi + 0x4a50]
mov dword [rdi + 0x178], eax
mov eax, dword [rsp + 0x44]
movzx r13d, al
test r14b, 0x21
jne 0x1800399eb
test byte [rdi + 0x14], 1
mov rcx, qword [rdi]
je 0x1800398bd
movaps xmm0, xmm14
jmp 0x1800398f1
mov rax, qword [rdi + 0x378]
movss xmm1, dword [rcx + 0x3d44]
mulss xmm1, dword [rdi + 0x2a0]
test rax, rax
je 0x1800398e1
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [rcx + 0x3930]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm2, dword [rdi + 0x28]
movaps xmm1, xmm2
movss xmm3, dword [rdi + 0x2c]
addss xmm1, dword [rdi + 0x38]
addss xmm0, dword [rdi + 0x2c]
cmp qword [rsi + 0x4010], rdi
jne 0x1800399a7
cmp dword [rsi + 0x4058], 0
jne 0x1800399a7
cmp dword [rsi + 0x405c], 0
jne 0x1800399a7
mov rax, qword [rdx + 0x4008]
movss xmm6, dword [rdx + 0x3954]
movss xmm5, dword [rdx + 0xe48]
maxss xmm2, dword [rax + 0x248]
maxss xmm3, dword [rax + 0x24c]
minss xmm1, dword [rax + 0x250]
minss xmm0, dword [rax + 0x254]
subss xmm2, xmm6
comiss xmm5, xmm2
jb 0x1800399a7
movss xmm4, dword [rdx + 0x3958]
movss xmm2, dword [rdx + 0xe4c]
subss xmm3, xmm4
comiss xmm2, xmm3
jb 0x1800399a7
addss xmm1, xmm6
comiss xmm1, xmm5
jbe 0x1800399a7
addss xmm0, xmm4
comiss xmm0, xmm2
jbe 0x1800399a7
cmp word [rsi + 0x3872], 2
jne 0x1800399a7
mov byte [rdi + 0xc2], 1
cmp byte [rdi + 0xc2], 0
je 0x1800399f2
movzx ecx, byte [rdi + 0xc1]
mov ebx, 1
test cl, cl
sete al
test cl, cl
mov byte [rdi + 0xc1], al
cmovne r13d, ebx
test dword [rdi + 0x14], 0x100
jne 0x1800399f2
comiss xmm14, dword [rdx + 0x5f2c]
jb 0x1800399f2
mov eax, dword [rdx + 0x1c]
mov dword [rdx + 0x5f2c], eax
jmp 0x1800399f2
mov byte [rdi + 0xc1], 0
mov rcx, qword [rdi]
mov r8d, dword [rdi + 0x14]
movss xmm10, dword [rdi + 0xb4]
movss xmm11, dword [rdi + 0xb8]
mov byte [rdi + 0xc2], 0
lea rax, [rcx + 0x3d44]
mov dword [rdi + 0x68], r9d
mov dword [rdi + 0x70], r9d
test r8b, 1
je 0x180039a2d
movaps xmm2, xmm14
jmp 0x180039a5d
mov rdx, qword [rdi + 0x378]
movss xmm0, dword [rdi + 0x2a0]
mulss xmm0, dword [rax]
test rdx, rdx
je 0x180039a4d
mulss xmm0, dword [rdx + 0x2a0]
movss xmm2, dword [rcx + 0x3930]
addss xmm2, xmm2
addss xmm2, xmm0
bt r8d, 0xa
jae 0x180039a9e
movss xmm1, dword [rdi + 0x2a0]
mulss xmm1, dword [rax]
mov rax, qword [rdi + 0x378]
test rax, rax
je 0x180039a84
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [rcx + 0x3930]
addss xmm1, dword [rdi + 0x178]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x180039aa2
movaps xmm1, xmm14
addss xmm1, xmm2
mov dword [rdi + 0x74], r9d
lea r8, [rdi + 0x48]
mov qword [rdi + 0xb4], 0
mov rdx, rdi
lea rcx, [rbp + 0x70]
movss dword [rdi + 0x6c], xmm1
call fcn.180036910
test r14b, 0x40
je 0x180039b0b
cmp byte [rdi + 0xc1], 0
jne 0x180039b0b
test r12b, r12b
jne 0x180039aee
movss xmm0, dword [rbp + 0x70]
mov al, 1
movss dword [rdi + 0x38], xmm0
mov dword [rsp + 0x44], eax
cmp byte [rsp + 0x42], 0
jne 0x180039baf
movss xmm0, dword [rbp + 0x74]
mov r13b, 1
movss dword [rdi + 0x3c], xmm0
jmp 0x180039baf
movzx eax, byte [rdi + 0xdc]
test al, al
jg 0x180039b23
cmp byte [rdi + 0xdd], 0
jle 0x180039baf
test r12b, r12b
jne 0x180039b51
test al, al
jle 0x180039b51
cmp byte [rdi + 0xde], r12b
je 0x180039b41
movss xmm0, dword [rdi + 0x38]
maxss xmm0, dword [rbp + 0x70]
jmp 0x180039b46
movss xmm0, dword [rbp + 0x70]
mov al, 1
movss dword [rdi + 0x38], xmm0
mov dword [rsp + 0x44], eax
cmp byte [rsp + 0x42], 0
jne 0x180039b83
cmp byte [rdi + 0xdd], 0
jle 0x180039b83
cmp byte [rdi + 0xde], 0
je 0x180039b76
movss xmm0, dword [rdi + 0x3c]
maxss xmm0, dword [rbp + 0x74]
jmp 0x180039b7b
movss xmm0, dword [rbp + 0x74]
movss dword [rdi + 0x3c], xmm0
mov r13b, 1
cmp byte [rdi + 0xc1], 0
jne 0x180039baf
test dword [rdi + 0x14], 0x100
mov rcx, qword [0x1801170c8]
jne 0x180039baf
comiss xmm14, dword [rcx + 0x5f2c]
jb 0x180039baf
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5f2c], eax
lea r8, [rdi + 0x38]
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.180036690
cmp byte [rdi + 0xc1], 0
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x38], xmm2
movss dword [rdi + 0x3c], xmm0
je 0x180039c49
bt r14d, 0x18
jb 0x180039c49
test byte [rdi + 0x14], 1
mov rcx, qword [rdi]
je 0x180039bf1
movaps xmm1, xmm14
jmp 0x180039c25
mov rax, qword [rdi + 0x378]
movss xmm0, dword [rcx + 0x3d44]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x180039c15
mulss xmm0, dword [rax + 0x2a0]
movss xmm1, dword [rcx + 0x3930]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x2c]
lea rax, [rbp - 0x70]
subss xmm2, dword [rdi + 0x28]
subss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x70], xmm2
movss dword [rbp - 0x6c], xmm1
jmp 0x180039c57
movsd xmm0, qword [rdi + 0x38]
lea rax, [rbp - 0x38]
movsd qword [rbp - 0x38], xmm0
cmp byte [rsp + 0x41], 0
movsd xmm0, qword [rax]
movsd qword [rdi + 0x30], xmm0
je 0x180039caf
mov eax, r14d
mov dword [rdi + 0xe0], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180039caf
cmp byte [rsp + 0x40], 0
jne 0x180039caf
movsxd rax, dword [rsi + 0x4ad0]
imul rcx, rax, 0x38
mov rax, qword [rsi + 0x4ad8]
movss xmm0, dword [rcx + rax - 0x14]
movss xmm1, dword [rcx + rax - 0x10]
movss dword [rdi + 0x28], xmm0
movss dword [rdi + 0x2c], xmm1
bt r14d, 0x18
jae 0x180039d3e
mov r12, qword [rsp + 0x60]
lea rbx, [r12 + 0x1a0]
movzx eax, word [rbx]
mov word [rdi + 0xd0], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180039d05
inc r8d
test ecx, ecx
je 0x180039cee
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180039cf3
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180053400
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
movzx ebx, byte [rsp + 0x40]
mov eax, dword [rsp + 0x48]
bt r14d, 0x1a
jb 0x180039d47
test bl, bl
jne 0x180039d47
cmp eax, 0x3000000
je 0x180039d47
movsd xmm0, qword [r12 + 0x110]
movsd qword [rdi + 0x28], xmm0
jmp 0x180039d47
movzx ebx, byte [rsp + 0x40]
mov eax, dword [rsp + 0x48]
movss xmm1, dword [rdi + 0xec]
ucomiss xmm1, dword [0x1801017e8]
jp 0x180039d5a
je 0x180039da8
cmp byte [rdi + 0xe5], 0
jne 0x180039da8
movss xmm0, dword [rdi + 0x30]
lea rdx, [rbp - 0x68]
mulss xmm0, dword [rdi + 0xf4]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xf0]
movss dword [rbp - 0x68], xmm1
movss xmm1, dword [rdi + 0xf8]
mulss xmm1, dword [rdi + 0x34]
subss xmm0, xmm1
movss dword [rbp - 0x64], xmm0
call fcn.18003bd40
jmp 0x180039dfd
bt r14d, 0x1c
jae 0x180039db5
lea rcx, [rbp - 0x28]
jmp 0x180039de2
bt r14d, 0x1a
jae 0x180039dcc
test bl, bl
jne 0x180039dcc
cmp byte [rsp + 0x43], bl
jle 0x180039dcc
lea rcx, [rbp - 0x20]
jmp 0x180039de2
bt r14d, 0x19
jae 0x180039dfd
test bl, bl
jne 0x180039dfd
cmp eax, 0x3000000
je 0x180039dfd
lea rcx, [rbp - 0x18]
mov rdx, rdi
call fcn.180041900
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x28], xmm0
movss dword [rdi + 0x2c], xmm1
movss xmm0, dword [r15 + 0x14]
movss xmm1, dword [r15 + 0x18]
movaps xmm7, xmm0
movss xmm8, dword [r15 + 4]
movaps xmm6, xmm1
movss xmm9, dword [r15 + 8]
movaps xmm5, xmm8
movss xmm3, dword [rsi + 0x39b8]
movaps xmm4, xmm9
movss xmm2, dword [rsi + 0x39b4]
movss dword [rbp + 0x90], xmm8
movss dword [rbp + 0x94], xmm9
addss xmm7, dword [r15 + 0x1c]
addss xmm6, dword [r15 + 0x20]
addss xmm5, dword [r15 + 0xc]
addss xmm4, dword [r15 + 0x10]
maxss xmm3, dword [rsi + 0x39c0]
maxss xmm2, dword [rsi + 0x39bc]
movss dword [rbp + 0x98], xmm5
movss dword [rbp + 0x9c], xmm4
subss xmm6, xmm3
subss xmm7, xmm2
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [rbp + 0x8c], xmm6
movss dword [rbp + 0x88], xmm7
movss dword [rbp + 0x80], xmm2
movss dword [rbp + 0x84], xmm3
test bl, bl
jne 0x180039f61
bt r14d, 0x18
jb 0x180039f61
subss xmm5, xmm8
comiss xmm5, xmm14
jbe 0x180039f61
subss xmm4, xmm9
comiss xmm4, xmm14
jbe 0x180039f61
mov rax, qword [0x1801170c8]
movss xmm0, dword [rdi + 0x34]
cmp byte [rax + 0x5f], bl
je 0x180039f2c
test byte [rdi + 0x14], 1
jne 0x180039f2c
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x378]
movss xmm1, dword [rcx + 0x3d44]
mulss xmm1, dword [rdi + 0x2a0]
test rax, rax
je 0x180039f1c
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [rcx + 0x3930]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x30]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x2c]
comiss xmm3, xmm0
ja 0x180039f46
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x28]
comiss xmm2, xmm0
ja 0x180039f57
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [rdi + 0x28], xmm2
movss dword [rdi + 0x2c], xmm3
cvttss2si eax, dword [rdi + 0x28]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rdi + 0x28], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x2c], xmm0
bt r14d, 0x18
jae 0x180039f94
movss xmm2, dword [rsi + 0x391c]
jmp 0x180039fb5
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180039fad
movss xmm2, dword [rsi + 0x3924]
jmp 0x180039fb5
movss xmm2, dword [rsi + 0x3900]
xor r12b, r12b
movss dword [rdi + 0x60], xmm2
cmp byte [rsp + 0x41], r12b
je 0x180039fee
bt r14d, 0xc
jb 0x180039fee
mov ebx, 1
bt r14d, 0x1a
jae 0x180039fdd
movzx r12d, bl
jmp 0x180039ff3
test r14d, 0x3000000
movzx r12d, r12b
cmove r12d, ebx
jmp 0x180039ff3
mov ebx, 1
xor r15d, r15d
mov dword [rbp + 0x78], 0xffffffff
test dword [rdi + 0x14], 0x1000000
xorps xmm0, xmm0
mov dword [rbp + 0x7c], 0xffffffff
movups xmmword [rbp + 0xa0], xmm0
jne 0x18003a022
cmp byte [rsi + 0x5e], r15b
setne r15b
inc r15d
cmp byte [rdi + 0xc1], 0
movss xmm0, dword [rsi + 0x3d40]
addss xmm2, dword [0x180101640]
movaps xmm1, xmm0
mulss xmm0, dword [0x1801015cc]
mulss xmm1, dword [0x180101650]
addss xmm2, xmm0
maxss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm13, eax
cvtdq2ps xmm13, xmm13
jne 0x18003a0b0
lea rax, [rbp + 0x80]
mov rcx, rdi
mov qword [rsp + 0x30], rax
lea r9, [rbp + 0x7c]
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x78]
lea rdx, [rbp + 0x70]
mov dword [rsp + 0x20], r15d
call fcn.180036cb0
mov ecx, dword [rsp + 0x44]
test eax, eax
je 0x18003a0b4
test al, 1
movzx ecx, cl
movzx r13d, r13b
cmovne ecx, ebx
test al, 2
cmovne r13d, ebx
jmp 0x18003a0b4
mov ecx, dword [rsp + 0x44]
cmp byte [rdi + 0xc1], 0
movzx eax, byte [rbp + 0x78]
mov byte [rdi + 0xc9], al
movzx eax, byte [rbp + 0x7c]
mov byte [rdi + 0xca], al
jne 0x18003a22b
cmp qword [rsp + 0x58], 0
movss xmm0, dword [rdi + 0x74]
movss xmm2, dword [rdi + 0x210]
movss xmm3, dword [rdi + 0x214]
addss xmm0, dword [rdi + 0x6c]
subss xmm2, dword [rdi + 0x208]
subss xmm3, dword [rdi + 0x20c]
movss xmm4, dword [rdi + 0x3c]
movss xmm5, dword [rdi + 0x38]
subss xmm4, xmm0
addss xmm2, xmm10
addss xmm3, xmm11
jne 0x18003a12d
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x60]
jmp 0x18003a157
movss xmm0, dword [rdi + 0x58]
lea rax, [rbp - 0x58]
movss xmm1, dword [rdi + 0x5c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x40]
addss xmm1, dword [rdi + 0x44]
movss dword [rbp - 0x58], xmm0
movss dword [rbp - 0x54], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x18003a167
movaps xmm5, xmm2
test r13b, r13b
jne 0x18003a16f
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x18003a185
comiss xmm1, xmm4
jbe 0x18003a181
test r14b, 8
je 0x18003a185
xor cl, cl
jmp 0x18003a187
mov cl, 1
mov byte [rdi + 0xbd], cl
bt r14d, 0xf
jb 0x18003a1cb
test cl, cl
je 0x18003a1a2
movss xmm0, dword [rsi + 0x3964]
jmp 0x18003a1a6
movaps xmm0, xmm14
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x18003a1be
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x18003a1cb
mov byte [rdi + 0xbc], 0
movaps xmm1, xmm14
jmp 0x18003a1f5
mov byte [rdi + 0xbc], 1
test cl, cl
jne 0x18003a1ed
comiss xmm1, xmm4
jbe 0x18003a1e5
test r14b, 8
jne 0x18003a1e5
mov cl, 1
jmp 0x18003a1e7
xor cl, cl
mov byte [rdi + 0xbd], cl
movss xmm1, dword [rsi + 0x3964]
test cl, cl
je 0x18003a203
movss xmm0, dword [rsi + 0x3964]
jmp 0x18003a207
movaps xmm0, xmm14
movss dword [rdi + 0xb4], xmm0
addss xmm0, dword [rdi + 0x70]
movss dword [rdi + 0xb8], xmm1
addss xmm1, dword [rdi + 0x74]
movss dword [rdi + 0x70], xmm0
movss dword [rdi + 0x74], xmm1
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18003a252
cmp dword [rsp + 0x48], 0x3000000
je 0x18003a252
mov r13, qword [rsp + 0x60]
lea rax, [r13 + 0x248]
jmp 0x18003a25e
mov r13, qword [rsp + 0x60]
lea rax, [rbp + 0x90]
test byte [rdi + 0x14], 1
movups xmm0, xmmword [rax]
mov rcx, qword [rdi]
movss xmm6, dword [rdi + 0x28]
movss xmm3, dword [rdi + 0x2c]
movaps xmm4, xmm6
addss xmm4, dword [rdi + 0x30]
movaps xmm5, xmm3
addss xmm5, dword [rdi + 0x34]
movups xmmword [rbp - 0x80], xmm0
je 0x18003a28e
movaps xmm0, xmm14
jmp 0x18003a2c2
mov rax, qword [rdi + 0x378]
movss xmm1, dword [rcx + 0x3d44]
mulss xmm1, dword [rdi + 0x2a0]
test rax, rax
je 0x18003a2b2
mulss xmm1, dword [rax + 0x2a0]
movss xmm0, dword [rcx + 0x3930]
addss xmm0, xmm0
addss xmm0, xmm1
movss dword [rsp + 0x68], xmm6
movaps xmm2, xmm6
addss xmm2, dword [rdi + 0x38]
movaps xmm1, xmm3
mov eax, r14d
addss xmm1, xmm0
and eax, 0x401
movss xmm0, dword [rdi + 0x2c]
movss dword [rsp + 0x6c], xmm0
movss dword [rsp + 0x70], xmm2
movss dword [rsp + 0x74], xmm1
movss dword [rdi + 0x1f8], xmm6
movss dword [rdi + 0x1fc], xmm3
movss dword [rdi + 0x200], xmm4
movss dword [rdi + 0x204], xmm5
movss xmm0, dword [rdi + 0x1f8]
movss xmm4, dword [rbp - 0x80]
movss xmm5, dword [rbp - 0x7c]
maxss xmm0, xmm4
movss xmm12, dword [rbp - 0x78]
maxss xmm3, xmm5
movss xmm11, dword [rbp - 0x74]
movss dword [rdi + 0x1f8], xmm0
movss dword [rdi + 0x1fc], xmm3
movss xmm1, dword [rdi + 0x200]
movss xmm0, dword [rdi + 0x204]
minss xmm1, xmm12
minss xmm0, xmm11
movss dword [rdi + 0x200], xmm1
movss dword [rdi + 0x204], xmm0
movss xmm6, dword [rdi + 0x28]
movss xmm7, dword [rdi + 0x2c]
movaps xmm8, xmm6
movaps xmm9, xmm7
addss xmm6, dword [rdi + 0x30]
addss xmm7, dword [rdi + 0x34]
addss xmm8, dword [rdi + 0x68]
addss xmm9, dword [rdi + 0x6c]
subss xmm6, dword [rdi + 0x70]
subss xmm7, dword [rdi + 0x74]
movss dword [rdi + 0x208], xmm8
movss dword [rdi + 0x20c], xmm9
movss dword [rdi + 0x210], xmm6
movss dword [rdi + 0x214], xmm7
cmp eax, 1
jne 0x18003a3d7
movss xmm10, dword [rdi + 0x64]
jmp 0x18003a3e0
movss xmm10, dword [rsi + 0x3938]
movss xmm2, dword [0x1801015f4]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x58]
addss xmm8, xmm2
mulss xmm0, xmm2
addss xmm9, xmm2
addss xmm6, xmm2
addss xmm7, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm9, xmm10
subss xmm7, dword [rdi + 0x64]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x64]
addss xmm8, xmm1
subss xmm6, xmm1
cvttss2si eax, xmm8
xorps xmm8, xmm8
cvtsi2ss xmm8, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x218], xmm8
cvtsi2ss xmm0, eax
cvttss2si eax, xmm6
movss dword [rdi + 0x21c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm7
movss dword [rdi + 0x220], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x224], xmm0
movss xmm0, dword [rdi + 0x21c]
comiss xmm5, xmm0
jbe 0x18003a489
movaps xmm1, xmm5
jmp 0x18003a491
movaps xmm1, xmm11
minss xmm1, xmm0
comiss xmm4, xmm8
jbe 0x18003a49c
movaps xmm0, xmm4
jmp 0x18003a4a5
movaps xmm0, xmm12
minss xmm0, xmm8
movss dword [rdi + 0x218], xmm0
movss dword [rdi + 0x21c], xmm1
movss xmm0, dword [rdi + 0x224]
comiss xmm5, xmm0
ja 0x18003a4ca
movaps xmm5, xmm11
minss xmm5, xmm0
movss xmm0, dword [rdi + 0x220]
comiss xmm4, xmm0
ja 0x18003a4df
movaps xmm4, xmm12
minss xmm4, xmm0
movss dword [rdi + 0x220], xmm4
movss dword [rdi + 0x224], xmm5
movss xmm0, dword [rdi + 0x30]
comiss xmm0, xmm14
jbe 0x18003a50d
test r14d, 0x2000040
jne 0x18003a50d
mulss xmm0, dword [0x180101600]
jmp 0x18003a51d
movss xmm0, dword [rsi + 0x3d40]
mulss xmm0, dword [0x180101704]
cvttss2si eax, xmm0
mov rcx, rdi
mov rdx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x278], xmm0
lea rcx, [rbp - 0x10]
movss xmm0, dword [rdi + 0x210]
subss xmm0, dword [rdi + 0x208]
movss xmm1, dword [rdi + 0x58]
movss xmm2, dword [rdi + 0x5c]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x40]
addss xmm2, dword [rdi + 0x44]
subss xmm1, xmm0
movaps xmm0, xmm14
maxss xmm0, xmm1
movss dword [rdi + 0x94], xmm0
movss xmm0, dword [rdi + 0x214]
subss xmm0, dword [rdi + 0x20c]
subss xmm2, xmm0
movaps xmm0, xmm14
maxss xmm0, xmm2
movss dword [rdi + 0x98], xmm0
call fcn.18003fe70
mov rcx, qword [rdi + 0x2a8]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x8c], xmm0
movss dword [rdi + 0x90], xmm1
mov dword [rdi + 0x9c], 0x7f7fffff
mov dword [rdi + 0xa0], 0x7f7fffff
mov qword [rdi + 0x78], 0
mov rax, qword [rsi + 0x3d38]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.18008e530
mov rcx, qword [0x1801170c8]
lea r8, [rbp - 0x78]
xor r9d, r9d
lea rdx, [rbp - 0x80]
mov rax, qword [rcx + 0x4008]
mov byte [rax + 0xc0], 1
mov rbx, qword [rcx + 0x4008]
mov rcx, qword [rbx + 0x2a8]
call fcn.18008e420
mov rax, qword [rbx + 0x2a8]
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 + 0x248], eax
mov eax, r14d
movss dword [rbx + 0x24c], xmm0
and eax, 0x5000000
movss dword [rbx + 0x250], xmm1
movss dword [rbx + 0x254], xmm2
xor bl, bl
cmp eax, 0x1000000
jne 0x18003a733
cmp dword [rsp + 0x48], 0x3000000
je 0x18003a733
movsxd rax, dword [r13 + 0x1a0]
cmp eax, 2
jl 0x18003a6fc
mov rcx, rax
mov rax, qword [r13 + 0x1a8]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x18003a6fc
movss xmm1, dword [rdi + 0x2c]
movss xmm5, dword [rdx + 0x2c]
movaps xmm2, xmm1
movss xmm7, dword [rdx + 0x28]
movaps xmm0, xmm5
addss xmm0, dword [rdx + 0x34]
movss xmm6, dword [rdi + 0x28]
movaps xmm3, xmm7
addss xmm3, dword [rdx + 0x30]
addss xmm2, dword [rdi + 0x34]
movaps xmm4, xmm6
comiss xmm0, xmm1
addss xmm4, dword [rdi + 0x30]
jbe 0x18003a6fc
comiss xmm2, xmm5
jbe 0x18003a6fc
comiss xmm3, xmm6
jbe 0x18003a6fc
comiss xmm4, xmm7
jbe 0x18003a6fc
mov r8b, 1
jmp 0x18003a6ff
xor r8b, r8b
mov rdx, qword [rdi + 0x2a8]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x18003a733
mov rax, qword [r13 + 0x2a8]
cmp dword [rax + 0x20], 0
je 0x18003a733
test r8b, r8b
jne 0x18003a733
mov bl, 1
mov qword [rdi + 0x2a8], rax
mov rax, qword [rsi + 0x4ce8]
test rax, rax
jne 0x18003a746
mov rax, qword [rsi + 0x4b08]
test r12b, r12b
jne 0x18003a765
test rax, rax
je 0x18003a760
mov rax, qword [rax + 0x398]
cmp qword [rdi + 0x398], rax
je 0x18003a765
xor r8b, r8b
jmp 0x18003a768
mov r8b, 1
movss dword [rsp + 0x30], xmm13
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x68]
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.180038100
test bl, bl
je 0x18003a79f
lea rax, [rdi + 0x2b0]
mov qword [rdi + 0x2a8], rax
movss xmm5, dword [rdi + 0x50]
mov ecx, r14d
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm14
jp 0x18003a7fb
jne 0x18003a7fb
movss xmm0, dword [rdi + 0x58]
mov eax, r14d
movss xmm1, dword [rdi + 0x30]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [rdi + 0x70]
addss xmm0, dword [rdi + 0x68]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x18003a7f1
movss xmm7, dword [rdi + 0x40]
maxss xmm7, xmm1
jmp 0x18003a7fe
movaps xmm7, xmm14
maxss xmm7, xmm1
jmp 0x18003a7fe
movaps xmm7, xmm5
movss xmm4, dword [rdi + 0x54]
ucomiss xmm4, xmm14
jp 0x18003a844
jne 0x18003a844
movss xmm0, dword [rdi + 0x5c]
movss xmm1, dword [rdi + 0x34]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [rdi + 0x74]
addss xmm0, dword [rdi + 0x6c]
subss xmm1, xmm0
test cl, cl
je 0x18003a83a
movss xmm6, dword [rdi + 0x44]
maxss xmm6, xmm1
jmp 0x18003a847
movaps xmm6, xmm14
maxss xmm6, xmm1
jmp 0x18003a847
movaps xmm6, xmm4
ucomiss xmm5, xmm14
movss xmm9, dword [rdi + 0x58]
movss xmm10, dword [rdi + 0x8c]
movaps xmm1, xmm9
maxss xmm1, dword [rdi + 0x64]
movss xmm0, dword [rdi + 0x208]
subss xmm0, xmm10
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [rdi + 0x228], xmm3
addss xmm7, xmm3
movss xmm8, dword [rdi + 0x5c]
movss xmm11, dword [rdi + 0x90]
movaps xmm1, xmm8
movss xmm0, dword [rdi + 0x20c]
maxss xmm1, dword [rdi + 0x64]
subss xmm0, xmm11
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + 0x22c], xmm2
addss xmm6, xmm2
movss dword [rdi + 0x230], xmm7
movss dword [rdi + 0x234], xmm6
movups xmm0, xmmword [rdi + 0x228]
movups xmmword [rdi + 0x238], xmm0
movss xmm12, dword [rdi + 0x28]
movss xmm6, dword [rdi + 0x68]
movaps xmm2, xmm12
subss xmm2, xmm10
addss xmm2, xmm9
addss xmm2, xmm6
movss dword [rdi + 0x258], xmm2
movss xmm13, dword [rdi + 0x2c]
movss xmm7, dword [rdi + 0x6c]
movaps xmm3, xmm13
subss xmm3, xmm11
addss xmm3, xmm8
addss xmm3, xmm7
movss dword [rdi + 0x25c], xmm3
jp 0x18003a955
jne 0x18003a955
movss xmm5, dword [rdi + 0x30]
movaps xmm0, xmm9
addss xmm0, xmm9
movaps xmm1, xmm6
addss xmm1, dword [rdi + 0x70]
subss xmm5, xmm0
subss xmm5, xmm1
ucomiss xmm4, xmm14
addss xmm2, xmm5
movss dword [rdi + 0x260], xmm2
jp 0x18003a987
jne 0x18003a987
movss xmm4, dword [rdi + 0x34]
movaps xmm0, xmm8
addss xmm0, xmm8
movaps xmm1, xmm7
addss xmm1, dword [rdi + 0x74]
subss xmm4, xmm0
subss xmm4, xmm1
movzx r8d, byte [rsp + 0x41]
addss xmm3, xmm4
xor r15d, r15d
lea rcx, [rdi + 0x17c]
cvtps2pd xmm2, xmm9
movss dword [rdi + 0x264], xmm3
movaps xmm0, xmm6
addss xmm0, xmm9
cvtps2pd xmm3, xmm8
subss xmm0, xmm10
cvtps2pd xmm1, xmm10
movss dword [rdi + 0x154], xmm0
mov qword [rdi + 0x158], r15
cvtps2pd xmm0, xmm12
addsd xmm2, xmm0
cvtps2pd xmm0, xmm6
subsd xmm2, xmm1
xorps xmm1, xmm1
addsd xmm2, xmm0
cvtps2pd xmm0, xmm13
addsd xmm2, xmm1
addsd xmm3, xmm0
cvtps2pd xmm1, xmm11
cvtps2pd xmm0, xmm7
subsd xmm3, xmm1
cvtpd2ps xmm1, xmm2
addsd xmm3, xmm0
movss dword [rdi + 0x120], xmm1
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x124], xmm0
movss xmm0, dword [rdi + 0x120]
movss xmm1, dword [rdi + 0x124]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm2, xmm0
subsd xmm3, xmm1
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x160], xmm2
movss dword [rdi + 0x164], xmm0
movss xmm1, dword [rdi + 0x120]
movss xmm0, dword [rdi + 0x124]
movss dword [rdi + 0x110], xmm1
movss dword [rdi + 0x114], xmm0
movss dword [rdi + 0x118], xmm1
movss dword [rdi + 0x11c], xmm0
movss dword [rdi + 0x128], xmm1
movss dword [rdi + 0x12c], xmm0
movss dword [rdi + 0x130], xmm1
movss dword [rdi + 0x134], xmm0
mov qword [rdi + 0x140], r15
mov qword [rdi + 0x138], r15
mov qword [rdi + 0x148], r15
mov word [rdi + 0x150], r15w
mov dword [rdi + 0x168], r15d
movzx eax, word [rdi + 0x16e]
mov word [rdi + 0x16c], ax
mov dword [rdi + 0x16e], 0x10000
movss xmm0, dword [rdi + 0x98]
comiss xmm0, xmm14
seta al
mov byte [rdi + 0x172], al
mov byte [rdi + 0x173], r15b
movss xmm1, dword [rsi + 0x393c]
call fcn.1800c1ef0
movaps xmm13, xmmword [rsp + 0x1d0]
movaps xmm12, xmmword [rsp + 0x1e0]
movaps xmm11, xmmword [rsp + 0x1f0]
movaps xmm10, xmmword [rsp + 0x200]
mov qword [rdi + 0x198], r15
mov ecx, dword [rdi + 0x1a4]
test ecx, ecx
jns 0x18003ab51
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1a0]
test eax, eax
cmovg edx, eax
call fcn.180053400
mov dword [rdi + 0x1a0], r15d
lea rax, [rdi + 0x280]
mov qword [rdi + 0x1b0], rax
mov eax, 1
mov qword [rdi + 0x1b8], r15
mov dword [rdi + 0x1c4], eax
test r13, r13
je 0x18003ab84
mov eax, dword [r13 + 0x1c4]
mov dword [rdi + 0x1c8], eax
mov eax, dword [rdi + 0x278]
mov dword [rdi + 0x1cc], eax
mov dword [rdi + 0x1d0], 0xbf800000
mov ecx, dword [rdi + 0x1dc]
test ecx, ecx
jns 0x18003abc7
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1d8]
test eax, eax
cmovg edx, eax
call fcn.1800540b0
mov dword [rdi + 0x1d8], r15d
mov ecx, dword [rdi + 0x1ec]
test ecx, ecx
jns 0x18003abf5
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1e8]
test eax, eax
cmovg edx, eax
call fcn.1800540b0
mov dword [rdi + 0x1e8], r15d
movzx eax, byte [rdi + 0xdc]
test al, al
jle 0x18003ac0f
dec al
mov byte [rdi + 0xdc], al
movzx eax, byte [rdi + 0xdd]
test al, al
jle 0x18003ac22
dec al
mov byte [rdi + 0xdd], al
test r12b, r12b
je 0x18003ac47
mov edx, 2
mov rcx, rdi
call fcn.18003b290
cmp rdi, qword [rsi + 0x4b08]
jne 0x18003ac47
xor edx, edx
mov rcx, rdi
call fcn.180042a20
movss xmm6, dword [rsp + 0x74]
movss xmm7, dword [rsp + 0x70]
movss xmm8, dword [rsp + 0x6c]
movss xmm9, dword [rsp + 0x68]
test r14b, 1
jne 0x18003aca2
mov r9, qword [rbp - 0x50]
lea rdx, [rbp - 0x48]
mov r8, qword [rsp + 0x78]
movaps xmm0, xmm9
addss xmm0, dword [rdi + 0x64]
movaps xmm1, xmm7
movss dword [rbp - 0x44], xmm8
subss xmm1, dword [rdi + 0x64]
mov rcx, rdi
movss dword [rbp - 0x3c], xmm6
movss dword [rbp - 0x48], xmm0
movss dword [rbp - 0x40], xmm1
call fcn.1800387e0
mov rdx, qword [0x1801170c8]
mov dword [rdi + 0x268], r15d
movss xmm3, dword [rdx + 0x3954]
movss xmm2, dword [rdx + 0xe48]
subss xmm9, xmm3
comiss xmm2, xmm9
movaps xmm9, xmmword [rsp + 0x210]
jb 0x18003ad0b
movss xmm1, dword [rdx + 0x3958]
movss xmm0, dword [rdx + 0xe4c]
subss xmm8, xmm1
comiss xmm0, xmm8
jb 0x18003ad0b
addss xmm7, xmm3
comiss xmm7, xmm2
jbe 0x18003ad0b
addss xmm6, xmm1
comiss xmm6, xmm0
jbe 0x18003ad0b
mov ebx, 1
mov r8d, ebx
jmp 0x18003ad13
mov r8d, r15d
mov ebx, 1
mov eax, dword [rdi + 0x84]
mov ecx, dword [rsi + 0x496c]
movups xmm0, xmmword [rsp + 0x68]
mov dword [rdx + 0x4998], eax
movaps xmm8, xmmword [rsp + 0x220]
movaps xmm7, xmmword [rsp + 0x230]
movaps xmm6, xmmword [rsp + 0x240]
movups xmmword [rdx + 0x49b4], xmm0
mov dword [rdx + 0x499c], ecx
movups xmmword [rdx + 0x49a4], xmm0
mov dword [rdx + 0x49a0], r8d
mov eax, dword [rsi + 0x4970]
test eax, eax
je 0x18003ae1c
cmp dword [rdi + 0x10], eax
je 0x18003ad7d
cmp dword [rdi + 0x84], eax
jne 0x18003ae1c
call fcn.180051a50
jmp 0x18003ae1c
mov rcx, qword [0x1801170c8]
mov qword [rcx + 0x4008], rdi
movsxd rax, dword [rdi + 0x1c0]
cmp eax, 0xffffffff
je 0x18003adb4
imul rdx, rax, 0x250
add rdx, qword [rcx + 0x4e10]
xor r15d, r15d
jmp 0x18003adba
xor r15d, r15d
mov edx, r15d
mov qword [rcx + 0x4de8], rdx
mov rax, qword [rdi]
movss xmm0, dword [rax + 0x3d44]
mov rax, qword [rdi + 0x378]
mulss xmm0, dword [rdi + 0x2a0]
test rax, rax
je 0x18003ade8
mulss xmm0, dword [rax + 0x2a0]
movss dword [rcx + 0x3d58], xmm0
movss dword [rcx + 0x3d40], xmm0
test rdx, rdx
jne 0x18003ae0c
cmp qword [rdi + 0x1b8], rdx
jne 0x18003ae0c
movzx eax, r8b
jmp 0x18003ae0e
xor al, al
mov r13, qword [rsp + 0x60]
mov ebx, r8d
mov byte [rdi + 0x170], al
lea rdx, [rdi + 0x220]
mov r8b, 1
lea rcx, [rdi + 0x218]
call fcn.1800342f0
mov eax, dword [rsp + 0x4c]
mov r12, qword [rsp + 0x268]
mov byte [rdi + 0xc0], 0
inc word [rdi + 0xcc]
mov dword [rsi + 0x49e8], r15d
mov r15, qword [rsp + 0x250]
cmp eax, dword [rsp + 0x50]
je 0x18003afc4
mov eax, r14d
and eax, 0x11000000
cmp eax, 0x1000000
jne 0x18003af36
bt r14d, 0x17
jae 0x18003aea8
cmp byte [rsi + 0x4b54], 0
je 0x18003aea8
mov rcx, qword [rsi + 0x4b08]
test rcx, rcx
je 0x18003aea8
mov rax, qword [rdi + 0x3a0]
cmp qword [rcx + 0x3a0], rax
jne 0x18003aea8
mov al, 1
jmp 0x18003aeaa
xor al, al
cmp byte [rsi + 0x5fc8], 0
jne 0x18003aefb
test al, al
jne 0x18003aefb
movss xmm0, dword [rdi + 0x1f8]
comiss xmm0, dword [rdi + 0x200]
jae 0x18003aed9
movss xmm0, dword [rdi + 0x1fc]
comiss xmm0, dword [rdi + 0x204]
jb 0x18003aefb
cmp byte [rdi + 0xdc], 0
jg 0x18003aef4
cmp byte [rdi + 0xdd], 0
jg 0x18003aef4
mov byte [rdi + 0xe4], 1
jmp 0x18003aefb
mov byte [rdi + 0xe5], 1
test r13, r13
je 0x18003af36
cmp byte [r13 + 0xc1], 0
jne 0x18003af14
cmp byte [r13 + 0xe4], 0
jle 0x18003af1b
mov byte [rdi + 0xe4], 1
cmp byte [r13 + 0xc1], 0
jne 0x18003af2f
cmp byte [r13 + 0xe5], 0
jle 0x18003af36
mov byte [rdi + 0xe5], 1
comiss xmm14, dword [rsi + 0x38f0]
jb 0x18003af47
mov byte [rdi + 0xe4], 1
cmp byte [rdi + 0xe4], 0
jg 0x18003af67
cmp byte [rdi + 0xe5], 0
jg 0x18003af67
xor cl, cl
cmp byte [rdi + 0xe6], cl
jg 0x18003af69
xor al, al
jmp 0x18003af6b
mov cl, 1
mov al, 1
mov byte [rdi + 0xc5], al
movzx eax, byte [rdi + 0xe7]
test al, al
jle 0x18003af8b
dec al
mov byte [rdi + 0xe7], al
or dword [rdi + 0x14], 0x30200
xor al, al
cmp byte [rdi + 0xc1], al
jne 0x18003afa1
cmp byte [rdi + 0xbe], al
je 0x18003afa1
test cl, cl
je 0x18003afbe
cmp byte [rdi + 0xdc], al
jg 0x18003afbe
cmp byte [rdi + 0xdd], al
jg 0x18003afbe
cmp byte [rdi + 0xe5], 0
movzx eax, al
cmovle eax, ebx
mov byte [rdi + 0xc3], al
cmp byte [rdi + 0xc6], 0
movaps xmm14, xmmword [rsp + 0x1c0]
mov r14, qword [rsp + 0x258]
mov r13, qword [rsp + 0x260]
mov rbx, qword [rsp + 0x2a8]
jne 0x18003b03b
cmp byte [rsi + 0x79], 0
je 0x18003affc
cmp qword [rsp + 0x58], 0
je 0x18003b011
cmp byte [rsi + 0x7a], 0
je 0x18003b03b
movsx eax, byte [rsi + 0x6044]
cmp eax, dword [rsi + 0x3fd8]
jne 0x18003b03b
movzx eax, byte [rdi + 0xdc]
test al, al
jle 0x18003b024
inc al
mov byte [rdi + 0xdc], al
movzx eax, byte [rdi + 0xdd]
test al, al
jle 0x18003b037
inc al
mov byte [rdi + 0xdd], al
xor al, al
jmp 0x18003b045
cmp byte [rdi + 0xc3], 0
sete al
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1800dc090
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret