Function at 0x18004e840
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 r13
push r14
lea rbp, [rax - 0x118]
sub rsp, 0x1e8
mov rsi, qword [0x1802bec78]
mov r11, rcx
movaps xmmword [rax - 0xc8], xmm13
mov ebx, r8d
mov r8d, 0xffffffff
mov qword [rax - 0x38], r12
mov qword [rax - 0x40], r15
mov ecx, r8d
movzx r10d, byte [r11]
lea r9, [r11 + 1]
test r10b, r10b
je 0x18004e8cf
lea rdi, [0x180266e50]
nop dword [rax + rax]
cmp r10b, 0x23
jne 0x18004e8b3
cmp byte [r9], r10b
jne 0x18004e8b3
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 0x18004e8a0
not ecx
call fcn.18004c380
test rax, rax
mov qword [rbp - 0x80], rax
mov rdi, rax
sete dl
mov byte [rbp + 0x128], dl
test rax, rax
jne 0x18004e902
mov edx, ebx
mov rcx, r11
call fcn.18004c610
movzx edx, byte [rbp + 0x128]
mov rdi, rax
mov r9d, dword [rdi + 0x250]
lea r14, [rsi + 0x3e70]
mov ecx, ebx
mov dword [rsp + 0x38], r9d
mov r13d, ebx
and ecx, 0xc0200
or r13d, 6
cmp ecx, 0xc0200
cmovne r13d, ebx
cmp dword [r14], 0
mov ebx, dword [rsi + 0x3e20]
mov dword [rsp + 0x3c], ebx
jne 0x18004e94b
cmp byte [rsi + 0x3e2d], 0
je 0x18004e94b
mov al, 1
jmp 0x18004e94d
xor al, al
mov byte [rdi + 0x9e], al
lea eax, [rbx - 1]
cmp r9d, eax
setl r8b
mov byte [rbp + 0x130], r8b
bt r13d, 0x1a
jae 0x18004e99b
movsxd rax, dword [rsi + 0x4088]
imul rax, rax, 0x38
add rax, qword [rsi + 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 + 0x130], r8b
mov byte [rdi + 0x9c], r8b
test r8b, r8b
je 0x18004e9bc
or byte [rdi + 0xbc], 8
or byte [rdi + 0xbd], 8
or byte [rdi + 0xbe], 8
xor r12d, r12d
cmp r9d, ebx
je 0x18004ea10
mov r8d, r13d
mov rcx, rdi
call fcn.18004c470
mov r9d, dword [rsp + 0x38]
mov dword [rdi + 0xc], r13d
mov dword [rdi + 0x250], ebx
movsd xmm0, qword [rsi + 0x3e18]
mov word [rdi + 0xa6], r12w
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x254], xmm0
movzx eax, word [rsi + 0x3e90]
inc dword [rsi + 0x3e90]
mov word [rdi + 0xa8], ax
jmp 0x18004ea14
mov r13d, dword [rdi + 0xc]
movsxd rax, dword [r14]
test eax, eax
jne 0x18004ea20
mov r15, r12
jmp 0x18004ea30
imul rcx, rax, 0x58
mov rax, qword [rsi + 0x3e78]
mov r15, qword [rcx + rax - 0x58]
cmp r9d, ebx
je 0x18004ea42
test r13d, 0x5000000
cmovne r12, r15
jmp 0x18004ea49
mov r12, qword [rdi + 0x358]
lea rbx, [rdi + 0xd0]
mov qword [rsp + 0x50], r12
cmp dword [rbx], 0
mov r9d, 8
jne 0x18004ea86
cmp dword [rbx + 4], 0
jne 0x18004ea77
mov edx, r9d
mov rcx, rbx
call fcn.18005a610
mov r9d, 8
movsxd rdx, dword [rbx]
mov eax, dword [rdi + 8]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
inc dword [rbx]
mov rdx, qword [0x1802bec78]
xorps xmm0, xmm0
mov eax, dword [rsi + 0x3fa4]
movups xmm1, xmmword [rsi + 0x3f7c]
mov qword [rsi + 0x3ea0], rdi
mov r8d, dword [r14 + 4]
movups xmmword [rbp - 0xc], xmm0
mov dword [rbp - 0x10], eax
mov rax, qword [rdx + 0x3ea0]
movups xmm0, xmmword [rsi + 0x3f6c]
mov qword [rbp - 0x50], rdi
movups xmmword [rbp - 0x38], xmm1
movzx ecx, word [rax + 0xd0]
movzx eax, word [rdx + 0x4018]
movsd xmm1, qword [rsi + 0x3f9c]
mov word [rbp - 0xa], ax
movzx eax, word [rdx + 0x4028]
mov word [rbp - 8], ax
movzx eax, word [rdx + 0x4038]
mov word [rbp - 6], ax
movzx eax, word [rdx + 0x4048]
mov word [rbp - 4], ax
movzx eax, word [rdx + 0x4068]
mov word [rbp - 2], ax
movzx eax, word [rdx + 0x4058]
mov word [rbp], ax
movzx eax, word [rdx + 0x4088]
movups xmmword [rbp - 0x48], xmm0
mov word [rbp + 2], ax
movups xmm0, xmmword [rsi + 0x3f8c]
movzx eax, word [rdx + 0x5354]
mov word [rbp - 0xc], cx
mov ecx, dword [r14]
mov word [rbp + 4], ax
movsd qword [rbp - 0x18], xmm1
movups xmmword [rbp - 0x28], xmm0
cmp ecx, r8d
jne 0x18004eb72
inc ecx
test r8d, r8d
je 0x18004eb60
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18004eb63
mov eax, r9d
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, r14
call fcn.18005a440
movsxd rax, dword [r14]
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
imul rcx, rax, 0x58
mov rax, qword [r14 + 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 [r14]
bt r13d, 0x1c
jae 0x18004ebc4
inc dword [rsi + 0x4098]
mov eax, dword [rsp + 0x38]
cmp eax, dword [rsp + 0x3c]
je 0x18004ec81
mov qword [rdi + 0x358], r12
mov qword [rdi + 0x380], rdi
mov qword [rdi + 0x378], rdi
mov qword [rdi + 0x370], rdi
mov qword [rdi + 0x368], rdi
test r12, r12
je 0x18004ec4d
mov eax, r13d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x18004ec18
mov rax, qword [r12 + 0x368]
mov qword [rdi + 0x368], rax
bt r13d, 0x1a
jae 0x18004ec2e
mov rax, qword [r12 + 0x370]
mov qword [rdi + 0x370], rax
bt r13d, 0x1b
jb 0x18004ec4d
test r13d, 0x5000000
je 0x18004ec4d
mov rax, qword [r12 + 0x378]
mov qword [rdi + 0x378], rax
test dword [rdi + 0xc], 0x800000
je 0x18004ec7a
mov rcx, rdi
nop dword [rax]
mov rax, qword [rcx + 0x358]
mov qword [rdi + 0x380], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x18004ec60
mov qword [rdi + 0x360], r15
mov r14, qword [0x1802bec78]
mov r12d, dword [rdi + 8]
lea rbx, [r14 + 0x4048]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18004ecc7
inc r8d
test ecx, ecx
je 0x18004ecb0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004ecb5
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18005a610
movsxd rcx, dword [rbx]
xor r10d, r10d
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], r12d
inc dword [rbx]
mov dword [r14 + 0x3f4c], r12d
mov eax, dword [rsi + 0x3f4c]
mov dword [rdi + 0x3b8], eax
mov qword [rsi + 0x3ea0], r10
bt r13d, 0x1a
jae 0x18004ed2e
lea rcx, [rsi + 0x4088]
movsxd rax, dword [rcx]
imul rbx, rax, 0x38
add rbx, qword [rsi + 0x4080]
mov rdx, rbx
mov qword [rbx + 8], rdi
mov eax, dword [r15 + 0x148]
mov dword [rbx + 0x18], eax
call fcn.180059b70
mov eax, dword [rbx]
xor r10d, r10d
mov dword [rdi + 0xac], eax
xor dl, dl
xor r15b, r15b
xor r12b, r12b
mov byte [rbp + 0x138], dl
test byte [rsi + 0x3fa8], 1
je 0x18004edd7
movsx ecx, byte [rdi + 0xbc]
mov r8d, dword [rsi + 0x3fac]
test r8d, ecx
setne dl
mov byte [rbp + 0x138], dl
test r8d, ecx
je 0x18004edc8
movss xmm0, dword [rsi + 0x3fc4]
movss xmm1, dword [rsi + 0x3fc0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x180270f74]
jbe 0x18004edc8
movsd xmm0, qword [rsi + 0x3fb8]
and ecx, 0xf1
mov eax, dword [rdi + 0xbc]
and eax, 0xffffff00
movsd qword [rdi + 0xc0], xmm0
movsd xmm1, qword [rsi + 0x3fc0]
or ecx, eax
mov dword [rdi + 0xbc], ecx
movsd qword [rdi + 0xc8], xmm1
jmp 0x18004edd7
lea rdx, [rsi + 0x3fb8]
mov rcx, rdi
call fcn.180051260
test byte [rsi + 0x3fa8], 2
xorps xmm13, xmm13
je 0x18004ee26
movsx eax, byte [rdi + 0xbd]
mov r8d, dword [rsi + 0x3fb0]
and eax, r8d
je 0x18004ee06
comiss xmm13, dword [rsi + 0x3fc8]
jae 0x18004ee06
mov r15b, 1
jmp 0x18004ee0a
test eax, eax
je 0x18004ee17
comiss xmm13, dword [rsi + 0x3fcc]
jae 0x18004ee17
mov r12b, 1
lea rdx, [rsi + 0x3fc8]
mov rcx, rdi
call fcn.1800513c0
test byte [rsi + 0x3fa8], 0x80
je 0x18004ee60
movss xmm0, dword [rsi + 0x3fd8]
comiss xmm0, xmm13
jb 0x18004ee46
movss dword [rdi + 0x74], xmm0
mov dword [rdi + 0x7c], r10d
movss xmm0, dword [rsi + 0x3fdc]
comiss xmm0, xmm13
jb 0x18004ee60
movss dword [rdi + 0x78], xmm0
mov dword [rdi + 0x80], r10d
test byte [rsi + 0x3fa8], 4
mov r14d, dword [rsp + 0x3c]
mov ebx, dword [rsp + 0x38]
je 0x18004ee81
movsd xmm0, qword [rsi + 0x3fd0]
movsd qword [rdi + 0x40], xmm0
jmp 0x18004ee8e
cmp ebx, r14d
je 0x18004ee8e
mov qword [rdi + 0x40], 0
test byte [rsi + 0x3fa8], 8
je 0x18004eedc
mov ecx, dword [rsi + 0x3fb4]
movzx edx, byte [rsi + 0x3fe0]
test ecx, ecx
je 0x18004eeb3
movsx eax, byte [rdi + 0xbe]
test ecx, eax
je 0x18004eedc
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 [rsi + 0x3fa8], 0x20
je 0x18004eeed
mov rcx, rdi
call fcn.180050df0
cmp byte [rdi + 0x9c], 0
je 0x18004ef0b
and byte [rdi + 0xbc], 0xf7
and byte [rdi + 0xbd], 0xf7
and byte [rdi + 0xbe], 0xf7
mov r8d, 1
cmp ebx, r14d
je 0x1800509e4
movaps xmmword [rsp + 0x1c0], xmm6
mov eax, r13d
movaps xmmword [rsp + 0x1b0], xmm7
and eax, 0x3000000
movaps xmmword [rsp + 0x1a0], xmm8
movaps xmmword [rsp + 0x190], xmm9
movaps xmmword [rsp + 0x180], xmm10
movaps xmmword [rsp + 0x170], xmm11
movaps xmmword [rsp + 0x160], xmm12
movaps xmmword [rsp + 0x140], xmm14
mov byte [rdi + 0x96], r8b
mov byte [rdi + 0xa0], 0
movaps xmmword [rsp + 0x130], xmm15
mov dword [rsp + 0x34], 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 [rdi + 0xd4]
mov byte [rsp + 0x31], al
cmp ecx, r8d
jge 0x18004eff0
test ecx, ecx
je 0x18004efd0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004efd5
mov eax, 8
cmp eax, r8d
lea rcx, [rdi + 0xd0]
mov edx, r8d
cmovg edx, eax
call fcn.18005a610
mov r8d, 1
mov dword [rdi + 0xd0], r8d
mov rcx, qword [rdi + 0x288]
call fcn.18005b6a0
cmp byte [rdi + 0x3c4], 0
mov dword [rdi + 0x1a0], 0xffffffff
je 0x18004f052
mov rcx, qword [rdi + 0x288]
mov edx, dword [rdi + 0x3bc]
add rcx, 0x10
mov byte [rdi + 0x3c4], 0
call fcn.18005a2d0
mov rcx, qword [rdi + 0x288]
mov edx, dword [rdi + 0x3c0]
add rcx, 0x20
call fcn.18005a020
xor eax, eax
mov qword [rdi + 0x3bc], rax
cmp qword [rsi + 0x4228], 0
mov r9, qword [rbp - 0x80]
je 0x18004f125
test dword [rdi + 0xc], 0x80000
jne 0x18004f125
test r9, r9
je 0x18004f125
mov r10, qword [rbp + 0x120]
mov r9, qword [rdi]
mov rax, r10
mov r8, r9
sub r8, r10
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18004f0a3
inc rax
test ecx, ecx
jne 0x18004f090
test edx, edx
je 0x18004f121
movsxd r14, dword [rdi + 0x58]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x18004f0b2
inc rbx
cmp r14, rbx
jae 0x18004f10c
test r9, r9
je 0x18004f0db
mov rax, qword [0x1802bec78]
test rax, rax
je 0x18004f0db
dec dword [rax + 0xf4]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1802bec78]
test rax, rax
je 0x18004f0f6
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 + 0x120]
mov r14, 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], r14d
mov r9, qword [rbp - 0x80]
lea r8, [rdi + 0x38]
mov rcx, rdi
lea rdx, [rdi + 0x30]
call fcn.18004cb10
movzx eax, byte [rdi + 0xb8]
test al, al
jle 0x18004f148
dec al
mov byte [rdi + 0xb8], al
movzx eax, byte [rdi + 0xb9]
test al, al
jle 0x18004f15b
dec al
mov byte [rdi + 0xb9], al
movzx eax, byte [rdi + 0xba]
test al, al
jle 0x18004f16e
dec al
mov byte [rdi + 0xba], al
test r9, r9
jne 0x18004f184
test r15b, r15b
je 0x18004f17d
test r12b, r12b
jne 0x18004f184
mov byte [rdi + 0xb9], 1
xor r8d, r8d
cmp byte [rbp + 0x130], r8b
je 0x18004f1d0
test r13d, 0x6000000
je 0x18004f1d0
mov byte [rdi + 0xb9], 1
test r13b, 0x40
je 0x18004f1d0
test r15b, r15b
jne 0x18004f1b3
mov dword [rdi + 0x28], r8d
mov dword [rdi + 0x20], r8d
test r12b, r12b
jne 0x18004f1c0
mov dword [rdi + 0x2c], r8d
mov dword [rdi + 0x24], r8d
mov qword [rdi + 0x38], 0
mov qword [rdi + 0x30], 0
mov rcx, qword [0x1802bec78]
mov rax, qword [rcx + 0x40a8]
mov r14, qword [rax]
mov qword [rdi + 0x10], r14
mov qword [rcx + 0x3ea0], rdi
movsxd rax, dword [rdi + 0x1a0]
cmp eax, 0xffffffff
je 0x18004f208
imul rdx, rax, 0x218
add rdx, qword [rcx + 0x4338]
jmp 0x18004f20b
mov rdx, r8
movss xmm0, dword [rcx + 0x3c04]
mov qword [rcx + 0x4310], rdx
mov rax, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x280]
test rax, rax
je 0x18004f236
mulss xmm0, dword [rax + 0x280]
movss dword [rcx + 0x3c18], xmm0
movss dword [rcx + 0x3c00], xmm0
bt r13d, 0x18
jae 0x18004f257
movss xmm1, dword [rsi + 0x3810]
jmp 0x18004f279
test r13d, 0x6000000
je 0x18004f271
bt r13d, 0x1b
jb 0x18004f271
movss xmm1, dword [rsi + 0x3818]
jmp 0x18004f279
movss xmm1, dword [rsi + 0x37f4]
mov rax, rdi
movss dword [rax + 0x54], xmm1
mov eax, r13d
movsd xmm0, qword [rsi + 0x37e8]
and eax, 0x5010000
movsd qword [rdi + 0x48], xmm0
cmp eax, 0x1000000
jne 0x18004f2c1
ucomiss xmm1, xmm13
jne 0x18004f2c1
bt r13d, 0xa
jae 0x18004f2b4
movss xmm0, dword [rsi + 0x37ec]
jmp 0x18004f2b8
movaps xmm0, xmm13
movss dword [rdi + 0x4c], xmm0
mov dword [rdi + 0x48], r8d
movss xmm0, dword [rsi + 0x382c]
maxss xmm0, dword [rdi + 0x48]
maxss xmm0, dword [rsi + 0x400c]
movss dword [rdi + 0x154], xmm0
mov eax, dword [rsi + 0x4010]
mov dword [rdi + 0x158], eax
movzx eax, byte [rbp + 0x128]
mov byte [rsp + 0x30], al
test r13b, 0x21
jne 0x18004f449
test byte [rdi + 0xc], 1
je 0x18004f30b
movaps xmm1, xmm13
jmp 0x18004f33f
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rcx + 0x3c04]
mulss xmm0, dword [rdi + 0x280]
test rax, rax
je 0x18004f32f
mulss xmm0, dword [rax + 0x280]
movss xmm1, dword [rcx + 0x3820]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x18]
movaps xmm2, xmm0
addss xmm2, dword [rdi + 0x28]
addss xmm1, dword [rdi + 0x1c]
cmp qword [rsi + 0x3ea8], rdi
jne 0x18004f40a
cmp dword [rsi + 0x3ed8], 0
jne 0x18004f40a
cmp dword [rsi + 0x3edc], 0
jne 0x18004f40a
mov rax, qword [rcx + 0x3ea0]
movss xmm3, dword [rax + 0x228]
movss xmm4, dword [rax + 0x22c]
maxss xmm3, xmm0
movss xmm0, dword [rax + 0x230]
maxss xmm4, dword [rdi + 0x1c]
minss xmm0, xmm2
movss xmm2, dword [rax + 0x234]
minss xmm2, xmm1
movss xmm1, dword [rcx + 0x3844]
movaps xmm5, xmm1
subss xmm3, xmm1
movss xmm1, dword [rcx + 0xdfc]
addss xmm5, xmm0
movss xmm0, dword [rcx + 0x3848]
movaps xmm6, xmm0
subss xmm4, xmm0
comiss xmm1, xmm3
addss xmm6, xmm2
jb 0x18004f40a
movss xmm0, dword [rcx + 0xe00]
comiss xmm0, xmm4
jb 0x18004f40a
comiss xmm1, xmm5
jae 0x18004f40a
comiss xmm0, xmm6
jae 0x18004f40a
cmp byte [rsi + 0x373d], 0
je 0x18004f40a
mov byte [rdi + 0x9a], 1
cmp byte [rdi + 0x9a], 0
je 0x18004f450
cmp byte [rdi + 0x99], 0
sete al
test dword [rdi + 0xc], 0x100
mov byte [rdi + 0x99], al
jne 0x18004f43f
comiss xmm13, dword [rcx + 0x539c]
jb 0x18004f43f
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x539c], eax
mov rcx, rdi
call fcn.180050df0
jmp 0x18004f450
mov byte [rdi + 0x99], 0
lea r8, [rdi + 0x38]
mov byte [rdi + 0x9a], 0
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.18004cc20
test r13b, 0x40
je 0x18004f4ac
cmp byte [rdi + 0x99], 0
jne 0x18004f4ac
test r15b, r15b
jne 0x18004f48e
movss xmm0, dword [rsp + 0x48]
movss dword [rdi + 0x28], xmm0
mov byte [rbp + 0x128], 1
test r12b, r12b
jne 0x18004f555
movss xmm0, dword [rsp + 0x4c]
movss dword [rdi + 0x2c], xmm0
mov byte [rsp + 0x30], 1
jmp 0x18004f555
movzx eax, byte [rdi + 0xb0]
test al, al
jg 0x18004f4c4
cmp byte [rdi + 0xb1], 0
jle 0x18004f555
test r15b, r15b
jne 0x18004f4f5
test al, al
jle 0x18004f4f5
cmp byte [rdi + 0xb3], r15b
je 0x18004f4e3
movss xmm0, dword [rdi + 0x28]
maxss xmm0, dword [rsp + 0x48]
jmp 0x18004f4e9
movss xmm0, dword [rsp + 0x48]
movss dword [rdi + 0x28], xmm0
mov byte [rbp + 0x128], 1
test r12b, r12b
jne 0x18004f529
cmp byte [rdi + 0xb1], r12b
jle 0x18004f529
cmp byte [rdi + 0xb3], r12b
je 0x18004f519
movss xmm0, dword [rdi + 0x2c]
maxss xmm0, dword [rsp + 0x4c]
jmp 0x18004f51f
movss xmm0, dword [rsp + 0x4c]
movss dword [rdi + 0x2c], xmm0
mov byte [rsp + 0x30], 1
cmp byte [rdi + 0x99], 0
jne 0x18004f555
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x1802bec78]
jne 0x18004f555
comiss xmm13, dword [rcx + 0x539c]
jb 0x18004f555
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x539c], eax
lea r8, [rdi + 0x28]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.18004c8e0
cmp byte [rdi + 0x99], 0
movss xmm3, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x28], xmm3
movss dword [rdi + 0x2c], xmm0
je 0x18004f5f7
bt r13d, 0x18
jb 0x18004f5f7
test byte [rdi + 0xc], 1
mov rdx, qword [0x1802bec78]
je 0x18004f59b
movaps xmm2, xmm13
jmp 0x18004f5cf
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rdx + 0x3c04]
mulss xmm0, dword [rdi + 0x280]
test rax, rax
je 0x18004f5bf
mulss xmm0, dword [rax + 0x280]
movss xmm2, dword [rdx + 0x3820]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm1, dword [rdi + 0x18]
addss xmm2, dword [rdi + 0x1c]
movaps xmm0, xmm1
addss xmm0, xmm3
subss xmm2, dword [rdi + 0x1c]
subss xmm0, xmm1
movss dword [rsp + 0x7c], xmm2
movss dword [rsp + 0x78], xmm0
jmp 0x18004f609
movsd xmm0, qword [rdi + 0x28]
mov rdx, qword [0x1802bec78]
movsd qword [rsp + 0x78], xmm0
mov ecx, dword [rdi + 0xc]
lea rax, [rsp + 0x78]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x20], xmm0
test cl, 1
je 0x18004f625
movaps xmm1, xmm13
jmp 0x18004f659
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rdx + 0x3c04]
mulss xmm0, dword [rdi + 0x280]
test rax, rax
je 0x18004f649
mulss xmm0, dword [rax + 0x280]
movss xmm1, dword [rdx + 0x3820]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x18004f6a2
mov rax, qword [rdi + 0x358]
movss xmm10, dword [rdx + 0x3c04]
mulss xmm10, dword [rdi + 0x280]
test rax, rax
je 0x18004f686
mulss xmm10, dword [rax + 0x280]
movss xmm0, dword [rdx + 0x3820]
addss xmm10, dword [rdi + 0x158]
addss xmm0, xmm0
addss xmm10, xmm0
jmp 0x18004f6a6
movaps xmm10, xmm13
movzx ebx, byte [rbp + 0x130]
addss xmm10, xmm1
movzx r15d, byte [rbp + 0x138]
movss dword [rsp + 0x40], xmm10
test bl, bl
je 0x18004f70b
mov eax, r13d
mov dword [rdi + 0xb4], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18004f70b
test r15b, r15b
jne 0x18004f70b
movsxd rax, dword [rsi + 0x4088]
imul rcx, rax, 0x38
mov rax, qword [rsi + 0x4090]
movss xmm0, dword [rcx + rax - 0x14]
movss xmm1, dword [rcx + rax - 0x10]
movss dword [rdi + 0x18], xmm0
movss dword [rdi + 0x1c], xmm1
bt r13d, 0x18
jae 0x18004f79f
mov rdx, qword [rsp + 0x50]
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 0x18004f765
inc r8d
test ecx, ecx
je 0x18004f749
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004f74e
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180059ec0
mov rdx, qword [rsp + 0x50]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov eax, dword [rsp + 0x34]
movzx ebx, byte [rbp + 0x130]
bt r13d, 0x1a
jb 0x18004f7a3
test r15b, r15b
jne 0x18004f7a3
cmp eax, 0x3000000
je 0x18004f7a3
movsd xmm0, qword [rdx + 0xe0]
movsd qword [rdi + 0x18], xmm0
jmp 0x18004f7a3
mov eax, dword [rsp + 0x34]
movss xmm1, dword [rdi + 0xc0]
ucomiss xmm1, dword [0x180271684]
je 0x18004f80b
cmp byte [rdi + 0xb9], 0
jne 0x18004f80b
movss xmm0, dword [rdi + 0xc8]
lea rdx, [rbp + 0x138]
mulss xmm0, dword [rdi + 0x20]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xc4]
movss dword [rbp + 0x138], xmm1
movss xmm1, dword [rdi + 0xcc]
mulss xmm1, dword [rdi + 0x24]
subss xmm0, xmm1
movss dword [rbp + 0x13c], xmm0
call fcn.180051260
jmp 0x18004f858
bt r13d, 0x1c
jb 0x18004f838
bt r13d, 0x1a
jae 0x18004f825
test r15b, r15b
jne 0x18004f825
cmp byte [rsp + 0x31], r15b
jg 0x18004f838
bt r13d, 0x19
jae 0x18004f858
test r15b, r15b
jne 0x18004f858
cmp eax, 0x3000000
je 0x18004f858
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.180054370
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x18], xmm0
movss dword [rdi + 0x1c], xmm1
movss xmm0, dword [r14 + 0x14]
movss xmm1, dword [r14 + 0x18]
movaps xmm7, xmm0
movss xmm8, dword [r14 + 4]
movaps xmm6, xmm1
movss xmm9, dword [r14 + 8]
movaps xmm5, xmm8
movss xmm3, dword [rsi + 0x388c]
movaps xmm4, xmm9
movss xmm2, dword [rsi + 0x3888]
movss dword [rsp + 0x68], xmm8
movss dword [rsp + 0x6c], xmm9
addss xmm7, dword [r14 + 0x1c]
addss xmm6, dword [r14 + 0x20]
addss xmm5, dword [r14 + 0xc]
addss xmm4, dword [r14 + 0x10]
maxss xmm3, dword [rsi + 0x3894]
maxss xmm2, dword [rsi + 0x3890]
movss dword [rsp + 0x70], xmm5
movss dword [rsp + 0x74], xmm4
subss xmm6, xmm3
subss xmm7, xmm2
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [rbp + 0x1c], xmm6
movss dword [rbp + 0x18], xmm7
movss dword [rbp + 0x10], xmm2
movss dword [rbp + 0x14], xmm3
test r15b, r15b
jne 0x18004f9ae
bt r13d, 0x18
jb 0x18004f9ae
subss xmm5, xmm8
comiss xmm5, xmm13
jbe 0x18004f9ae
mov r12, qword [0x1802bec78]
subss xmm4, xmm9
comiss xmm4, xmm13
jbe 0x18004f9b5
movss xmm0, dword [rdi + 0x24]
cmp byte [r12 + 0x7f], r15b
je 0x18004f977
test byte [rdi + 0xc], 1
jne 0x18004f977
mov rax, qword [rdi + 0x358]
movss xmm1, dword [r12 + 0x3c04]
mulss xmm1, dword [rdi + 0x280]
test rax, rax
je 0x18004f965
mulss xmm1, dword [rax + 0x280]
movss xmm0, dword [r12 + 0x3820]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x20]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x1c]
comiss xmm0, xmm3
jb 0x18004f991
movaps xmm3, xmm0
minss xmm3, xmm6
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm2
jb 0x18004f9a2
movaps xmm2, xmm0
minss xmm2, xmm7
movss dword [rdi + 0x18], xmm2
movss dword [rdi + 0x1c], xmm3
jmp 0x18004f9b5
mov r12, qword [0x1802bec78]
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
bt r13d, 0x18
jae 0x18004f9e8
movss xmm0, dword [rsi + 0x380c]
jmp 0x18004fa09
mov eax, r13d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18004fa01
movss xmm0, dword [rsi + 0x3814]
jmp 0x18004fa09
movss xmm0, dword [rsi + 0x37f0]
xor cl, cl
movss dword [rdi + 0x50], xmm0
mov dword [rbp + 0x138], ecx
test bl, bl
je 0x18004fc37
bt r13d, 0xc
jb 0x18004fc37
bt r13d, 0x1a
jae 0x18004fa39
mov byte [rbp + 0x138], 1
jmp 0x18004fa51
test r13d, 0x3000000
movzx ecx, cl
mov ebx, 1
cmove ecx, ebx
mov dword [rbp + 0x138], ecx
call fcn.1800535d0
test rax, rax
je 0x18004fc37
mov rcx, rdi
cmp qword [rdi + 0x368], rax
je 0x18004fc37
nop
cmp rcx, rax
je 0x18004fc37
mov rcx, qword [rcx + 0x360]
test rcx, rcx
jne 0x18004fa70
mov r8, qword [rdi + 0x368]
mov byte [rbp + 0x138], cl
cmp rdi, r8
jne 0x18004fc37
mov eax, dword [r12 + 0x4078]
test eax, eax
jle 0x18004fb52
sub eax, 1
js 0x18004fb52
movsxd r9, eax
imul r10, r9, 0x38
add r10, 8
add r10, qword [r12 + 0x4080]
mov rdx, qword [r10]
test rdx, rdx
je 0x18004fb44
test dword [rdx + 0xc], 0x8000000
je 0x18004fb44
cmp byte [rdx + 0x96], 0
jne 0x18004faea
cmp byte [rdx + 0x97], 0
je 0x18004fb44
mov rax, rdi
cmp r8, rdx
je 0x18004fb52
cmp rax, rdx
je 0x18004fb52
mov rax, qword [rax + 0x360]
test rax, rax
jne 0x18004faf2
mov rax, qword [rdx + 0x360]
mov rcx, qword [rax + 0x368]
test rcx, rcx
je 0x18004fb44
mov rax, rdi
cmp r8, rcx
je 0x18004fb54
nop
cmp rax, rcx
je 0x18004fb54
mov rax, qword [rax + 0x360]
test rax, rax
jne 0x18004fb20
mov rax, qword [rcx + 0x360]
mov rcx, qword [rax + 0x368]
test rcx, rcx
jne 0x18004fb16
sub r10, 0x38
sub r9, 1
jns 0x18004fac7
xor edx, edx
mov r9, qword [r12 + 0x3e48]
movsxd rax, dword [r12 + 0x3e40]
mov r15, qword [rdi + 0x368]
mov r8, qword [rdx + 0x368]
lea rcx, [r9 + rax*8]
cmp r9, rcx
jae 0x18004fb8e
nop dword [rax + rax]
cmp qword [r9], r15
je 0x18004fb8e
add r9, 8
cmp r9, rcx
jb 0x18004fb80
mov r14, qword [r12 + 0x3e48]
movsxd rax, dword [r12 + 0x3e40]
sub r9, r14
sar r9, 3
lea rcx, [r14 + rax*8]
cmp r14, rcx
jae 0x18004fbbe
nop
cmp qword [r14], r8
je 0x18004fbbe
add r14, 8
cmp r14, rcx
jb 0x18004fbb0
mov r10, qword [r12 + 0x3e48]
sub r14, r10
sar r14, 3
cmp r9d, r14d
jge 0x18004fc0a
mov eax, r14d
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 [r12 + 0x3e48]
movsxd rcx, r14d
mov qword [rax + rcx*8 - 8], r15
jmp 0x18004fc37
lea eax, [r14 + 1]
movsxd rbx, r14d
movsxd rcx, eax
sub r9d, r14d
movsxd r8, r9d
shl r8, 3
lea rdx, [r10 + rbx*8]
lea rcx, [r10 + rcx*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r12 + 0x3e48]
mov qword [rax + rbx*8], r15
xorps xmm0, xmm0
mov dword [rbp - 0x78], 0xffffffff
movups xmmword [rbp + 0x20], xmm0
xor r12d, r12d
movss xmm0, dword [rsi + 0x3c00]
cmp byte [rsi + 0x7e], r12b
movaps xmm1, xmm0
mulss xmm1, dword [0x18027103c]
setne r12b
cmp byte [rdi + 0x99], 0
mulss xmm0, dword [0x180271230]
addss xmm1, dword [rdi + 0x50]
addss xmm1, dword [0x1802711d4]
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x78], xmm0
jne 0x18004fcc9
lea rax, [rbp + 0x10]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea r9d, [r12 + 1]
lea rax, [rbp + 0x20]
lea r8, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
call fcn.18004cfc0
test al, al
je 0x18004fcc9
mov cl, 1
movzx edx, cl
jmp 0x18004fcd5
movzx edx, byte [rbp + 0x128]
movzx ecx, byte [rsp + 0x30]
cmp byte [rdi + 0x99], 0
movzx eax, byte [rbp - 0x78]
mov byte [rdi + 0xa1], al
jne 0x18004fe29
cmp qword [rbp - 0x80], 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 [rdi + 0x28]
subss xmm4, xmm10
addss xmm2, dword [rdi + 0x8c]
addss xmm3, dword [rdi + 0x90]
jne 0x18004fd40
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x60]
jmp 0x18004fd6a
movss xmm0, dword [rdi + 0x48]
lea rax, [rbp - 0x58]
movss xmm1, dword [rdi + 0x4c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x30]
addss xmm1, dword [rdi + 0x34]
movss dword [rbp - 0x58], xmm0
movss dword [rbp - 0x54], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test dl, dl
jne 0x18004fd7a
movaps xmm5, xmm2
test cl, cl
jne 0x18004fd81
movaps xmm4, xmm3
bt r13d, 0xe
jb 0x18004fd97
comiss xmm1, xmm4
jbe 0x18004fd93
test r13b, 8
je 0x18004fd97
xor cl, cl
jmp 0x18004fd99
mov cl, 1
mov byte [rdi + 0x95], cl
bt r13d, 0xf
jb 0x18004fddd
test cl, cl
je 0x18004fdb4
movss xmm0, dword [rsi + 0x3854]
jmp 0x18004fdb8
movaps xmm0, xmm13
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x18004fdd0
mov eax, r13d
and eax, 0x808
cmp eax, 0x800
je 0x18004fddd
mov byte [rdi + 0x94], 0
movaps xmm1, xmm13
jmp 0x18004fe07
mov byte [rdi + 0x94], 1
test cl, cl
jne 0x18004fdff
comiss xmm1, xmm4
jbe 0x18004fdf7
test r13b, 8
jne 0x18004fdf7
mov cl, 1
jmp 0x18004fdf9
xor cl, cl
mov byte [rdi + 0x95], cl
movss xmm1, dword [rsi + 0x3854]
test cl, cl
je 0x18004fe15
movss xmm0, dword [rsi + 0x3854]
jmp 0x18004fe19
movaps xmm0, xmm13
movss dword [rdi + 0x8c], xmm0
movss dword [rdi + 0x90], xmm1
mov eax, r13d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18004fe4f
cmp dword [rsp + 0x34], 0x3000000
je 0x18004fe4f
mov rax, qword [rsp + 0x50]
add rax, 0x228
jmp 0x18004fe54
lea rax, [rsp + 0x68]
test byte [rdi + 0xc], 1
movss xmm14, dword [rdi + 0x18]
movss xmm3, dword [rdi + 0x1c]
movaps xmm1, xmm14
addss xmm1, dword [rdi + 0x20]
movups xmm6, xmmword [rax]
movaps xmm2, xmm3
addss xmm2, dword [rdi + 0x24]
je 0x18004fe7f
movaps xmm12, xmm13
jmp 0x18004febd
mov rdx, qword [0x1802bec78]
mov rax, qword [rdi + 0x358]
movss xmm0, dword [rdx + 0x3c04]
mulss xmm0, dword [rdi + 0x280]
test rax, rax
je 0x18004feaa
mulss xmm0, dword [rax + 0x280]
movss xmm12, dword [rdx + 0x3820]
addss xmm12, xmm12
addss xmm12, xmm0
movss xmm15, dword [rdi + 0x1c]
addss xmm12, xmm3
movss dword [rbp - 0x70], xmm14
movaps xmm0, xmm14
addss xmm0, dword [rdi + 0x28]
movss dword [rbp - 0x6c], xmm15
movaps xmm7, xmm6
shufps xmm7, xmm6, 0x55
movaps xmm11, xmm6
movss dword [rbp - 0x64], xmm12
movaps xmm13, xmm6
shufps xmm11, xmm6, 0xff
mov eax, r13d
movss dword [rbp + 0x128], xmm0
and eax, 0x401
movss dword [rbp - 0x68], xmm0
movss dword [rdi + 0x1d8], xmm14
movss dword [rdi + 0x1dc], xmm3
maxss xmm3, xmm7
movss dword [rdi + 0x1e0], xmm1
movss dword [rdi + 0x1e4], xmm2
movss xmm0, dword [rdi + 0x1d8]
shufps xmm13, xmm6, 0xaa
maxss xmm0, xmm6
movss dword [rdi + 0x1dc], xmm3
movss dword [rdi + 0x1d8], xmm0
movaps xmm0, xmm11
movss xmm1, dword [rdi + 0x1e0]
minss xmm1, xmm13
minss xmm0, dword [rdi + 0x1e4]
movss dword [rdi + 0x1e0], xmm1
movss dword [rdi + 0x1e4], xmm0
movss xmm4, dword [rdi + 0x18]
movss xmm5, dword [rdi + 0x1c]
movaps xmm9, xmm4
movss dword [rdi + 0x1e8], xmm4
movaps xmm10, xmm5
addss xmm9, dword [rdi + 0x20]
addss xmm5, dword [rdi + 0x24]
addss xmm10, dword [rsp + 0x40]
subss xmm9, dword [rdi + 0x8c]
subss xmm5, dword [rdi + 0x90]
movss dword [rdi + 0x1ec], xmm10
movss dword [rdi + 0x1f0], xmm9
movss dword [rdi + 0x1f4], xmm5
cmp eax, 1
jne 0x18004ffdf
movss xmm8, dword [rdi + 0x54]
jmp 0x18004ffe8
movss xmm8, dword [rsi + 0x3828]
movss xmm2, dword [0x1802710a4]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x48]
addss xmm4, xmm2
mulss xmm0, xmm2
addss xmm10, xmm2
addss xmm9, xmm2
addss xmm5, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm10, xmm8
subss xmm5, 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 [rdi + 0x1f8], xmm4
cvtsi2ss xmm0, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x1fc], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm5
movss dword [rdi + 0x200], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x204], xmm0
movss xmm0, dword [rdi + 0x1fc]
comiss xmm0, xmm7
jae 0x18005008e
movaps xmm0, xmm7
jmp 0x180050093
minss xmm0, xmm11
comiss xmm4, xmm6
jae 0x18005009d
movaps xmm4, xmm6
jmp 0x1800500a2
minss xmm4, xmm13
movss dword [rdi + 0x1f8], xmm4
movss dword [rdi + 0x1fc], xmm0
movss xmm1, dword [rdi + 0x204]
comiss xmm1, xmm7
jae 0x1800500c4
movaps xmm1, xmm7
jmp 0x1800500c9
minss xmm1, xmm11
movss xmm0, dword [rdi + 0x200]
comiss xmm0, xmm6
jae 0x1800500db
movaps xmm0, xmm6
jmp 0x1800500e0
minss xmm0, xmm13
movss dword [rdi + 0x200], xmm0
xorps xmm3, xmm3
movss dword [rdi + 0x204], xmm1
movss xmm0, dword [rdi + 0x20]
comiss xmm0, xmm3
jbe 0x180050110
test r13d, 0x2000040
jne 0x180050110
mulss xmm0, dword [0x1802710e0]
jmp 0x180050120
movss xmm0, dword [rsi + 0x3c00]
mulss xmm0, dword [0x180271524]
cvttss2si eax, xmm0
mov rcx, rdi
mov rdx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x258], xmm0
lea rcx, [rsp + 0x58]
movss xmm0, dword [rdi + 0x1f0]
subss xmm0, dword [rdi + 0x1e8]
movss xmm1, dword [rdi + 0x48]
movss xmm2, dword [rdi + 0x4c]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x30]
addss xmm2, dword [rdi + 0x34]
subss xmm1, xmm0
maxss xmm1, xmm3
movss dword [rdi + 0x6c], xmm1
movss xmm0, dword [rdi + 0x1f4]
subss xmm0, dword [rdi + 0x1ec]
subss xmm2, xmm0
maxss xmm2, xmm3
movss dword [rdi + 0x70], xmm2
call fcn.180052d50
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 [rsi + 0x3bf8]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.18005bd80
comiss xmm6, xmm13
mov rcx, qword [0x1802bec78]
mov rax, qword [rcx + 0x3ea0]
movss dword [rsp + 0x58], xmm6
mov byte [rax + 0x98], 1
mov r14, qword [rcx + 0x3ea0]
movss dword [rsp + 0x5c], xmm7
movss dword [rsp + 0x60], xmm13
movss dword [rsp + 0x64], xmm11
mov r15, qword [r14 + 0x288]
jb 0x18005021e
movss dword [rsp + 0x60], xmm6
comiss xmm7, xmm11
jb 0x18005022a
movss dword [rsp + 0x64], xmm7
mov ecx, dword [r15 + 0x5c]
mov r8d, dword [r15 + 0x58]
cmp r8d, ecx
jne 0x180050261
inc r8d
test ecx, ecx
je 0x180050249
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005024e
mov eax, 8
cmp eax, r8d
lea rcx, [r15 + 0x58]
cmovg r8d, eax
mov edx, r8d
call fcn.180062b70
movsxd rdx, dword [r15 + 0x58]
mov rcx, r15
mov rax, qword [r15 + 0x60]
add rdx, rdx
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rax + rdx*8], xmm0
inc dword [r15 + 0x58]
movups xmmword [r15 + 0x88], xmm0
call fcn.18005ba30
mov rax, qword [r14 + 0x288]
xor bl, bl
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 [r14 + 0x228], eax
mov eax, r13d
movss dword [r14 + 0x22c], xmm0
and eax, 0x5000000
movss dword [r14 + 0x230], xmm1
movss dword [r14 + 0x234], xmm2
cmp eax, 0x1000000
jne 0x1800503c3
cmp dword [rsp + 0x34], 0x3000000
je 0x1800503c3
mov r9, qword [rsp + 0x50]
movsxd rax, dword [r9 + 0x180]
cmp eax, 2
jl 0x18005038c
mov rcx, rax
mov rax, qword [r9 + 0x188]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x18005038c
movss xmm0, dword [rdx + 0x18]
lea rcx, [rsp + 0x58]
movss xmm1, dword [rdx + 0x1c]
movss dword [rsp + 0x58], xmm0
addss xmm0, dword [rdx + 0x20]
movss dword [rsp + 0x5c], xmm1
addss xmm1, dword [rdx + 0x24]
lea rdx, [rsp + 0x68]
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rdi + 0x18]
movss dword [rsp + 0x64], xmm1
movss xmm1, dword [rdi + 0x1c]
movss dword [rsp + 0x68], xmm0
addss xmm0, dword [rdi + 0x20]
movss dword [rsp + 0x6c], xmm1
addss xmm1, dword [rdi + 0x24]
movss dword [rsp + 0x70], xmm0
movss dword [rsp + 0x74], xmm1
call fcn.180042700
movzx r8d, al
jmp 0x18005038f
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 0x1800503c3
mov rax, qword [r9 + 0x288]
cmp dword [rax + 0x20], 0
jle 0x1800503c3
test r8b, r8b
jne 0x1800503c3
mov bl, 1
mov qword [rdi + 0x288], rax
mov rax, qword [rsi + 0x4218]
test rax, rax
jne 0x1800503d6
mov rax, qword [rsi + 0x40b0]
mov r15d, dword [rbp + 0x138]
test r15b, r15b
jne 0x1800503fc
test rax, rax
je 0x1800503f7
mov rax, qword [rax + 0x378]
cmp qword [rdi + 0x378], rax
je 0x1800503fc
xor r8b, r8b
jmp 0x1800503ff
mov r8b, 1
movss xmm0, dword [rsp + 0x78]
lea rax, [rbp + 0x20]
movss dword [rsp + 0x28], xmm0
lea r9d, [r12 + 1]
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.18004de10
test bl, bl
je 0x180050437
lea rax, [rdi + 0x290]
mov qword [rdi + 0x288], rax
movss xmm6, dword [rdi + 0x40]
mov ecx, r13d
shr ecx, 3
xorps xmm13, xmm13
not cl
and cl, 1
ucomiss xmm6, xmm13
je 0x180050456
movaps xmm7, xmm6
jmp 0x18005048d
movss xmm0, dword [rdi + 0x48]
mov eax, r13d
movss xmm7, dword [rdi + 0x20]
addss xmm0, xmm0
and eax, 0x808
subss xmm7, xmm0
subss xmm7, dword [rdi + 0x8c]
cmp eax, 0x800
jne 0x180050486
movss xmm0, dword [rdi + 0x30]
jmp 0x180050489
xorps xmm0, xmm0
maxss xmm7, xmm0
movss xmm4, dword [rdi + 0x44]
ucomiss xmm4, xmm13
je 0x18005049d
movaps xmm5, xmm4
jmp 0x1800504cf
movss xmm0, dword [rdi + 0x4c]
movss xmm5, dword [rdi + 0x24]
addss xmm0, xmm0
subss xmm5, xmm0
subss xmm5, dword [rsp + 0x40]
subss xmm5, dword [rdi + 0x90]
test cl, cl
je 0x1800504c8
movss xmm0, dword [rdi + 0x34]
jmp 0x1800504cb
xorps xmm0, xmm0
maxss xmm5, xmm0
ucomiss xmm6, xmm13
movss xmm8, dword [rdi + 0x48]
movss xmm10, dword [rdi + 0x64]
movaps xmm1, xmm8
maxss xmm1, dword [rdi + 0x54]
movss xmm0, dword [rdi + 0x1e8]
movss xmm9, dword [rdi + 0x4c]
subss xmm0, xmm10
movss xmm11, dword [rdi + 0x68]
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x1ec]
subss xmm0, xmm11
cvttss2si eax, xmm1
movaps xmm1, xmm9
maxss xmm1, dword [rdi + 0x54]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm7
movss xmm7, dword [rsp + 0x40]
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm1, xmm2
shufps xmm2, xmm2, 0
movss xmm2, xmm0
addss xmm1, xmm5
shufps xmm2, xmm2, 0x27
movss xmm2, xmm1
shufps xmm2, xmm2, 0x39
movss xmm2, xmm3
movups xmmword [rdi + 0x208], xmm2
movups xmmword [rdi + 0x218], xmm2
movss xmm3, dword [rdi + 0x18]
movaps xmm1, xmm3
subss xmm1, xmm10
addss xmm1, xmm8
movss dword [rdi + 0x238], xmm1
movss xmm5, dword [rdi + 0x1c]
movaps xmm2, xmm5
subss xmm2, xmm11
addss xmm2, xmm9
addss xmm2, xmm7
movss dword [rdi + 0x23c], xmm2
jne 0x1800505c3
movss xmm6, dword [rdi + 0x20]
movaps xmm0, xmm8
addss xmm0, xmm8
subss xmm6, xmm0
subss xmm6, dword [rdi + 0x8c]
ucomiss xmm4, xmm13
addss xmm1, xmm6
movss dword [rdi + 0x240], xmm1
jne 0x1800505f3
movss xmm4, dword [rdi + 0x24]
movaps xmm0, xmm9
addss xmm0, xmm9
subss xmm4, xmm0
subss xmm4, xmm7
subss xmm4, dword [rdi + 0x90]
xor r12d, r12d
addss xmm4, xmm2
cvtps2pd xmm2, xmm8
lea rbx, [rdi + 0x15c]
movss dword [rdi + 0x244], xmm4
movaps xmm0, xmm8
movaps xmm8, xmmword [rsp + 0x1a0]
subss xmm0, xmm10
cvtps2pd xmm1, xmm10
movss dword [rdi + 0x124], xmm0
movaps xmm10, xmmword [rsp + 0x180]
mov qword [rdi + 0x128], r12
cvtps2pd xmm0, xmm3
cvtps2pd xmm3, xmm9
movaps xmm9, xmmword [rsp + 0x190]
addsd xmm2, xmm0
cvtps2pd xmm0, xmm5
subsd xmm2, xmm1
addsd xmm3, xmm0
cvtps2pd xmm1, xmm11
movaps xmm11, xmmword [rsp + 0x170]
subsd xmm3, xmm1
cvtpd2ps xmm1, xmm2
cvtps2pd xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x1b0]
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 xmm13, dword [rdi + 0x70]
setb al
mov byte [rdi + 0x151], al
mov byte [rdi + 0x152], r12b
movss xmm0, dword [rsi + 0x382c]
cmp byte [rbp + 0x130], r12b
je 0x180050785
xor eax, eax
mov qword [rbx + 0x12], rax
cvttss2si eax, xmm0
mov rcx, rbx
mov word [rbx + 8], ax
call fcn.180074eb0
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 0x1800507d2
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.180059ec0
mov r14, qword [rsp + 0x50]
lea rax, [rdi + 0x260]
mov dword [rdi + 0x180], r12d
mov qword [rdi + 0x190], rax
mov eax, 1
mov qword [rdi + 0x198], r12
mov dword [rdi + 0x1a4], eax
test r14, r14
je 0x18005080a
mov eax, dword [r14 + 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 0x18005084d
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.18005a610
mov dword [rdi + 0x1b8], r12d
mov ecx, dword [rdi + 0x1cc]
test ecx, ecx
jns 0x18005087b
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.18005a610
mov dword [rdi + 0x1c8], r12d
movzx eax, byte [rdi + 0xb0]
test al, al
jle 0x180050895
dec al
mov byte [rdi + 0xb0], al
movzx eax, byte [rdi + 0xb1]
test al, al
jle 0x1800508a8
dec al
mov byte [rdi + 0xb1], al
test r15b, r15b
je 0x1800508bf
mov rcx, rdi
call fcn.180050df0
xor edx, edx
mov rcx, rdi
call fcn.1800553f0
movss xmm6, dword [rbp + 0x128]
test r13b, 1
jne 0x18005090c
mov r8, qword [rbp + 0x120]
lea rdx, [rsp + 0x68]
movaps xmm0, xmm14
movss dword [rsp + 0x6c], xmm15
addss xmm0, dword [rdi + 0x54]
movaps xmm1, xmm6
movss dword [rsp + 0x74], xmm12
subss xmm1, dword [rdi + 0x54]
mov rcx, rdi
movss dword [rsp + 0x68], xmm0
movss dword [rsp + 0x70], xmm1
call fcn.18004e3f0
mov rdx, qword [0x1802bec78]
mov dword [rdi + 0x248], r12d
movss xmm1, dword [rdx + 0x3844]
movss xmm0, dword [rdx + 0x3848]
subss xmm14, xmm1
movaps xmm2, xmm1
subss xmm15, xmm0
movss xmm1, dword [rdx + 0xdfc]
addss xmm2, xmm6
movaps xmm6, xmmword [rsp + 0x1c0]
movaps xmm3, xmm0
addss xmm3, xmm12
movaps xmm12, xmmword [rsp + 0x160]
comiss xmm1, xmm14
movaps xmm14, xmmword [rsp + 0x140]
jb 0x18005098d
movss xmm0, dword [rdx + 0xe00]
comiss xmm0, xmm15
jb 0x18005098d
comiss xmm1, xmm2
jae 0x18005098d
comiss xmm0, xmm3
jae 0x18005098d
mov ebx, 1
mov r8d, ebx
jmp 0x180050995
mov r8d, r12d
mov ebx, 1
mov eax, dword [rdi + 0x5c]
mov ecx, dword [rsi + 0x3f50]
movups xmm0, xmmword [rbp - 0x70]
mov dword [rdx + 0x3f6c], eax
movaps xmm15, xmmword [rsp + 0x130]
movups xmmword [rdx + 0x3f78], xmm0
mov dword [rdx + 0x3f70], ecx
mov dword [rdx + 0x3f74], r8d
mov eax, dword [rsi + 0x3f54]
test eax, eax
je 0x180050a5a
cmp dword [rdi + 8], eax
je 0x1800509dd
cmp dword [rdi + 0x5c], eax
jne 0x180050a5a
call fcn.1800596c0
jmp 0x180050a5a
mov rcx, qword [0x1802bec78]
mov qword [rcx + 0x3ea0], rdi
movsxd rax, dword [rdi + 0x1a0]
cmp eax, 0xffffffff
je 0x180050a11
imul rdx, rax, 0x218
add rdx, qword [rcx + 0x4338]
xor r12d, r12d
jmp 0x180050a17
xor r12d, r12d
mov edx, r12d
movss xmm0, dword [rcx + 0x3c04]
mov qword [rcx + 0x4310], rdx
mov rax, qword [rdi + 0x358]
mulss xmm0, dword [rdi + 0x280]
test rax, rax
je 0x180050a42
mulss xmm0, dword [rax + 0x280]
mov r14, qword [rsp + 0x50]
mov ebx, r8d
movss dword [rcx + 0x3c18], xmm0
movss dword [rcx + 0x3c00], xmm0
lea rdx, [rdi + 0x200]
mov r8b, 1
lea rcx, [rdi + 0x1f8]
call fcn.18004acc0
mov eax, dword [rsp + 0x38]
mov r15, qword [rsp + 0x1d8]
mov byte [rdi + 0x98], 0
inc word [rdi + 0xa2]
mov dword [rsi + 0x3fa8], r12d
mov r12, qword [rsp + 0x1e0]
cmp eax, dword [rsp + 0x3c]
je 0x180050bf7
bt r13d, 0x18
jae 0x180050b69
test r13b, 0x40
jne 0x180050b2e
cmp byte [rdi + 0xb0], 0
jg 0x180050b2e
cmp byte [rdi + 0xb1], 0
jg 0x180050b2e
bt r13d, 0x17
jae 0x180050af6
cmp byte [rsi + 0x40f4], 0
je 0x180050af6
mov rcx, qword [rsi + 0x40b0]
test rcx, rcx
je 0x180050af6
mov rax, qword [rdi + 0x380]
cmp qword [rcx + 0x380], rax
jne 0x180050af6
mov al, 1
jmp 0x180050af8
xor al, al
cmp byte [rsi + 0x53f4], 0
jne 0x180050b2e
test al, al
jne 0x180050b2e
movss xmm0, dword [rdi + 0x1e0]
comiss xmm0, dword [rdi + 0x1d8]
jbe 0x180050b27
movss xmm0, dword [rdi + 0x1e4]
comiss xmm0, dword [rdi + 0x1dc]
ja 0x180050b2e
mov byte [rdi + 0xb8], 1
test r14, r14
je 0x180050b69
cmp byte [r14 + 0x99], 0
jne 0x180050b47
cmp byte [r14 + 0xb8], 0
jle 0x180050b4e
mov byte [rdi + 0xb8], 1
cmp byte [r14 + 0x99], 0
jne 0x180050b62
cmp byte [r14 + 0xb9], 0
jle 0x180050b69
mov byte [rdi + 0xb9], 1
comiss xmm13, dword [rsi + 0x37e0]
jb 0x180050b7a
mov byte [rdi + 0xb8], 1
cmp byte [rdi + 0xb8], 0
jg 0x180050b9a
cmp byte [rdi + 0xb9], 0
jg 0x180050b9a
xor cl, cl
cmp byte [rdi + 0xba], cl
jg 0x180050b9c
xor al, al
jmp 0x180050b9e
mov cl, 1
mov al, 1
mov byte [rdi + 0x9d], al
movzx eax, byte [rdi + 0xbb]
test al, al
jle 0x180050bbe
dec al
mov byte [rdi + 0xbb], al
or dword [rdi + 0xc], 0xc0200
xor al, al
cmp byte [rdi + 0x99], al
jne 0x180050bd4
cmp byte [rdi + 0x96], al
je 0x180050bd4
test cl, cl
je 0x180050bf1
cmp byte [rdi + 0xb0], al
jg 0x180050bf1
cmp byte [rdi + 0xb1], al
jg 0x180050bf1
cmp byte [rdi + 0xb9], 0
movzx eax, al
cmovle eax, ebx
mov byte [rdi + 0x9b], al
cmp byte [rdi + 0x9b], 0
movaps xmm13, xmmword [rsp + 0x150]
sete al
add rsp, 0x1e8
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret