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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rax - 0x20], rbx
mov rbx, qword [0x1800a9de8]
mov qword [rax - 0x28], rsi
mov rsi, rbx
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov r14d, r8d
mov qword [rax - 0x40], r15
mov r15, rcx
movaps xmmword [rax - 0x98], xmm10
call fcn.18004e290
test rax, rax
mov qword [rsp + 0x50], rax
mov rdi, rax
xorps xmm10, xmm10
sete byte [rbp + 0xa8]
test rax, rax
jne 0x18005088a
test byte [rbx + 0x1bc8], 2
lea rax, [rbp + 0xb8]
je 0x180050859
movsd xmm0, qword [rbx + 0x1be8]
movsd qword [rbp + 0xb8], xmm0
jmp 0x180050864
mov qword [rbp + 0xb8], 0
movss xmm0, dword [rax + 4]
mov r8d, r14d
movss xmm1, dword [rax]
mov rcx, r15
unpcklps xmm1, xmm0
movq rdx, xmm1
call fcn.18004e370
mov rbx, qword [0x1800a9de8]
mov rdi, rax
mov edx, dword [rdi + 0x278]
mov ecx, r14d
mov r13d, dword [rsi + 0x1abc]
mov r15d, r14d
or r15d, 6
mov dword [rbp + 0xb0], edx
and ecx, 0xc0200
cmp ecx, 0xc0200
cmovne r15d, r14d
lea r14, [rsi + 0x1b00]
cmp dword [r14], 0
jne 0x1800508d1
cmp byte [rsi + 0x1ac9], 0
je 0x1800508d1
mov al, 1
jmp 0x1800508d3
xor al, al
mov byte [rdi + 0x86], al
lea eax, [r13 - 1]
cmp edx, eax
mov eax, dword [rdi + 0xa0]
mov dword [rsp + 0x3c], eax
setl r8b
mov byte [rbp + 0xb8], r8b
bt r15d, 0x1a
jae 0x180050939
movsxd rax, dword [rsi + 0x1cc0]
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, qword [rsi + 0x1cb8]
cmp rdi, qword [rdx + 8]
mov eax, dword [rdx]
mov edx, dword [rbp + 0xb0]
setne cl
cmp dword [rdi + 0x90], eax
setne al
or cl, al
mov eax, dword [rsp + 0x3c]
or r8b, cl
mov byte [rbp + 0xb8], r8b
test r8b, r8b
jne 0x18005094b
test eax, eax
jg 0x18005094b
mov byte [rdi + 0x84], r8b
jmp 0x180050967
or dword [rdi + 0xa4], 8
or dword [rdi + 0xa8], 8
or dword [rdi + 0xac], 8
mov byte [rdi + 0x84], 1
xor r8d, r8d
cmp edx, r13d
je 0x1800509ac
mov dword [rdi + 0xc], r15d
mov dword [rdi + 0x278], r13d
movsd xmm0, qword [rsi + 0x1ab0]
mov word [rdi + 0x8c], r8w
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x27c], xmm0
movzx eax, word [rsi + 0x1b20]
inc dword [rsi + 0x1b20]
mov word [rdi + 0x8e], ax
jmp 0x1800509b0
mov r15d, dword [rdi + 0xc]
movsxd rax, dword [r14]
test eax, eax
jne 0x1800509bc
mov rax, r8
jmp 0x1800509cb
mov rcx, rax
mov rax, qword [rsi + 0x1b08]
mov rax, qword [rax + rcx*8 - 8]
cmp edx, r13d
je 0x1800509e5
test r15d, 0x5000000
mov rcx, r8
cmovne rcx, rax
mov qword [rsp + 0x60], rcx
jmp 0x1800509f1
mov rax, qword [rdi + 0x360]
mov qword [rsp + 0x60], rax
lea r12, [rdi + 0xc0]
mov edx, 8
cmp dword [r12], r8d
jne 0x180050a37
mov eax, r8d
cmp dword [r12 + 4], r8d
jne 0x180050a20
mov rcx, r12
call fcn.18005a2f0
mov eax, dword [r12]
mov rbx, qword [0x1800a9de8]
mov rcx, qword [r12 + 8]
movsxd rdx, eax
mov eax, dword [rdi + 8]
mov dword [rcx + rdx*4], eax
mov edx, 8
inc dword [r12]
mov ecx, dword [r14 + 4]
mov eax, dword [r14]
cmp eax, ecx
jne 0x180050a73
lea r8d, [rax + 1]
test ecx, ecx
je 0x180050a55
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180050a57
mov eax, edx
cmp eax, r8d
mov rcx, r14
cmovg r8d, eax
mov edx, r8d
call fcn.180042df0
mov eax, dword [r14]
mov rbx, qword [0x1800a9de8]
movsxd rcx, eax
mov rax, qword [r14 + 8]
mov qword [rax + rcx*8], rdi
lea rcx, [rdi + 0x208]
inc dword [r14]
mov qword [rsi + 0x1b28], 0
movzx eax, word [r12]
mov word [rcx], ax
movzx eax, word [rdi + 0x1f8]
mov word [rcx + 2], ax
movzx eax, word [rbx + 0x1cc0]
mov word [rcx + 4], ax
movzx eax, word [rbx + 0x1c80]
mov word [rcx + 6], ax
movzx eax, word [rbx + 0x1c90]
mov word [rcx + 8], ax
movzx eax, word [rbx + 0x1ca0]
mov word [rcx + 0xa], ax
mov eax, r15d
and eax, 0x4000000
mov dword [rsp + 0x34], eax
je 0x180050b14
lea rcx, [rsi + 0x1cc0]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rsi + 0x1cb8]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.180059b40
mov eax, dword [rbx]
mov rbx, qword [0x1800a9de8]
mov dword [rdi + 0x90], eax
cmp dword [rsp + 0x3c], 0
jle 0x180050b2c
bt r15d, 0x18
jb 0x180050b2c
xor r12d, r12d
mov dword [rdi + 0x388], r12d
mov r14d, dword [rbp + 0xb0]
cmp r14d, r13d
je 0x180050bca
mov rcx, qword [rsp + 0x60]
mov qword [rdi + 0x360], rcx
mov qword [rdi + 0x378], rdi
mov qword [rdi + 0x370], rdi
mov qword [rdi + 0x368], rdi
test rcx, rcx
je 0x180050b9d
mov eax, r15d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x180050b7f
mov rax, qword [rcx + 0x368]
mov qword [rdi + 0x368], rax
bt r15d, 0x1b
jb 0x180050b9d
test r15d, 0x5000000
je 0x180050b9d
mov rax, qword [rcx + 0x370]
mov qword [rdi + 0x370], rax
test dword [rdi + 0xc], 0x800000
je 0x180050bca
mov rcx, rdi
nop dword [rax]
mov rax, qword [rcx + 0x360]
mov qword [rdi + 0x378], rax
mov rcx, rax
test dword [rax + 0xc], 0x800000
jne 0x180050bb0
xor dl, dl
test byte [rsi + 0x1bc8], 1
mov byte [rsp + 0x31], dl
mov byte [rsp + 0x30], dl
mov byte [rbp + 0xb0], dl
je 0x180050c60
mov ecx, dword [rdi + 0xa4]
mov eax, ecx
mov r8d, dword [rsi + 0x1bcc]
and eax, r8d
setne dl
mov byte [rsp + 0x31], dl
test r8d, ecx
je 0x180050c51
movss xmm0, dword [rsi + 0x1be4]
movss xmm1, dword [rsi + 0x1be0]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x1800887f4]
jbe 0x180050c51
movsd xmm0, qword [rsi + 0x1bd8]
and ecx, 0xfffffff1
movsd qword [rdi + 0xb0], xmm0
movsd xmm1, qword [rsi + 0x1be0]
movsd qword [rdi + 0xb8], xmm1
mov dword [rdi + 0xa4], ecx
jmp 0x180050c60
lea rdx, [rsi + 0x1bd8]
mov rcx, rdi
call fcn.1800536a0
mov eax, dword [rsi + 0x1bc8]
test al, 2
je 0x180050cc0
mov r8d, dword [rsi + 0x1bd0]
lea rdx, [rsi + 0x1be8]
mov eax, r8d
and eax, dword [rdi + 0xa8]
je 0x180050c90
comiss xmm10, dword [rdx]
jae 0x180050c90
mov byte [rsp + 0x30], 1
jmp 0x180050c9a
xor cl, cl
mov byte [rsp + 0x30], cl
test eax, eax
je 0x180050cab
comiss xmm10, dword [rsi + 0x1bec]
mov byte [rbp + 0xb0], 1
jb 0x180050cb2
mov byte [rbp + 0xb0], 0
mov rcx, rdi
call fcn.180053770
mov eax, dword [rsi + 0x1bc8]
test al, 4
je 0x180050cd3
movsd xmm0, qword [rsi + 0x1bf0]
movsd qword [rdi + 0x30], xmm0
jmp 0x180050ce0
cmp r14d, r13d
je 0x180050ce0
mov qword [rdi + 0x30], 0
mov eax, dword [rsi + 0x1bc8]
test al, 8
je 0x180050d16
mov ecx, dword [rsi + 0x1bd4]
movzx edx, byte [rsi + 0x1bf8]
test ecx, ecx
je 0x180050d03
test dword [rdi + 0xac], ecx
je 0x180050d16
and dword [rdi + 0xac], 0xfffffff1
mov byte [rdi + 0x81], dl
mov eax, dword [rsi + 0x1bc8]
test al, 0x20
je 0x180050d29
mov rcx, rdi
call fcn.180052be0
mov rbx, qword [0x1800a9de8]
cmp byte [rdi + 0x84], 0
je 0x180050d47
and dword [rdi + 0xa4], 0xfffffff7
and dword [rdi + 0xa8], 0xfffffff7
and dword [rdi + 0xac], 0xfffffff7
mov r8d, 1
cmp r14d, r13d
je 0x18005285d
movaps xmmword [rsp + 0x140], xmm6
mov eax, r15d
movaps xmmword [rsp + 0x130], xmm7
and eax, 0x3000000
movaps xmmword [rsp + 0x120], xmm8
movaps xmmword [rsp + 0x110], xmm9
movaps xmmword [rsp + 0xf0], xmm11
movaps xmmword [rsp + 0xe0], xmm12
movaps xmmword [rsp + 0xd0], xmm13
movaps xmmword [rsp + 0xc0], xmm14
mov byte [rdi + 0x7e], r8b
mov byte [rdi + 0x87], 0
movaps xmmword [rsp + 0xb0], xmm15
mov dword [rdi + 0x258], 0xff7fffff
mov dword [rdi + 0x25c], 0xff7fffff
mov dword [rdi + 0x260], 0x7f7fffff
mov dword [rdi + 0x264], 0x7f7fffff
mov ecx, dword [rdi + 0xc4]
mov dword [rsp + 0x38], eax
cmp ecx, r8d
jge 0x180050e25
test ecx, ecx
je 0x180050dfe
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180050e03
mov eax, 8
cmp eax, r8d
lea rcx, [rdi + 0xc0]
mov edx, r8d
cmovg edx, eax
call fcn.18005a2f0
mov rbx, qword [0x1800a9de8]
mov r8d, 1
mov dword [rdi + 0xc0], r8d
cmp byte [rdi + 0x3c8], 0
je 0x180050e7a
mov rcx, qword [rdi + 0x2b0]
mov edx, dword [rdi + 0x3cc]
add rcx, 0x10
mov byte [rdi + 0x3c8], 0
call fcn.18005a170
mov rcx, qword [rdi + 0x2b0]
mov edx, dword [rdi + 0x3d0]
add rcx, 0x20
call fcn.180059ed0
mov rbx, qword [0x1800a9de8]
mov qword [rdi + 0x3cc], 0
cmp qword [rsi + 0x1df8], 0
mov r8, qword [rsp + 0x50]
je 0x180050f56
test dword [rdi + 0xc], 0x80000
jne 0x180050f56
test r8, r8
je 0x180050f56
mov r9, qword [rbp + 0xa0]
mov r12, qword [rdi]
mov rax, r9
mov r8, r12
sub r8, r9
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180050ed3
inc rax
test ecx, ecx
jne 0x180050ec0
test edx, edx
je 0x180050f51
movsxd r13, dword [rdi + 0x48]
mov r14, 0xffffffffffffffff
inc r14
cmp byte [r9 + r14], 0
jne 0x180050ee2
inc r14
cmp r13, r14
jae 0x180050f3c
test r12, r12
je 0x180050f04
test rbx, rbx
je 0x180050f04
dec dword [rbx + 0x3bc]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1800a9de8]
test rax, rax
je 0x180050f1f
inc dword [rax + 0x3bc]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, qword [0x1800a9de8]
mov r13, r14
mov r9, qword [rbp + 0xa0]
mov r12, rax
mov r8, r14
mov rdx, r9
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], r12
mov dword [rdi + 0x48], r13d
mov r8, qword [rsp + 0x50]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.18004e990
movss xmm3, dword [rax]
movss xmm4, dword [rax + 4]
mov eax, dword [rdi + 0x9c]
movss dword [rdi + 0x28], xmm3
movss dword [rdi + 0x2c], xmm4
test eax, eax
jle 0x180050f88
dec eax
mov dword [rdi + 0x9c], eax
mov eax, dword [rdi + 0xa0]
test eax, eax
jle 0x180050f9a
dec eax
mov dword [rdi + 0xa0], eax
movzx r14d, byte [rsp + 0x30]
test r8, r8
jne 0x180050fc0
test r14b, r14b
je 0x180050fb3
cmp byte [rbp + 0xb0], r8b
jne 0x180050fc0
mov eax, 1
mov dword [rdi + 0xa0], eax
jmp 0x180050fc5
mov eax, 1
xor ecx, ecx
cmp byte [rbp + 0xb8], cl
je 0x18005100c
test r15d, 0x6000000
je 0x18005100c
mov dword [rdi + 0xa0], eax
test r15b, 0x40
je 0x18005100c
test r14b, r14b
jne 0x180050fef
mov dword [rdi + 0x20], ecx
mov dword [rdi + 0x18], ecx
movzx r12d, byte [rbp + 0xb0]
test r12b, r12b
jne 0x180051002
mov dword [rdi + 0x24], ecx
mov dword [rdi + 0x1c], ecx
mov qword [rdi + 0x28], 0
jmp 0x180051014
movzx r12d, byte [rbp + 0xb0]
movss xmm0, dword [rbx + 0x19dc]
mov qword [rbx + 0x1b28], rdi
mov rax, qword [rdi + 0x360]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x18005103f
mulss xmm0, dword [rax + 0x2a8]
mov eax, r15d
movss dword [rbx + 0x19f0], xmm0
and eax, 0x1000000
movss dword [rbx + 0x19d8], xmm0
mov dword [rsp + 0x58], eax
je 0x180051067
movss xmm0, dword [rsi + 0x1588]
jmp 0x180051089
test r15d, 0x6000000
je 0x180051081
bt r15d, 0x1b
jb 0x180051081
movss xmm0, dword [rsi + 0x1590]
jmp 0x180051089
movss xmm0, dword [rsi + 0x156c]
movss dword [rdi + 0x44], xmm0
mov eax, r15d
movsd xmm0, qword [rsi + 0x155c]
and eax, 0x5010000
movsd qword [rdi + 0x38], xmm0
cmp eax, 0x1000000
jne 0x1800510ce
ucomiss xmm10, dword [rdi + 0x44]
jne 0x1800510ce
bt r15d, 0xa
jae 0x1800510c2
movss xmm0, dword [rsi + 0x1560]
jmp 0x1800510c6
movaps xmm0, xmm10
movss dword [rdi + 0x3c], xmm0
mov dword [rdi + 0x38], ecx
test r15b, 0x21
jne 0x180051213
mov ecx, dword [rdi + 0xc]
test cl, 1
je 0x1800510e6
movaps xmm0, xmm10
jmp 0x18005111a
mov rax, qword [rdi + 0x360]
movss xmm1, dword [rbx + 0x19dc]
mulss xmm1, dword [rdi + 0x2a8]
test rax, rax
je 0x18005110a
mulss xmm1, dword [rax + 0x2a8]
movss xmm0, dword [rbx + 0x1598]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm3, dword [rdi + 0x10]
movaps xmm2, xmm3
addss xmm2, dword [rdi + 0x20]
addss xmm0, dword [rdi + 0x14]
cmp qword [rsi + 0x1b30], rdi
jne 0x1800511d7
cmp dword [rsi + 0x1b5c], 0
jne 0x1800511d7
cmp dword [rsi + 0x1b64], 0
jne 0x1800511d7
mov rax, qword [rbx + 0x1b28]
movss xmm1, dword [rbx + 0x15b4]
maxss xmm3, dword [rax + 0x258]
minss xmm2, dword [rax + 0x260]
movss xmm4, dword [rax + 0x25c]
movss xmm5, dword [rax + 0x264]
maxss xmm4, dword [rdi + 0x14]
subss xmm3, xmm1
minss xmm5, xmm0
movss xmm0, dword [rbx + 0x15b8]
addss xmm2, xmm1
movss xmm1, dword [rbx + 0x130]
subss xmm4, xmm0
comiss xmm1, xmm3
addss xmm5, xmm0
jb 0x1800511d7
movss xmm0, dword [rbx + 0x134]
comiss xmm0, xmm4
jb 0x1800511d7
comiss xmm1, xmm2
jae 0x1800511d7
comiss xmm0, xmm5
jae 0x1800511d7
cmp byte [rsi + 0x425], 0
je 0x1800511d7
mov byte [rdi + 0x82], 1
cmp byte [rdi + 0x82], 0
je 0x18005121a
cmp byte [rdi + 0x81], 0
sete al
mov byte [rdi + 0x81], al
bt ecx, 8
jb 0x180051209
comiss xmm10, dword [rbx + 0x304c]
jb 0x180051209
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x304c], eax
mov rcx, rdi
call fcn.180052be0
jmp 0x18005121a
mov byte [rdi + 0x81], 0
lea rbx, [rdi + 0x28]
mov byte [rdi + 0x82], 0
mov r8, rbx
lea rcx, [rsp + 0x48]
mov rdx, rdi
call fcn.18004ea40
movzx r13d, byte [rbp + 0xa8]
test r15b, 0x40
je 0x18005127f
cmp byte [rdi + 0x81], 0
jne 0x18005127f
test r14b, r14b
jne 0x180051263
movss xmm0, dword [rsp + 0x48]
movss dword [rdi + 0x20], xmm0
mov byte [rbp + 0xa8], 1
test r12b, r12b
jne 0x180051326
movss xmm0, dword [rsp + 0x4c]
mov r13b, 1
movss dword [rdi + 0x24], xmm0
jmp 0x180051326
movzx eax, byte [rdi + 0x94]
test al, al
jg 0x180051297
cmp byte [rdi + 0x95], 0
jle 0x180051326
test r14b, r14b
jne 0x1800512c8
test al, al
jle 0x1800512c8
cmp byte [rdi + 0x97], r14b
je 0x1800512b6
movss xmm0, dword [rdi + 0x20]
maxss xmm0, dword [rsp + 0x48]
jmp 0x1800512bc
movss xmm0, dword [rsp + 0x48]
movss dword [rdi + 0x20], xmm0
mov byte [rbp + 0xa8], 1
test r12b, r12b
jne 0x1800512fa
cmp byte [rdi + 0x95], r12b
jle 0x1800512fa
cmp byte [rdi + 0x97], r12b
je 0x1800512ec
movss xmm0, dword [rdi + 0x24]
maxss xmm0, dword [rsp + 0x4c]
jmp 0x1800512f2
movss xmm0, dword [rsp + 0x4c]
movss dword [rdi + 0x24], xmm0
mov r13b, 1
cmp byte [rdi + 0x81], 0
jne 0x180051326
test dword [rdi + 0xc], 0x100
mov rcx, qword [0x1800a9de8]
jne 0x180051326
comiss xmm10, dword [rcx + 0x304c]
jb 0x180051326
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x304c], eax
mov r8, qword [rdi + 0x20]
lea rcx, [rbp - 0x80]
mov rdx, rdi
call fcn.18004e710
cmp byte [rdi + 0x81], 0
mov r14, qword [0x1800a9de8]
mov edx, dword [rsp + 0x58]
movss xmm2, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [rdi + 0x20], xmm2
movss dword [rdi + 0x24], xmm0
je 0x1800513bc
test edx, edx
jne 0x1800513bc
mov eax, dword [rdi + 0xc]
test al, 1
je 0x18005136e
movaps xmm0, xmm10
jmp 0x1800513a4
mov rcx, qword [rdi + 0x360]
movss xmm1, dword [r14 + 0x19dc]
mulss xmm1, dword [rdi + 0x2a8]
test rcx, rcx
je 0x180051393
mulss xmm1, dword [rcx + 0x2a8]
movss xmm0, dword [r14 + 0x1598]
addss xmm0, xmm0
addss xmm0, xmm1
addss xmm0, dword [rdi + 0x14]
movss dword [rsp + 0x40], xmm2
subss xmm0, dword [rdi + 0x14]
movss dword [rsp + 0x44], xmm0
jmp 0x1800513ca
movsd xmm0, qword [rdi + 0x20]
mov eax, dword [rdi + 0xc]
movsd qword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
movsd xmm0, qword [rcx]
movsd qword [rdi + 0x18], xmm0
test al, 1
je 0x1800513e2
movaps xmm1, xmm10
jmp 0x180051418
mov rcx, qword [rdi + 0x360]
movss xmm0, dword [r14 + 0x19dc]
mulss xmm0, dword [rdi + 0x2a8]
test rcx, rcx
je 0x180051407
mulss xmm0, dword [rcx + 0x2a8]
movss xmm1, dword [r14 + 0x1598]
addss xmm1, xmm1
addss xmm1, xmm0
bt eax, 0xa
jae 0x180051462
mov rax, qword [rdi + 0x360]
movss xmm14, dword [r14 + 0x19dc]
mulss xmm14, dword [rdi + 0x2a8]
test rax, rax
je 0x180051445
mulss xmm14, dword [rax + 0x2a8]
movss xmm0, dword [r14 + 0x1598]
addss xmm14, dword [rdi + 0x158]
addss xmm0, xmm0
addss xmm14, xmm0
jmp 0x180051466
movaps xmm14, xmm10
cmp byte [rbp + 0xb8], 0
addss xmm14, xmm1
mov ecx, dword [rsp + 0x34]
movzx r12d, byte [rsp + 0x31]
je 0x1800514c0
mov dword [rdi + 0x98], 0xffffffff
test ecx, ecx
je 0x1800514c0
test r12b, r12b
jne 0x1800514c0
movsxd rax, dword [rsi + 0x1cc0]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1cc8]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0x10]
movss xmm1, dword [rax + rcx*8 - 0xc]
mov ecx, dword [rsp + 0x34]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
test edx, edx
je 0x18005155d
mov rdx, qword [rsp + 0x60]
lea rbx, [rdx + 0x188]
movzx eax, word [rbx]
mov word [rdi + 0x8c], ax
mov ecx, dword [rbx + 4]
mov eax, dword [rbx]
cmp eax, ecx
jne 0x18005151f
lea r8d, [rax + 1]
test ecx, ecx
je 0x1800514fa
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800514ff
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180042df0
mov eax, dword [rbx]
mov rdx, qword [rsp + 0x60]
mov r14, qword [0x1800a9de8]
movsxd rcx, eax
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov ecx, dword [rsp + 0x34]
mov eax, dword [rsp + 0x38]
test ecx, ecx
jne 0x180051557
test r12b, r12b
jne 0x180051557
lea rbx, [rdi + 0x28]
cmp eax, 0x3000000
je 0x180051561
movsd xmm0, qword [rdx + 0xd0]
movsd qword [rdi + 0x10], xmm0
jmp 0x180051561
lea rbx, [rdi + 0x28]
jmp 0x180051561
mov eax, dword [rsp + 0x38]
movss xmm1, dword [rdi + 0xb0]
ucomiss xmm1, dword [0x180088f50]
je 0x1800515c3
cmp dword [rdi + 0xa0], 0
jne 0x1800515c3
movss xmm0, dword [rdi + 0xb8]
lea rdx, [rsp + 0x40]
mulss xmm0, dword [rdi + 0x20]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xb4]
movss dword [rsp + 0x40], xmm1
movss xmm1, dword [rdi + 0xbc]
mulss xmm1, dword [rdi + 0x24]
subss xmm0, xmm1
movss dword [rsp + 0x44], xmm0
call fcn.1800536a0
jmp 0x18005160c
bt r15d, 0x1c
jb 0x1800515ed
test ecx, ecx
je 0x1800515da
test r12b, r12b
jne 0x1800515da
cmp dword [rsp + 0x3c], 0
jg 0x1800515ed
bt r15d, 0x19
jae 0x180051610
test r12b, r12b
jne 0x180051610
cmp eax, 0x3000000
je 0x180051610
mov rdx, rdi
lea rcx, [rbp - 0x6c]
call fcn.1800554d0
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov ecx, dword [rsp + 0x34]
movss xmm7, dword [r14 + 0x10]
movss xmm6, dword [r14 + 0x14]
mov edx, dword [rsp + 0x58]
movss dword [rsp + 0x78], xmm7
movss dword [rsp + 0x70], xmm7
movss dword [rbp + 0xb0], xmm6
movss dword [rsp + 0x74], xmm6
movss dword [rsp + 0x68], xmm10
movss dword [rsp + 0x6c], xmm10
test r12b, r12b
jne 0x180051758
test edx, edx
jne 0x180051758
cmp byte [rdi + 0x94], r12b
jg 0x180051758
cmp byte [rdi + 0x95], r12b
jg 0x180051758
comiss xmm7, xmm10
movss xmm4, dword [rsi + 0x15f0]
movss xmm5, dword [rsi + 0x15f4]
maxss xmm4, dword [rsi + 0x15f8]
maxss xmm5, dword [rsi + 0x15fc]
jbe 0x180051758
comiss xmm6, xmm10
jbe 0x180051758
cmp byte [r14 + 0xcc], r12b
je 0x1800516ff
test byte [rdi + 0xc], 1
jne 0x1800516ff
mov rax, qword [rdi + 0x360]
movss xmm0, dword [r14 + 0x19dc]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x1800516db
mulss xmm0, dword [rax + 0x2a8]
movss xmm1, dword [r14 + 0x1598]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x18]
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
jmp 0x18005170a
movsd xmm0, qword [rdi + 0x18]
movsd qword [rsp + 0x40], xmm0
lea rax, [rsp + 0x40]
movss xmm0, dword [rax]
movss xmm2, dword [rax + 4]
movaps xmm3, xmm0
addss xmm3, dword [rdi + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x14]
maxss xmm3, xmm4
maxss xmm1, xmm5
subss xmm3, xmm0
movaps xmm0, xmm7
subss xmm0, xmm4
subss xmm1, xmm2
minss xmm3, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
movss dword [rdi + 0x10], xmm3
minss xmm1, xmm0
movss dword [rdi + 0x14], xmm1
cvttss2si eax, dword [rdi + 0x10]
movd xmm0, eax
cvttss2si eax, dword [rdi + 0x14]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
movss dword [rdi + 0x10], xmm0
cvtdq2ps xmm1, xmm1
movss dword [rdi + 0x14], xmm1
test edx, edx
je 0x180051788
movss xmm2, dword [rsi + 0x1584]
jmp 0x1800517a9
mov eax, r15d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1800517a1
movss xmm2, dword [rsi + 0x158c]
jmp 0x1800517a9
movss xmm2, dword [rsi + 0x1568]
xor dl, dl
movss dword [rdi + 0x40], xmm2
mov dword [rsp + 0x3c], edx
cmp byte [rbp + 0xb8], dl
je 0x1800517e4
bt r15d, 0xc
jb 0x1800517e4
test ecx, ecx
je 0x1800517ce
mov byte [rsp + 0x3c], 1
jmp 0x1800517e4
cmp dword [rsp + 0x38], 0
mov r12d, 1
movzx edx, dl
cmove edx, r12d
mov dword [rsp + 0x3c], edx
xorps xmm0, xmm0
mov dword [rsp + 0x34], 0xffffffff
movups xmmword [rbp - 0x60], xmm0
xor ecx, ecx
movss xmm0, dword [rsi + 0x19d8]
cmp byte [rsi + 0xcb], cl
movaps xmm1, xmm0
mulss xmm1, dword [0x1800888a8]
setne cl
mulss xmm0, dword [0x180088b58]
inc ecx
cmp byte [rdi + 0x81], 0
addss xmm1, xmm2
mov dword [rsp + 0x40], ecx
addss xmm1, dword [0x180088a60]
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x70], xmm0
jne 0x18005187a
lea rax, [rbp - 0x60]
mov r9d, ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x48]
call fcn.18004ee20
mov r14, qword [0x1800a9de8]
test al, al
je 0x18005187a
mov r13b, 1
movzx ecx, r13b
jmp 0x180051881
movzx ecx, byte [rbp + 0xa8]
cmp byte [rdi + 0x81], 0
movzx eax, byte [rsp + 0x34]
mov byte [rdi + 0x88], al
jne 0x1800519c7
cmp qword [rsp + 0x50], 0
lea rax, [rbp + 0xa8]
movss xmm2, dword [rdi + 0x230]
movss xmm3, dword [rdi + 0x234]
subss xmm2, dword [rdi + 0x228]
subss xmm3, dword [rdi + 0x22c]
movss xmm4, dword [rdi + 0x24]
movss xmm5, dword [rdi + 0x20]
subss xmm4, xmm14
addss xmm2, dword [rdi + 0x74]
addss xmm3, dword [rdi + 0x78]
jne 0x1800518ee
mov qword [rbp + 0xa8], 0
jmp 0x180051919
movss xmm0, dword [rdi + 0x38]
movss xmm1, dword [rdi + 0x3c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rbx]
addss xmm1, dword [rbx + 4]
movss dword [rbp + 0xa8], xmm0
movss dword [rbp + 0xac], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x180051929
movaps xmm5, xmm2
test r13b, r13b
jne 0x180051931
movaps xmm4, xmm3
bt r15d, 0xe
jb 0x180051947
comiss xmm1, xmm4
jbe 0x180051943
test r15b, 8
je 0x180051947
xor cl, cl
jmp 0x180051949
mov cl, 1
mov byte [rdi + 0x7d], cl
bt r15d, 0xf
jb 0x180051987
test cl, cl
je 0x180051961
movss xmm0, dword [rsi + 0x15c4]
jmp 0x180051965
movaps xmm0, xmm10
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x18005197d
mov eax, r15d
and eax, 0x808
cmp eax, 0x800
je 0x180051987
mov byte [rdi + 0x7c], 0
movaps xmm1, xmm10
jmp 0x1800519ab
mov byte [rdi + 0x7c], 1
test cl, cl
jne 0x1800519a3
comiss xmm1, xmm4
jbe 0x18005199e
test r15b, 8
jne 0x18005199e
mov cl, 1
jmp 0x1800519a0
xor cl, cl
mov byte [rdi + 0x7d], cl
movss xmm1, dword [rsi + 0x15c4]
test cl, cl
je 0x1800519b9
movss xmm0, dword [rsi + 0x15c4]
jmp 0x1800519bd
movaps xmm0, xmm10
movss dword [rdi + 0x74], xmm0
movss dword [rdi + 0x78], xmm1
mov r13d, dword [rsp + 0x38]
mov r12d, r15d
and r12d, 0x5000000
cmp r12d, 0x1000000
jne 0x1800519f5
cmp r13d, 0x3000000
je 0x1800519f5
mov rax, qword [rsp + 0x60]
add rax, 0x258
jmp 0x1800519fa
lea rax, [rsp + 0x68]
test byte [rdi + 0xc], 1
movss xmm15, dword [rdi + 0x10]
movss xmm4, dword [rdi + 0x14]
movaps xmm2, xmm15
addss xmm2, dword [rdi + 0x18]
movups xmm6, xmmword [rax]
movaps xmm3, xmm4
addss xmm3, dword [rdi + 0x1c]
je 0x180051a25
movaps xmm0, xmm10
jmp 0x180051a5b
mov rax, qword [rdi + 0x360]
movss xmm1, dword [r14 + 0x19dc]
mulss xmm1, dword [rdi + 0x2a8]
test rax, rax
je 0x180051a4a
mulss xmm1, dword [rax + 0x2a8]
movss xmm0, dword [r14 + 0x1598]
addss xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm4
movss dword [rbp - 0x80], xmm15
addss xmm1, xmm0
movaps xmm5, xmm15
addss xmm5, dword [rdi + 0x20]
movss xmm0, dword [rdi + 0x14]
movaps xmm13, xmm6
movss dword [rbp - 0x7c], xmm0
movaps xmm11, xmm6
shufps xmm13, xmm6, 0xaa
mov eax, r15d
movss dword [rbp - 0x74], xmm1
and eax, 0x401
movss dword [rbp + 0xa8], xmm5
movss dword [rbp - 0x78], xmm5
movss dword [rdi + 0x218], xmm15
movss dword [rdi + 0x21c], xmm4
movss dword [rdi + 0x220], xmm2
movaps xmm2, xmm6
movss dword [rdi + 0x224], xmm3
movss dword [rsp + 0x38], xmm1
movss xmm1, dword [rdi + 0x218]
shufps xmm2, xmm6, 0x55
maxss xmm1, xmm6
shufps xmm11, xmm6, 0xff
movaps xmm0, xmm2
maxss xmm0, dword [rdi + 0x21c]
movss dword [rdi + 0x218], xmm1
movaps xmm1, xmm13
movss dword [rdi + 0x21c], xmm0
movss xmm0, dword [rdi + 0x224]
minss xmm0, xmm11
minss xmm1, dword [rdi + 0x220]
movss dword [rdi + 0x224], xmm0
movss dword [rdi + 0x220], xmm1
movss xmm9, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm4, xmm9
movss dword [rdi + 0x228], xmm9
movaps xmm7, xmm3
addss xmm7, xmm14
addss xmm4, dword [rdi + 0x18]
addss xmm3, dword [rdi + 0x1c]
movss dword [rdi + 0x22c], xmm7
subss xmm4, dword [rdi + 0x74]
subss xmm3, dword [rdi + 0x78]
movss dword [rdi + 0x230], xmm4
movss dword [rdi + 0x234], xmm3
cmp eax, 1
jne 0x180051b81
movss xmm5, dword [rdi + 0x44]
movaps xmm8, xmm5
jmp 0x180051b8f
movss xmm5, dword [rsi + 0x15a0]
movss xmm8, dword [rdi + 0x44]
movss xmm12, dword [0x180088908]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x38]
addss xmm9, xmm12
mulss xmm0, xmm12
addss xmm7, xmm12
addss xmm4, xmm12
addss xmm3, xmm12
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm7, xmm5
subss xmm3, xmm8
cvtsi2ss xmm1, eax
maxss xmm1, xmm8
addss xmm9, xmm1
subss xmm4, xmm1
cvttss2si eax, xmm9
xorps xmm9, xmm9
cvtsi2ss xmm9, eax
cvttss2si eax, xmm7
movss dword [rdi + 0x238], xmm9
cvtsi2ss xmm0, eax
cvttss2si eax, xmm4
movss dword [rdi + 0x23c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm3
movss dword [rdi + 0x240], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x244], xmm0
movss xmm1, dword [rdi + 0x23c]
comiss xmm1, xmm2
jae 0x180051c3a
movaps xmm1, xmm2
jmp 0x180051c3f
minss xmm1, xmm11
comiss xmm9, xmm6
jae 0x180051c4a
movaps xmm0, xmm6
jmp 0x180051c53
movaps xmm0, xmm13
minss xmm0, xmm9
movss dword [rdi + 0x238], xmm0
movss dword [rdi + 0x23c], xmm1
movss xmm0, dword [rdi + 0x244]
comiss xmm0, xmm2
jb 0x180051c78
minss xmm0, xmm11
movaps xmm2, xmm0
movss xmm0, dword [rdi + 0x240]
comiss xmm0, xmm6
jae 0x180051c8a
movaps xmm0, xmm6
jmp 0x180051c8f
minss xmm0, xmm13
movss dword [rdi + 0x240], xmm0
movss dword [rdi + 0x244], xmm2
movss xmm0, dword [rdi + 0x18]
comiss xmm0, xmm10
jbe 0x180051cbd
test r15d, 0x2000040
jne 0x180051cbd
mulss xmm0, dword [0x180088950]
jmp 0x180051ccd
movss xmm0, dword [rsi + 0x19d8]
mulss xmm0, dword [0x180088d98]
cvttss2si eax, xmm0
mov r8b, 1
lea rcx, [rbp - 0x6c]
mov rdx, rdi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x280], xmm0
movss xmm0, dword [rdi + 0x230]
subss xmm0, dword [rdi + 0x228]
movss xmm1, dword [rdi + 0x38]
movss xmm2, dword [rdi + 0x3c]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x28]
addss xmm2, dword [rdi + 0x2c]
subss xmm1, xmm0
maxss xmm1, xmm10
movss dword [rdi + 0x5c], xmm1
movss xmm0, dword [rdi + 0x234]
subss xmm0, dword [rdi + 0x22c]
subss xmm2, xmm0
maxss xmm2, xmm10
movss dword [rdi + 0x60], xmm2
call fcn.1800542c0
mov rcx, qword [rdi + 0x2b0]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x54], xmm0
movss dword [rdi + 0x58], xmm1
mov dword [rdi + 0x64], 0x7f7fffff
mov dword [rdi + 0x68], 0x7f7fffff
call fcn.180060cf0
mov rax, qword [rsi + 0x19d0]
mov rcx, qword [rdi + 0x2b0]
mov rdx, qword [rax + 0x48]
mov rdx, qword [rdx + 8]
call fcn.180061350
mov rcx, qword [0x1800a9de8]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1b28]
mov byte [rax + 0x80], 1
mov rbx, qword [rcx + 0x1b28]
mov rcx, qword [rbx + 0x2b0]
call fcn.180061220
mov rax, qword [rbx + 0x2b0]
mov rcx, qword [rax + 0x68]
movsxd rdx, dword [rax + 0x60]
add rdx, rdx
movss xmm0, dword [rcx + rdx*8 - 0xc]
movss xmm1, dword [rcx + rdx*8 - 8]
movss xmm2, dword [rcx + rdx*8 - 4]
mov eax, dword [rcx + rdx*8 - 0x10]
mov dword [rbx + 0x258], eax
movss dword [rbx + 0x25c], xmm0
movss dword [rbx + 0x260], xmm1
movss dword [rbx + 0x264], xmm2
bt r15d, 0x1b
jae 0x180051e2f
call fcn.1800548b0
cmp rdi, rax
jne 0x180051e2f
cmp dword [rdi + 0xa0], 0
jg 0x180051e2f
mov al, 1
jmp 0x180051e31
xor al, al
mov rcx, qword [rsi + 0x1df0]
test rcx, rcx
je 0x180051e4a
cmp rdi, qword [rcx + 0x368]
jne 0x180051e4a
mov bl, 1
jmp 0x180051e4c
xor bl, bl
test al, al
jne 0x180051e58
test bl, bl
je 0x180051f63
movss xmm1, dword [rsi + 0x1e90]
movzx ecx, al
add ecx, 0x3a
call fcn.1800495a0
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rsp + 0x68]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rsp + 0x70]
movss dword [rsp + 0x20], xmm10
call fcn.180063260
test bl, bl
je 0x180051f63
cmp rdi, qword [rsi + 0x1df0]
jne 0x180051f63
movss xmm0, dword [rsi + 0x19d8]
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
movaps xmm1, xmm2
addss xmm2, dword [rdi + 0x18]
movss xmm13, dword [rbp + 0xb0]
subss xmm1, xmm0
movaps xmm4, xmm3
addss xmm3, dword [rdi + 0x1c]
subss xmm4, xmm0
addss xmm2, xmm0
comiss xmm10, xmm1
addss xmm3, xmm0
movss dword [rsp + 0x68], xmm1
movss dword [rsp + 0x70], xmm2
movss dword [rsp + 0x6c], xmm4
movss dword [rsp + 0x74], xmm3
jb 0x180051f18
comiss xmm10, xmm4
jb 0x180051f18
movss xmm0, dword [rsp + 0x78]
comiss xmm0, xmm2
ja 0x180051f18
comiss xmm13, xmm3
jbe 0x180051f6c
movss xmm1, dword [rsi + 0x1e04]
mov ecx, 0x39
mulss xmm1, dword [0x1800888c4]
call fcn.1800495a0
movss xmm0, dword [rsi + 0x1568]
lea r8, [rsp + 0x70]
mov rcx, qword [rdi + 0x2b0]
lea rdx, [rsp + 0x68]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm0
call fcn.180063260
jmp 0x180051f6c
movss xmm13, dword [rbp + 0xb0]
xor bl, bl
cmp r12d, 0x1000000
mov r12, qword [rsp + 0x60]
jne 0x180051fb5
cmp r13d, 0x3000000
je 0x180051fb5
mov rdx, qword [rdi + 0x2b0]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x38], 0
jne 0x180051fb5
mov rax, qword [r12 + 0x2b0]
cmp dword [rax + 0x20], 0
jle 0x180051fb5
mov bl, 1
mov qword [rdi + 0x2b0], rax
mov rax, qword [rsi + 0x1de8]
test rax, rax
jne 0x180051fc8
mov rax, qword [rsi + 0x1cd0]
mov r13d, dword [rsp + 0x3c]
test r13b, r13b
jne 0x180051fec
test rax, rax
je 0x180051fe7
mov rax, qword [rax + 0x370]
cmp qword [rdi + 0x370], rax
je 0x180051fec
xor r8b, r8b
jmp 0x180051fef
mov r8b, 1
movss xmm0, dword [rbp - 0x70]
lea rax, [rbp - 0x60]
mov r9d, dword [rsp + 0x40]
lea rdx, [rbp - 0x80]
movss dword [rsp + 0x28], xmm0
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.18004faa0
test bl, bl
je 0x180052026
lea rax, [rdi + 0x2b8]
mov qword [rdi + 0x2b0], rax
cmp qword [rsi + 0x1df0], rdi
jne 0x18005218a
movss xmm1, dword [rsi + 0x19d8]
movss xmm7, dword [rdi + 0x10]
movss xmm6, dword [rdi + 0x14]
movaps xmm9, xmm7
addss xmm7, dword [rdi + 0x18]
movss xmm2, dword [rdi + 0x40]
subss xmm9, xmm1
movss xmm11, dword [rsi + 0x1568]
movaps xmm8, xmm6
addss xmm6, dword [rdi + 0x1c]
maxss xmm11, xmm2
subss xmm8, xmm1
comiss xmm10, xmm9
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x1800520c7
comiss xmm10, xmm8
jb 0x1800520c7
movss xmm0, dword [rsp + 0x78]
comiss xmm0, xmm7
ja 0x1800520c7
comiss xmm13, xmm6
ja 0x1800520c7
xorps xmm1, xmmword [0x1800895b0]
movaps xmm11, xmm2
subss xmm1, dword [0x180088a60]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
movss xmm1, dword [rsi + 0x1e04]
mov ecx, 0x39
mov rbx, qword [rdi + 0x2b0]
call fcn.1800495a0
mov r14d, eax
test eax, 0xff000000
je 0x18005218a
test byte [rbx + 0x30], 1
addss xmm9, xmm12
addss xmm8, xmm12
mov dword [rsp + 0x20], 0xffffffff
movaps xmm3, xmm11
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
mov rcx, rbx
movss dword [rsp + 0x48], xmm9
movss dword [rsp + 0x4c], xmm8
je 0x180052131
subss xmm7, xmm12
subss xmm6, xmm12
jmp 0x180052141
subss xmm7, dword [0x1800888fc]
subss xmm6, dword [0x1800888fc]
movss dword [rsp + 0x50], xmm7
movss dword [rsp + 0x54], xmm6
call fcn.180062c50
movss xmm0, dword [0x180088d40]
mov r9d, r14d
mov r8d, dword [rbx + 0x80]
mov rcx, rbx
mov rdx, qword [rbx + 0x88]
movss dword [rsp + 0x28], xmm0
mov byte [rsp + 0x20], 1
call fcn.180061620
xor r8d, r8d
mov dword [rbx + 0x80], r8d
jmp 0x18005218d
xor r8d, r8d
movss xmm7, dword [rdi + 0x30]
mov ecx, r15d
movaps xmm13, xmmword [rsp + 0xd0]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm7, xmm10
je 0x1800521b2
movaps xmm8, xmm7
jmp 0x1800521eb
movss xmm0, dword [rdi + 0x38]
mov eax, r15d
movss xmm8, dword [rdi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm8, xmm0
subss xmm8, dword [rdi + 0x74]
cmp eax, 0x800
jne 0x1800521e2
movss xmm0, dword [rdi + 0x28]
jmp 0x1800521e6
movaps xmm0, xmm10
maxss xmm8, xmm0
movss xmm5, dword [rdi + 0x34]
ucomiss xmm5, xmm10
movss xmm4, dword [rdi + 0x3c]
je 0x180052200
movaps xmm6, xmm5
jmp 0x18005222d
movss xmm6, dword [rdi + 0x1c]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm6, xmm0
subss xmm6, xmm14
subss xmm6, dword [rdi + 0x78]
test cl, cl
je 0x180052225
movss xmm0, dword [rdi + 0x2c]
jmp 0x180052229
movaps xmm0, xmm10
maxss xmm6, xmm0
ucomiss xmm7, xmm10
movss xmm9, dword [rdi + 0x38]
movss xmm11, dword [rdi + 0x54]
movaps xmm0, xmm9
maxss xmm0, dword [rdi + 0x44]
movss xmm1, dword [rdi + 0x228]
movss xmm12, dword [rdi + 0x58]
subss xmm1, xmm11
addss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, dword [rdi + 0x44]
cvttss2si eax, xmm1
movss xmm1, dword [rdi + 0x22c]
subss xmm1, xmm12
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movss dword [rdi + 0x248], xmm3
addss xmm3, xmm8
movaps xmm8, xmmword [rsp + 0x120]
cvttss2si eax, xmm1
movss dword [rdi + 0x250], xmm3
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + 0x24c], xmm2
addss xmm2, xmm6
movss xmm6, dword [rdi + 0x14]
movaps xmm1, xmm6
subss xmm1, xmm12
movss dword [rdi + 0x254], xmm2
movss xmm2, dword [rdi + 0x10]
movaps xmm3, xmm2
subss xmm3, xmm11
addss xmm1, xmm4
addss xmm3, xmm9
addss xmm1, xmm14
movss dword [rdi + 0x268], xmm3
movss dword [rdi + 0x26c], xmm1
jne 0x18005230f
movss xmm7, dword [rdi + 0x18]
movaps xmm0, xmm9
addss xmm0, xmm9
subss xmm7, xmm0
subss xmm7, dword [rdi + 0x74]
ucomiss xmm5, xmm10
addss xmm3, xmm7
movaps xmm7, xmmword [rsp + 0x130]
movss dword [rdi + 0x270], xmm3
jne 0x180052343
movss xmm5, dword [rdi + 0x1c]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm5, xmm0
subss xmm5, xmm14
subss xmm5, dword [rdi + 0x78]
mov qword [rdi + 0x10c], 0
addss xmm4, xmm14
movaps xmm14, xmmword [rsp + 0xc0]
addss xmm1, xmm5
movaps xmm0, xmm9
mov r14d, 1
subss xmm0, xmm11
movaps xmm11, xmmword [rsp + 0xf0]
subss xmm4, xmm12
movaps xmm12, xmmword [rsp + 0xe0]
movss dword [rdi + 0x274], xmm1
movaps xmm1, xmm10
movss dword [rdi + 0x108], xmm0
addss xmm2, xmm0
addss xmm4, xmm6
movaps xmm6, xmmword [rsp + 0x140]
movss dword [rdi + 0xe0], xmm2
movss dword [rdi + 0xd0], xmm2
movss dword [rdi + 0xe4], xmm4
movss dword [rdi + 0xd4], xmm4
movss dword [rdi + 0xdc], xmm4
movss dword [rdi + 0xd8], xmm2
movss dword [rdi + 0xe8], xmm2
movss dword [rdi + 0xec], xmm4
mov qword [rdi + 0xf8], 0
mov qword [rdi + 0xf0], 0
mov qword [rdi + 0x100], 0
mov dword [rdi + 0x13c], r8d
mov dword [rdi + 0x140], r14d
mov eax, dword [rdi + 0x148]
mov dword [rdi + 0x144], eax
mov qword [rdi + 0x148], 0
mov byte [rdi + 0x150], 0
comiss xmm10, dword [rdi + 0x60]
setb al
cmp byte [rbp + 0xb8], 0
mov byte [rdi + 0x151], al
mov byte [rdi + 0x152], 0
maxss xmm9, dword [rsi + 0x15a4]
maxss xmm9, dword [rsi + 0x1c24]
movss dword [rdi + 0x154], xmm9
mov eax, dword [rsi + 0x1c28]
movaps xmm9, xmmword [rsp + 0x110]
mov dword [rdi + 0x158], eax
movss xmm0, dword [rsi + 0x15a4]
movss dword [rdi + 0x15c], xmm0
mov qword [rdi + 0x160], 0
je 0x1800524c0
xor eax, eax
mov qword [rdi + 0x174], rax
mov dword [rdi + 0x17c], eax
movss xmm1, dword [rdi + 0x160]
nop word [rax + rax]
cvttss2si eax, xmm1
addss xmm1, dword [rdi + 0x174]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x168], xmm0
movss dword [rdi + 0x160], xmm1
mov dword [rdi + 0x174], r8d
movss xmm2, dword [rdi + 0x178]
comiss xmm2, xmm10
jbe 0x180052500
addss xmm1, dword [rdi + 0x15c]
cvttss2si eax, xmm1
addss xmm1, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x16c], xmm0
movss dword [rdi + 0x160], xmm1
mov dword [rdi + 0x178], r8d
movss xmm2, dword [rdi + 0x17c]
comiss xmm2, xmm10
jbe 0x18005253c
addss xmm1, dword [rdi + 0x15c]
cvttss2si eax, xmm1
addss xmm1, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x170], xmm0
movss dword [rdi + 0x160], xmm1
mov qword [rdi + 0x17c], 0
mov dword [rdi + 0x184], r8d
mov ecx, dword [rdi + 0x18c]
test ecx, ecx
jns 0x180052597
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x188]
test eax, eax
cmovg edx, eax
call fcn.180042df0
xor r8d, r8d
mov dword [rdi + 0x188], r8d
lea rax, [rdi + 0x288]
mov qword [rdi + 0x198], rax
mov qword [rdi + 0x1a0], r8
mov dword [rdi + 0x1a8], r14d
test r12, r12
je 0x1800525e2
mov eax, dword [r12 + 0x1a8]
mov dword [rdi + 0x1ac], eax
mov qword [rdi + 0x1b0], 0xffffffffffffffff
mov eax, dword [r12 + 0x1b8]
jmp 0x1800525f7
mov dword [rdi + 0x1ac], r14d
mov eax, r8d
mov qword [rdi + 0x1b0], 0xffffffffffffffff
mov dword [rdi + 0x1b8], eax
mov eax, dword [rdi + 0x280]
mov dword [rdi + 0x1bc], eax
mov dword [rdi + 0x1c0], 0xbf800000
mov ecx, dword [rdi + 0x1cc]
test ecx, ecx
jns 0x18005263d
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1c8]
test eax, eax
cmovg edx, eax
call fcn.18005a2f0
xor r8d, r8d
mov dword [rdi + 0x1c8], r8d
mov ecx, dword [rdi + 0x1dc]
test ecx, ecx
jns 0x18005266e
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1d8]
test eax, eax
cmovg edx, eax
call fcn.18005a2f0
xor r8d, r8d
mov dword [rdi + 0x1d8], r8d
mov ecx, dword [rdi + 0x1ec]
test ecx, ecx
jns 0x18005269f
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1e8]
test eax, eax
cmovg edx, eax
call fcn.18005a2f0
xor r8d, r8d
lea rcx, [rdi + 0x1f8]
mov dword [rdi + 0x1e8], r8d
xor edx, edx
call fcn.180059980
cmp dword [rsp + 0x58], 0
je 0x1800526e7
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x1b8]
cmp dword [rdi + 0x1b8], eax
je 0x1800526e7
lea rdx, [rdi + 0x1b8]
mov dword [rdi + 0x1b8], eax
lea rcx, [rdi + 0x1c8]
call fcn.180059da0
movzx eax, byte [rdi + 0x94]
test al, al
jle 0x1800526fa
dec al
mov byte [rdi + 0x94], al
movzx eax, byte [rdi + 0x95]
test al, al
jle 0x18005270d
dec al
mov byte [rdi + 0x95], al
test r13b, r13b
je 0x180052798
mov rcx, rdi
call fcn.180052be0
mov eax, dword [rdi + 0xc]
mov rdx, qword [0x1800a9de8]
bt eax, 0x12
jb 0x180052782
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x180052743
cmp dword [rdi + 0x388], 0
jne 0x180052782
movsxd rcx, dword [rdx + 0x1d1c]
xor ebx, ebx
mov rax, qword [rdx + 0x1cd0]
xorps xmm0, xmm0
mov qword [rdx + 0x1cd8], rbx
mov dword [rax + rcx*4 + 0x388], ebx
mov word [rdx + 0x1d29], r14w
mov dword [rdx + 0x1d2c], ebx
movups xmmword [rdx + 0x1d30], xmm0
mov byte [rdx + 0x1d28], r14b
jmp 0x18005279a
mov eax, dword [rdi + 0x388]
xor ebx, ebx
mov dword [rdx + 0x1cdc], ebx
mov dword [rdx + 0x1cd8], eax
jmp 0x18005279a
xor ebx, ebx
test r14b, r15b
jne 0x1800527b2
mov r8, qword [rbp + 0xa0]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1800500b0
mov eax, dword [rdi + 0x4c]
movss xmm3, dword [rbp + 0xa8]
movss xmm2, dword [rsp + 0x38]
movss xmm4, dword [rbp - 0x7c]
mov dword [rdi + 0x114], eax
mov rax, qword [0x1800a9de8]
movss xmm1, dword [rax + 0x15b4]
movss xmm0, dword [rax + 0x15b8]
subss xmm15, xmm1
addss xmm3, xmm1
movss xmm1, dword [rax + 0x130]
addss xmm2, xmm0
subss xmm4, xmm0
comiss xmm1, xmm15
movaps xmm15, xmmword [rsp + 0xb0]
jb 0x180052827
movss xmm0, dword [rax + 0x134]
comiss xmm0, xmm4
jb 0x180052827
comiss xmm1, xmm3
jae 0x180052827
comiss xmm0, xmm2
mov eax, r14d
jb 0x180052829
mov eax, ebx
movups xmm0, xmmword [rbp - 0x80]
mov dword [rdi + 0x118], eax
lea rdx, [rdi + 0x240]
lea rcx, [rdi + 0x238]
movzx r8d, r14b
movups xmmword [rdi + 0x11c], xmm0
mov r12d, r14d
call fcn.18004d380
mov byte [rdi + 0x80], 0
jmp 0x1800528b1
movss xmm0, dword [rbx + 0x19dc]
mov qword [rbx + 0x1b28], rdi
mov rax, qword [rdi + 0x360]
mulss xmm0, dword [rdi + 0x2a8]
test rax, rax
je 0x180052888
mulss xmm0, dword [rax + 0x2a8]
lea rdx, [rdi + 0x240]
movss dword [rbx + 0x19f0], xmm0
lea rcx, [rdi + 0x238]
movss dword [rbx + 0x19d8], xmm0
call fcn.18004d380
mov r12d, 1
inc word [rdi + 0x8a]
mov r14, qword [rsp + 0x160]
mov r13, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x178]
mov dword [rsi + 0x1bc8], 0
bt r15d, 0x18
jae 0x180052971
test r15b, 0x40
jne 0x18005292c
cmp byte [rdi + 0x94], 0
jg 0x18005292c
cmp byte [rdi + 0x95], 0
jg 0x18005292c
movss xmm0, dword [rdi + 0x220]
comiss xmm0, dword [rdi + 0x218]
jbe 0x18005291f
movss xmm0, dword [rdi + 0x224]
comiss xmm0, dword [rdi + 0x21c]
ja 0x18005292c
mov ecx, 1
mov dword [rdi + 0x9c], ecx
jmp 0x180052931
mov ecx, 1
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x18005296b
cmp byte [rax + 0x81], 0
jne 0x18005294d
cmp dword [rax + 0x9c], 0
jle 0x18005295c
mov dword [rdi + 0x9c], ecx
cmp byte [rax + 0x81], 0
jne 0x180052965
cmp dword [rax + 0xa0], 0
jle 0x18005296b
mov dword [rdi + 0xa0], ecx
mov r12d, 1
comiss xmm10, dword [rsi + 0x1558]
mov rsi, qword [rsp + 0x170]
mov r15, qword [rsp + 0x158]
movaps xmm10, xmmword [rsp + 0x100]
jb 0x1800529e8
mov dword [rdi + 0x9c], r12d
mov cl, 1
xor al, al
mov byte [rdi + 0x85], cl
cmp byte [rdi + 0x81], al
jne 0x1800529b6
cmp byte [rdi + 0x7e], al
je 0x1800529b6
test cl, cl
je 0x1800529d4
cmp byte [rdi + 0x94], al
jg 0x1800529d4
cmp byte [rdi + 0x95], al
jg 0x1800529d4
cmp dword [rdi + 0xa0], 0
movzx eax, al
cmovle eax, r12d
mov byte [rdi + 0x83], al
xor al, 1
add rsp, 0x180
pop r12
pop rdi
pop rbp
ret
cmp dword [rdi + 0x9c], 0
jg 0x18005299b
cmp dword [rdi + 0xa0], 0
jg 0x18005299b
xor cl, cl
jmp 0x18005299d