Function at 0x140010270
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rbx, qword [0x140098730]
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov edi, dword [rbx + 0x5f18]
sub edi, 1
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
js 0x140010313
movsxd rsi, edi
shl rsi, 5
mov rbp, rsi
nop dword [rax + rax]
mov rdx, qword [rbx + 0x5f20]
cmp dword [rsi + rdx + 4], 7
jne 0x140010306
movsxd r8, dword [rbx + 0x5f18]
mov rcx, rdx
sub rdx, rdx
add rdx, rbp
sar rdx, 5
sub r8, rdx
mov rax, rdx
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call fcn.140043610
dec dword [rbx + 0x5f18]
sub rbp, 0x20
sub rsi, 0x20
sub edi, 1
jns 0x1400102c0
mov rdi, qword [rbx + 0x5f20]
movsxd rsi, dword [rbx + 0x5f18]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x140010348
nop dword [rax]
cmp dword [rdi + 4], 0
jne 0x14001033f
mov rdx, rdi
mov rcx, rbx
call qword [rdi + 0x10]
add rdi, 0x20
cmp rdi, rsi
jne 0x140010330
mov rax, qword [0x140098730]
cmp byte [rax + 0x5e], 0
je 0x14001035f
test byte [rax + 0xc], 2
jne 0x14001035f
mov byte [rax + 0x5e], 0
mov rbp, qword [0x140098730]
cmp byte [rbp + 0x5ed0], 0
jne 0x140010452
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14001044b
lea rdx, [0x140075124]
call fcn.14000a460
mov rdi, rax
test rax, rax
je 0x14001044b
mov rcx, rax
call fcn.140049538
mov r14d, eax
cmp eax, 0xffffffff
je 0x140010443
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.140048e74
test eax, eax
jne 0x140010443
mov rcx, rdi
call fcn.140049538
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140010443
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call fcn.140048e74
test eax, eax
jne 0x140010443
cmp rsi, 0xffffffffffffffff
je 0x140010443
mov rcx, rsi
call fcn.14000c330
mov r14, rax
test rax, rax
je 0x140010443
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call fcn.140048aa4
mov rcx, rdi
cmp rax, rsi
je 0x140010424
call fcn.1400483bc
mov rcx, r14
call fcn.14000c3e0
jmp 0x14001044b
call fcn.1400483bc
test rsi, rsi
je 0x140010439
mov rdx, rsi
mov rcx, r14
call fcn.14000bdd0
mov rcx, r14
call fcn.14000c3e0
jmp 0x14001044b
mov rcx, rdi
call fcn.1400483bc
mov byte [rbp + 0x5ed0], 1
movss xmm0, dword [rbp + 0x5ed4]
xorps xmm9, xmm9
xor esi, esi
comiss xmm0, xmm9
jbe 0x140010496
subss xmm0, dword [rbp + 0x18]
comiss xmm9, xmm0
movss dword [rbp + 0x5ed4], xmm0
jb 0x140010496
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140010489
call fcn.1400147e0
jmp 0x140010490
mov byte [rbp + 0xce], 1
mov dword [rbp + 0x5ed4], esi
inc dword [rbx + 0x3f60]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x3f6c], 1
mov word [rbx + 0x5e24], si
mov dword [rbx + 0x3ff8], esi
addsd xmm0, qword [rbx + 0x3f58]
movsd qword [rbx + 0x3f58], xmm0
mov ecx, dword [rbx + 0x5e3c]
test ecx, ecx
jns 0x1400104ee
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5e38]
test eax, eax
cmovg edx, eax
call fcn.14001a370
movss xmm8, dword [0x140075360]
movss xmm10, dword [0x140075308]
mov dword [rbx + 0x5e38], esi
movsxd rax, dword [rbx + 0x6154]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x6064]
addss xmm0, dword [rbx + 0x615c]
movss dword [rbx + 0x615c], xmm0
movss dword [rbx + rax*4 + 0x6064], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x6154]
movss xmm2, dword [rbx + 0x615c]
inc ecx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3c
sub ecx, eax
mov eax, dword [rbx + 0x6158]
inc eax
mov dword [rbx + 0x6154], ecx
mov ecx, 0x3c
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm9
mov dword [rbx + 0x6158], ecx
jbe 0x140010598
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x14001059c
movaps xmm1, xmm8
lea rcx, [rbx + 0x3f90]
movss dword [rbx + 0xd4], xmm1
xor edx, edx
call fcn.14001a7f0
movzx ecx, byte [rbx + 0x5a]
call fcn.1400169a0
mov rdx, qword [0x140098730]
mov rax, qword [rdx + 0x4ad0]
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], esi
movsd xmm0, qword [rdx + 0x10]
movsd qword [rcx + 0xc], xmm0
mov rcx, qword [rdx + 0x4ad0]
movsxd rax, dword [rdx + 0x4ac8]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x14001069b
nop dword [rax + rax]
mov rax, qword [rcx]
movaps xmm3, xmm9
add rcx, 8
movsd xmm4, qword [rax + 0xb8]
movsd xmm2, qword [rax + 0xc0]
movaps xmm1, xmm4
movsd qword [rax + 0xb0], xmm2
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
mov qword [rax + 0xc0], rsi
mov qword [rax + 0xb8], rsi
movsd qword [rax + 0xa8], xmm4
addss xmm0, dword [rax + 8]
addss xmm1, dword [rax + 4]
movss dword [rax + 0x18], xmm0
movaps xmm0, xmm4
movss dword [rax + 0x14], xmm1
movss xmm1, dword [rax + 0xc]
shufps xmm0, xmm0, 0x55
subss xmm1, xmm4
addss xmm1, xmm2
movss xmm2, dword [rax + 0x10]
subss xmm2, xmm0
movaps xmm0, xmm9
maxss xmm3, xmm1
addss xmm2, dword [rax + 0xb4]
movss dword [rax + 0x1c], xmm3
maxss xmm0, xmm2
movss dword [rax + 0x20], xmm0
cmp rcx, rdx
jne 0x140010600
mov rax, qword [rbx + 0x38]
mov byte [rax + 0x18], 1
mov rax, qword [0x140098730]
mov rcx, qword [rax + 0x48]
test rcx, rcx
jne 0x1400106be
mov rax, qword [rax + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
call fcn.140015090
mov rcx, qword [rbx + 0x4ad0]
movaps xmm7, xmm8
movsxd rax, dword [rbx + 0x4ac8]
movaps xmm6, xmm8
movss xmm4, dword [0x14007536c]
movaps xmm5, xmm4
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x140010736
nop dword [rax]
mov rax, qword [rcx]
movss xmm3, dword [rax + 4]
comiss xmm7, xmm3
movss xmm2, dword [rax + 8]
movaps xmm0, xmm3
addss xmm0, dword [rax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rax + 0x10]
jbe 0x140010715
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x14001071d
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x140010725
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x14001072d
movaps xmm5, xmm1
add rcx, 8
cmp rcx, rdx
jne 0x1400106f0
movss dword [rbx + 0x3d64], xmm7
lea rcx, [rbx + 0x3d48]
movss dword [rbx + 0x3d68], xmm6
movss dword [rbx + 0x3d6c], xmm4
movss dword [rbx + 0x3d70], xmm5
mov eax, dword [rbx + 0x39cc]
movss xmm1, dword [rbx + 0x39d0]
mov dword [rbx + 0x3d5c], eax
call fcn.140022630
mov r8d, esi
mov dword [rbx + 0x3d74], esi
cmp byte [rbx + 0x39c8], sil
je 0x140010798
mov dword [rbx + 0x3d74], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x39c9], sil
je 0x1400107bd
mov rax, qword [rbx + 0x3d38]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x1400107bd
or edx, 2
mov dword [rbx + 0x3d74], edx
cmp byte [rbx + 0x39ca], sil
je 0x1400107cf
or edx, 4
mov dword [rbx + 0x3d74], edx
test byte [rbx + 0xc], 8
je 0x1400107de
or edx, 8
mov dword [rbx + 0x3d74], edx
mov rcx, qword [rbx + 0x4ad0]
movsxd rax, dword [rbx + 0x4ac8]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x140010810
nop word [rax + rax]
mov rax, qword [rcx]
add rcx, 8
mov byte [rax + 0x48], sil
cmp rcx, rdx
jne 0x140010800
cmp byte [rbx + 0x4cf0], sil
je 0x14001084b
mov eax, dword [rbx + 0x4d0c]
cmp eax, dword [rbx + 0x4068]
jne 0x14001084b
mov rcx, qword [0x140098730]
cmp dword [rcx + 0x4068], eax
jne 0x14001083c
mov dword [rcx + 0x406c], eax
cmp dword [rcx + 0x4098], eax
jne 0x14001084b
mov byte [rcx + 0x409c], 1
lea rax, [rbx + 0x4054]
mov ecx, dword [rax]
cmp dword [rbx + 0x4058], esi
jne 0x140010864
mov dword [rbx + 0x4060], esi
jmp 0x140010875
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x140010880
cmp dword [rbx + 0x4068], ecx
jne 0x140010880
mov dword [rbx + 0x4064], esi
mov edx, ecx
mov r8, rax
movss xmm1, dword [rbx + 0x18]
test edx, edx
je 0x1400108b7
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x4060]
movss dword [rbx + 0x4060], xmm0
cmp dword [rbx + 0x4068], edx
je 0x1400108b7
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x4064]
movss dword [rbx + 0x4064], xmm0
mov eax, dword [rbx + 0x4068]
movaps xmm2, xmm1
mov dword [rbx + 0x4058], edx
mov dword [r8], esi
mov word [rbx + 0x405c], si
test eax, eax
je 0x140010907
cmp dword [rbx + 0x406c], eax
je 0x140010907
cmp dword [rbx + 0x4098], eax
jne 0x140010907
test byte [rbx + 0x5fb4], 1
je 0x1400108f9
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.1400078b0
xor edx, edx
xor ecx, ecx
call fcn.140014e60
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x4068]
test ecx, ecx
je 0x140010924
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x4070]
movss dword [rbx + 0x4070], xmm0
mov rax, qword [rbx + 0x4088]
addss xmm2, dword [rbx + 0x40ac]
mov qword [rbx + 0x40a0], rax
movzx eax, byte [rbx + 0x4078]
mov byte [rbx + 0x409d], al
mov eax, dword [rbx + 0x5da8]
movss dword [rbx + 0x40ac], xmm2
mov dword [rbx + 0x4098], ecx
mov dword [rbx + 0x406c], esi
mov byte [rbx + 0x4079], sil
mov byte [rbx + 0x409c], sil
mov byte [rbx + 0x4074], sil
test eax, eax
je 0x140010984
cmp ecx, eax
je 0x140010984
mov dword [rbx + 0x5da8], esi
test ecx, ecx
jne 0x14001099d
mov dword [rbx + 0x4940], esi
mov byte [rbx + 0x4944], sil
mov dword [rbx + 0x4948], esi
jmp 0x1400109c5
mov eax, dword [rbx + 0x4948]
test eax, eax
je 0x1400109c5
test al, 2
je 0x1400109c5
mov rax, qword [0x140098730]
mov dword [rax + 0x415c], ecx
mov dword [rax + 0x4158], ecx
mov word [rax + 0x4160], si
mov edx, dword [rbx + 0x4e60]
mov r8, rbx
mov eax, 0x4e7c
mov r9, rbx
mov ecx, 0x3d24
test edx, edx
je 0x1400109f8
movss xmm0, dword [rbx + 0x4e7c]
comiss xmm0, dword [rbx + 0x3d24]
jb 0x1400109fe
mov dword [rbx + 0x4e70], edx
jmp 0x1400109fe
mov dword [rbx + 0x4e70], esi
mov r10, qword [rbx + 0x4010]
test r10, r10
je 0x140010a23
movss xmm0, dword [r8 + rax]
comiss xmm0, dword [r9 + rcx]
jb 0x140010a29
mov eax, dword [r10 + 0x10]
mov dword [rbx + 0x4e74], eax
jmp 0x140010a29
mov dword [rbx + 0x4e74], esi
movss xmm0, dword [rbx + 0x4e68]
mov dword [rbx + 0x4e64], edx
test edx, edx
je 0x140010a56
addss xmm0, dword [rbx + 0x18]
mov dword [rbx + 0x4e6c], esi
mov dword [rbx + 0x4e60], esi
movss dword [rbx + 0x4e68], xmm0
jmp 0x140010a90
comiss xmm0, xmm9
jbe 0x140010a90
movss xmm2, dword [rbx + 0x18]
movss xmm0, dword [0x1400752d4]
movaps xmm1, xmm2
addss xmm1, dword [rbx + 0x4e6c]
addss xmm2, xmm2
movss dword [rbx + 0x4e6c], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x140010a90
mov qword [rbx + 0x4e68], rsi
mov eax, dword [rbx + 0x4d5c]
mov dword [rbx + 0x4d60], eax
mov qword [rbx + 0x4d58], 0x7f7fffff
mov word [rbx + 0x4cf1], si
mov dword [rbx + 0x4d68], esi
call fcn.140017220
call fcn.14000d990
call fcn.1400179e0
call fcn.140016570
mov rdi, qword [0x140098730]
mov rcx, qword [rdi + 0x4020]
test rcx, rcx
je 0x140010ba1
mov eax, dword [rdi + 0x4068]
mov dword [rdi + 0x406c], eax
cmp dword [rdi + 0x4098], eax
jne 0x140010afa
mov byte [rdi + 0x409c], 1
mov r9, qword [rcx + 0x378]
cmp byte [rdi + 0xe50], sil
je 0x140010b98
lea rcx, [rdi + 0xe48]
test rcx, rcx
je 0x140010b1f
mov rax, rcx
jmp 0x140010b2c
mov rax, qword [0x140098730]
add rax, 0xe48
movss xmm0, dword [rax]
movss xmm1, dword [0x140075368]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140010b98
comiss xmm2, xmm1
jb 0x140010b98
movss xmm0, dword [rcx]
lea rdx, [rsp + 0x90]
movss xmm1, dword [rcx + 4]
mov r8d, 1
subss xmm0, dword [rdi + 0x407c]
subss xmm1, dword [rdi + 0x4080]
mov rcx, r9
movss dword [rsp + 0x90], xmm0
movss dword [rsp + 0x94], xmm1
call fcn.140015750
mov rcx, qword [rdi + 0x4020]
xor edx, edx
call fcn.1400092f0
jmp 0x140010bdf
mov qword [rdi + 0x4020], rsi
jmp 0x140010bd6
mov rcx, qword [rdi + 0x4088]
test rcx, rcx
je 0x140010bdf
mov eax, dword [rdi + 0x4068]
cmp dword [rcx + 0x7c], eax
jne 0x140010bdf
mov dword [rdi + 0x406c], eax
cmp dword [rdi + 0x4098], eax
jne 0x140010bcd
mov byte [rdi + 0x409c], 1
cmp byte [rdi + 0xe50], sil
jne 0x140010bdf
xor edx, edx
xor ecx, ecx
call fcn.140014e60
mov r8, qword [0x140098730]
mov eax, dword [r8 + 0x4a90]
sub eax, 1
js 0x140010c22
mov r8, qword [r8 + 0x4a98]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x140010c18
test dword [rax + 0x14], 0x8000000
jne 0x140010c39
sub r8, 0x38
sub rdx, 1
jns 0x140010c07
cmp qword [rbx + 0x4cb8], rsi
je 0x140010c55
movss xmm0, dword [rbx + 0x4cd4]
comiss xmm0, xmm9
jbe 0x140010c55
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x140075328]
addss xmm1, dword [rbx + 0x4cec]
minss xmm1, xmm10
jmp 0x140010c73
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x140075334]
movss xmm1, dword [rbx + 0x4cec]
subss xmm1, xmm0
maxss xmm1, xmm9
movss dword [rbx + 0x4cec], xmm1
movups xmm0, xmmword [rbx + 0x5eb0]
mov dword [rbx + 0x4e78], esi
mov qword [rbx + 0x6164], 0xffffffffffffffff
movups xmmword [rbx + 0x5ec0], xmm0
mov dword [rbx + 0x6160], 0xffffffff
mov byte [rbx + 0x5eb0], sil
call fcn.140018090
cmp byte [rbx + 0x3f6f], sil
jne 0x140010cd7
movss xmm0, dword [rbx + 0x60]
comiss xmm9, xmm0
ja 0x140010cd7
movsd xmm8, qword [rbx + 0x3f58]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov r14, qword [rbx + 0x3fb0]
movsxd rax, dword [rbx + 0x3fa8]
lea rbp, [r14 + rax*8]
cmp r14, rbp
je 0x140010dfd
mov rdi, qword [r14]
movzx ecx, byte [rdi + 0xb6]
movzx eax, word [rdi + 0xc2]
mov byte [rdi + 0xb7], cl
mov byte [rdi + 0xb6], sil
mov byte [rdi + 0xb8], sil
mov word [rdi + 0xc4], ax
mov word [rdi + 0xc2], si
test cl, cl
jne 0x140010df0
cmp byte [rdi + 0x3e4], sil
jne 0x140010df0
comiss xmm8, dword [rdi + 0x264]
jbe 0x140010df0
mov rcx, qword [rdi + 0x298]
mov byte [rdi + 0x3e4], 1
mov eax, dword [rcx + 0x14]
mov dword [rdi + 0x3dc], eax
mov eax, dword [rcx + 0x24]
mov dword [rdi + 0x3e0], eax
mov rcx, qword [rdi + 0xf8]
test rcx, rcx
je 0x140010d87
mov qword [rdi + 0xf0], rsi
call fcn.14000c3e0
mov qword [rdi + 0xf8], rsi
mov rcx, qword [rdi + 0x298]
call fcn.140023260
mov rcx, qword [rdi + 0x198]
test rcx, rcx
je 0x140010db2
mov qword [rdi + 0x190], rsi
call fcn.14000c3e0
mov qword [rdi + 0x198], rsi
mov rcx, qword [rdi + 0x1d0]
test rcx, rcx
je 0x140010dd1
mov qword [rdi + 0x1c8], rsi
call fcn.14000c3e0
mov qword [rdi + 0x1d0], rsi
mov rcx, qword [rdi + 0x1e0]
test rcx, rcx
je 0x140010df0
mov qword [rdi + 0x1d8], rsi
call fcn.14000c3e0
mov qword [rdi + 0x1e0], rsi
add r14, 8
cmp r14, rbp
jne 0x140010cf2
mov edi, esi
cmp dword [rbx + 0x4df0], esi
jle 0x140010e4c
mov rbp, rsi
nop word [rax + rax]
mov rax, qword [rbx + 0x4df8]
movss xmm0, dword [rax + rbp]
comiss xmm0, xmm9
jb 0x140010e3e
comiss xmm8, xmm0
jbe 0x140010e3e
movsxd rax, edi
imul rcx, rax, 0x250
add rcx, qword [rbx + 0x4dd0]
call fcn.14002dd50
inc edi
add rbp, 4
cmp edi, dword [rbx + 0x4df0]
jl 0x140010e10
mov rdi, qword [rbx + 0x4dc0]
movsxd rax, dword [rbx + 0x4db8]
imul rbp, rax, 0x78
add rbp, rdi
cmp rdi, rbp
je 0x140010e92
nop word [rax + rax]
movss xmm0, dword [rdi + 4]
comiss xmm0, xmm9
jb 0x140010e89
comiss xmm8, xmm0
jbe 0x140010e89
mov rcx, rdi
call fcn.14002de20
add rdi, 0x78
cmp rdi, rbp
jne 0x140010e70
cmp byte [rbx + 0x3f6f], sil
je 0x140010ee5
mov rdi, qword [0x140098730]
mov rcx, qword [rdi + 0x4a78]
test rcx, rcx
je 0x140010ec1
mov qword [rdi + 0x4a70], rsi
call fcn.14000c3e0
mov qword [rdi + 0x4a78], rsi
mov rcx, qword [rdi + 0x4a88]
test rcx, rcx
je 0x140010ee0
mov qword [rdi + 0x4a80], rsi
call fcn.14000c3e0
mov qword [rdi + 0x4a88], rsi
call fcn.14002db50
mov rax, qword [rbx + 0x4ad8]
mov byte [rbx + 0x3f6f], sil
test rax, rax
je 0x140010f57
cmp byte [rax + 0xb7], sil
jne 0x140010f57
mov rcx, qword [0x140098730]
mov eax, dword [rcx + 0x3fb8]
sub eax, 1
js 0x140010f4b
movsxd rdx, eax
mov rax, qword [rcx + 0x3fc0]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x140010f41
cmp byte [rcx + 0xb7], sil
je 0x140010f41
mov eax, dword [rcx + 0x14]
and eax, 0x40200
cmp eax, 0x40200
jne 0x140010f4d
sub r8, 8
sub rdx, 1
jns 0x140010f21
xor ecx, ecx
mov edx, 1
call fcn.1400092f0
mov ecx, dword [rbx + 0x3fdc]
test ecx, ecx
jns 0x140010fbc
mov eax, ecx
mov edi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg edi, eax
cmp edi, ecx
jle 0x140010fbc
movsxd rax, edi
imul rcx, rax, 0x58
call fcn.14000c330
mov rdx, qword [rbx + 0x3fe0]
mov rbp, rax
test rdx, rdx
je 0x140010faf
movsxd rcx, dword [rbx + 0x3fd8]
imul r8, rcx, 0x58
mov rcx, rax
call fcn.140043610
mov rcx, qword [rbx + 0x3fe0]
call fcn.14000c3e0
mov qword [rbx + 0x3fe0], rbp
mov dword [rbx + 0x3fdc], edi
lea rcx, [rbx + 0x4aa0]
mov dword [rbx + 0x3fd8], esi
xor edx, edx
call fcn.14001a740
lea rdi, [rbx + 0x4a70]
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x140010ff6
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.14001a370
mov dword [rdi], esi
cmp dword [rdi + 4], esi
jne 0x14001100a
mov edx, 8
mov rcx, rdi
call fcn.14001a370
movsxd rcx, dword [rdi]
xor edx, edx
mov rax, qword [rdi + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rbx + 0x4a80]
inc dword [rdi]
call fcn.14001a740
call fcn.140016330
mov rdi, qword [0x140098730]
mov dword [rdi + 0x4050], esi
mov eax, dword [rdi + 0x6000]
inc eax
cmp dword [rdi + 0x3f60], eax
jne 0x14001110d
mov ebp, dword [rdi + 0x4058]
test ebp, ebp
jne 0x14001105a
mov ebp, dword [rdi + 0x4068]
lea r14, [rdi + 0x6010]
cmp dword [rdi + 0x6008], ebp
je 0x14001109c
mov dword [rdi + 0x6008], ebp
mov dword [rdi + 0x6004], 0xffffffff
mov ecx, dword [r14 + 4]
test ecx, ecx
jns 0x140011099
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, r14
test eax, eax
cmovg edx, eax
call fcn.14001a4c0
mov dword [r14], esi
test ebp, ebp
je 0x14001110d
movsxd rcx, dword [rdi + 0x6004]
test ecx, ecx
js 0x1400110d4
mov eax, ecx
cmp ecx, dword [r14]
jge 0x1400110e7
mov r8, qword [rdi + 0x6018]
lea rdx, [rcx + rcx*8]
cmp byte [r8 + rdx*8 + 5], sil
jne 0x1400110cc
cmp byte [r8 + rdx*8 + 4], 2
jle 0x1400110e7
inc ecx
mov dword [rdi + 0x6004], ecx
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x1400110e3
mov dword [rdi + 0x4050], ebp
jmp 0x14001110d
test ecx, ecx
js 0x14001110d
cmp eax, dword [r14]
jge 0x14001110d
cdqe
lea rdx, [rax + rax*8]
mov rax, qword [rdi + 0x6018]
mov ecx, dword [rax + rdx*8]
mov dword [rdi + 0x4050], ecx
mov rax, qword [rdi + 0x6018]
inc byte [rax + rdx*8 + 4]
movzx eax, byte [rbx + 0x5fe1]
test al, al
je 0x140011128
sub al, 1
mov byte [rbx + 0x5fe1], al
jne 0x140011128
mov dword [rbx + 0x4954], esi
movzx eax, byte [rbx + 0x5fe0]
test al, al
je 0x140011150
sub al, 1
mov byte [rbx + 0x5fe0], al
jne 0x140011150
lea rcx, str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.1400078b0
and dword [rbx + 0x5fb4], 0xffffffef
mov byte [rbx + 0x3f6d], 1
lea rcx, str.DebugDefault
mov rax, qword [0x140098730]
xor r8d, r8d
xor edx, edx
or dword [rax + 0x49b8], 2
mov dword [rax + 0x49d8], 0x43c80000
mov dword [rax + 0x49dc], 0x43c80000
mov dword [rax + 0x49c0], 4
call fcn.140003950
cmp byte [rbx + 0x79], sil
je 0x1400111dc
movsx ecx, byte [rbx + 0x5fe2]
cmp cl, 0xff
je 0x1400111df
mov eax, dword [rbx + 0x3f60]
and eax, 0x80000003
jge 0x1400111ba
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
mov eax, 0x66666667
sete sil
add esi, ecx
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub esi, eax
jmp 0x1400111df
mov sil, 0xff
mov byte [rbx + 0x5fe2], sil
mov rdi, qword [rbx + 0x5f20]
movsxd rsi, dword [rbx + 0x5f18]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x140011218
cmp dword [rdi + 4], 1
jne 0x14001120f
mov rdx, rdi
mov rcx, rbx
call qword [rdi + 0x10]
add rdi, 0x20
cmp rdi, rsi
jne 0x140011200
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r15
pop r14
pop rdi
ret