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

Disassembly:
mov r11, rsp
push rbp
push rsi
push r14
lea rbp, [r11 - 0x128]
sub rsp, 0x210
mov rax, qword [0x1800b2240]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r14, qword [0x180174338]
mov qword [r11 + 0x10], rbx
mov rbx, rcx
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x38], r15
mov r15d, r8d
movaps xmmword [r11 - 0x78], xmm9
mov qword [rbp - 0x68], rcx
call fcn.180056ae0
test rax, rax
mov qword [rsp + 0x68], rax
mov rsi, rax
sete dl
mov byte [rsp + 0x41], dl
test rax, rax
jne 0x1800592f8
mov edx, r15d
mov rcx, rbx
call fcn.180056ec0
movzx edx, byte [rsp + 0x41]
mov rsi, rax
mov ecx, r15d
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x18005930d
or r15d, 6
cmp dword [r14 + 0x3ed8], 0
mov edi, dword [r14 + 0x3e60]
mov r9d, dword [rsi + 0x260]
mov dword [rsp + 0x5c], edi
mov dword [rsp + 0x58], r9d
jne 0x18005933c
cmp byte [r14 + 0x3e6d], 0
je 0x18005933c
mov al, 1
jmp 0x18005933e
xor al, al
mov byte [rsi + 0xbe], al
lea eax, [rdi - 1]
cmp r9d, eax
setl r8b
mov byte [rsp + 0x43], r8b
bt r15d, 0x1a
jae 0x180059388
movsxd rax, dword [r14 + 0x48c8]
imul rax, rax, 0x38
add rax, qword [r14 + 0x48c0]
cmp rsi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rsi + 0xcc], eax
setne al
or cl, al
or r8b, cl
mov byte [rsp + 0x43], r8b
mov byte [rsi + 0xbc], r8b
test r8b, r8b
je 0x1800593a9
or byte [rsi + 0xdc], 8
or byte [rsi + 0xdd], 8
or byte [rsi + 0xde], 8
xor ebx, ebx
cmp r9d, edi
je 0x1800593fe
mov r8d, r15d
mov rcx, rsi
call fcn.180056bb0
mov r9d, dword [rsp + 0x58]
mov dword [rsi + 0x14], r15d
mov dword [rsi + 0x260], edi
movsd xmm0, qword [r14 + 0x3e58]
mov word [rsi + 0xc6], bx
cvtpd2ps xmm0, xmm0
movss dword [rsi + 0x264], xmm0
movzx eax, word [r14 + 0x3ef8]
inc dword [r14 + 0x3ef8]
mov word [rsi + 0xc8], ax
jmp 0x180059402
mov r15d, dword [rsi + 0x14]
movsxd rax, dword [r14 + 0x3ed8]
test eax, eax
jne 0x180059412
mov r13, rbx
jmp 0x180059422
imul rcx, rax, 0x58
mov rax, qword [r14 + 0x3ee0]
mov r13, qword [rcx + rax - 0x58]
mov qword [rsp + 0x200], r12
cmp r9d, edi
je 0x18005943f
test r15d, 0x5000000
mov r12, rbx
cmovne r12, r13
jmp 0x180059446
mov r12, qword [rsi + 0x368]
mov qword [rbp - 0x78], r12
cmp dword [rsi + 0xf0], ebx
jne 0x180059462
lea rdx, [rsi + 0x10]
lea rcx, [rsi + 0xf0]
call fcn.180066580
mov eax, dword [r14 + 0x47e0]
lea rbx, [r14 + 0x3ed8]
movups xmm1, xmmword [r14 + 0x47b8]
mov dword [rbp - 0x10], eax
mov qword [r14 + 0x3f08], rsi
xorps xmm0, xmm0
movzx eax, word [rsi + 0xf0]
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
mov qword [rbp - 0x50], rsi
movups xmmword [rbp - 0xc], xmm0
mov word [rbp - 0xc], ax
movzx eax, word [r14 + 0x4858]
mov word [rbp - 0xa], ax
movzx eax, word [r14 + 0x4868]
mov word [rbp - 8], ax
movzx eax, word [r14 + 0x4878]
mov word [rbp - 6], ax
movzx eax, word [r14 + 0x4888]
mov word [rbp - 4], ax
movzx eax, word [r14 + 0x48a8]
mov word [rbp - 2], ax
movzx eax, word [r14 + 0x4898]
mov word [rbp], ax
movzx eax, word [r14 + 0x48c8]
mov word [rbp + 2], ax
movzx eax, word [r14 + 0x5bf0]
mov word [rbp + 4], ax
movups xmm0, xmmword [r14 + 0x47a8]
movups xmmword [rbp - 0x38], xmm1
movsd xmm1, qword [r14 + 0x47d8]
movsd qword [rbp - 0x18], xmm1
movups xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [r14 + 0x47c8]
movups xmmword [rbp - 0x28], xmm0
cmp ecx, r8d
jne 0x180059555
inc ecx
test r8d, r8d
je 0x180059541
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180059546
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180066c40
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 r15d, 0x1c
jae 0x1800595a7
inc dword [r14 + 0x48e8]
cmp dword [rsp + 0x58], edi
je 0x180059661
mov qword [rsi + 0x368], r12
mov qword [rsi + 0x390], rsi
mov qword [rsi + 0x388], rsi
mov qword [rsi + 0x380], rsi
mov qword [rsi + 0x378], rsi
test r12, r12
je 0x18005962c
mov eax, r15d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1800595f7
mov rax, qword [r12 + 0x378]
mov qword [rsi + 0x378], rax
bt r15d, 0x1a
jae 0x18005960d
mov rax, qword [r12 + 0x380]
mov qword [rsi + 0x380], rax
bt r15d, 0x1b
jb 0x18005962c
test r15d, 0x5000000
je 0x18005962c
mov rax, qword [r12 + 0x388]
mov qword [rsi + 0x388], rax
test dword [rsi + 0x14], 0x800000
je 0x18005965a
mov rcx, rsi
nop dword [rax + rax]
mov rax, qword [rcx + 0x368]
mov qword [rsi + 0x390], rax
mov rcx, rax
test dword [rax + 0x14], 0x800000
jne 0x180059640
mov qword [rsi + 0x370], r13
mov rbx, qword [0x180174338]
lea rdx, [rsp + 0x50]
mov edi, dword [rsi + 0x10]
mov dword [rsp + 0x50], edi
lea rcx, [rbx + 0x4888]
call fcn.180066580
mov dword [rbx + 0x4784], edi
xor r10d, r10d
mov eax, dword [r14 + 0x4784]
mov dword [rsi + 0x3d8], eax
mov qword [r14 + 0x3f08], r10
bt r15d, 0x1a
jae 0x1800596de
movsxd rax, dword [r14 + 0x48c8]
lea rcx, [r14 + 0x48c8]
imul rbx, rax, 0x38
add rbx, qword [r14 + 0x48c0]
mov rdx, rbx
mov qword [rbx + 8], rsi
mov eax, dword [r13 + 0x158]
mov dword [rbx + 0x18], eax
call fcn.180065d70
mov eax, dword [rbx]
xor r10d, r10d
mov dword [rsi + 0xcc], eax
xor r13b, r13b
mov byte [rsp + 0x42], 0
test byte [r14 + 0x47e8], 1
mov byte [rsp + 0x44], r13b
mov byte [rsp + 0x40], r13b
je 0x18005978c
movsx ecx, byte [rsi + 0xdc]
mov r8d, dword [r14 + 0x47ec]
test r8d, ecx
setne byte [rsp + 0x42]
test r8d, ecx
je 0x18005977d
movss xmm0, dword [r14 + 0x4804]
movss xmm1, dword [r14 + 0x4800]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x18009fedc]
jbe 0x18005977d
movsd xmm0, qword [r14 + 0x47f8]
and ecx, 0xf1
mov eax, dword [rsi + 0xdc]
and eax, 0xffffff00
movsd qword [rsi + 0xe0], xmm0
movsd xmm1, qword [r14 + 0x4800]
or ecx, eax
mov dword [rsi + 0xdc], ecx
movsd qword [rsi + 0xe8], xmm1
jmp 0x18005978c
lea rdx, [r14 + 0x47f8]
mov rcx, rsi
call fcn.18005bbc0
test byte [r14 + 0x47e8], 2
xorps xmm9, xmm9
je 0x1800597f7
movsx eax, byte [rsi + 0xdd]
mov r8d, dword [r14 + 0x47f0]
and eax, r8d
je 0x1800597c6
movss xmm0, dword [r14 + 0x4808]
comiss xmm0, xmm9
jbe 0x1800597c6
mov r13b, 1
mov byte [rsp + 0x44], r13b
jmp 0x1800597cf
mov byte [rsp + 0x44], r13b
test eax, eax
je 0x1800597e3
movss xmm0, dword [r14 + 0x480c]
comiss xmm0, xmm9
mov byte [rsp + 0x40], 1
ja 0x1800597e8
mov byte [rsp + 0x40], 0
lea rdx, [r14 + 0x4808]
mov rcx, rsi
call fcn.18005bd30
test byte [r14 + 0x47e8], 0x80
je 0x18005983d
movss xmm0, dword [r14 + 0x4818]
comiss xmm0, xmm9
jb 0x18005981f
movss dword [rsi + 0x94], xmm0
mov dword [rsi + 0x9c], r10d
movss xmm0, dword [r14 + 0x481c]
comiss xmm0, xmm9
jb 0x18005983d
movss dword [rsi + 0x98], xmm0
mov dword [rsi + 0xa0], r10d
test byte [r14 + 0x47e8], 4
mov ebx, dword [rsp + 0x5c]
mov edi, dword [rsp + 0x58]
je 0x18005985f
movsd xmm0, qword [r14 + 0x4810]
movsd qword [rsi + 0x48], xmm0
jmp 0x18005986b
cmp edi, ebx
je 0x18005986b
mov qword [rsi + 0x48], 0
test byte [r14 + 0x47e8], 8
je 0x1800598bc
mov ecx, dword [r14 + 0x47f4]
movzx edx, byte [r14 + 0x4820]
test ecx, ecx
je 0x180059893
movsx eax, byte [rsi + 0xde]
test ecx, eax
je 0x1800598bc
movzx ecx, byte [rsi + 0xde]
mov eax, dword [rsi + 0xdc]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rsi + 0xb9], dl
mov dword [rsi + 0xdc], ecx
test byte [r14 + 0x47e8], 0x20
je 0x1800598d0
xor edx, edx
mov rcx, rsi
call fcn.18005b610
cmp byte [rsi + 0xbc], 0
je 0x1800598ee
and byte [rsi + 0xdc], 0xf7
and byte [rsi + 0xdd], 0xf7
and byte [rsi + 0xde], 0xf7
mov edx, 1
cmp edi, ebx
je 0x18005b111
movaps xmmword [rsp + 0x1e0], xmm6
lea rcx, [rsi + 0xf0]
movaps xmmword [rsp + 0x1d0], xmm7
mov eax, r15d
movaps xmmword [rsp + 0x1c0], xmm8
and eax, 0x3000000
movaps xmmword [rsp + 0x1a0], xmm10
movaps xmmword [rsp + 0x190], xmm11
movaps xmmword [rsp + 0x180], xmm12
movaps xmmword [rsp + 0x170], xmm13
movaps xmmword [rsp + 0x160], xmm14
movaps xmmword [rsp + 0x150], xmm15
mov byte [rsi + 0xb6], dl
mov byte [rsi + 0xc0], 0
mov dword [rsp + 0x48], eax
movzx eax, byte [rsi + 0xd9]
mov dword [rsi + 0x238], 0xff7fffff
mov dword [rsi + 0x23c], 0xff7fffff
mov dword [rsi + 0x240], 0x7f7fffff
mov dword [rsi + 0x244], 0x7f7fffff
mov byte [rsp + 0x45], al
call fcn.180066650
mov rcx, qword [rsi + 0x298]
call fcn.18006e2d0
cmp byte [rsi + 0x3e4], 0
mov dword [rsi + 0x1b0], 0xffffffff
je 0x1800599fd
mov rcx, qword [rsi + 0x298]
mov edx, dword [rsi + 0x3dc]
add rcx, 0x10
mov byte [rsi + 0x3e4], 0
call fcn.180066a70
mov rcx, qword [rsi + 0x298]
mov edx, dword [rsi + 0x3e0]
add rcx, 0x20
call fcn.180066810
xor ebx, ebx
mov qword [rsi + 0x3dc], rbx
cmp qword [r14 + 0x4a98], 0
mov r9, qword [rsp + 0x68]
je 0x180059ad3
test dword [rsi + 0x14], 0x80000
jne 0x180059ad3
test r9, r9
je 0x180059ad3
mov r10, qword [rbp - 0x68]
mov r9, qword [rsi + 8]
mov rax, r10
mov r8, r9
sub r8, r10
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180059a53
inc rax
test ecx, ecx
jne 0x180059a40
test edx, edx
je 0x180059ace
movsxd rdi, dword [rsi + 0x78]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x180059a62
inc rbx
cmp rdi, rbx
jae 0x180059ab9
test r9, r9
je 0x180059a8b
mov rax, qword [0x180174338]
test rax, rax
je 0x180059a8b
dec dword [rax + 0xf0]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x180174338]
test rax, rax
je 0x180059aa6
inc dword [rax + 0xf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, qword [rbp - 0x68]
mov rdi, rbx
mov r9, rax
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi + 8], rax
mov dword [rsi + 0x78], edi
mov r9, qword [rsp + 0x68]
lea r8, [rsi + 0x40]
mov rcx, rsi
lea rdx, [rsi + 0x38]
call fcn.180057350
movzx eax, byte [rsi + 0xd8]
test al, al
jle 0x180059af6
dec al
mov byte [rsi + 0xd8], al
movzx eax, byte [rsi + 0xd9]
test al, al
jle 0x180059b09
dec al
mov byte [rsi + 0xd9], al
movzx eax, byte [rsi + 0xda]
test al, al
jle 0x180059b1c
dec al
mov byte [rsi + 0xda], al
test r9, r9
jne 0x180059b34
test r13b, r13b
je 0x180059b2d
cmp byte [rsp + 0x40], r9b
jne 0x180059b34
mov byte [rsi + 0xd9], 1
xor r9d, r9d
cmp byte [rsp + 0x43], r9b
je 0x180059b84
test r15d, 0x6000000
je 0x180059b84
mov byte [rsi + 0xd9], 1
test r15b, 0x40
je 0x180059b84
test r13b, r13b
jne 0x180059b61
mov dword [rsi + 0x30], r9d
mov dword [rsi + 0x28], r9d
movzx ebx, byte [rsp + 0x40]
test bl, bl
jne 0x180059b72
mov dword [rsi + 0x34], r9d
mov dword [rsi + 0x2c], r9d
mov qword [rsi + 0x40], 0
mov qword [rsi + 0x38], 0
jmp 0x180059b89
movzx ebx, byte [rsp + 0x40]
mov rdx, qword [0x180174338]
mov rax, qword [rdx + 0x48f8]
mov rdi, qword [rax]
mov qword [rsi + 0x18], rdi
mov qword [rdx + 0x3f08], rsi
movsxd rax, dword [rsi + 0x1b0]
cmp eax, 0xffffffff
je 0x180059bc2
lea rcx, [rax + rax*8]
shl rcx, 6
add rcx, qword [rdx + 0x4ba0]
jmp 0x180059bc5
mov rcx, r9
mov qword [rdx + 0x4b78], rcx
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x3c34]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x180059bf3
mulss xmm0, dword [rax + 0x290]
movss dword [rdx + 0x3c48], xmm0
movss dword [rdx + 0x3c30], xmm0
test rcx, rcx
jne 0x180059c15
cmp qword [rsi + 0x1a8], rcx
jne 0x180059c15
mov al, 1
jmp 0x180059c17
xor al, al
mov byte [rsi + 0x160], al
bt r15d, 0x18
jae 0x180059c2f
movss xmm1, dword [r14 + 0x37f8]
jmp 0x180059c53
test r15d, 0x6000000
je 0x180059c4a
bt r15d, 0x1b
jb 0x180059c4a
movss xmm1, dword [r14 + 0x3800]
jmp 0x180059c53
movss xmm1, dword [r14 + 0x37dc]
movss dword [rsi + 0x5c], xmm1
mov eax, r15d
movsd xmm0, qword [r14 + 0x37d0]
and eax, 0x5010000
movsd qword [rsi + 0x50], xmm0
cmp eax, 0x1000000
jne 0x180059c9c
ucomiss xmm1, xmm9
jp 0x180059c9c
jne 0x180059c9c
bt r15d, 0xa
jae 0x180059c8f
movss xmm0, dword [r14 + 0x37d4]
jmp 0x180059c93
movaps xmm0, xmm9
movss dword [rsi + 0x54], xmm0
mov dword [rsi + 0x50], r9d
movss xmm0, dword [rsi + 0x50]
movzx r13d, byte [rsp + 0x41]
maxss xmm0, dword [r14 + 0x3814]
maxss xmm0, dword [r14 + 0x484c]
movss dword [rsi + 0x164], xmm0
mov eax, dword [r14 + 0x4850]
mov dword [rsi + 0x168], eax
test r15b, 0x21
jne 0x180059e18
test byte [rsi + 0x14], 1
mov rcx, qword [rsi]
je 0x180059ce7
movaps xmm2, xmm9
jmp 0x180059d1b
mov rax, qword [rsi + 0x368]
movss xmm0, dword [rcx + 0x3c34]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x180059d0b
mulss xmm0, dword [rax + 0x290]
movss xmm2, dword [rcx + 0x3808]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm4, dword [rsi + 0x20]
movaps xmm3, xmm4
movss xmm5, dword [rsi + 0x24]
addss xmm3, dword [rsi + 0x30]
addss xmm2, dword [rsi + 0x24]
cmp qword [r14 + 0x3f10], rsi
jne 0x180059dd4
cmp dword [r14 + 0x3f54], 0
jne 0x180059dd4
cmp dword [r14 + 0x3f58], 0
jne 0x180059dd4
mov rax, qword [rdx + 0x3f08]
movss xmm1, dword [rdx + 0x382c]
movss xmm0, dword [rdx + 0x3830]
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 [rdx + 0xe00]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x180059dd4
movss xmm0, dword [rdx + 0xe04]
comiss xmm0, xmm5
jb 0x180059dd4
comiss xmm3, xmm1
jbe 0x180059dd4
comiss xmm2, xmm0
jbe 0x180059dd4
cmp word [r14 + 0x374a], 2
jne 0x180059dd4
mov byte [rsi + 0xba], 1
cmp byte [rsi + 0xba], 0
je 0x180059e1f
movzx ecx, byte [rsi + 0xb9]
test cl, cl
sete al
test cl, cl
mov byte [rsi + 0xb9], al
mov eax, 1
cmovne r13d, eax
test dword [rsi + 0x14], 0x100
jne 0x180059e1f
comiss xmm9, dword [rdx + 0x5c3c]
jb 0x180059e1f
mov eax, dword [rdx + 0x1c]
mov dword [rdx + 0x5c3c], eax
jmp 0x180059e1f
mov byte [rsi + 0xb9], 0
mov r8d, dword [rsi + 0x14]
movss xmm11, dword [rsi + 0xac]
movss xmm12, dword [rsi + 0xb0]
mov rcx, qword [rsi]
mov byte [rsi + 0xba], 0
mov dword [rsi + 0x60], r9d
mov dword [rsi + 0x68], r9d
test r8b, 1
je 0x180059e53
movaps xmm2, xmm9
jmp 0x180059e87
mov rdx, qword [rsi + 0x368]
movss xmm0, dword [rsi + 0x290]
mulss xmm0, dword [rcx + 0x3c34]
test rdx, rdx
je 0x180059e77
mulss xmm0, dword [rdx + 0x290]
movss xmm2, dword [rcx + 0x3808]
addss xmm2, xmm2
addss xmm2, xmm0
bt r8d, 0xa
jae 0x180059ecc
mov rax, qword [rsi + 0x368]
movss xmm1, dword [rsi + 0x290]
mulss xmm1, dword [rcx + 0x3c34]
test rax, rax
je 0x180059eb2
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rcx + 0x3808]
addss xmm1, dword [rsi + 0x168]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x180059ed0
movaps xmm1, xmm9
addss xmm1, xmm2
mov dword [rsi + 0x6c], r9d
lea r8, [rsi + 0x40]
mov qword [rsi + 0xac], 0
mov rdx, rsi
lea rcx, [rsp + 0x60]
movss dword [rsi + 0x64], xmm1
call fcn.180057460
test r15b, 0x40
je 0x180059f3a
cmp byte [rsi + 0xb9], 0
jne 0x180059f3a
cmp byte [rsp + 0x44], 0
jne 0x180059f1f
movss xmm0, dword [rsp + 0x60]
movss dword [rsi + 0x30], xmm0
mov byte [rsp + 0x41], 1
test bl, bl
jne 0x180059fde
movss xmm0, dword [rsp + 0x64]
mov r13b, 1
movss dword [rsi + 0x34], xmm0
jmp 0x180059fde
movzx eax, byte [rsi + 0xd0]
test al, al
jg 0x180059f52
cmp byte [rsi + 0xd1], 0
jle 0x180059fde
cmp byte [rsp + 0x44], 0
jne 0x180059f83
test al, al
jle 0x180059f83
cmp byte [rsi + 0xd3], 0
je 0x180059f73
movss xmm0, dword [rsi + 0x30]
maxss xmm0, dword [rsp + 0x60]
jmp 0x180059f79
movss xmm0, dword [rsp + 0x60]
movss dword [rsi + 0x30], xmm0
mov byte [rsp + 0x41], 1
test bl, bl
jne 0x180059fb2
cmp byte [rsi + 0xd1], bl
jle 0x180059fb2
cmp byte [rsi + 0xd3], bl
je 0x180059fa4
movss xmm0, dword [rsi + 0x34]
maxss xmm0, dword [rsp + 0x64]
jmp 0x180059faa
movss xmm0, dword [rsp + 0x64]
movss dword [rsi + 0x34], xmm0
mov r13b, 1
cmp byte [rsi + 0xb9], 0
jne 0x180059fde
test dword [rsi + 0x14], 0x100
mov rcx, qword [0x180174338]
jne 0x180059fde
comiss xmm9, dword [rcx + 0x5c3c]
jb 0x180059fde
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5c3c], eax
lea r8, [rsi + 0x30]
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.180057110
cmp byte [rsi + 0xb9], 0
movss xmm2, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rsi + 0x30], xmm2
movss dword [rsi + 0x34], xmm1
je 0x18005a06a
bt r15d, 0x18
jb 0x18005a06a
test byte [rsi + 0x14], 1
mov rcx, qword [rsi]
je 0x18005a020
movaps xmm1, xmm9
jmp 0x18005a054
mov rax, qword [rsi + 0x368]
movss xmm0, dword [rcx + 0x3c34]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18005a044
mulss xmm0, dword [rax + 0x290]
movss xmm1, dword [rcx + 0x3808]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [rsi + 0x20]
addss xmm1, dword [rsi + 0x24]
subss xmm2, dword [rsi + 0x20]
subss xmm1, dword [rsi + 0x24]
jmp 0x18005a083
movaps xmm0, xmm2
unpcklps xmm0, xmm1
movaps xmm1, xmm0
movsd qword [rsp + 0x50], xmm0
movss xmm2, dword [rsp + 0x50]
shufps xmm1, xmm1, 0x55
cmp byte [rsp + 0x43], 0
movss dword [rsi + 0x28], xmm2
movss dword [rsi + 0x2c], xmm1
je 0x18005a0dc
mov eax, r15d
mov dword [rsi + 0xd4], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18005a0dc
cmp byte [rsp + 0x42], 0
jne 0x18005a0dc
movsxd rax, dword [r14 + 0x48c8]
imul rcx, rax, 0x38
mov rax, qword [r14 + 0x48d0]
movss xmm0, dword [rcx + rax - 0x14]
movss xmm1, dword [rcx + rax - 0x10]
movss dword [rsi + 0x20], xmm0
movss dword [rsi + 0x24], xmm1
bt r15d, 0x18
jae 0x18005a162
lea rbx, [r12 + 0x190]
movzx eax, word [rbx]
mov word [rsi + 0xc6], ax
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x18005a129
inc r8d
test ecx, ecx
je 0x18005a112
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005a117
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.1800660b0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rsi
inc dword [rbx]
movzx ebx, byte [rsp + 0x42]
mov eax, dword [rsp + 0x48]
bt r15d, 0x1a
jb 0x18005a16b
test bl, bl
jne 0x18005a16b
cmp eax, 0x3000000
je 0x18005a16b
movsd xmm0, qword [r12 + 0x100]
movsd qword [rsi + 0x20], xmm0
jmp 0x18005a16b
movzx ebx, byte [rsp + 0x42]
mov eax, dword [rsp + 0x48]
movss xmm1, dword [rsi + 0xe0]
ucomiss xmm1, dword [0x1800a00d4]
jp 0x18005a17e
je 0x18005a1cf
cmp byte [rsi + 0xd9], 0
jne 0x18005a1cf
movss xmm0, dword [rsi + 0x28]
lea rdx, [rsp + 0x50]
mulss xmm0, dword [rsi + 0xe8]
xor r8d, r8d
mov rcx, rsi
subss xmm1, xmm0
movss xmm0, dword [rsi + 0xe4]
movss dword [rsp + 0x50], xmm1
movss xmm1, dword [rsi + 0xec]
mulss xmm1, dword [rsi + 0x2c]
subss xmm0, xmm1
movss dword [rsp + 0x54], xmm0
call fcn.18005bbc0
jmp 0x18005a219
bt r15d, 0x1c
jb 0x18005a1f9
bt r15d, 0x1a
jae 0x18005a1e7
test bl, bl
jne 0x18005a1e7
cmp byte [rsp + 0x45], bl
jg 0x18005a1f9
bt r15d, 0x19
jae 0x18005a219
test bl, bl
jne 0x18005a219
cmp eax, 0x3000000
je 0x18005a219
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.18005f720
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rsi + 0x20], xmm0
movss dword [rsi + 0x24], xmm1
movss xmm0, dword [rdi + 0x14]
movss xmm1, dword [rdi + 0x18]
movaps xmm7, xmm0
movss xmm8, dword [rdi + 4]
movaps xmm6, xmm1
movss xmm10, dword [rdi + 8]
movaps xmm5, xmm8
movss xmm3, dword [r14 + 0x3888]
movaps xmm4, xmm10
movss xmm2, dword [r14 + 0x3884]
movss dword [rsp + 0x70], xmm8
movss dword [rsp + 0x74], xmm10
addss xmm7, dword [rdi + 0x1c]
addss xmm6, dword [rdi + 0x20]
addss xmm5, dword [rdi + 0xc]
addss xmm4, dword [rdi + 0x10]
maxss xmm3, dword [r14 + 0x3890]
maxss xmm2, dword [r14 + 0x388c]
movss dword [rsp + 0x78], xmm5
movss dword [rsp + 0x7c], 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 bl, bl
jne 0x18005a367
bt r15d, 0x18
jb 0x18005a367
subss xmm5, xmm8
comiss xmm5, xmm9
jbe 0x18005a367
subss xmm4, xmm10
comiss xmm4, xmm9
jbe 0x18005a367
mov rax, qword [0x180174338]
movss xmm0, dword [rsi + 0x2c]
cmp byte [rax + 0x5f], bl
je 0x18005a332
test byte [rsi + 0x14], 1
jne 0x18005a332
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x368]
movss xmm1, dword [rcx + 0x3c34]
mulss xmm1, dword [rsi + 0x290]
test rax, rax
je 0x18005a322
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rcx + 0x3808]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rsi + 0x28]
subss xmm3, xmm0
movss xmm0, dword [rsi + 0x24]
comiss xmm3, xmm0
ja 0x18005a34c
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rsi + 0x20]
comiss xmm2, xmm0
ja 0x18005a35d
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [rsi + 0x20], xmm2
movss dword [rsi + 0x24], xmm3
cvttss2si eax, dword [rsi + 0x20]
movd xmm1, eax
cvttss2si eax, dword [rsi + 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rsi + 0x20], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x24], xmm0
bt r15d, 0x18
jae 0x18005a39b
movss xmm2, dword [r14 + 0x37f4]
jmp 0x18005a3be
mov eax, r15d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18005a3b5
movss xmm2, dword [r14 + 0x37fc]
jmp 0x18005a3be
movss xmm2, dword [r14 + 0x37d8]
xor dil, dil
movss dword [rsi + 0x58], xmm2
cmp byte [rsp + 0x43], dil
je 0x18005a3f3
bt r15d, 0xc
jb 0x18005a3f3
bt r15d, 0x1a
jae 0x18005a3e0
mov dil, 1
jmp 0x18005a3f3
test r15d, 0x3000000
movzx edi, dil
mov eax, 1
cmove edi, eax
addss xmm2, dword [0x18009ff8c]
xorps xmm0, xmm0
mov dword [rbp - 0x80], 0xffffffff
xor ebx, ebx
cmp byte [r14 + 0x5e], bl
mov r12d, ebx
movups xmmword [rbp + 0x30], xmm0
setne r12b
movss xmm0, dword [r14 + 0x3c30]
inc r12d
movaps xmm1, xmm0
mulss xmm0, dword [0x18009ff30]
mulss xmm1, dword [0x18009ff90]
addss xmm2, xmm0
maxss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm15, eax
cvtdq2ps xmm15, xmm15
cmp byte [rsi + 0xb9], bl
jne 0x18005a485
lea rax, [rbp + 0x10]
mov r9d, r12d
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x80]
lea rax, [rbp + 0x30]
mov rcx, rsi
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.1800577d0
test al, al
je 0x18005a485
mov r13b, 1
movzx ecx, r13b
jmp 0x18005a48a
movzx ecx, byte [rsp + 0x41]
movzx eax, byte [rbp - 0x80]
mov byte [rsi + 0xc1], al
cmp byte [rsi + 0xb9], bl
jne 0x18005a5dc
movss xmm0, dword [rsi + 0x6c]
movss xmm2, dword [rsi + 0x200]
movss xmm3, dword [rsi + 0x204]
addss xmm0, dword [rsi + 0x64]
subss xmm2, dword [rsi + 0x1f8]
subss xmm3, dword [rsi + 0x1fc]
movss xmm4, dword [rsi + 0x34]
movss xmm5, dword [rsi + 0x30]
subss xmm4, xmm0
addss xmm2, xmm11
addss xmm3, xmm12
cmp qword [rsp + 0x68], rbx
jne 0x18005a4f3
movaps xmm1, xmm9
movaps xmm0, xmm9
jmp 0x18005a50f
movss xmm1, dword [rsi + 0x50]
movss xmm0, dword [rsi + 0x54]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [rsi + 0x38]
addss xmm0, dword [rsi + 0x3c]
test cl, cl
jne 0x18005a516
movaps xmm5, xmm2
test r13b, r13b
jne 0x18005a51e
movaps xmm4, xmm3
bt r15d, 0xe
jb 0x18005a534
comiss xmm0, xmm4
jbe 0x18005a530
test r15b, 8
je 0x18005a534
xor cl, cl
jmp 0x18005a536
mov cl, 1
mov byte [rsi + 0xb5], cl
bt r15d, 0xf
jb 0x18005a57a
test cl, cl
je 0x18005a552
movss xmm2, dword [r14 + 0x383c]
jmp 0x18005a556
movaps xmm2, xmm9
subss xmm5, xmm2
comiss xmm1, xmm5
jbe 0x18005a56e
mov eax, r15d
and eax, 0x808
cmp eax, 0x800
je 0x18005a57a
mov byte [rsi + 0xb4], bl
movaps xmm1, xmm9
jmp 0x18005a5a5
mov byte [rsi + 0xb4], 1
test cl, cl
jne 0x18005a59c
comiss xmm0, xmm4
jbe 0x18005a594
test r15b, 8
jne 0x18005a594
mov cl, 1
jmp 0x18005a596
xor cl, cl
mov byte [rsi + 0xb5], cl
movss xmm1, dword [r14 + 0x383c]
test cl, cl
je 0x18005a5b4
movss xmm0, dword [r14 + 0x383c]
jmp 0x18005a5b8
movaps xmm0, xmm9
movss dword [rsi + 0xac], xmm0
addss xmm0, dword [rsi + 0x68]
movss dword [rsi + 0xb0], xmm1
addss xmm1, dword [rsi + 0x6c]
movss dword [rsi + 0x68], xmm0
movss dword [rsi + 0x6c], xmm1
mov eax, r15d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18005a602
cmp dword [rsp + 0x48], 0x3000000
je 0x18005a602
mov r13, qword [rbp - 0x78]
lea rax, [r13 + 0x238]
jmp 0x18005a60b
mov r13, qword [rbp - 0x78]
lea rax, [rsp + 0x70]
test byte [rsi + 0x14], 1
movss xmm5, dword [rsi + 0x20]
movups xmm4, xmmword [rax]
mov rcx, qword [rsi]
movss xmm3, dword [rsi + 0x24]
movaps xmm1, xmm5
addss xmm1, dword [rsi + 0x28]
movaps xmm2, xmm3
movss dword [rbp - 0x70], xmm5
addss xmm2, dword [rsi + 0x2c]
movups xmmword [rbp + 0x20], xmm4
je 0x18005a640
movaps xmm8, xmm9
jmp 0x18005a677
mov rax, qword [rsi + 0x368]
movss xmm0, dword [rcx + 0x3c34]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18005a664
mulss xmm0, dword [rax + 0x290]
movss xmm8, dword [rcx + 0x3808]
addss xmm8, xmm8
addss xmm8, xmm0
movss xmm6, dword [rsi + 0x24]
addss xmm8, xmm3
movss dword [rsp + 0x70], xmm5
movaps xmm0, xmm5
addss xmm0, dword [rsi + 0x30]
movss dword [rsp + 0x74], xmm6
movaps xmm7, xmm4
movaps xmm6, xmm4
shufps xmm7, xmm4, 0xaa
movss dword [rsp + 0x7c], xmm8
mov eax, r15d
shufps xmm6, xmm4, 0xff
and eax, 0x401
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x78], xmm0
movss dword [rsi + 0x1e8], xmm5
movaps xmm5, xmm4
movss dword [rsi + 0x1ec], xmm3
movss dword [rsi + 0x1f0], xmm1
movss dword [rsi + 0x1f4], xmm2
movss xmm0, dword [rsi + 0x1e8]
shufps xmm5, xmm4, 0x55
maxss xmm0, xmm4
maxss xmm3, xmm5
movss dword [rsi + 0x1e8], xmm0
movss dword [rsi + 0x1ec], xmm3
movss xmm1, dword [rsi + 0x1f0]
movss xmm0, dword [rsi + 0x1f4]
minss xmm1, xmm7
minss xmm0, xmm6
movss dword [rsi + 0x1f0], xmm1
movss dword [rsi + 0x1f4], xmm0
movss xmm11, dword [rsi + 0x20]
movss xmm12, dword [rsi + 0x24]
movaps xmm10, xmm11
movaps xmm14, xmm12
addss xmm11, dword [rsi + 0x28]
addss xmm12, dword [rsi + 0x2c]
addss xmm10, dword [rsi + 0x60]
addss xmm14, dword [rsi + 0x64]
subss xmm11, dword [rsi + 0x68]
subss xmm12, dword [rsi + 0x6c]
movss dword [rsi + 0x1f8], xmm10
movss dword [rsi + 0x1fc], xmm14
movss dword [rsi + 0x200], xmm11
movss dword [rsi + 0x204], xmm12
cmp eax, 1
jne 0x18005a796
movss xmm13, dword [rsi + 0x5c]
jmp 0x18005a79f
movss xmm13, dword [r14 + 0x3810]
movss xmm2, dword [0x18009ff54]
xorps xmm1, xmm1
movss xmm0, dword [rsi + 0x50]
addss xmm10, xmm2
mulss xmm0, xmm2
addss xmm14, xmm2
addss xmm11, xmm2
addss xmm12, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm14, xmm13
subss xmm12, dword [rsi + 0x5c]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rsi + 0x5c]
addss xmm10, xmm1
subss xmm11, xmm1
cvttss2si eax, xmm10
xorps xmm10, xmm10
cvtsi2ss xmm10, eax
cvttss2si eax, xmm14
movss dword [rsi + 0x208], xmm10
cvtsi2ss xmm0, eax
cvttss2si eax, xmm11
movss dword [rsi + 0x20c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm12
movss dword [rsi + 0x210], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rsi + 0x214], xmm0
movss xmm0, dword [rsi + 0x20c]
comiss xmm5, xmm0
jbe 0x18005a84e
movaps xmm1, xmm5
jmp 0x18005a855
movaps xmm1, xmm6
minss xmm1, xmm0
comiss xmm4, xmm10
jbe 0x18005a860
movaps xmm0, xmm4
jmp 0x18005a868
movaps xmm0, xmm7
minss xmm0, xmm10
movss dword [rsi + 0x208], xmm0
movss dword [rsi + 0x20c], xmm1
movss xmm0, dword [rsi + 0x214]
comiss xmm5, xmm0
ja 0x18005a88c
minss xmm6, xmm0
movaps xmm5, xmm6
movss xmm0, dword [rsi + 0x210]
comiss xmm4, xmm0
ja 0x18005a8a0
minss xmm7, xmm0
movaps xmm4, xmm7
movss dword [rsi + 0x210], xmm4
movss dword [rsi + 0x214], xmm5
movss xmm0, dword [rsi + 0x28]
comiss xmm0, xmm9
jbe 0x18005a8ce
test r15d, 0x2000040
jne 0x18005a8ce
mulss xmm0, dword [0x18009ff5c]
jmp 0x18005a8df
movss xmm0, dword [r14 + 0x3c30]
mulss xmm0, dword [0x1800a003c]
cvttss2si eax, xmm0
mov rdx, rsi
lea rcx, [rbp - 0x60]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x268], xmm0
movss xmm0, dword [rsi + 0x200]
subss xmm0, dword [rsi + 0x1f8]
movss xmm1, dword [rsi + 0x50]
movss xmm2, dword [rsi + 0x54]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rsi + 0x38]
addss xmm2, dword [rsi + 0x3c]
subss xmm1, xmm0
movaps xmm0, xmm9
maxss xmm0, xmm1
movss dword [rsi + 0x8c], xmm0
movss xmm0, dword [rsi + 0x204]
subss xmm0, dword [rsi + 0x1fc]
subss xmm2, xmm0
movaps xmm0, xmm9
maxss xmm0, xmm2
movss dword [rsi + 0x90], xmm0
call fcn.18005e870
mov rcx, qword [rsi + 0x298]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rsi + 0x84], xmm0
movss dword [rsi + 0x88], xmm1
mov dword [rsi + 0x94], 0x7f7fffff
mov dword [rsi + 0x98], 0x7f7fffff
mov qword [rsi + 0x70], rbx
mov rax, qword [r14 + 0x3c28]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.18006e990
mov rcx, qword [0x180174338]
lea r8, [rbp + 0x28]
xor r9d, r9d
lea rdx, [rbp + 0x20]
mov rax, qword [rcx + 0x3f08]
mov byte [rax + 0xb8], 1
mov rbx, qword [rcx + 0x3f08]
mov rcx, qword [rbx + 0x298]
call fcn.18006e880
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, r15d
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 0x18005aaee
cmp dword [rsp + 0x48], 0x3000000
je 0x18005aaee
movsxd rax, dword [r13 + 0x190]
cmp eax, 2
jl 0x18005aab7
mov rcx, rax
mov rax, qword [r13 + 0x198]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x18005aab7
movss xmm1, dword [rsi + 0x24]
movss xmm5, dword [rdx + 0x24]
movaps xmm2, xmm1
movss xmm7, dword [rdx + 0x20]
movaps xmm0, xmm5
addss xmm0, dword [rdx + 0x2c]
movss xmm6, dword [rsi + 0x20]
movaps xmm3, xmm7
addss xmm3, dword [rdx + 0x28]
addss xmm2, dword [rsi + 0x2c]
movaps xmm4, xmm6
comiss xmm0, xmm1
addss xmm4, dword [rsi + 0x28]
jbe 0x18005aab7
comiss xmm2, xmm5
jbe 0x18005aab7
comiss xmm3, xmm6
jbe 0x18005aab7
comiss xmm4, xmm7
jbe 0x18005aab7
mov r8b, 1
jmp 0x18005aaba
xor r8b, r8b
mov rdx, qword [rsi + 0x298]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x18005aaee
mov rax, qword [r13 + 0x298]
cmp dword [rax + 0x20], 0
je 0x18005aaee
test r8b, r8b
jne 0x18005aaee
mov bl, 1
mov qword [rsi + 0x298], rax
mov rax, qword [r14 + 0x4a88]
test rax, rax
jne 0x18005ab01
mov rax, qword [r14 + 0x4900]
test dil, dil
jne 0x18005ab20
test rax, rax
je 0x18005ab1b
mov rax, qword [rax + 0x388]
cmp qword [rsi + 0x388], rax
je 0x18005ab20
xor r8b, r8b
jmp 0x18005ab23
mov r8b, 1
movss dword [rsp + 0x30], xmm15
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x70]
mov rcx, rsi
mov dword [rsp + 0x20], r12d
call fcn.1800586e0
test bl, bl
je 0x18005ab57
lea rax, [rsi + 0x2a0]
mov qword [rsi + 0x298], rax
movss xmm4, dword [rsi + 0x48]
mov ecx, r15d
shr ecx, 3
not cl
and cl, 1
ucomiss xmm4, xmm9
jp 0x18005abb3
jne 0x18005abb3
movss xmm0, dword [rsi + 0x50]
mov eax, r15d
movss xmm1, dword [rsi + 0x28]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [rsi + 0x68]
addss xmm0, dword [rsi + 0x60]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x18005aba9
movss xmm7, dword [rsi + 0x38]
maxss xmm7, xmm1
jmp 0x18005abb6
movaps xmm7, xmm9
maxss xmm7, xmm1
jmp 0x18005abb6
movaps xmm7, xmm4
movss xmm5, dword [rsi + 0x4c]
ucomiss xmm5, xmm9
jp 0x18005abfc
jne 0x18005abfc
movss xmm0, dword [rsi + 0x54]
movss xmm1, dword [rsi + 0x2c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [rsi + 0x6c]
addss xmm0, dword [rsi + 0x64]
subss xmm1, xmm0
test cl, cl
je 0x18005abf2
movss xmm6, dword [rsi + 0x3c]
maxss xmm6, xmm1
jmp 0x18005abff
movaps xmm6, xmm9
maxss xmm6, xmm1
jmp 0x18005abff
movaps xmm6, xmm5
ucomiss xmm4, xmm9
movss xmm10, dword [rsi + 0x50]
movss xmm12, dword [rsi + 0x84]
movaps xmm1, xmm10
maxss xmm1, dword [rsi + 0x5c]
movss xmm0, dword [rsi + 0x1f8]
subss xmm0, xmm12
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [rsi + 0x218], xmm3
addss xmm3, xmm7
movss xmm11, dword [rsi + 0x54]
movss xmm13, dword [rsi + 0x88]
movaps xmm1, xmm11
movss xmm0, dword [rsi + 0x1fc]
maxss xmm1, dword [rsi + 0x5c]
subss xmm0, xmm13
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rsi + 0x21c], xmm2
addss xmm2, xmm6
movss dword [rsi + 0x220], xmm3
movss dword [rsi + 0x224], xmm2
movups xmm0, xmmword [rsi + 0x218]
movups xmmword [rsi + 0x228], xmm0
movss xmm14, dword [rsi + 0x20]
movss xmm6, dword [rsi + 0x60]
movaps xmm2, xmm14
subss xmm2, xmm12
addss xmm2, xmm10
addss xmm2, xmm6
movss dword [rsi + 0x248], xmm2
movss xmm15, dword [rsi + 0x24]
movss xmm7, dword [rsi + 0x64]
movaps xmm3, xmm15
subss xmm3, xmm13
addss xmm3, xmm11
addss xmm3, xmm7
movss dword [rsi + 0x24c], xmm3
jp 0x18005ad0d
jne 0x18005ad0d
movss xmm4, dword [rsi + 0x28]
movaps xmm0, xmm10
addss xmm0, xmm10
movaps xmm1, xmm6
addss xmm1, dword [rsi + 0x68]
subss xmm4, xmm0
subss xmm4, xmm1
ucomiss xmm5, xmm9
addss xmm4, xmm2
movss dword [rsi + 0x250], xmm4
jp 0x18005ad3f
jne 0x18005ad3f
movss xmm5, dword [rsi + 0x2c]
movaps xmm0, xmm11
addss xmm0, xmm11
movaps xmm1, xmm7
addss xmm1, dword [rsi + 0x6c]
subss xmm5, xmm0
subss xmm5, xmm1
xor r13d, r13d
addss xmm3, xmm5
cvtps2pd xmm2, xmm10
lea rcx, [rsi + 0x16c]
movss dword [rsi + 0x254], xmm3
movaps xmm0, xmm6
addss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x1a0]
cvtps2pd xmm3, xmm11
movaps xmm11, xmmword [rsp + 0x190]
subss xmm0, xmm12
cvtps2pd xmm1, xmm12
movss dword [rsi + 0x144], xmm0
movaps xmm12, xmmword [rsp + 0x180]
mov qword [rsi + 0x148], r13
cvtps2pd xmm0, xmm14
movaps xmm14, xmmword [rsp + 0x160]
addsd xmm2, xmm0
cvtps2pd xmm0, xmm6
subsd xmm2, xmm1
xorps xmm1, xmm1
addsd xmm2, xmm0
cvtps2pd xmm0, xmm15
movaps xmm15, xmmword [rsp + 0x150]
addsd xmm2, xmm1
addsd xmm3, xmm0
cvtps2pd xmm1, xmm13
movaps xmm13, xmmword [rsp + 0x170]
subsd xmm3, xmm1
cvtpd2ps xmm1, xmm2
cvtps2pd xmm0, xmm7
movss dword [rsi + 0x110], xmm1
addsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
movss dword [rsi + 0x114], xmm0
movss xmm0, dword [rsi + 0x110]
movss xmm1, dword [rsi + 0x114]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm2, xmm0
subsd xmm3, xmm1
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm0, xmm3
movss dword [rsi + 0x150], xmm2
movss dword [rsi + 0x154], xmm0
movss xmm0, dword [rsi + 0x114]
movss xmm1, dword [rsi + 0x110]
movss dword [rsi + 0x100], xmm1
movss dword [rsi + 0x104], xmm0
movss dword [rsi + 0x108], xmm1
movss dword [rsi + 0x10c], xmm0
movss dword [rsi + 0x118], xmm1
movss dword [rsi + 0x11c], xmm0
movss dword [rsi + 0x120], xmm1
movss dword [rsi + 0x124], xmm0
mov qword [rsi + 0x130], r13
mov qword [rsi + 0x128], r13
mov qword [rsi + 0x138], r13
mov word [rsi + 0x140], r13w
mov dword [rsi + 0x158], r13d
movzx eax, word [rsi + 0x15e]
mov word [rsi + 0x15c], ax
mov dword [rsi + 0x15e], 0x10000
movss xmm0, dword [rsi + 0x90]
comiss xmm0, xmm9
seta al
mov byte [rsi + 0x162], al
mov byte [rsi + 0x163], r13b
movss xmm0, dword [r14 + 0x3814]
cmp byte [rsp + 0x43], r13b
je 0x18005aef0
xor eax, eax
mov qword [rcx + 0x12], rax
cvttss2si eax, xmm0
mov word [rcx + 8], ax
call fcn.18007e1c0
xor r11d, r11d
mov qword [rcx + 0x12], r11
mov eax, dword [rcx + 4]
mov dword [rcx], eax
mov dword [rcx + 4], r13d
mov qword [rsi + 0x188], r13
mov ecx, dword [rsi + 0x194]
test ecx, ecx
jns 0x18005af3b
mov eax, ecx
cdq
sub eax, edx
mov edx, r13d
sar eax, 1
add eax, ecx
lea rcx, [rsi + 0x190]
test eax, eax
cmovg edx, eax
call fcn.1800660b0
mov r12, qword [rbp - 0x78]
lea rax, [rsi + 0x270]
mov dword [rsi + 0x190], r13d
mov ebx, 1
mov qword [rsi + 0x1a0], rax
mov qword [rsi + 0x1a8], r13
mov dword [rsi + 0x1b4], ebx
test r12, r12
je 0x18005af75
mov eax, dword [r12 + 0x1b4]
jmp 0x18005af77
mov eax, ebx
mov dword [rsi + 0x1b8], eax
lea rcx, [rsi + 0x1c8]
mov eax, dword [rsi + 0x268]
mov dword [rsi + 0x1bc], eax
mov dword [rsi + 0x1c0], 0xbf800000
call fcn.1800663e0
lea rcx, [rsi + 0x1d8]
call fcn.1800663e0
movzx eax, byte [rsi + 0xd0]
test al, al
jle 0x18005afbe
dec al
mov byte [rsi + 0xd0], al
movzx eax, byte [rsi + 0xd1]
test al, al
jle 0x18005afd1
dec al
mov byte [rsi + 0xd1], al
test dil, dil
je 0x18005aff6
mov edx, 2
mov rcx, rsi
call fcn.18005b610
cmp rsi, qword [r14 + 0x4900]
jne 0x18005aff6
xor edx, edx
mov rcx, rsi
call fcn.180060b00
movss xmm6, dword [rbp - 0x70]
movss xmm7, dword [rsp + 0x50]
test bl, r15b
jne 0x18005b041
movss xmm1, dword [rsp + 0x74]
lea rdx, [rbp - 0x60]
mov r8, qword [rbp - 0x68]
movaps xmm0, xmm6
addss xmm0, dword [rsi + 0x5c]
movss dword [rbp - 0x5c], xmm1
mov rcx, rsi
movaps xmm1, xmm7
movss dword [rbp - 0x54], xmm8
subss xmm1, dword [rsi + 0x5c]
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x58], xmm1
call fcn.180058e00
mov rdx, qword [0x180174338]
movss xmm2, dword [rsp + 0x74]
mov dword [rsi + 0x258], r13d
movss xmm1, dword [rdx + 0x382c]
movss xmm0, dword [rdx + 0x3830]
subss xmm6, xmm1
addss xmm7, xmm1
movss xmm1, dword [rdx + 0xe00]
addss xmm8, xmm0
subss xmm2, xmm0
comiss xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x1e0]
jb 0x18005b0a6
movss xmm0, dword [rdx + 0xe04]
comiss xmm0, xmm2
jb 0x18005b0a6
comiss xmm7, xmm1
jbe 0x18005b0a6
comiss xmm8, xmm0
mov r8d, ebx
ja 0x18005b0a9
mov r8d, r13d
mov eax, dword [rsi + 0x7c]
mov ecx, dword [r14 + 0x4788]
movups xmm0, xmmword [rsp + 0x70]
mov dword [rdx + 0x47a8], eax
movaps xmm8, xmmword [rsp + 0x1c0]
movaps xmm7, xmmword [rsp + 0x1d0]
movups xmmword [rdx + 0x47c4], xmm0
mov dword [rdx + 0x47ac], ecx
movups xmmword [rdx + 0x47b4], xmm0
mov dword [rdx + 0x47b0], r8d
mov eax, dword [r14 + 0x478c]
test eax, eax
je 0x18005b1a2
cmp dword [rsi + 0x10], eax
je 0x18005b107
cmp dword [rsi + 0x7c], eax
jne 0x18005b1a2
call fcn.1800654d0
jmp 0x18005b1a2
mov rdx, qword [0x180174338]
mov qword [rdx + 0x3f08], rsi
movsxd rax, dword [rsi + 0x1b0]
cmp eax, 0xffffffff
je 0x18005b13f
lea rcx, [rax + rax*8]
shl rcx, 6
add rcx, qword [rdx + 0x4ba0]
xor r13d, r13d
jmp 0x18005b145
xor r13d, r13d
mov ecx, r13d
mov qword [rdx + 0x4b78], rcx
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x3c34]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18005b173
mulss xmm0, dword [rax + 0x290]
movss dword [rdx + 0x3c48], xmm0
movss dword [rdx + 0x3c30], xmm0
test rcx, rcx
jne 0x18005b195
cmp qword [rsi + 0x1a8], rcx
jne 0x18005b195
mov al, 1
jmp 0x18005b197
xor al, al
mov byte [rsi + 0x160], al
mov ebx, 1
lea rdx, [rsi + 0x210]
mov r8b, 1
lea rcx, [rsi + 0x208]
call fcn.180055940
mov eax, dword [rsp + 0x58]
mov rdi, qword [rsp + 0x208]
mov byte [rsi + 0xb8], 0
inc word [rsi + 0xc2]
mov dword [r14 + 0x47e8], r13d
mov r13, qword [rsp + 0x1f8]
cmp eax, dword [rsp + 0x5c]
je 0x18005b345
bt r15d, 0x18
jae 0x18005b2b7
test r15b, 0x40
jne 0x18005b278
cmp byte [rsi + 0xd0], 0
jg 0x18005b278
cmp byte [rsi + 0xd1], 0
jg 0x18005b278
bt r15d, 0x17
jae 0x18005b23f
cmp byte [r14 + 0x4940], 0
je 0x18005b23f
mov rcx, qword [r14 + 0x4900]
test rcx, rcx
je 0x18005b23f
mov rax, qword [rsi + 0x390]
cmp qword [rcx + 0x390], rax
jne 0x18005b23f
mov al, 1
jmp 0x18005b241
xor al, al
cmp byte [r14 + 0x5cd8], 0
jne 0x18005b278
test al, al
jne 0x18005b278
movss xmm0, dword [rsi + 0x1e8]
comiss xmm0, dword [rsi + 0x1f0]
jae 0x18005b271
movss xmm0, dword [rsi + 0x1ec]
comiss xmm0, dword [rsi + 0x1f4]
jb 0x18005b278
mov byte [rsi + 0xd8], 1
test r12, r12
je 0x18005b2b7
cmp byte [r12 + 0xb9], 0
jne 0x18005b293
cmp byte [r12 + 0xd8], 0
jle 0x18005b29a
mov byte [rsi + 0xd8], 1
cmp byte [r12 + 0xb9], 0
jne 0x18005b2b0
cmp byte [r12 + 0xd9], 0
jle 0x18005b2b7
mov byte [rsi + 0xd9], 1
comiss xmm9, dword [r14 + 0x37c8]
jb 0x18005b2c8
mov byte [rsi + 0xd8], 1
cmp byte [rsi + 0xd8], 0
jg 0x18005b2e8
cmp byte [rsi + 0xd9], 0
jg 0x18005b2e8
xor cl, cl
cmp byte [rsi + 0xda], cl
jg 0x18005b2ea
xor al, al
jmp 0x18005b2ec
mov cl, 1
mov al, 1
mov byte [rsi + 0xbd], al
movzx eax, byte [rsi + 0xdb]
test al, al
jle 0x18005b30c
dec al
mov byte [rsi + 0xdb], al
or dword [rsi + 0x14], 0xc0200
xor al, al
cmp byte [rsi + 0xb9], al
jne 0x18005b322
cmp byte [rsi + 0xb6], al
je 0x18005b322
test cl, cl
je 0x18005b33f
cmp byte [rsi + 0xd0], al
jg 0x18005b33f
cmp byte [rsi + 0xd1], al
jg 0x18005b33f
cmp byte [rsi + 0xd9], 0
movzx eax, al
cmovle eax, ebx
mov byte [rsi + 0xbb], al
cmp byte [rsi + 0xbe], 0
movaps xmm9, xmmword [rsp + 0x1b0]
mov r15, qword [rsp + 0x1f0]
mov r12, qword [rsp + 0x200]
mov rbx, qword [rsp + 0x238]
jne 0x18005b3c0
cmp byte [r14 + 0x78], 0
je 0x18005b37e
cmp qword [rsp + 0x68], 0
je 0x18005b396
cmp byte [r14 + 0x79], 0
je 0x18005b3c0
movsx eax, byte [r14 + 0x5d4a]
cmp eax, dword [r14 + 0x3ed8]
jne 0x18005b3c0
movzx eax, byte [rsi + 0xd0]
test al, al
jle 0x18005b3a9
inc al
mov byte [rsi + 0xd0], al
movzx eax, byte [rsi + 0xd1]
test al, al
jle 0x18005b3bc
inc al
mov byte [rsi + 0xd1], al
xor al, al
jmp 0x18005b3ca
cmp byte [rsi + 0xbb], 0
sete al
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1800861d0
add rsp, 0x210
pop r14
pop rsi
pop rbp
ret