Function at 0x180012d90
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rbx, qword [0x1800ad600]
vmovaps xmmword [rax - 0x28], xmm6
vmovaps xmmword [rax - 0x38], xmm7
vmovaps xmmword [rax - 0x48], xmm8
mov edi, dword [rbx + 0x5f30]
sub edi, 1
vmovaps xmmword [rax - 0x58], xmm9
vmovaps xmmword [rax - 0x68], xmm10
vmovaps xmmword [rax - 0x78], xmm11
js 0x180012e36
movsxd rsi, edi
shl rsi, 5
mov rbp, rsi
mov rax, qword [rbx + 0x5f38]
cmp dword [rsi + rax + 4], 7
jne 0x180012e29
movsxd r8, dword [rbx + 0x5f30]
mov rcx, rax
mov rdx, rbp
sub rdx, rax
add rdx, rax
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 sub.VCRUNTIME140.dll_memmove
dec dword [rbx + 0x5f30]
sub rbp, 0x20
sub rsi, 0x20
sub edi, 1
jns 0x180012de0
mov rdi, qword [rbx + 0x5f38]
movsxd rsi, dword [rbx + 0x5f30]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x180012e68
cmp dword [rdi + 4], 0
jne 0x180012e5f
mov rdx, rdi
mov rcx, rbx
call qword [rdi + 0x10]
add rdi, 0x20
cmp rdi, rsi
jne 0x180012e50
mov rax, qword [0x1800ad600]
cmp byte [rax + 0x5e], 0
je 0x180012e7f
test byte [rax + 0xc], 2
jne 0x180012e7f
mov byte [rax + 0x5e], 0
mov rdi, qword [0x1800ad600]
cmp byte [rdi + 0x5ee8], 0
jne 0x180012f7c
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x180012f75
lea rdx, [0x180078200]
call fcn.18000c200
mov rsi, rax
test rax, rax
je 0x180012f75
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x180012f6c
xor edx, edx
mov r8d, 2
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180012f6c
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rbp, eax
cmp ebp, 0xffffffff
je 0x180012f6c
xor r8d, r8d
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180012f6c
cmp rbp, 0xffffffffffffffff
je 0x180012f6c
mov rcx, rbp
call fcn.18000eef0
mov r14, rax
test rax, rax
je 0x180012f6c
mov r9, rsi
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rsi
cmp rax, rbp
je 0x180012f4c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, r14
call fcn.18000efa0
jmp 0x180012f75
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rbp, rbp
je 0x180012f62
mov rdx, rbp
mov rcx, r14
call fcn.18000e940
mov rcx, r14
call fcn.18000efa0
jmp 0x180012f75
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rdi + 0x5ee8], 1
vmovss xmm0, dword [rdi + 0x5eec]
vxorps xmm6, xmm6, xmm6
xor esi, esi
vcomiss xmm0, xmm6
jbe 0x180012fc0
vsubss xmm0, xmm0, dword [rdi + 0x18]
vcomiss xmm6, xmm0
vmovss dword [rdi + 0x5eec], xmm0
jb 0x180012fc0
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x180012fb3
call fcn.1800179d0
jmp 0x180012fba
mov byte [rdi + 0xce], 1
mov dword [rdi + 0x5eec], esi
inc dword [rbx + 0x3f60]
vmovss xmm0, dword [rbx + 0x18]
vcvtss2sd xmm0, xmm0, xmm0
vaddsd xmm1, xmm0, qword [rbx + 0x3f58]
vmovsd qword [rbx + 0x3f58], xmm1
mov byte [rbx + 0x3f6c], 1
mov word [rbx + 0x5e38], si
mov dword [rbx + 0x3ff8], esi
mov ecx, dword [rbx + 0x5e54]
test ecx, ecx
jns 0x180013019
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5e50]
test eax, eax
cmovg edx, eax
call fcn.18001de80
vmovss xmm7, dword [0x180078498]
vmovss xmm11, dword [0x180078428]
mov dword [rbx + 0x5e50], esi
movsxd rax, dword [rbx + 0x616c]
vmovss xmm2, dword [rbx + 0x18]
vsubss xmm0, xmm2, dword [rbx + rax*4 + 0x607c]
vaddss xmm1, xmm0, dword [rbx + 0x6174]
vmovss dword [rbx + 0x6174], xmm1
vmovss dword [rbx + rax*4 + 0x607c], xmm2
mov ecx, dword [rbx + 0x616c]
mov eax, 0x88888889
vmovss xmm1, dword [rbx + 0x6174]
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 + 0x6170]
inc eax
mov dword [rbx + 0x616c], ecx
mov ecx, 0x3c
cmp eax, ecx
cmovl ecx, eax
vcomiss xmm1, xmm6
mov dword [rbx + 0x6170], ecx
jbe 0x1800130bb
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, ecx
vdivss xmm1, xmm1, xmm0
vdivss xmm2, xmm11, xmm1
jmp 0x1800130bf
vmovaps xmm2, xmm7
lea rcx, [rbx + 0x3f90]
xor edx, edx
vmovss dword [rbx + 0xd4], xmm2
call fcn.18001e300
movzx ecx, byte [rbx + 0x5a]
call fcn.18001a110
mov rdx, qword [0x1800ad600]
mov rax, qword [rdx + 0x4ad0]
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], esi
vmovsd xmm0, qword [rdx + 0x10]
vmovsd qword [rcx + 0xc], xmm0
mov rcx, qword [rdx + 0x4ad0]
movsxd rax, dword [rdx + 0x4ac8]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x1800131ac
nop
mov rax, qword [rcx]
add rcx, 8
vmovsd xmm4, qword [rax + 0xb8]
mov qword [rax + 0xb8], rsi
vmovsd xmm3, qword [rax + 0xc0]
mov qword [rax + 0xc0], rsi
vaddss xmm2, xmm4, dword [rax + 4]
vshufps xmm0, xmm4, xmm4, 0x55
vaddss xmm1, xmm0, dword [rax + 8]
vmovss xmm0, dword [rax + 0xc]
vmovss dword [rax + 0x18], xmm1
vsubss xmm1, xmm0, xmm4
vaddss xmm0, xmm1, xmm3
vmovss dword [rax + 0x14], xmm2
vmovss xmm2, dword [rax + 0x10]
vshufps xmm1, xmm4, xmm4, 0x55
vmovsd qword [rax + 0xb0], xmm3
vmaxss xmm3, xmm6, xmm0
vsubss xmm0, xmm2, xmm1
vmovsd qword [rax + 0xa8], xmm4
vaddss xmm2, xmm0, dword [rax + 0xb4]
vmaxss xmm1, xmm6, xmm2
vmovss dword [rax + 0x20], xmm1
vmovss dword [rax + 0x1c], xmm3
cmp rcx, rdx
jne 0x180013120
mov rax, qword [rbx + 0x38]
mov byte [rax + 0x18], 1
mov rax, qword [0x1800ad600]
mov rcx, qword [rax + 0x48]
test rcx, rcx
jne 0x1800131cf
mov rax, qword [rax + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
call fcn.180018210
mov rcx, qword [rbx + 0x4ad0]
movsxd rax, dword [rbx + 0x4ac8]
vmovss xmm8, dword [0x1800784a8]
vmovaps xmm5, xmm7
vmovaps xmm9, xmm7
lea rdx, [rcx + rax*8]
vmovaps xmm10, xmm8
cmp rcx, rdx
je 0x18001324d
mov rax, qword [rcx]
add rcx, 8
vmovss xmm1, dword [rax + 4]
vmovss xmm2, dword [rax + 8]
vaddss xmm3, xmm1, dword [rax + 0xc]
vaddss xmm4, xmm2, dword [rax + 0x10]
vcmpltss xmm0, xmm1, xmm5
vblendvps xmm5, xmm5, xmm1, xmm0
vcmpltss xmm0, xmm2, xmm9
vblendvps xmm9, xmm9, xmm2, xmm0
vcmpltss xmm0, xmm8, xmm3
vblendvps xmm8, xmm8, xmm3, xmm0
vcmpltss xmm0, xmm10, xmm4
vblendvps xmm10, xmm10, xmm4, xmm0
cmp rcx, rdx
jne 0x180013200
mov eax, dword [rbx + 0x39cc]
lea rcx, [rbx + 0x3d48]
vmovss xmm1, dword [rbx + 0x39d0]
vinsertps xmm5, xmm5, xmm9, 0x10
vinsertps xmm5, xmm5, xmm8, 0x20
vinsertps xmm5, xmm5, xmm10, 0x30
vmovups xmmword [rbx + 0x3d64], xmm5
mov dword [rbx + 0x3d5c], eax
call fcn.1800262e0
mov r8d, esi
mov dword [rbx + 0x3d74], esi
cmp byte [rbx + 0x39c8], sil
je 0x1800132a9
mov dword [rbx + 0x3d74], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x39c9], sil
je 0x1800132ce
mov rax, qword [rbx + 0x3d38]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x1800132ce
or edx, 2
mov dword [rbx + 0x3d74], edx
cmp byte [rbx + 0x39ca], sil
je 0x1800132e0
or edx, 4
mov dword [rbx + 0x3d74], edx
test byte [rbx + 0xc], 8
je 0x1800132ef
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 0x180013320
nop word [rax + rax]
mov rax, qword [rcx]
add rcx, 8
mov byte [rax + 0x48], sil
cmp rcx, rdx
jne 0x180013310
cmp byte [rbx + 0x4cf0], sil
je 0x18001335b
mov eax, dword [rbx + 0x4d0c]
cmp eax, dword [rbx + 0x406c]
jne 0x18001335b
mov rcx, qword [0x1800ad600]
cmp dword [rcx + 0x406c], eax
jne 0x18001334c
mov dword [rcx + 0x4070], eax
cmp dword [rcx + 0x4098], eax
jne 0x18001335b
mov byte [rcx + 0x409c], 1
cmp dword [rbx + 0x405c], esi
jne 0x18001336b
mov dword [rbx + 0x4064], esi
jmp 0x18001337d
mov eax, dword [rbx + 0x4058]
test eax, eax
je 0x180013383
cmp dword [rbx + 0x406c], eax
jne 0x180013383
mov dword [rbx + 0x4068], esi
mov eax, dword [rbx + 0x4058]
test eax, eax
je 0x1800133ba
vmovss xmm1, dword [rbx + 0x18]
vaddss xmm0, xmm1, dword [rbx + 0x4064]
vmovss dword [rbx + 0x4064], xmm0
cmp dword [rbx + 0x406c], eax
je 0x1800133ba
vaddss xmm0, xmm1, dword [rbx + 0x4068]
vmovss dword [rbx + 0x4068], xmm0
mov dword [rbx + 0x405c], eax
mov eax, dword [rbx + 0x406c]
mov dword [rbx + 0x4058], esi
mov word [rbx + 0x4060], si
test eax, eax
je 0x180013405
cmp dword [rbx + 0x4070], eax
je 0x180013405
cmp dword [rbx + 0x4098], eax
jne 0x180013405
test byte [rbx + 0x5fcc], 1
je 0x1800133fc
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.180008a40
xor edx, edx
xor ecx, ecx
call fcn.180017f50
mov ecx, dword [rbx + 0x406c]
test ecx, ecx
je 0x180013424
vmovss xmm0, dword [rbx + 0x18]
vaddss xmm1, xmm0, dword [rbx + 0x4074]
vmovss dword [rbx + 0x4074], xmm1
mov rax, qword [rbx + 0x4088]
vmovss xmm0, dword [rbx + 0x18]
vaddss xmm1, xmm0, dword [rbx + 0x40ac]
mov qword [rbx + 0x40a0], rax
movzx eax, byte [rbx + 0x407c]
mov byte [rbx + 0x409d], al
mov eax, dword [rbx + 0x5da8]
mov dword [rbx + 0x4098], ecx
mov dword [rbx + 0x4070], esi
mov byte [rbx + 0x407d], sil
mov byte [rbx + 0x409c], sil
mov byte [rbx + 0x4078], sil
vmovss dword [rbx + 0x40ac], xmm1
test eax, eax
je 0x180013489
cmp ecx, eax
je 0x180013489
mov dword [rbx + 0x5da8], esi
test ecx, ecx
jne 0x1800134a2
mov dword [rbx + 0x4940], esi
mov byte [rbx + 0x4944], sil
mov dword [rbx + 0x4948], esi
jmp 0x1800134d0
mov eax, dword [rbx + 0x4948]
test eax, eax
je 0x1800134d0
test al, 2
je 0x1800134d0
mov rcx, qword [0x1800ad600]
mov eax, dword [rbx + 0x406c]
mov dword [rcx + 0x415c], eax
mov dword [rcx + 0x4158], eax
mov word [rcx + 0x4160], si
mov ecx, dword [rbx + 0x4e60]
test ecx, ecx
je 0x1800134f4
vmovss xmm0, dword [rbx + 0x4e7c]
vcomiss xmm0, dword [rbx + 0x3d24]
jb 0x1800134fa
mov dword [rbx + 0x4e70], ecx
jmp 0x1800134fa
mov dword [rbx + 0x4e70], esi
mov rax, qword [rbx + 0x4010]
test rax, rax
je 0x180013523
vmovss xmm0, dword [rbx + 0x4e7c]
vcomiss xmm0, dword [rbx + 0x3d24]
jb 0x180013529
mov eax, dword [rax + 0x10]
mov dword [rbx + 0x4e74], eax
jmp 0x180013529
mov dword [rbx + 0x4e74], esi
mov dword [rbx + 0x4e64], ecx
vmovss xmm0, dword [rbx + 0x4e68]
test ecx, ecx
je 0x180013556
vaddss xmm0, xmm0, dword [rbx + 0x18]
vmovss dword [rbx + 0x4e68], xmm0
mov dword [rbx + 0x4e6c], esi
mov dword [rbx + 0x4e60], esi
jmp 0x18001358e
vcomiss xmm0, xmm6
jbe 0x18001358e
vmovss xmm0, dword [rbx + 0x18]
vaddss xmm2, xmm0, dword [rbx + 0x4e6c]
vaddss xmm1, xmm0, xmm0
vmovss xmm0, dword [0x1800783f4]
vmaxss xmm0, xmm0, xmm1
vcomiss xmm2, xmm0
vmovss dword [rbx + 0x4e6c], xmm2
jb 0x18001358e
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.18001a9b0
call fcn.180010520
call fcn.18001b1a0
call fcn.180019cc0
mov rdi, qword [0x1800ad600]
mov rcx, qword [rdi + 0x4020]
test rcx, rcx
je 0x1800136a1
mov eax, dword [rdi + 0x406c]
mov dword [rdi + 0x4070], eax
cmp dword [rdi + 0x4098], eax
jne 0x1800135f8
mov byte [rdi + 0x409c], 1
mov r9, qword [rcx + 0x388]
cmp byte [rdi + 0xe50], sil
je 0x180013698
lea rcx, [rdi + 0xe48]
test rcx, rcx
je 0x18001361d
mov rax, rcx
jmp 0x18001362a
mov rax, qword [0x1800ad600]
add rax, 0xe48
vmovss xmm0, dword [rax]
vmovss xmm1, dword [0x1800784a4]
vcomiss xmm0, xmm1
vmovss xmm2, dword [rax + 4]
jb 0x180013698
vcomiss xmm2, xmm1
jb 0x180013698
vmovss xmm0, dword [rcx]
vmovss xmm2, dword [rcx + 4]
vsubss xmm1, xmm0, dword [rdi + 0x4080]
vsubss xmm0, xmm2, dword [rdi + 0x4084]
mov r8d, 1
lea rdx, [rsp + 0xb0]
mov rcx, r9
vmovss dword [rsp + 0xb4], xmm0
vmovss dword [rsp + 0xb0], xmm1
call fcn.180018e20
mov rcx, qword [rdi + 0x4020]
xor edx, edx
call fcn.18000aca0
jmp 0x1800136e2
mov qword [rdi + 0x4020], rsi
jmp 0x1800136d9
mov rcx, qword [rdi + 0x4088]
test rcx, rcx
je 0x1800136e2
mov eax, dword [rdi + 0x406c]
cmp dword [rcx + 0x84], eax
jne 0x1800136e2
mov dword [rdi + 0x4070], eax
cmp dword [rdi + 0x4098], eax
jne 0x1800136d0
mov byte [rdi + 0x409c], 1
cmp byte [rdi + 0xe50], sil
jne 0x1800136e2
xor edx, edx
xor ecx, ecx
call fcn.180017f50
mov r8, qword [0x1800ad600]
mov eax, dword [r8 + 0x4a90]
sub eax, 1
js 0x18001372b
mov r8, qword [r8 + 0x4a98]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop word [rax + rax]
mov rax, qword [r8]
test rax, rax
je 0x180013721
test dword [rax + 0x14], 0x8000000
jne 0x180013742
sub r8, 0x38
sub rdx, 1
jns 0x180013710
cmp qword [rbx + 0x4cb8], rsi
je 0x18001375e
vmovss xmm0, dword [rbx + 0x4cd4]
vcomiss xmm0, xmm6
jbe 0x18001375e
vmovss xmm0, dword [rbx + 0x18]
vmulss xmm0, xmm0, dword [0x18007844c]
vaddss xmm1, xmm0, dword [rbx + 0x4cec]
vminss xmm2, xmm1, xmm11
jmp 0x18001377b
vmovss xmm0, dword [rbx + 0x18]
vmulss xmm1, xmm0, dword [0x18007845c]
vmovss xmm0, dword [rbx + 0x4cec]
vsubss xmm2, xmm0, xmm1
vmaxss xmm2, xmm2, xmm6
vmovss dword [rbx + 0x4cec], xmm2
vmovups xmm0, xmmword [rbx + 0x5ec8]
vmovups xmmword [rbx + 0x5ed8], xmm0
mov dword [rbx + 0x4e78], esi
mov qword [rbx + 0x617c], 0xffffffffffffffff
mov dword [rbx + 0x6178], 0xffffffff
mov byte [rbx + 0x5ec8], sil
call fcn.18001b880
cmp byte [rbx + 0x3f6f], sil
jne 0x1800137de
vmovss xmm1, dword [rbx + 0x60]
vcomiss xmm6, xmm1
ja 0x1800137de
vmovsd xmm0, qword [rbx + 0x3f58]
vcvtpd2ps xmm0, xmm0
vsubss xmm7, xmm0, xmm1
mov r14, qword [rbx + 0x3fb0]
movsxd rax, dword [rbx + 0x3fa8]
lea rbp, [r14 + rax*8]
cmp r14, rbp
je 0x18001390b
nop dword [rax]
mov rdi, qword [r14]
movzx ecx, byte [rdi + 0xbe]
movzx eax, word [rdi + 0xcc]
mov byte [rdi + 0xbf], cl
mov byte [rdi + 0xbe], sil
mov byte [rdi + 0xc0], sil
mov word [rdi + 0xce], ax
mov word [rdi + 0xcc], si
test cl, cl
jne 0x1800138fe
cmp byte [rdi + 0x3f4], sil
jne 0x1800138fe
vcomiss xmm7, dword [rdi + 0x274]
jbe 0x1800138fe
mov rcx, qword [rdi + 0x2a8]
mov byte [rdi + 0x3f4], 1
mov eax, dword [rcx + 0x14]
mov dword [rdi + 0x3ec], eax
mov eax, dword [rcx + 0x24]
mov dword [rdi + 0x3f0], eax
mov rcx, qword [rdi + 0x108]
test rcx, rcx
je 0x180013895
mov qword [rdi + 0x100], rsi
call fcn.18000efa0
mov qword [rdi + 0x108], rsi
mov rcx, qword [rdi + 0x2a8]
call fcn.1800270b0
mov rcx, qword [rdi + 0x1a8]
test rcx, rcx
je 0x1800138c0
mov qword [rdi + 0x1a0], rsi
call fcn.18000efa0
mov qword [rdi + 0x1a8], rsi
mov rcx, qword [rdi + 0x1e0]
test rcx, rcx
je 0x1800138df
mov qword [rdi + 0x1d8], rsi
call fcn.18000efa0
mov qword [rdi + 0x1e0], rsi
mov rcx, qword [rdi + 0x1f0]
test rcx, rcx
je 0x1800138fe
mov qword [rdi + 0x1e8], rsi
call fcn.18000efa0
mov qword [rdi + 0x1f0], rsi
add r14, 8
cmp r14, rbp
jne 0x180013800
mov edi, esi
cmp dword [rbx + 0x4df0], esi
jle 0x18001395c
mov rbp, rsi
nop dword [rax + rax]
mov rax, qword [rbx + 0x4df8]
vmovss xmm0, dword [rax + rbp]
vcomiss xmm0, xmm6
jb 0x18001394e
vcomiss xmm7, xmm0
jbe 0x18001394e
movsxd rax, edi
imul rcx, rax, 0x250
add rcx, qword [rbx + 0x4dd0]
call fcn.180031e00
inc edi
add rbp, 4
cmp edi, dword [rbx + 0x4df0]
jl 0x180013920
mov rdi, qword [rbx + 0x4dc0]
movsxd rax, dword [rbx + 0x4db8]
imul rbp, rax, 0x78
add rbp, rdi
cmp rdi, rbp
je 0x1800139a2
nop word [rax + rax]
vmovss xmm0, dword [rdi + 4]
vcomiss xmm0, xmm6
jb 0x180013999
vcomiss xmm7, xmm0
jbe 0x180013999
mov rcx, rdi
call fcn.180031ed0
add rdi, 0x78
cmp rdi, rbp
jne 0x180013980
cmp byte [rbx + 0x3f6f], sil
je 0x1800139f5
mov rdi, qword [0x1800ad600]
mov rcx, qword [rdi + 0x4a78]
test rcx, rcx
je 0x1800139d1
mov qword [rdi + 0x4a70], rsi
call fcn.18000efa0
mov qword [rdi + 0x4a78], rsi
mov rcx, qword [rdi + 0x4a88]
test rcx, rcx
je 0x1800139f0
mov qword [rdi + 0x4a80], rsi
call fcn.18000efa0
mov qword [rdi + 0x4a88], rsi
call fcn.180031c00
mov rax, qword [rbx + 0x4ad8]
mov byte [rbx + 0x3f6f], sil
test rax, rax
je 0x180013a67
cmp byte [rax + 0xbf], sil
jne 0x180013a67
mov rcx, qword [0x1800ad600]
mov eax, dword [rcx + 0x3fb8]
sub eax, 1
js 0x180013a5b
movsxd rdx, eax
mov rax, qword [rcx + 0x3fc0]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x180013a51
cmp byte [rcx + 0xbf], sil
je 0x180013a51
mov eax, dword [rcx + 0x14]
and eax, 0x10200
cmp eax, 0x10200
jne 0x180013a5d
sub r8, 8
sub rdx, 1
jns 0x180013a31
xor ecx, ecx
mov edx, 1
call fcn.18000aca0
mov ecx, dword [rbx + 0x3fdc]
test ecx, ecx
jns 0x180013acc
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 0x180013acc
movsxd rax, edi
imul rcx, rax, 0x58
call fcn.18000eef0
mov rdx, qword [rbx + 0x3fe0]
mov rbp, rax
test rdx, rdx
je 0x180013abf
movsxd rcx, dword [rbx + 0x3fd8]
imul r8, rcx, 0x58
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x3fe0]
call fcn.18000efa0
mov qword [rbx + 0x3fe0], rbp
mov dword [rbx + 0x3fdc], edi
lea rcx, [rbx + 0x4aa0]
mov dword [rbx + 0x3fd8], esi
xor edx, edx
call fcn.18001e250
lea rdi, [rbx + 0x4a70]
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x180013b06
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.18001de80
mov dword [rdi], esi
cmp dword [rdi + 4], esi
jne 0x180013b1a
mov edx, 8
mov rcx, rdi
call fcn.18001de80
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.18001e250
call fcn.180019a70
mov rdi, qword [0x1800ad600]
mov dword [rdi + 0x4054], esi
mov eax, dword [rdi + 0x6018]
inc eax
cmp dword [rdi + 0x3f60], eax
jne 0x180013c25
mov ebp, dword [rdi + 0x405c]
test ebp, ebp
jne 0x180013b6a
mov ebp, dword [rdi + 0x406c]
cmp dword [rdi + 0x6020], ebp
je 0x180013bae
mov dword [rdi + 0x6020], ebp
mov dword [rdi + 0x601c], 0xffffffff
mov ecx, dword [rdi + 0x602c]
test ecx, ecx
jns 0x180013ba8
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x6028]
test eax, eax
cmovg edx, eax
call fcn.18001dfd0
mov dword [rdi + 0x6028], esi
test ebp, ebp
je 0x180013c25
movsxd rcx, dword [rdi + 0x601c]
test ecx, ecx
js 0x180013be9
mov eax, ecx
cmp ecx, dword [rdi + 0x6028]
jge 0x180013bfc
mov r8, qword [rdi + 0x6030]
lea rdx, [rcx + rcx*8]
cmp byte [r8 + rdx*8 + 5], sil
jne 0x180013be1
cmp byte [r8 + rdx*8 + 4], 2
jle 0x180013bfc
inc ecx
mov dword [rdi + 0x601c], ecx
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x180013bf8
mov dword [rdi + 0x4054], ebp
jmp 0x180013c25
test ecx, ecx
js 0x180013c25
cmp eax, dword [rdi + 0x6028]
jge 0x180013c25
cdqe
lea rdx, [rax + rax*8]
mov rax, qword [rdi + 0x6030]
mov ecx, dword [rax + rdx*8]
mov dword [rdi + 0x4054], ecx
mov rax, qword [rdi + 0x6030]
inc byte [rax + rdx*8 + 4]
movzx eax, byte [rbx + 0x5ff9]
test al, al
je 0x180013c40
sub al, 1
mov byte [rbx + 0x5ff9], al
jne 0x180013c40
mov dword [rbx + 0x4954], esi
movzx eax, byte [rbx + 0x5ff8]
test al, al
je 0x180013c68
sub al, 1
mov byte [rbx + 0x5ff8], al
jne 0x180013c68
lea rcx, str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.180008a40
and dword [rbx + 0x5fcc], 0xffffffef
mov byte [rbx + 0x3f6d], 1
lea rcx, str.DebugDefault
mov rax, qword [0x1800ad600]
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.1800039b0
cmp byte [rbx + 0x79], sil
je 0x180013cf4
movsx ecx, byte [rbx + 0x5ffa]
cmp cl, 0xff
je 0x180013cf7
mov eax, dword [rbx + 0x3f60]
and eax, 0x80000003
jge 0x180013cd2
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 0x180013cf7
mov sil, 0xff
mov byte [rbx + 0x5ffa], sil
mov rdi, qword [rbx + 0x5f38]
movsxd rsi, dword [rbx + 0x5f30]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x180013d30
cmp dword [rdi + 4], 1
jne 0x180013d27
mov rdx, rdi
mov rcx, rbx
call qword [rdi + 0x10]
add rdi, 0x20
cmp rdi, rsi
jne 0x180013d18
vmovaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
vmovaps xmm6, xmmword [r11 - 0x10]
vmovaps xmm8, xmmword [r11 - 0x30]
vmovaps xmm9, xmmword [r11 - 0x40]
vmovaps xmm10, xmmword [r11 - 0x50]
vmovaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret