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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rax - 0xf8]
sub rsp, 0x1e0
mov rsi, qword [0x1800d05c8]
mov qword [rax - 0x20], rbx
mov ebx, r8d
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov r14, rcx
mov qword [rax - 0x40], r15
movaps xmmword [rax - 0xc8], xmm13
call fcn.18005cf40
test rax, rax
mov qword [rsp + 0x70], rax
mov rdi, rax
sete dl
mov byte [rsp + 0x40], dl
test rax, rax
jne 0x180056b63
mov edx, ebx
mov rcx, r14
call fcn.18005b400
movzx edx, byte [rsp + 0x40]
mov rdi, rax
mov r12d, dword [rsi + 0x3e50]
mov ecx, ebx
mov r9d, dword [rdi + 0x260]
and ecx, 0xc0200
mov r14d, ebx
mov dword [rsp + 0x60], r12d
or r14d, 6
mov dword [rsp + 0x48], r9d
cmp ecx, 0xc0200
cmovne r14d, ebx
cmp dword [rsi + 0x3ec8], 0
jne 0x180056baa
cmp byte [rsi + 0x3e5d], 0
je 0x180056baa
mov al, 1
jmp 0x180056bac
xor al, al
mov byte [rdi + 0xbe], al
lea eax, [r12 - 1]
cmp r9d, eax
setl r8b
mov byte [rbp + 0x118], r8b
bt r14d, 0x1a
jae 0x180056bfc
movsxd rax, dword [rsi + 0x48b0]
imul rax, rax, 0x38
add rax, qword [rsi + 0x48a8]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0xcc], eax
setne al
or cl, al
or r8b, cl
mov byte [rbp + 0x118], r8b
mov byte [rdi + 0xbc], r8b
test r8b, r8b
je 0x180056c1d
or byte [rdi + 0xdc], 8
or byte [rdi + 0xdd], 8
or byte [rdi + 0xde], 8
xor ebx, ebx
cmp r9d, r12d
je 0x180056c70
mov r8d, r14d
mov rcx, rdi
call fcn.18006dc20
mov r9d, dword [rsp + 0x48]
mov dword [rdi + 0x14], r14d
mov dword [rdi + 0x260], r12d
movsd xmm0, qword [rsi + 0x3e48]
mov word [rdi + 0xc6], bx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x264], xmm0
movzx eax, word [rsi + 0x3ee8]
inc dword [rsi + 0x3ee8]
mov word [rdi + 0xc8], ax
jmp 0x180056c74
mov r14d, dword [rdi + 0x14]
movsxd rax, dword [rsi + 0x3ec8]
test eax, eax
jne 0x180056c84
mov r15, rbx
jmp 0x180056c94
imul rcx, rax, 0x58
mov rax, qword [rsi + 0x3ed0]
mov r15, qword [rcx + rax - 0x58]
cmp r9d, r12d
je 0x180056ca9
test r14d, 0x5000000
mov r13, rbx
cmovne r13, r15
jmp 0x180056cb0
mov r13, qword [rdi + 0x368]
lea rbx, [rdi + 0xf0]
mov qword [rbp - 0x68], r13
cmp dword [rbx], 0
mov edx, 8
jne 0x180056ce7
cmp dword [rbx + 4], 0
jne 0x180056cd3
mov rcx, rbx
call fcn.18006f060
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 + 0x47cc]
xorps xmm0, xmm0
movups xmm1, xmmword [rsi + 0x47a4]
mov dword [rbp - 0x10], eax
movups xmmword [rbp - 0xc], xmm0
mov qword [rsi + 0x3ef8], rdi
movzx eax, word [rbx]
lea rbx, [rsi + 0x3ec8]
movups xmm0, xmmword [rsi + 0x4794]
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
mov word [rbp - 0xc], ax
movzx eax, word [rsi + 0x4840]
mov word [rbp - 0xa], ax
movzx eax, word [rsi + 0x4850]
mov word [rbp - 8], ax
movzx eax, word [rsi + 0x4860]
mov word [rbp - 6], ax
movzx eax, word [rsi + 0x4870]
mov word [rbp - 4], ax
movzx eax, word [rsi + 0x4890]
mov word [rbp - 2], ax
movzx eax, word [rsi + 0x4880]
mov word [rbp], ax
movzx eax, word [rsi + 0x48b0]
mov word [rbp + 2], ax
movzx eax, word [rsi + 0x5ba0]
mov word [rbp + 4], ax
mov qword [rbp - 0x50], rdi
movups xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [rsi + 0x47b4]
movups xmmword [rbp - 0x38], xmm1
movsd xmm1, qword [rsi + 0x47c4]
movsd qword [rbp - 0x18], xmm1
movups xmmword [rbp - 0x28], xmm0
cmp ecx, r8d
jne 0x180056dc6
inc ecx
test r8d, r8d
je 0x180056db5
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180056db7
mov eax, edx
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18006f380
movsxd rax, dword [rbx]
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x40]
imul rcx, rax, 0x58
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rcx + rax + 0x30], xmm1
movsd xmm1, qword [rbp]
movups xmmword [rcx + rax + 0x40], xmm0
movsd qword [rcx + rax + 0x50], xmm1
inc dword [rbx]
bt r14d, 0x1c
jae 0x180056e17
inc dword [rsi + 0x48c0]
cmp dword [rsp + 0x48], r12d
je 0x180056ed1
mov qword [rdi + 0x368], r13
mov qword [rdi + 0x390], rdi
mov qword [rdi + 0x388], rdi
mov qword [rdi + 0x380], rdi
mov qword [rdi + 0x378], rdi
test r13, r13
je 0x180056e9a
mov eax, r14d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x180056e67
mov rax, qword [r13 + 0x378]
mov qword [rdi + 0x378], rax
bt r14d, 0x1a
jae 0x180056e7c
mov rax, qword [r13 + 0x380]
mov qword [rdi + 0x380], rax
bt r14d, 0x1b
jb 0x180056e9a
test r14d, 0x5000000
je 0x180056e9a
mov rax, qword [r13 + 0x388]
mov qword [rdi + 0x388], rax
test dword [rdi + 0x14], 0x800000
je 0x180056eca
mov rcx, rdi
nop word [rax + rax]
mov rax, qword [rcx + 0x368]
mov qword [rdi + 0x390], rax
mov rcx, rax
test dword [rax + 0x14], 0x800000
jne 0x180056eb0
mov qword [rdi + 0x370], r15
mov r13, qword [0x1800d05c8]
mov r12d, dword [rdi + 0x10]
lea rbx, [r13 + 0x4870]
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x180056f17
inc r8d
test ecx, ecx
je 0x180056f00
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180056f05
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18006f060
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], r12d
inc dword [rbx]
mov dword [r13 + 0x4774], r12d
xor r12d, r12d
mov eax, dword [rsi + 0x4774]
mov dword [rdi + 0x3c8], eax
mov qword [rsi + 0x3ef8], r12
bt r14d, 0x1a
jae 0x180056f7f
movsxd rax, dword [rsi + 0x48b0]
lea rcx, [rsi + 0x48b0]
imul rbx, rax, 0x38
add rbx, qword [rsi + 0x48a8]
mov rdx, rbx
mov qword [rbx + 8], rdi
mov eax, dword [r15 + 0x158]
mov dword [rbx + 0x18], eax
call fcn.18006eda0
mov eax, dword [rbx]
mov dword [rdi + 0xcc], eax
xor r13b, r13b
mov byte [rsp + 0x41], r12b
test byte [rsi + 0x47d0], 1
mov byte [rsp + 0x42], r13b
mov byte [rbp + 0x110], r12b
je 0x18005702a
movsx ecx, byte [rdi + 0xdc]
mov r8d, dword [rsi + 0x47d4]
test r8d, ecx
setne byte [rsp + 0x41]
test r8d, ecx
je 0x18005701b
movss xmm0, dword [rsi + 0x47ec]
movss xmm1, dword [rsi + 0x47e8]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x1800aecfc]
jbe 0x18005701b
movsd xmm0, qword [rsi + 0x47e0]
and ecx, 0xf1
mov eax, dword [rdi + 0xdc]
and eax, 0xffffff00
movsd qword [rdi + 0xe0], xmm0
movsd xmm1, qword [rsi + 0x47e8]
or ecx, eax
mov dword [rdi + 0xdc], ecx
movsd qword [rdi + 0xe8], xmm1
jmp 0x18005702a
lea rdx, [rsi + 0x47e0]
mov rcx, rdi
call fcn.18006b650
test byte [rsi + 0x47d0], 2
xorps xmm13, xmm13
je 0x180057096
movsx eax, byte [rdi + 0xdd]
mov r8d, dword [rsi + 0x47d8]
and eax, r8d
je 0x180057062
movss xmm0, dword [rsi + 0x47f0]
comiss xmm0, xmm13
jbe 0x180057062
mov r13b, 1
mov byte [rsp + 0x42], r13b
jmp 0x18005706b
mov byte [rsp + 0x42], r13b
test eax, eax
je 0x180057080
movss xmm0, dword [rsi + 0x47f4]
comiss xmm0, xmm13
mov byte [rbp + 0x110], 1
ja 0x180057087
mov byte [rbp + 0x110], r12b
lea rdx, [rsi + 0x47f0]
mov rcx, rdi
call fcn.18006b7c0
test byte [rsi + 0x47d0], 0x80
je 0x1800570d9
movss xmm0, dword [rsi + 0x4800]
comiss xmm0, xmm13
jb 0x1800570bc
movss dword [rdi + 0x94], xmm0
mov dword [rdi + 0x9c], r12d
movss xmm0, dword [rsi + 0x4804]
comiss xmm0, xmm13
jb 0x1800570d9
movss dword [rdi + 0x98], xmm0
mov dword [rdi + 0xa0], r12d
test byte [rsi + 0x47d0], 4
mov ebx, dword [rsp + 0x60]
mov r15d, dword [rsp + 0x48]
je 0x1800570fa
movsd xmm0, qword [rsi + 0x47f8]
movsd qword [rdi + 0x48], xmm0
jmp 0x180057103
cmp r15d, ebx
je 0x180057103
mov qword [rdi + 0x48], r12
test byte [rsi + 0x47d0], 8
je 0x180057151
mov ecx, dword [rsi + 0x47dc]
movzx edx, byte [rsi + 0x4808]
test ecx, ecx
je 0x180057128
movsx eax, byte [rdi + 0xde]
test ecx, eax
je 0x180057151
movzx ecx, byte [rdi + 0xde]
mov eax, dword [rdi + 0xdc]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rdi + 0xb9], dl
mov dword [rdi + 0xdc], ecx
test byte [rsi + 0x47d0], 0x20
je 0x180057164
xor edx, edx
mov rcx, rdi
call fcn.18005d1c0
cmp byte [rdi + 0xbc], r12b
je 0x180057182
and byte [rdi + 0xdc], 0xf7
and byte [rdi + 0xdd], 0xf7
and byte [rdi + 0xde], 0xf7
mov r8d, 1
cmp r15d, ebx
je 0x180058ac8
movaps xmmword [rsp + 0x1a0], xmm6
mov eax, r14d
movaps xmmword [rsp + 0x190], xmm7
and eax, 0x3000000
cmp qword [rbp + 0x108], r12
movaps xmmword [rsp + 0x180], xmm8
movaps xmmword [rsp + 0x170], xmm9
movaps xmmword [rsp + 0x160], xmm10
movaps xmmword [rsp + 0x150], xmm11
movaps xmmword [rsp + 0x140], xmm12
mov byte [rdi + 0xb6], r8b
movaps xmmword [rsp + 0x120], xmm14
mov dword [rsp + 0x44], eax
movzx eax, byte [rdi + 0xd9]
mov byte [rsp + 0x43], al
setne al
mov byte [rdi + 0xc0], al
mov dword [rdi + 0x238], 0xff7fffff
mov dword [rdi + 0x23c], 0xff7fffff
mov dword [rdi + 0x240], 0x7f7fffff
mov dword [rdi + 0x244], 0x7f7fffff
mov ecx, dword [rdi + 0xf4]
cmp ecx, r8d
jge 0x180057267
test ecx, ecx
je 0x180057247
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005724c
mov eax, 8
cmp eax, r8d
lea rcx, [rdi + 0xf0]
mov edx, r8d
cmovg edx, eax
call fcn.18006f060
mov r8d, 1
mov dword [rdi + 0xf0], r8d
mov rcx, qword [rdi + 0x298]
call fcn.18007bcb0
mov dword [rdi + 0x1b0], 0xffffffff
cmp byte [rdi + 0x3d4], r12b
je 0x180057344
mov rcx, qword [rdi + 0x298]
mov edx, dword [rdi + 0x3cc]
add rcx, 0x10
mov byte [rdi + 0x3d4], r12b
call fcn.18006efc0
mov rbx, qword [rdi + 0x298]
movsxd r15, dword [rdi + 0x3d0]
cmp r15d, dword [rbx + 0x24]
jle 0x180057339
mov rax, qword [0x1800d05c8]
test rax, rax
je 0x1800572d4
inc dword [rax + 0xf4]
mov rdx, qword [0x1800d0608]
lea rcx, [r15 + r15*4]
shl rcx, 2
call qword [0x1800ad550]
mov rdx, qword [rbx + 0x28]
mov r12, rax
test rdx, rdx
je 0x180057331
movsxd rcx, dword [rbx + 0x20]
lea r8, [rcx + rcx*4]
mov rcx, rax
shl r8, 2
call fcn.1800a9750
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x180057324
mov rax, qword [0x1800d05c8]
test rax, rax
je 0x180057324
dec dword [rax + 0xf4]
mov rdx, qword [0x1800d0608]
call qword [0x1800ad558]
mov qword [rbx + 0x28], r12
mov dword [rbx + 0x24], r15d
mov qword [rdi + 0x3cc], 0
cmp qword [rsi + 0x4a50], 0
mov r9, qword [rsp + 0x70]
je 0x18005742c
test dword [rdi + 0x14], 0x80000
jne 0x18005742c
test r9, r9
je 0x18005742c
mov r12, qword [rbp + 0x100]
mov r9, qword [rdi + 8]
mov rax, r12
mov r8, r9
sub r8, r12
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180057394
inc rax
test ecx, ecx
jne 0x180057381
test edx, edx
je 0x180057427
movsxd r15, dword [rdi + 0x78]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [r12 + rbx], 0
jne 0x1800573b0
inc rbx
cmp r15, rbx
jae 0x180057411
test r9, r9
je 0x1800573d9
mov rax, qword [0x1800d05c8]
test rax, rax
je 0x1800573d9
dec dword [rax + 0xf4]
mov rdx, qword [0x1800d0608]
mov rcx, r9
call qword [0x1800ad558]
mov rax, qword [0x1800d05c8]
test rax, rax
je 0x1800573fb
inc dword [rax + 0xf4]
mov rdx, qword [0x1800d0608]
mov rcx, rbx
call qword [0x1800ad550]
mov r9, rax
mov r15, rbx
mov r8, rbx
mov rdx, r12
mov rcx, r9
call fcn.1800a9750
mov qword [rdi + 8], rax
mov dword [rdi + 0x78], r15d
mov r9, qword [rsp + 0x70]
lea r8, [rdi + 0x40]
mov rcx, rdi
lea rdx, [rdi + 0x38]
call fcn.18005a5a0
movzx eax, byte [rdi + 0xd8]
test al, al
jle 0x18005744f
dec al
mov byte [rdi + 0xd8], al
movzx eax, byte [rdi + 0xd9]
test al, al
jle 0x180057462
dec al
mov byte [rdi + 0xd9], al
movzx eax, byte [rdi + 0xda]
test al, al
jle 0x180057475
dec al
mov byte [rdi + 0xda], al
test r9, r9
jne 0x18005748f
test r13b, r13b
je 0x180057488
cmp byte [rbp + 0x110], r9b
jne 0x18005748f
mov byte [rdi + 0xd9], 1
movzx r12d, byte [rbp + 0x118]
xor r9d, r9d
test r12b, r12b
je 0x1800574e7
test r14d, 0x6000000
je 0x1800574e7
mov byte [rdi + 0xd9], 1
test r14b, 0x40
je 0x1800574e7
test r13b, r13b
jne 0x1800574c2
mov dword [rdi + 0x30], r9d
mov dword [rdi + 0x28], r9d
movzx ebx, byte [rbp + 0x110]
test bl, bl
jne 0x1800574d5
mov dword [rdi + 0x34], r9d
mov dword [rdi + 0x2c], r9d
mov qword [rdi + 0x40], 0
mov qword [rdi + 0x38], 0
jmp 0x1800574ee
movzx ebx, byte [rbp + 0x110]
mov rax, qword [0x1800d05c8]
mov rcx, qword [rax + 0x48d0]
mov r15, qword [rcx]
mov qword [rdi + 0x18], r15
mov rcx, qword [0x1800d05c8]
mov qword [rcx + 0x3ef8], rdi
movsxd rax, dword [rdi + 0x1b0]
cmp eax, 0xffffffff
je 0x18005752d
imul rdx, rax, 0x238
add rdx, qword [rcx + 0x4b60]
jmp 0x180057530
mov rdx, r9
mov qword [rcx + 0x4b38], rdx
mov rax, qword [rdi]
movss xmm0, dword [rax + 0x3c24]
mov rax, qword [rdi + 0x368]
mulss xmm0, dword [rdi + 0x290]
test rax, rax
je 0x18005755e
mulss xmm0, dword [rax + 0x290]
movss dword [rcx + 0x3c38], xmm0
movss dword [rcx + 0x3c20], xmm0
mov rax, qword [0x1800d05c8]
cmp qword [rax + 0x4b38], 0
mov rcx, qword [rax + 0x3ef8]
jne 0x180057594
cmp qword [rcx + 0x1a8], 0
jne 0x180057594
mov al, 1
jmp 0x180057596
xor al, al
mov byte [rcx + 0x160], al
bt r14d, 0x18
jae 0x1800575ad
movss xmm1, dword [rsi + 0x3800]
jmp 0x1800575cf
test r14d, 0x6000000
je 0x1800575c7
bt r14d, 0x1b
jb 0x1800575c7
movss xmm1, dword [rsi + 0x3808]
jmp 0x1800575cf
movss xmm1, dword [rsi + 0x37e4]
movss dword [rdi + 0x5c], xmm1
mov eax, r14d
movsd xmm0, qword [rsi + 0x37d8]
and eax, 0x5010000
movsd qword [rdi + 0x50], xmm0
cmp eax, 0x1000000
jne 0x180057616
ucomiss xmm1, xmm13
jp 0x180057616
jne 0x180057616
bt r14d, 0xa
jae 0x180057609
movss xmm0, dword [rsi + 0x37dc]
jmp 0x18005760d
movaps xmm0, xmm13
movss dword [rdi + 0x54], xmm0
mov dword [rdi + 0x50], r9d
movss xmm0, dword [rdi + 0x50]
movzx r13d, byte [rsp + 0x40]
maxss xmm0, dword [rsi + 0x381c]
maxss xmm0, dword [rsi + 0x4834]
movss dword [rdi + 0x164], xmm0
mov eax, dword [rsi + 0x4838]
mov dword [rdi + 0x168], eax
test r14b, 0x21
jne 0x18005779e
test byte [rdi + 0x14], 1
mov rcx, qword [rdi]
je 0x18005765e
movaps xmm2, xmm13
jmp 0x180057692
mov rax, qword [rdi + 0x368]
movss xmm0, dword [rcx + 0x3c24]
mulss xmm0, dword [rdi + 0x290]
test rax, rax
je 0x180057682
mulss xmm0, dword [rax + 0x290]
movss xmm2, dword [rcx + 0x3810]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm4, dword [rdi + 0x20]
movaps xmm3, xmm4
movss xmm5, dword [rdi + 0x24]
addss xmm3, dword [rdi + 0x30]
addss xmm2, dword [rdi + 0x24]
cmp qword [rsi + 0x3f00], rdi
jne 0x180057753
cmp dword [rsi + 0x3f44], 0
jne 0x180057753
cmp dword [rsi + 0x3f48], 0
jne 0x180057753
mov rcx, qword [0x1800d05c8]
mov rax, qword [rcx + 0x3ef8]
movss xmm1, dword [rcx + 0x3834]
movss xmm0, dword [rcx + 0x3838]
maxss xmm4, dword [rax + 0x238]
minss xmm3, dword [rax + 0x240]
maxss xmm5, dword [rax + 0x23c]
minss xmm2, dword [rax + 0x244]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [rcx + 0xe08]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x180057753
movss xmm0, dword [rcx + 0xe0c]
comiss xmm0, xmm5
jb 0x180057753
comiss xmm3, xmm1
jbe 0x180057753
comiss xmm2, xmm0
jbe 0x180057753
cmp word [rsi + 0x3752], 2
jne 0x180057753
mov byte [rdi + 0xba], 1
cmp byte [rdi + 0xba], 0
je 0x1800577a5
movzx ecx, byte [rdi + 0xb9]
test cl, cl
sete al
test cl, cl
mov ecx, 1
mov byte [rdi + 0xb9], al
cmovne r13d, ecx
test dword [rdi + 0x14], 0x100
mov rcx, qword [0x1800d05c8]
jne 0x1800577a5
comiss xmm13, dword [rcx + 0x5bec]
jb 0x1800577a5
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5bec], eax
jmp 0x1800577a5
mov byte [rdi + 0xb9], 0
mov r8d, dword [rdi + 0x14]
movss xmm10, dword [rdi + 0xac]
movss xmm11, dword [rdi + 0xb0]
mov rcx, qword [rdi]
mov byte [rdi + 0xba], 0
mov dword [rdi + 0x60], r9d
mov dword [rdi + 0x68], r9d
test r8b, 1
je 0x1800577d9
movaps xmm2, xmm13
jmp 0x18005780d
mov rdx, qword [rdi + 0x368]
movss xmm0, dword [rdi + 0x290]
mulss xmm0, dword [rcx + 0x3c24]
test rdx, rdx
je 0x1800577fd
mulss xmm0, dword [rdx + 0x290]
movss xmm2, dword [rcx + 0x3810]
addss xmm2, xmm2
addss xmm2, xmm0
bt r8d, 0xa
jae 0x180057852
mov rax, qword [rdi + 0x368]
movss xmm1, dword [rdi + 0x290]
mulss xmm1, dword [rcx + 0x3c24]
test rax, rax
je 0x180057838
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rcx + 0x3810]
addss xmm1, dword [rdi + 0x168]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x180057856
movaps xmm1, xmm13
addss xmm1, xmm2
mov dword [rdi + 0x6c], r9d
lea r8, [rdi + 0x40]
mov qword [rdi + 0xac], 0
mov rdx, rdi
lea rcx, [rsp + 0x68]
movss dword [rdi + 0x64], xmm1
call fcn.18005a370
test r14b, 0x40
je 0x1800578c0
cmp byte [rdi + 0xb9], 0
jne 0x1800578c0
cmp byte [rsp + 0x42], 0
jne 0x1800578a5
movss xmm0, dword [rsp + 0x68]
movss dword [rdi + 0x30], xmm0
mov byte [rsp + 0x40], 1
test bl, bl
jne 0x180057964
movss xmm0, dword [rsp + 0x6c]
mov r13b, 1
movss dword [rdi + 0x34], xmm0
jmp 0x180057964
movzx eax, byte [rdi + 0xd0]
test al, al
jg 0x1800578d8
cmp byte [rdi + 0xd1], 0
jle 0x180057964
cmp byte [rsp + 0x42], 0
jne 0x180057909
test al, al
jle 0x180057909
cmp byte [rdi + 0xd3], 0
je 0x1800578f9
movss xmm0, dword [rdi + 0x30]
maxss xmm0, dword [rsp + 0x68]
jmp 0x1800578ff
movss xmm0, dword [rsp + 0x68]
movss dword [rdi + 0x30], xmm0
mov byte [rsp + 0x40], 1
test bl, bl
jne 0x180057938
cmp byte [rdi + 0xd1], bl
jle 0x180057938
cmp byte [rdi + 0xd3], bl
je 0x18005792a
movss xmm0, dword [rdi + 0x34]
maxss xmm0, dword [rsp + 0x6c]
jmp 0x180057930
movss xmm0, dword [rsp + 0x6c]
movss dword [rdi + 0x34], xmm0
mov r13b, 1
cmp byte [rdi + 0xb9], 0
jne 0x180057964
test dword [rdi + 0x14], 0x100
mov rcx, qword [0x1800d05c8]
jne 0x180057964
comiss xmm13, dword [rcx + 0x5bec]
jb 0x180057964
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5bec], eax
lea r8, [rdi + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.18005a710
cmp byte [rdi + 0xb9], 0
movss xmm3, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x30], xmm3
movss dword [rdi + 0x34], xmm1
je 0x1800579f7
bt r14d, 0x18
jb 0x1800579f7
test byte [rdi + 0x14], 1
mov rcx, qword [rdi]
je 0x1800579a7
movaps xmm1, xmm13
jmp 0x1800579db
mov rax, qword [rdi + 0x368]
movss xmm0, dword [rcx + 0x3c24]
mulss xmm0, dword [rdi + 0x290]
test rax, rax
je 0x1800579cb
mulss xmm0, dword [rax + 0x290]
movss xmm1, dword [rcx + 0x3810]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x20]
addss xmm1, dword [rdi + 0x24]
movaps xmm2, xmm0
addss xmm2, xmm3
subss xmm1, dword [rdi + 0x24]
subss xmm2, xmm0
jmp 0x180057a10
movaps xmm0, xmm3
unpcklps xmm0, xmm1
movaps xmm1, xmm0
movsd qword [rsp + 0x50], xmm0
movss xmm2, dword [rsp + 0x50]
shufps xmm1, xmm1, 0x55
movss dword [rdi + 0x28], xmm2
movss dword [rdi + 0x2c], xmm1
test r12b, r12b
je 0x180057a67
mov eax, r14d
mov dword [rdi + 0xd4], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180057a67
cmp byte [rsp + 0x41], 0
jne 0x180057a67
movsxd rax, dword [rsi + 0x48b0]
imul rcx, rax, 0x38
mov rax, qword [rsi + 0x48b8]
movss xmm0, dword [rcx + rax - 0x14]
movss xmm1, dword [rcx + rax - 0x10]
movss dword [rdi + 0x20], xmm0
movss dword [rdi + 0x24], xmm1
bt r14d, 0x18
jae 0x180057b5f
mov r12, qword [rbp - 0x68]
lea rbx, [r12 + 0x190]
movzx eax, word [rbx]
mov word [rdi + 0xc6], ax
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x180057abc
inc r8d
test ecx, ecx
je 0x180057aa5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180057aaa
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18006f100
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
movzx ebx, byte [rsp + 0x41]
mov eax, dword [rsp + 0x44]
bt r14d, 0x1a
jb 0x180057af3
test bl, bl
jne 0x180057af3
cmp eax, 0x3000000
je 0x180057af3
movsd xmm0, qword [r12 + 0x100]
movsd qword [rdi + 0x20], xmm0
movzx r12d, byte [rbp + 0x118]
movss xmm1, dword [rdi + 0xe0]
ucomiss xmm1, dword [0x1800aed20]
jp 0x180057b0e
je 0x180057b6a
cmp byte [rdi + 0xd9], 0
jne 0x180057b6a
movss xmm0, dword [rdi + 0x28]
lea rdx, [rsp + 0x50]
mulss xmm0, dword [rdi + 0xe8]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xe4]
movss dword [rsp + 0x50], xmm1
movss xmm1, dword [rdi + 0x2c]
mulss xmm1, dword [rdi + 0xec]
subss xmm0, xmm1
movss dword [rsp + 0x54], xmm0
call fcn.18006b650
jmp 0x180057bb4
movzx ebx, byte [rsp + 0x41]
mov eax, dword [rsp + 0x44]
jmp 0x180057afb
bt r14d, 0x1c
jb 0x180057b94
bt r14d, 0x1a
jae 0x180057b82
test bl, bl
jne 0x180057b82
cmp byte [rsp + 0x43], bl
jg 0x180057b94
bt r14d, 0x19
jae 0x180057bb4
test bl, bl
jne 0x180057bb4
cmp eax, 0x3000000
je 0x180057bb4
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.18005c620
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x20], xmm0
movss dword [rdi + 0x24], 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 + 0x3890]
movaps xmm4, xmm9
movss xmm2, dword [rsi + 0x388c]
movss dword [rsp + 0x78], xmm8
movss dword [rsp + 0x7c], xmm9
maxss xmm3, dword [rsi + 0x3898]
maxss xmm2, dword [rsi + 0x3894]
addss xmm7, dword [r15 + 0x1c]
addss xmm6, dword [r15 + 0x20]
addss xmm5, dword [r15 + 0xc]
addss xmm4, dword [r15 + 0x10]
subss xmm7, xmm2
subss xmm6, xmm3
movss dword [rbp - 0x80], xmm5
addss xmm2, xmm0
movss dword [rbp - 0x7c], xmm4
addss xmm3, xmm1
movss dword [rsp + 0x58], xmm7
movss dword [rsp + 0x5c], xmm6
movss dword [rsp + 0x50], xmm2
movss dword [rsp + 0x54], xmm3
test bl, bl
jne 0x180057d06
bt r14d, 0x18
jb 0x180057d06
subss xmm5, xmm8
comiss xmm5, xmm13
jbe 0x180057d06
subss xmm4, xmm9
comiss xmm4, xmm13
jbe 0x180057d06
mov rax, qword [0x1800d05c8]
movss xmm0, dword [rdi + 0x2c]
cmp byte [rax + 0x7f], bl
je 0x180057cd1
test byte [rdi + 0x14], 1
jne 0x180057cd1
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x368]
movss xmm1, dword [rcx + 0x3c24]
mulss xmm1, dword [rdi + 0x290]
test rax, rax
je 0x180057cc1
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rcx + 0x3810]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x28]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x24]
comiss xmm3, xmm0
ja 0x180057ceb
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x20]
comiss xmm2, xmm0
ja 0x180057cfc
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [rdi + 0x20], xmm2
movss dword [rdi + 0x24], xmm3
cvttss2si eax, dword [rdi + 0x20]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rdi + 0x20], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x24], xmm0
bt r14d, 0x18
jae 0x180057d39
movss xmm2, dword [rsi + 0x37fc]
jmp 0x180057d5a
mov eax, r14d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x180057d52
movss xmm2, dword [rsi + 0x3804]
jmp 0x180057d5a
movss xmm2, dword [rsi + 0x37e0]
xor r15b, r15b
movss dword [rdi + 0x58], xmm2
test r12b, r12b
je 0x180057d8e
bt r14d, 0xc
jb 0x180057d8e
bt r14d, 0x1a
jae 0x180057d7a
mov r15b, 1
jmp 0x180057d8e
test r14d, 0x3000000
movzx r15d, r15b
mov eax, 1
cmove r15d, eax
addss xmm2, dword [0x1800aecac]
xorps xmm0, xmm0
mov dword [rbp + 0x110], 0xffffffff
xor ebx, ebx
cmp byte [rsi + 0x7e], bl
mov r12d, ebx
movups xmmword [rbp + 0x10], xmm0
setne r12b
movss xmm0, dword [rsi + 0x3c20]
inc r12d
movaps xmm1, xmm0
mulss xmm0, dword [0x1800afa10]
mulss xmm1, dword [0x1800b0cb0]
addss xmm2, xmm0
maxss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm14, eax
cvtdq2ps xmm14, xmm14
cmp byte [rdi + 0xb9], bl
jne 0x180057e25
lea rax, [rsp + 0x50]
mov r9d, r12d
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x110]
lea rax, [rbp + 0x10]
mov rcx, rdi
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.18006ddc0
test al, al
je 0x180057e25
mov r13b, 1
movzx ecx, r13b
jmp 0x180057e2a
movzx ecx, byte [rsp + 0x40]
movzx eax, byte [rbp + 0x110]
mov byte [rdi + 0xc1], al
cmp byte [rdi + 0xb9], bl
jne 0x180057f7c
movss xmm0, dword [rdi + 0x6c]
movss xmm2, dword [rdi + 0x200]
movss xmm3, dword [rdi + 0x204]
addss xmm0, dword [rdi + 0x64]
subss xmm2, dword [rdi + 0x1f8]
subss xmm3, dword [rdi + 0x1fc]
movss xmm4, dword [rdi + 0x34]
movss xmm5, dword [rdi + 0x30]
subss xmm4, xmm0
addss xmm2, xmm10
addss xmm3, xmm11
cmp qword [rsp + 0x70], rbx
jne 0x180057e96
movaps xmm1, xmm13
movaps xmm0, xmm13
jmp 0x180057eb2
movss xmm1, dword [rdi + 0x50]
movss xmm0, dword [rdi + 0x54]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [rdi + 0x38]
addss xmm0, dword [rdi + 0x3c]
test cl, cl
jne 0x180057eb9
movaps xmm5, xmm2
test r13b, r13b
jne 0x180057ec1
movaps xmm4, xmm3
bt r14d, 0xe
jb 0x180057ed7
comiss xmm0, xmm4
jbe 0x180057ed3
test r14b, 8
je 0x180057ed7
xor cl, cl
jmp 0x180057ed9
mov cl, 1
mov byte [rdi + 0xb5], cl
bt r14d, 0xf
jb 0x180057f1c
test cl, cl
je 0x180057ef4
movss xmm2, dword [rsi + 0x3844]
jmp 0x180057ef8
movaps xmm2, xmm13
subss xmm5, xmm2
comiss xmm1, xmm5
jbe 0x180057f10
mov eax, r14d
and eax, 0x808
cmp eax, 0x800
je 0x180057f1c
mov byte [rdi + 0xb4], bl
movaps xmm1, xmm13
jmp 0x180057f46
mov byte [rdi + 0xb4], 1
test cl, cl
jne 0x180057f3e
comiss xmm0, xmm4
jbe 0x180057f36
test r14b, 8
jne 0x180057f36
mov cl, 1
jmp 0x180057f38
xor cl, cl
mov byte [rdi + 0xb5], cl
movss xmm1, dword [rsi + 0x3844]
test cl, cl
je 0x180057f54
movss xmm0, dword [rsi + 0x3844]
jmp 0x180057f58
movaps xmm0, xmm13
movss dword [rdi + 0xac], xmm0
addss xmm0, dword [rdi + 0x68]
movss dword [rdi + 0xb0], xmm1
addss xmm1, dword [rdi + 0x6c]
movss dword [rdi + 0x68], xmm0
movss dword [rdi + 0x6c], xmm1
mov eax, r14d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x180057fa2
cmp dword [rsp + 0x44], 0x3000000
je 0x180057fa2
mov r13, qword [rbp - 0x68]
lea rax, [r13 + 0x238]
jmp 0x180057fab
mov r13, qword [rbp - 0x68]
lea rax, [rsp + 0x78]
test byte [rdi + 0x14], 1
movups xmm0, xmmword [rax]
mov rcx, qword [rdi]
movss xmm5, dword [rdi + 0x20]
movss xmm6, dword [rdi + 0x24]
movaps xmm3, xmm5
addss xmm3, dword [rdi + 0x28]
movaps xmm4, xmm6
addss xmm4, dword [rdi + 0x2c]
movups xmmword [rbp - 0x60], xmm0
je 0x180057fdb
movaps xmm2, xmm13
jmp 0x18005800f
mov rax, qword [rdi + 0x368]
movss xmm0, dword [rcx + 0x3c24]
mulss xmm0, dword [rdi + 0x290]
test rax, rax
je 0x180057fff
mulss xmm0, dword [rax + 0x290]
movss xmm2, dword [rcx + 0x3810]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rdi + 0x24]
addss xmm2, xmm6
movss dword [rbp - 0x74], xmm0
movaps xmm1, xmm5
addss xmm1, dword [rdi + 0x30]
movss dword [rbp - 0x78], xmm5
mov eax, r14d
and eax, 0x401
movss dword [rbp - 0x6c], xmm2
movss dword [rbp - 0x70], xmm1
movss dword [rdi + 0x1e8], xmm5
movss dword [rdi + 0x1ec], xmm6
movss dword [rdi + 0x1f0], xmm3
movss dword [rdi + 0x1f4], xmm4
movss xmm0, dword [rdi + 0x1e8]
movss xmm4, dword [rbp - 0x60]
movss xmm5, dword [rbp - 0x5c]
maxss xmm0, xmm4
movss xmm12, dword [rbp - 0x58]
maxss xmm6, xmm5
movss xmm11, dword [rbp - 0x54]
movss dword [rdi + 0x1e8], xmm0
movss dword [rdi + 0x1ec], xmm6
movss xmm1, dword [rdi + 0x1f0]
movss xmm0, dword [rdi + 0x1f4]
minss xmm1, xmm12
minss xmm0, xmm11
movss dword [rdi + 0x1f0], xmm1
movss dword [rdi + 0x1f4], xmm0
movss xmm6, dword [rdi + 0x20]
movss xmm7, dword [rdi + 0x24]
movaps xmm8, xmm6
movaps xmm9, xmm7
addss xmm6, dword [rdi + 0x28]
addss xmm7, dword [rdi + 0x2c]
addss xmm8, dword [rdi + 0x60]
addss xmm9, dword [rdi + 0x64]
subss xmm6, dword [rdi + 0x68]
subss xmm7, dword [rdi + 0x6c]
movss dword [rdi + 0x1f8], xmm8
movss dword [rdi + 0x1fc], xmm9
movss dword [rdi + 0x200], xmm6
movss dword [rdi + 0x204], xmm7
cmp eax, 1
jne 0x18005811d
movss xmm10, dword [rdi + 0x5c]
jmp 0x180058126
movss xmm10, dword [rsi + 0x3818]
movss xmm2, dword [0x1800aeca4]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x50]
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 + 0x5c]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x5c]
addss xmm8, xmm1
subss xmm6, xmm1
cvttss2si eax, xmm8
xorps xmm8, xmm8
cvtsi2ss xmm8, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x208], xmm8
cvtsi2ss xmm0, eax
cvttss2si eax, xmm6
movss dword [rdi + 0x20c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm7
movss dword [rdi + 0x210], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x214], xmm0
movss xmm0, dword [rdi + 0x20c]
comiss xmm5, xmm0
jbe 0x1800581cf
movaps xmm1, xmm5
jmp 0x1800581d7
movaps xmm1, xmm11
minss xmm1, xmm0
comiss xmm4, xmm8
jbe 0x1800581e2
movaps xmm0, xmm4
jmp 0x1800581eb
movaps xmm0, xmm12
minss xmm0, xmm8
movss dword [rdi + 0x208], xmm0
movss dword [rdi + 0x20c], xmm1
movss xmm0, dword [rdi + 0x214]
comiss xmm5, xmm0
ja 0x180058210
movaps xmm5, xmm11
minss xmm5, xmm0
movss xmm0, dword [rdi + 0x210]
comiss xmm4, xmm0
ja 0x180058225
movaps xmm4, xmm12
minss xmm4, xmm0
movss dword [rdi + 0x210], xmm4
movss dword [rdi + 0x214], xmm5
movss xmm0, dword [rdi + 0x28]
comiss xmm0, xmm13
jbe 0x180058253
test r14d, 0x2000040
jne 0x180058253
mulss xmm0, dword [0x1800b0c94]
jmp 0x180058263
movss xmm0, dword [rsi + 0x3c20]
mulss xmm0, dword [0x1800b0cb8]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rsp + 0x50]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x268], xmm0
movss xmm0, dword [rdi + 0x200]
subss xmm0, dword [rdi + 0x1f8]
movss xmm1, dword [rdi + 0x50]
movss xmm2, dword [rdi + 0x54]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x38]
addss xmm2, dword [rdi + 0x3c]
subss xmm1, xmm0
movaps xmm0, xmm13
maxss xmm0, xmm1
movss dword [rdi + 0x8c], xmm0
movss xmm0, dword [rdi + 0x204]
subss xmm0, dword [rdi + 0x1fc]
subss xmm2, xmm0
movaps xmm0, xmm13
maxss xmm0, xmm2
movss dword [rdi + 0x90], xmm0
call fcn.180059f00
mov rcx, qword [rdi + 0x298]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x84], xmm0
movss dword [rdi + 0x88], xmm1
mov dword [rdi + 0x94], 0x7f7fffff
mov dword [rdi + 0x98], 0x7f7fffff
mov qword [rdi + 0x70], rbx
mov rax, qword [rsi + 0x3c18]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.180079290
mov rcx, qword [0x1800d05c8]
lea r8, [rbp - 0x58]
xor r9d, r9d
lea rdx, [rbp - 0x60]
mov rax, qword [rcx + 0x3ef8]
mov byte [rax + 0xb8], 1
mov rbx, qword [rcx + 0x3ef8]
mov rcx, qword [rbx + 0x298]
call fcn.180079180
mov rax, qword [rbx + 0x298]
movsxd rcx, dword [rax + 0x58]
mov rax, qword [rax + 0x60]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0xc]
movss xmm1, dword [rax + rcx*8 - 8]
movss xmm2, dword [rax + rcx*8 - 4]
mov eax, dword [rax + rcx*8 - 0x10]
mov dword [rbx + 0x238], eax
mov eax, r14d
movss dword [rbx + 0x23c], xmm0
and eax, 0x5000000
movss dword [rbx + 0x240], xmm1
movss dword [rbx + 0x244], xmm2
xor bl, bl
cmp eax, 0x1000000
jne 0x180058491
cmp dword [rsp + 0x44], 0x3000000
je 0x180058491
movsxd rax, dword [r13 + 0x190]
cmp eax, 2
jl 0x18005845a
mov rcx, rax
mov rax, qword [r13 + 0x198]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x18005845a
movss xmm0, dword [rdx + 0x20]
lea rcx, [rsp + 0x50]
movss xmm1, dword [rdx + 0x24]
movss dword [rsp + 0x50], xmm0
addss xmm0, dword [rdx + 0x28]
movss dword [rsp + 0x54], xmm1
addss xmm1, dword [rdx + 0x2c]
lea rdx, [rsp + 0x78]
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rdi + 0x20]
movss dword [rsp + 0x5c], xmm1
movss xmm1, dword [rdi + 0x24]
movss dword [rsp + 0x78], xmm0
addss xmm0, dword [rdi + 0x28]
movss dword [rsp + 0x7c], xmm1
addss xmm1, dword [rdi + 0x2c]
movss dword [rbp - 0x80], xmm0
movss dword [rbp - 0x7c], xmm1
call fcn.180066020
movzx r8d, al
jmp 0x18005845d
xor r8b, r8b
mov rdx, qword [rdi + 0x298]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x180058491
mov rax, qword [r13 + 0x298]
cmp dword [rax + 0x20], 0
je 0x180058491
test r8b, r8b
jne 0x180058491
mov bl, 1
mov qword [rdi + 0x298], rax
mov rax, qword [rsi + 0x4a40]
test rax, rax
jne 0x1800584a4
mov rax, qword [rsi + 0x48d8]
test r15b, r15b
jne 0x1800584c3
test rax, rax
je 0x1800584be
mov rax, qword [rax + 0x388]
cmp qword [rdi + 0x388], rax
je 0x1800584c3
xor r8b, r8b
jmp 0x1800584c6
mov r8b, 1
movss dword [rsp + 0x30], xmm14
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x78]
mov r9b, 1
mov dword [rsp + 0x20], r12d
mov rcx, rdi
call fcn.180068e30
test bl, bl
je 0x1800584fc
lea rax, [rdi + 0x2a0]
mov qword [rdi + 0x298], rax
movss xmm5, dword [rdi + 0x48]
mov ecx, r14d
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm13
jp 0x180058558
jne 0x180058558
movss xmm0, dword [rdi + 0x50]
mov eax, r14d
movss xmm1, dword [rdi + 0x28]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [rdi + 0x68]
addss xmm0, dword [rdi + 0x60]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x18005854e
movss xmm7, dword [rdi + 0x38]
maxss xmm7, xmm1
jmp 0x18005855b
movaps xmm7, xmm13
maxss xmm7, xmm1
jmp 0x18005855b
movaps xmm7, xmm5
movss xmm4, dword [rdi + 0x4c]
ucomiss xmm4, xmm13
jp 0x1800585a1
jne 0x1800585a1
movss xmm0, dword [rdi + 0x54]
movss xmm1, dword [rdi + 0x2c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [rdi + 0x6c]
addss xmm0, dword [rdi + 0x64]
subss xmm1, xmm0
test cl, cl
je 0x180058597
movss xmm6, dword [rdi + 0x3c]
maxss xmm6, xmm1
jmp 0x1800585a4
movaps xmm6, xmm13
maxss xmm6, xmm1
jmp 0x1800585a4
movaps xmm6, xmm4
ucomiss xmm5, xmm13
movss xmm9, dword [rdi + 0x50]
movss xmm10, dword [rdi + 0x84]
movaps xmm1, xmm9
maxss xmm1, dword [rdi + 0x5c]
movss xmm0, dword [rdi + 0x1f8]
subss xmm0, xmm10
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [rdi + 0x218], xmm3
addss xmm3, xmm7
movss xmm8, dword [rdi + 0x54]
movss xmm11, dword [rdi + 0x88]
movaps xmm1, xmm8
movss xmm0, dword [rdi + 0x1fc]
maxss xmm1, dword [rdi + 0x5c]
subss xmm0, xmm11
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + 0x21c], xmm2
addss xmm6, xmm2
movss dword [rdi + 0x220], xmm3
movss dword [rdi + 0x224], xmm6
movups xmm0, xmmword [rdi + 0x218]
movups xmmword [rdi + 0x228], xmm0
movss xmm12, dword [rdi + 0x20]
movss xmm6, dword [rdi + 0x60]
movaps xmm2, xmm12
subss xmm2, xmm10
addss xmm2, xmm9
addss xmm2, xmm6
movss dword [rdi + 0x248], xmm2
movss xmm14, dword [rdi + 0x24]
movss xmm7, dword [rdi + 0x64]
movaps xmm3, xmm14
subss xmm3, xmm11
addss xmm3, xmm8
addss xmm3, xmm7
movss dword [rdi + 0x24c], xmm3
jp 0x1800586b2
jne 0x1800586b2
movss xmm5, dword [rdi + 0x28]
movaps xmm0, xmm9
addss xmm0, xmm9
movaps xmm1, xmm6
addss xmm1, dword [rdi + 0x68]
subss xmm5, xmm0
subss xmm5, xmm1
ucomiss xmm4, xmm13
addss xmm2, xmm5
movss dword [rdi + 0x250], xmm2
jp 0x1800586e4
jne 0x1800586e4
movss xmm4, dword [rdi + 0x2c]
movaps xmm0, xmm8
addss xmm0, xmm8
movaps xmm1, xmm7
addss xmm1, dword [rdi + 0x6c]
subss xmm4, xmm0
subss xmm4, xmm1
movzx r8d, byte [rbp + 0x118]
addss xmm3, xmm4
xor r12d, r12d
lea rcx, [rdi + 0x16c]
cvtps2pd xmm2, xmm9
movss dword [rdi + 0x254], xmm3
movaps xmm0, xmm6
addss xmm0, xmm9
cvtps2pd xmm3, xmm14
subss xmm0, xmm10
cvtps2pd xmm1, xmm10
movss dword [rdi + 0x144], xmm0
mov qword [rdi + 0x148], r12
cvtps2pd xmm0, xmm12
addsd xmm2, xmm0
cvtps2pd xmm0, xmm6
subsd xmm2, xmm1
xorps xmm1, xmm1
addsd xmm2, xmm0
cvtps2pd xmm0, xmm8
addsd xmm2, xmm1
addsd xmm3, xmm0
cvtps2pd xmm1, xmm11
cvtps2pd xmm0, xmm7
subsd xmm3, xmm1
cvtpd2ps xmm1, xmm2
addsd xmm3, xmm0
movss dword [rdi + 0x110], xmm1
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x114], xmm0
movss xmm0, dword [rdi + 0x110]
movss xmm1, dword [rdi + 0x114]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm2, xmm0
subsd xmm3, xmm1
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x150], xmm2
movss dword [rdi + 0x154], xmm0
movss xmm1, dword [rdi + 0x110]
movss xmm0, dword [rdi + 0x114]
movss dword [rdi + 0x100], xmm1
movss dword [rdi + 0x104], xmm0
movss dword [rdi + 0x108], xmm1
movss dword [rdi + 0x10c], xmm0
movss dword [rdi + 0x118], xmm1
movss dword [rdi + 0x11c], xmm0
movss dword [rdi + 0x120], xmm1
movss dword [rdi + 0x124], xmm0
mov qword [rdi + 0x130], r12
mov qword [rdi + 0x128], r12
mov qword [rdi + 0x138], r12
mov word [rdi + 0x140], r12w
mov dword [rdi + 0x158], r12d
movzx eax, word [rdi + 0x15e]
mov word [rdi + 0x15c], ax
mov dword [rdi + 0x15e], 0x10000
movss xmm0, dword [rdi + 0x90]
comiss xmm0, xmm13
seta al
mov byte [rdi + 0x162], al
mov byte [rdi + 0x163], r12b
movss xmm1, dword [rsi + 0x381c]
call fcn.1800a44e0
movaps xmm14, xmmword [rsp + 0x120]
movaps xmm12, xmmword [rsp + 0x140]
movaps xmm11, xmmword [rsp + 0x150]
movaps xmm10, xmmword [rsp + 0x160]
movaps xmm9, xmmword [rsp + 0x170]
movaps xmm8, xmmword [rsp + 0x180]
movaps xmm7, xmmword [rsp + 0x190]
movaps xmm6, xmmword [rsp + 0x1a0]
mov qword [rdi + 0x188], r12
mov ecx, dword [rdi + 0x194]
test ecx, ecx
jns 0x1800588d2
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x190]
test eax, eax
cmovg edx, eax
call fcn.18006f100
mov dword [rdi + 0x190], r12d
lea rax, [rdi + 0x270]
mov qword [rdi + 0x1a0], rax
mov eax, 1
mov qword [rdi + 0x1a8], r12
mov dword [rdi + 0x1b4], eax
test r13, r13
je 0x180058905
mov eax, dword [r13 + 0x1b4]
mov dword [rdi + 0x1b8], eax
mov eax, dword [rdi + 0x268]
mov dword [rdi + 0x1bc], eax
mov dword [rdi + 0x1c0], 0xbf800000
mov ecx, dword [rdi + 0x1cc]
test ecx, ecx
jns 0x180058948
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.18006f060
mov dword [rdi + 0x1c8], r12d
mov ecx, dword [rdi + 0x1dc]
test ecx, ecx
jns 0x180058976
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1d8]
test eax, eax
cmovg edx, eax
call fcn.18006f060
mov dword [rdi + 0x1d8], r12d
movzx eax, byte [rdi + 0xd0]
test al, al
jle 0x180058990
dec al
mov byte [rdi + 0xd0], al
movzx eax, byte [rdi + 0xd1]
test al, al
jle 0x1800589a3
dec al
mov byte [rdi + 0xd1], al
test r15b, r15b
je 0x1800589c8
mov edx, 2
mov rcx, rdi
call fcn.18005d1c0
cmp rdi, qword [rsi + 0x48d8]
jne 0x1800589c8
xor edx, edx
mov rcx, rdi
call fcn.180061610
test r14b, 1
jne 0x180058a1d
movss xmm0, dword [rbp - 0x78]
lea rdx, [rsp + 0x78]
addss xmm0, dword [rdi + 0x5c]
movss xmm1, dword [rbp - 0x70]
mov rcx, rdi
subss xmm1, dword [rdi + 0x5c]
mov r9, qword [rbp + 0x108]
mov r8, qword [rbp + 0x100]
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [rbp - 0x74]
movss dword [rsp + 0x7c], xmm0
movss xmm0, dword [rbp - 0x6c]
movss dword [rbp - 0x7c], xmm0
movss dword [rbp - 0x80], xmm1
call fcn.180069b80
movss xmm1, dword [rbp - 0x78]
movss xmm4, dword [rbp - 0x70]
movss xmm5, dword [rbp - 0x6c]
movss xmm3, dword [rbp - 0x74]
mov dword [rdi + 0x258], r12d
mov rdx, qword [0x1800d05c8]
movss xmm2, dword [rdx + 0x3834]
movss xmm0, dword [rdx + 0x3838]
subss xmm1, xmm2
addss xmm4, xmm2
movss xmm2, dword [rdx + 0xe08]
addss xmm5, xmm0
subss xmm3, xmm0
comiss xmm2, xmm1
jb 0x180058a89
movss xmm0, dword [rdx + 0xe0c]
comiss xmm0, xmm3
jb 0x180058a89
comiss xmm4, xmm2
jbe 0x180058a89
comiss xmm5, xmm0
mov r8d, 1
ja 0x180058a8c
mov r8d, r12d
mov ecx, dword [rsi + 0x4778]
mov eax, dword [rdi + 0x7c]
mov ebx, dword [rsp + 0x60]
mov r15d, dword [rsp + 0x48]
mov dword [rdx + 0x4794], eax
mov dword [rdx + 0x4798], ecx
mov dword [rdx + 0x479c], r8d
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rdx + 0x47b0], xmm0
movups xmmword [rdx + 0x47a0], xmm0
jmp 0x180058b65
mov rcx, qword [0x1800d05c8]
mov qword [rcx + 0x3ef8], rdi
movsxd rax, dword [rdi + 0x1b0]
cmp eax, 0xffffffff
je 0x180058af2
imul rdx, rax, 0x238
add rdx, qword [rcx + 0x4b60]
jmp 0x180058af5
mov rdx, r12
mov qword [rcx + 0x4b38], rdx
mov rax, qword [rdi]
movss xmm0, dword [rax + 0x3c24]
mov rax, qword [rdi + 0x368]
mulss xmm0, dword [rdi + 0x290]
test rax, rax
je 0x180058b23
mulss xmm0, dword [rax + 0x290]
movss dword [rcx + 0x3c38], xmm0
movss dword [rcx + 0x3c20], xmm0
mov rax, qword [0x1800d05c8]
mov rcx, qword [rax + 0x3ef8]
cmp qword [rax + 0x4b38], r12
jne 0x180058b59
cmp qword [rcx + 0x1a8], r12
jne 0x180058b59
movzx eax, r8b
jmp 0x180058b5b
xor al, al
mov r13, qword [rbp - 0x68]
mov byte [rcx + 0x160], al
lea rdx, [rdi + 0x210]
mov r8b, 1
lea rcx, [rdi + 0x208]
call fcn.1800665e0
mov byte [rdi + 0xb8], 0
inc word [rdi + 0xc2]
cmp r15d, ebx
mov dword [rsi + 0x47d0], r12d
mov r15, qword [rsp + 0x1b8]
mov rbx, qword [rsp + 0x1d8]
mov r12, qword [rsp + 0x1d0]
je 0x180058d0a
bt r14d, 0x18
jae 0x180058c77
test r14b, 0x40
jne 0x180058c3c
cmp byte [rdi + 0xd0], 0
jg 0x180058c3c
cmp byte [rdi + 0xd1], 0
jg 0x180058c3c
bt r14d, 0x17
jae 0x180058c04
cmp byte [rsi + 0x4918], 0
je 0x180058c04
mov rcx, qword [rsi + 0x48d8]
test rcx, rcx
je 0x180058c04
mov rax, qword [rdi + 0x390]
cmp qword [rcx + 0x390], rax
jne 0x180058c04
mov al, 1
jmp 0x180058c06
xor al, al
cmp byte [rsi + 0x5c80], 0
jne 0x180058c3c
test al, al
jne 0x180058c3c
movss xmm0, dword [rdi + 0x1e8]
comiss xmm0, dword [rdi + 0x1f0]
jae 0x180058c35
movss xmm0, dword [rdi + 0x1ec]
comiss xmm0, dword [rdi + 0x1f4]
jb 0x180058c3c
mov byte [rdi + 0xd8], 1
test r13, r13
je 0x180058c77
cmp byte [r13 + 0xb9], 0
jne 0x180058c55
cmp byte [r13 + 0xd8], 0
jle 0x180058c5c
mov byte [rdi + 0xd8], 1
cmp byte [r13 + 0xb9], 0
jne 0x180058c70
cmp byte [r13 + 0xd9], 0
jle 0x180058c77
mov byte [rdi + 0xd9], 1
comiss xmm13, dword [rsi + 0x37d0]
jb 0x180058c88
mov byte [rdi + 0xd8], 1
cmp byte [rdi + 0xd8], 0
jg 0x180058ca8
cmp byte [rdi + 0xd9], 0
jg 0x180058ca8
xor cl, cl
cmp byte [rdi + 0xda], cl
jg 0x180058caa
xor al, al
jmp 0x180058cac
mov cl, 1
mov al, 1
mov byte [rdi + 0xbd], al
movzx eax, byte [rdi + 0xdb]
test al, al
jle 0x180058ccc
dec al
mov byte [rdi + 0xdb], al
or dword [rdi + 0x14], 0xc0200
xor al, al
cmp byte [rdi + 0xb9], al
jne 0x180058ce2
cmp byte [rdi + 0xb6], al
je 0x180058ce2
test cl, cl
je 0x180058d04
cmp byte [rdi + 0xd0], al
jg 0x180058d04
cmp byte [rdi + 0xd1], al
jg 0x180058d04
cmp byte [rdi + 0xd9], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [rdi + 0xbb], al
cmp byte [rdi + 0xbe], 0
movaps xmm13, xmmword [rsp + 0x130]
mov r14, qword [rsp + 0x1c0]
mov r13, qword [rsp + 0x1c8]
jne 0x180058d88
cmp byte [rsi + 0x84], 0
je 0x180058d3d
cmp qword [rsp + 0x70], 0
je 0x180058d55
cmp byte [rsi + 0x85], 0
je 0x180058d88
movsx eax, byte [rsi + 0x5cf2]
cmp eax, dword [rsi + 0x3ec8]
jne 0x180058d88
movzx eax, byte [rdi + 0xd0]
test al, al
jle 0x180058d68
inc al
mov byte [rdi + 0xd0], al
movzx eax, byte [rdi + 0xd1]
test al, al
jle 0x180058d7b
inc al
mov byte [rdi + 0xd1], al
xor al, al
add rsp, 0x1e0
pop rdi
pop rsi
pop rbp
ret
cmp byte [rdi + 0xbb], 0
sete al
add rsp, 0x1e0
pop rdi
pop rsi
pop rbp
ret