Function at 0x14001baa0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rbx, qword [0x1404fda48]
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], r12
mov qword [rax - 0x20], r14
mov edi, dword [rbx + 0x5f28]
sub edi, 1
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
js 0x14001bb46
movsxd rsi, edi
shl rsi, 5
mov rbp, rsi
nop word [rax + rax]
mov rax, qword [rbx + 0x5f30]
cmp dword [rsi + rax + 4], 7
jne 0x14001bb39
movsxd r8, dword [rbx + 0x5f28]
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 + 0x5f28]
sub rbp, 0x20
sub rsi, 0x20
sub edi, 1
jns 0x14001baf0
mov rdi, qword [rbx + 0x5f30]
movsxd rsi, dword [rbx + 0x5f28]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x14001bb78
cmp dword [rdi + 4], 0
jne 0x14001bb6f
mov rdx, rdi
mov rcx, rbx
call qword [rdi + 0x10]
add rdi, 0x20
cmp rdi, rsi
jne 0x14001bb60
mov rax, qword [0x1404fda48]
cmp byte [rax + 0x5e], 0
je 0x14001bb8f
test byte [rax + 0xc], 2
jne 0x14001bb8f
mov byte [rax + 0x5e], 0
mov rsi, qword [0x1404fda48]
xor edi, edi
mov qword [rsp + 0x80], r15
lea r12d, [rdi + 1]
cmp byte [rsi + 0x5ee0], dil
jne 0x14001bd1d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14001bd16
lea rdx, [0x1400d1310]
call fcn.140015600
mov rbp, rax
test rax, rax
je 0x14001bd16
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r15d, eax
cmp eax, 0xffffffff
je 0x14001bd0d
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001bd0d
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd r14, eax
cmp r14d, 0xffffffff
je 0x14001bd0d
xor r8d, r8d
mov edx, r15d
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001bd0d
cmp r14, 0xffffffffffffffff
je 0x14001bd0d
mov rcx, r14
call fcn.140017c30
mov r15, rax
test rax, rax
je 0x14001bd0d
mov r9, rbp
mov r8, r14
mov edx, r12d
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbp
cmp rax, r14
je 0x14001bc7a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, r15
call fcn.140017ce0
jmp 0x14001bd16
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14001bc90
mov rdx, r14
mov rcx, r15
call fcn.1400176b0
mov r8, qword [0x1404fda48]
test r8, r8
je 0x14001bcfb
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r9d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001bcf0
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], edi
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rdx, qword [0x1404fda58]
mov rcx, r15
call qword [case.0x140017d5e.0]
jmp 0x14001bd16
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rsi + 0x5ee0], r12b
movss xmm0, dword [rsi + 0x5ee4]
xorps xmm9, xmm9
comiss xmm0, xmm9
jbe 0x14001bdba
subss xmm0, dword [rsi + 0x18]
comiss xmm9, xmm0
movss dword [rsi + 0x5ee4], xmm0
jb 0x14001bdba
mov rbp, qword [rsi + 0x20]
test rbp, rbp
je 0x14001bdad
mov rax, qword [0x1404fda48]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
mov dword [rax + 0x5ee4], edi
call fcn.140020c20
lea rdx, [0x1400d1314]
mov rcx, rbp
mov r14, rax
call fcn.140015600
mov rbp, rax
test rax, rax
je 0x14001bdb4
mov r8, qword [rsp + 0xb0]
mov r9, rax
mov rdx, r12
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001bdb4
mov byte [rsi + 0xce], r12b
mov dword [rsi + 0x5ee4], edi
inc dword [rbx + 0x3f70]
movss xmm1, dword [rbx + 0x18]
cvtps2pd xmm0, xmm1
mov byte [rbx + 0x3f7c], r12b
mov word [rbx + 0x5e34], di
mov dword [rbx + 0x4008], edi
addsd xmm0, qword [rbx + 0x3f68]
movsd qword [rbx + 0x3f68], xmm0
mov ecx, dword [rbx + 0x5e4c]
test ecx, ecx
jns 0x14001bedd
mov eax, ecx
mov esi, edi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x14001bedd
movsxd rcx, esi
shl rcx, 2
call fcn.140017c30
mov rdx, qword [rbx + 0x5e50]
mov rbp, rax
test rdx, rdx
je 0x14001becb
movsxd r8, dword [rbx + 0x5e48]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov r9, qword [rbx + 0x5e50]
test r9, r9
je 0x14001bebb
mov r8, qword [0x1404fda48]
test r8, r8
je 0x14001bebb
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r10d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x14001beb0
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], edi
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rdx, qword [0x1404fda58]
mov rcx, r9
call qword [case.0x140017d5e.0]
mov qword [rbx + 0x5e50], rbp
mov dword [rbx + 0x5e4c], esi
movss xmm1, dword [rbx + 0x18]
movss xmm8, dword [0x1400d1580]
movaps xmm0, xmm1
mov dword [rbx + 0x5e48], edi
movsxd rax, dword [rbx + 0x6164]
subss xmm0, dword [rbx + rax*4 + 0x6074]
addss xmm0, dword [rbx + 0x616c]
movss dword [rbx + 0x616c], xmm0
movss dword [rbx + rax*4 + 0x6074], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x6164]
movss xmm2, dword [rbx + 0x616c]
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 + 0x6168]
inc eax
mov dword [rbx + 0x6164], ecx
mov ecx, 0x3c
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm9
mov dword [rbx + 0x6168], ecx
jbe 0x14001bf7d
movss xmm1, dword [0x1400d150c]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x14001bf81
movaps xmm1, xmm8
lea rcx, [rbx + 0x3fa0]
movss dword [rbx + 0xd4], xmm1
xor edx, edx
call fcn.140029680
movzx ecx, byte [rbx + 0x5a]
call fcn.140024950
mov rdx, qword [0x1404fda48]
mov rax, qword [rdx + 0x4ae0]
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], edi
movsd xmm0, qword [rdx + 0x10]
movsd qword [rcx + 0xc], xmm0
mov rcx, qword [rdx + 0x4ae0]
movsxd rax, dword [rdx + 0x4ad8]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x14001c082
mov rax, qword [rcx]
add rcx, 8
movsd xmm2, qword [rax + 0xb8]
movsd xmm3, qword [rax + 0xc0]
movss xmm1, dword [rax + 4]
movsd qword [rax + 0xa8], xmm2
addss xmm1, xmm2
mov qword [rax + 0xc0], rdi
movsd xmm0, qword [rax + 0xc0]
movsd qword [rax + 0xb8], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm0, 0x55
movss dword [rax + 0x14], xmm1
movaps xmm1, xmm9
movsd qword [rax + 0xb0], xmm3
addss xmm0, dword [rax + 8]
movss dword [rax + 0x18], xmm0
movss xmm0, dword [rax + 0xc]
subss xmm0, xmm2
movaps xmm2, xmm9
addss xmm0, xmm3
maxss xmm2, xmm0
movss xmm0, dword [rax + 0x10]
subss xmm0, dword [rax + 0xac]
addss xmm0, dword [rax + 0xb4]
movss dword [rax + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [rax + 0x20], xmm1
cmp rcx, rdx
jne 0x14001bfe0
mov rax, qword [rbx + 0x38]
mov byte [rax + 0x18], r12b
mov rax, qword [0x1404fda48]
mov rcx, qword [rax + 0x48]
test rcx, rcx
jne 0x14001c0a5
mov rax, qword [rax + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
call fcn.140021470
mov rcx, qword [rbx + 0x4ae0]
movaps xmm0, xmm8
movsxd rax, dword [rbx + 0x4ad8]
movaps xmm7, xmm8
movss xmm5, dword [0x1400d1590]
movaps xmm6, xmm5
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x14001c126
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
movss xmm4, dword [rax + 4]
comiss xmm0, xmm4
movss xmm3, dword [rax + 8]
movaps xmm1, xmm4
addss xmm1, dword [rax + 0xc]
movaps xmm2, xmm3
addss xmm2, dword [rax + 0x10]
jbe 0x14001c105
movaps xmm0, xmm4
comiss xmm7, xmm3
jbe 0x14001c10d
movaps xmm7, xmm3
comiss xmm1, xmm5
jbe 0x14001c115
movaps xmm5, xmm1
comiss xmm2, xmm6
jbe 0x14001c11d
movaps xmm6, xmm2
add rcx, 8
cmp rcx, rdx
jne 0x14001c0e0
mov eax, dword [rbx + 0x39cc]
lea rcx, [rbx + 0x3d58]
movss xmm1, dword [rbx + 0x39d0]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm7
mov dword [rbx + 0x3d6c], eax
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm5
shufps xmm0, xmm0, 0x27
movss xmm0, xmm6
shufps xmm0, xmm0, 0x39
movups xmmword [rbx + 0x3d74], xmm0
call fcn.140031550
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov dword [rbx + 0x3d84], edi
cmp byte [rbx + 0x39c8], dil
je 0x14001c18f
mov dword [rbx + 0x3d84], r12d
mov r8d, r12d
mov edx, r8d
cmp byte [rbx + 0x39c9], dil
je 0x14001c1b4
mov rax, qword [rbx + 0x3d48]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x14001c1b4
or edx, 2
mov dword [rbx + 0x3d84], edx
cmp byte [rbx + 0x39ca], dil
je 0x14001c1c6
or edx, 4
mov dword [rbx + 0x3d84], edx
test byte [rbx + 0xc], 8
je 0x14001c1d5
or edx, 8
mov dword [rbx + 0x3d84], edx
mov rcx, qword [rbx + 0x4ae0]
movsxd rax, dword [rbx + 0x4ad8]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x14001c200
nop dword [rax]
mov rax, qword [rcx]
add rcx, 8
mov byte [rax + 0x48], dil
cmp rcx, rdx
jne 0x14001c1f0
cmp byte [rbx + 0x4d00], dil
je 0x14001c23b
mov eax, dword [rbx + 0x4d1c]
cmp eax, dword [rbx + 0x4078]
jne 0x14001c23b
mov rcx, qword [0x1404fda48]
cmp dword [rcx + 0x4078], eax
jne 0x14001c22c
mov dword [rcx + 0x407c], eax
cmp dword [rcx + 0x40a8], eax
jne 0x14001c23b
mov byte [rcx + 0x40ac], r12b
mov eax, dword [rbx + 0x4064]
cmp dword [rbx + 0x4068], edi
jne 0x14001c251
mov dword [rbx + 0x4070], edi
jmp 0x14001c25f
mov ecx, eax
test eax, eax
je 0x14001c267
cmp dword [rbx + 0x4078], eax
jne 0x14001c26b
mov dword [rbx + 0x4074], edi
mov ecx, eax
test ecx, ecx
je 0x14001c29f
movss xmm1, dword [rbx + 0x18]
mov eax, dword [rbx + 0x4078]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x4070]
movss dword [rbx + 0x4070], xmm0
cmp eax, ecx
je 0x14001c2a5
addss xmm1, dword [rbx + 0x4074]
movss dword [rbx + 0x4074], xmm1
jmp 0x14001c2a5
mov eax, dword [rbx + 0x4078]
mov dword [rbx + 0x4068], ecx
lea rbp, [0x1400cf198]
mov dword [rbx + 0x4064], edi
mov word [rbx + 0x406c], di
test eax, eax
je 0x14001c3d5
cmp dword [rbx + 0x407c], eax
je 0x14001c3d5
cmp dword [rbx + 0x40a8], eax
jne 0x14001c3d5
test byte [rbx + 0x5fc4], r12b
je 0x14001c2f4
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.140012020
mov rsi, qword [0x1404fda48]
mov edx, dword [rsi + 0x4078]
test edx, edx
je 0x14001c351
mov rax, qword [rsi + 0x4030]
mov ecx, edx
test rax, rax
je 0x14001c33a
cmp edx, dword [rax + 0x7c]
jne 0x14001c33a
test byte [rsi + 0x5fc4], r12b
je 0x14001c333
lea rcx, str.SetActiveID___cancel_MovingWindow_n
call fcn.140012020
mov ecx, dword [rsi + 0x4078]
mov qword [rsi + 0x4030], rdi
mov edx, ecx
cmp dword [rsi + 0x4ea0], ecx
jne 0x14001c34f
call fcn.14003f420
mov edx, dword [rsi + 0x4078]
test edx, edx
setne al
mov byte [rsi + 0x4084], al
test edx, edx
je 0x14001c3a7
test byte [rsi + 0x5fc4], r12b
je 0x14001c390
mov rax, qword [rsi + 0x4098]
test rax, rax
je 0x14001c379
mov r8, qword [rax + 8]
jmp 0x14001c37c
mov r8, rbp
xor r9d, r9d
mov qword [rsp + 0x20], rbp
lea rcx, str.SetActiveID___old:0x_08X__window___s______new:0x_08X__window___s___n
call fcn.140012020
mov dword [rsi + 0x4080], edi
mov word [rsi + 0x4087], di
mov dword [rsi + 0x40a4], 0xffffffff
mov dword [rsi + 0x4078], edi
mov word [rsi + 0x4085], di
mov qword [rsi + 0x4098], rdi
mov byte [rsi + 0x4089], dil
mov dword [rsi + 0x4950], edi
mov byte [rsi + 0x4954], dil
mov dword [rsi + 0x4958], edi
mov ecx, dword [rbx + 0x4078]
test ecx, ecx
je 0x14001c3f4
movss xmm0, dword [rbx + 0x4080]
addss xmm0, dword [rbx + 0x18]
movss dword [rbx + 0x4080], xmm0
mov rax, qword [rbx + 0x4098]
movss xmm0, dword [rbx + 0x40bc]
addss xmm0, dword [rbx + 0x18]
mov qword [rbx + 0x40b0], rax
movzx eax, byte [rbx + 0x4088]
mov byte [rbx + 0x40ad], al
mov eax, dword [rbx + 0x5db8]
movss dword [rbx + 0x40bc], xmm0
mov dword [rbx + 0x40a8], ecx
mov dword [rbx + 0x407c], edi
mov byte [rbx + 0x4089], dil
mov byte [rbx + 0x40ac], dil
mov byte [rbx + 0x4084], dil
test eax, eax
je 0x14001c459
cmp ecx, eax
je 0x14001c459
mov dword [rbx + 0x5db8], edi
test ecx, ecx
jne 0x14001c472
mov dword [rbx + 0x4950], edi
mov byte [rbx + 0x4954], dil
mov dword [rbx + 0x4958], edi
jmp 0x14001c49a
mov eax, dword [rbx + 0x4958]
test eax, eax
je 0x14001c49a
test al, 2
je 0x14001c49a
mov rax, qword [0x1404fda48]
mov dword [rax + 0x416c], ecx
mov dword [rax + 0x4168], ecx
mov word [rax + 0x4170], di
mov ecx, dword [rbx + 0x4e70]
test ecx, ecx
je 0x14001c4bd
movss xmm0, dword [rbx + 0x4e8c]
comiss xmm0, dword [rbx + 0x3d34]
jb 0x14001c4c3
mov dword [rbx + 0x4e80], ecx
jmp 0x14001c4c3
mov dword [rbx + 0x4e80], edi
mov rax, qword [rbx + 0x4020]
test rax, rax
je 0x14001c4eb
movss xmm0, dword [rbx + 0x4e8c]
comiss xmm0, dword [rbx + 0x3d34]
jb 0x14001c4f1
mov eax, dword [rax + 0x10]
mov dword [rbx + 0x4e84], eax
jmp 0x14001c4f1
mov dword [rbx + 0x4e84], edi
movss xmm0, dword [rbx + 0x4e78]
mov dword [rbx + 0x4e74], ecx
test ecx, ecx
je 0x14001c51e
addss xmm0, dword [rbx + 0x18]
mov dword [rbx + 0x4e7c], edi
mov dword [rbx + 0x4e70], edi
movss dword [rbx + 0x4e78], xmm0
jmp 0x14001c558
comiss xmm0, xmm9
jbe 0x14001c558
movss xmm2, dword [rbx + 0x18]
movss xmm0, dword [0x1400d14d0]
movaps xmm1, xmm2
addss xmm1, dword [rbx + 0x4e7c]
addss xmm2, xmm2
movss dword [rbx + 0x4e7c], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x14001c558
mov qword [rbx + 0x4e78], rdi
mov eax, dword [rbx + 0x4d6c]
mov dword [rbx + 0x4d70], eax
mov qword [rbx + 0x4d68], 0x7f7fffff
mov word [rbx + 0x4d01], di
mov dword [rbx + 0x4d78], edi
call fcn.140025390
call fcn.140019250
call fcn.140025af0
call fcn.140024500
mov rsi, qword [0x1404fda48]
mov rcx, qword [rsi + 0x4030]
test rcx, rcx
je 0x14001c669
mov eax, dword [rsi + 0x4078]
mov dword [rsi + 0x407c], eax
cmp dword [rsi + 0x40a8], eax
jne 0x14001c5c2
mov byte [rsi + 0x40ac], r12b
mov r9, qword [rcx + 0x378]
cmp byte [rsi + 0xe50], dil
je 0x14001c660
lea rcx, [rsi + 0xe48]
test rcx, rcx
je 0x14001c5e7
mov rax, rcx
jmp 0x14001c5f4
mov rax, qword [0x1404fda48]
add rax, 0xe48
movss xmm0, dword [rax]
movss xmm1, dword [0x1400d158c]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14001c660
comiss xmm2, xmm1
jb 0x14001c660
movss xmm0, dword [rcx]
lea rdx, [rsp + 0xb0]
movss xmm1, dword [rcx + 4]
mov r8d, r12d
subss xmm0, dword [rsi + 0x408c]
subss xmm1, dword [rsi + 0x4090]
mov rcx, r9
movss dword [rsp + 0xb0], xmm0
movss dword [rsp + 0xb4], xmm1
call fcn.140021e20
mov rcx, qword [rsi + 0x4030]
xor edx, edx
call fcn.140014340
jmp 0x14001c78b
mov qword [rsi + 0x4030], rdi
jmp 0x14001c6aa
mov rcx, qword [rsi + 0x4098]
test rcx, rcx
je 0x14001c78b
mov eax, dword [rsi + 0x4078]
cmp dword [rcx + 0x7c], eax
jne 0x14001c78b
mov dword [rsi + 0x407c], eax
cmp dword [rsi + 0x40a8], eax
jne 0x14001c69d
mov byte [rsi + 0x40ac], r12b
cmp byte [rsi + 0xe50], dil
jne 0x14001c78b
mov rsi, qword [0x1404fda48]
mov edx, dword [rsi + 0x4078]
test edx, edx
je 0x14001c707
mov rax, qword [rsi + 0x4030]
mov ecx, edx
test rax, rax
je 0x14001c6f0
cmp edx, dword [rax + 0x7c]
jne 0x14001c6f0
test byte [rsi + 0x5fc4], r12b
je 0x14001c6e9
lea rcx, str.SetActiveID___cancel_MovingWindow_n
call fcn.140012020
mov ecx, dword [rsi + 0x4078]
mov qword [rsi + 0x4030], rdi
mov edx, ecx
cmp dword [rsi + 0x4ea0], ecx
jne 0x14001c705
call fcn.14003f420
mov edx, dword [rsi + 0x4078]
test edx, edx
setne al
mov byte [rsi + 0x4084], al
test edx, edx
je 0x14001c75d
test byte [rsi + 0x5fc4], r12b
je 0x14001c746
mov rax, qword [rsi + 0x4098]
test rax, rax
je 0x14001c72f
mov r8, qword [rax + 8]
jmp 0x14001c732
mov r8, rbp
xor r9d, r9d
mov qword [rsp + 0x20], rbp
lea rcx, str.SetActiveID___old:0x_08X__window___s______new:0x_08X__window___s___n
call fcn.140012020
mov dword [rsi + 0x4080], edi
mov dword [rsi + 0x40a4], 0xffffffff
mov word [rsi + 0x4087], di
mov dword [rsi + 0x4958], edi
mov byte [rsi + 0x4954], dil
mov dword [rsi + 0x4950], edi
mov byte [rsi + 0x4089], dil
mov qword [rsi + 0x4098], rdi
mov word [rsi + 0x4085], di
mov dword [rsi + 0x4078], edi
mov r8, qword [0x1404fda48]
mov eax, dword [r8 + 0x4aa0]
sub eax, r12d
js 0x14001c7cd
mov r8, qword [r8 + 0x4aa8]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x14001c7c4
test dword [rax + 0x14], 0x8000000
jne 0x14001c7e4
sub r8, 0x38
sub rdx, r12
jns 0x14001c7b3
cmp qword [rbx + 0x4cc8], rdi
je 0x14001c803
movss xmm0, dword [rbx + 0x4ce4]
comiss xmm0, xmm9
jbe 0x14001c803
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1400d153c]
addss xmm1, dword [rbx + 0x4cfc]
minss xmm1, dword [0x1400d150c]
jmp 0x14001c821
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1400d154c]
movss xmm1, dword [rbx + 0x4cfc]
subss xmm1, xmm0
maxss xmm1, xmm9
movups xmm0, xmmword [rbx + 0x5ec0]
mov dword [rbx + 0x4e88], edi
movss dword [rbx + 0x4cfc], xmm1
movups xmmword [rbx + 0x5ed0], xmm0
mov qword [rbx + 0x6174], 0xffffffffffffffff
mov dword [rbx + 0x6170], 0xffffffff
mov byte [rbx + 0x5ec0], dil
call fcn.1400261a0
cmp byte [rbx + 0x3f7f], dil
jne 0x14001c885
movss xmm0, dword [rbx + 0x60]
comiss xmm9, xmm0
ja 0x14001c885
movsd xmm8, qword [rbx + 0x3f68]
cvtpd2ps xmm8, xmm8
subss xmm8, xmm0
mov r14, qword [rbx + 0x3fc0]
movsxd rax, dword [rbx + 0x3fb8]
lea rbp, [r14 + rax*8]
cmp r14, rbp
je 0x14001cb93
mov rsi, qword [r14]
movzx ecx, byte [rsi + 0xb6]
movzx eax, word [rsi + 0xc2]
mov byte [rsi + 0xb7], cl
mov byte [rsi + 0xb6], dil
mov byte [rsi + 0xb8], dil
mov word [rsi + 0xc4], ax
mov word [rsi + 0xc2], di
test cl, cl
jne 0x14001cb86
cmp byte [rsi + 0x3e4], dil
jne 0x14001cb86
comiss xmm8, dword [rsi + 0x264]
jbe 0x14001cb86
mov rcx, qword [rsi + 0x298]
mov byte [rsi + 0x3e4], r12b
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x3dc], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x3e0], eax
mov r9, qword [rsi + 0xf8]
test r9, r9
je 0x14001c9af
mov qword [rsi + 0xf0], rdi
mov r8, qword [0x1404fda48]
test r8, r8
je 0x14001c998
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r10d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x14001c98d
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], edi
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rdx, qword [0x1404fda58]
mov rcx, r9
call qword [case.0x140017d5e.0]
mov qword [rsi + 0xf8], rdi
mov rcx, qword [rsi + 0x298]
call fcn.140032170
mov r9, qword [rsi + 0x198]
test r9, r9
je 0x14001ca54
mov qword [rsi + 0x190], rdi
mov r8, qword [0x1404fda48]
test r8, r8
je 0x14001ca3d
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r10d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x14001ca32
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], edi
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rdx, qword [0x1404fda58]
mov rcx, r9
call qword [case.0x140017d5e.0]
mov qword [rsi + 0x198], rdi
mov r9, qword [rsi + 0x1d0]
test r9, r9
je 0x14001caed
mov qword [rsi + 0x1c8], rdi
mov r8, qword [0x1404fda48]
test r8, r8
je 0x14001cad6
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r10d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x14001cacb
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], edi
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rdx, qword [0x1404fda58]
mov rcx, r9
call qword [case.0x140017d5e.0]
mov qword [rsi + 0x1d0], rdi
mov r9, qword [rsi + 0x1e0]
test r9, r9
je 0x14001cb86
mov qword [rsi + 0x1d8], rdi
mov r8, qword [0x1404fda48]
test r8, r8
je 0x14001cb6f
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r10d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x14001cb64
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], edi
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rdx, qword [0x1404fda58]
mov rcx, r9
call qword [case.0x140017d5e.0]
mov qword [rsi + 0x1e0], rdi
add r14, 8
cmp r14, rbp
jne 0x14001c8a0
mov esi, edi
cmp dword [rbx + 0x4e00], edi
jle 0x14001cbdc
mov rbp, rdi
mov rax, qword [rbx + 0x4e08]
movss xmm0, dword [rax + rbp]
comiss xmm0, xmm9
jb 0x14001cbce
comiss xmm8, xmm0
jbe 0x14001cbce
movsxd rax, esi
imul rcx, rax, 0x250
add rcx, qword [rbx + 0x4de0]
call fcn.14003c660
inc esi
add rbp, 4
cmp esi, dword [rbx + 0x4e00]
jl 0x14001cba0
mov rsi, qword [rbx + 0x4dd0]
movsxd rax, dword [rbx + 0x4dc8]
imul rbp, rax, 0x78
add rbp, rsi
cmp rsi, rbp
je 0x14001cc22
nop word [rax + rax]
movss xmm0, dword [rsi + 4]
comiss xmm0, xmm9
jb 0x14001cc19
comiss xmm8, xmm0
jbe 0x14001cc19
mov rcx, rsi
call fcn.14003c740
add rsi, 0x78
cmp rsi, rbp
jne 0x14001cc00
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
cmp byte [rbx + 0x3f7f], dil
je 0x14001cd79
mov rsi, qword [0x1404fda48]
mov r9, qword [rsi + 0x4a88]
test r9, r9
je 0x14001ccdb
mov qword [rsi + 0x4a80], rdi
mov r8, qword [0x1404fda48]
test r8, r8
je 0x14001ccc4
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r10d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x14001ccb9
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], edi
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rdx, qword [0x1404fda58]
mov rcx, r9
call qword [case.0x140017d5e.0]
mov qword [rsi + 0x4a88], rdi
mov r9, qword [rsi + 0x4a98]
test r9, r9
je 0x14001cd74
mov qword [rsi + 0x4a90], rdi
mov r8, qword [0x1404fda48]
test r8, r8
je 0x14001cd5d
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r10d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x14001cd52
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], edi
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rdx, qword [0x1404fda58]
mov rcx, r9
call qword [case.0x140017d5e.0]
mov qword [rsi + 0x4a98], rdi
call fcn.14003c470
mov rax, qword [rbx + 0x4ae8]
mov byte [rbx + 0x3f7f], dil
test rax, rax
je 0x14001cde8
cmp byte [rax + 0xb7], dil
jne 0x14001cde8
mov rcx, qword [0x1404fda48]
mov eax, dword [rcx + 0x3fc8]
sub eax, r12d
js 0x14001cdde
movsxd rdx, eax
mov rax, qword [rcx + 0x3fd0]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x14001cdd5
cmp byte [rcx + 0xb7], dil
je 0x14001cdd5
mov eax, dword [rcx + 0x14]
and eax, 0x40200
cmp eax, 0x40200
jne 0x14001cde0
sub r8, 8
sub rdx, r12
jns 0x14001cdb5
xor ecx, ecx
mov edx, r12d
call fcn.140014340
mov ecx, dword [rbx + 0x3fec]
test ecx, ecx
jns 0x14001ced4
mov eax, ecx
mov esi, edi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x14001ced4
movsxd rax, esi
imul rcx, rax, 0x58
call fcn.140017c30
mov rdx, qword [rbx + 0x3ff0]
mov rbp, rax
test rdx, rdx
je 0x14001cec7
movsxd rax, dword [rbx + 0x3fe8]
mov rcx, rbp
imul r8, rax, 0x58
call sub.VCRUNTIME140.dll_memcpy
mov r9, qword [rbx + 0x3ff0]
test r9, r9
je 0x14001ceb7
mov r8, qword [0x1404fda48]
test r8, r8
je 0x14001ceb7
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r10d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x14001ceac
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], edi
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rdx, qword [0x1404fda58]
mov rcx, r9
call qword [case.0x140017d5e.0]
mov qword [rbx + 0x3ff0], rbp
mov dword [rbx + 0x3fec], esi
lea rcx, [rbx + 0x4ab0]
mov dword [rbx + 0x3fe8], edi
xor edx, edx
call fcn.1400295d0
mov ecx, dword [rbx + 0x4a84]
mov edx, ecx
mov r8d, ecx
test ecx, ecx
jns 0x14001cfe0
mov eax, ecx
mov esi, edi
cdq
sub eax, edx
mov edx, ecx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x14001cfe0
movsxd rcx, esi
shl rcx, 2
call fcn.140017c30
mov rdx, qword [rbx + 0x4a88]
mov rbp, rax
test rdx, rdx
je 0x14001cfce
movsxd r8, dword [rbx + 0x4a80]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov r9, qword [rbx + 0x4a88]
test r9, r9
je 0x14001cfbe
mov r8, qword [0x1404fda48]
test r8, r8
je 0x14001cfbe
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r10d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x14001cfb3
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], edi
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rdx, qword [0x1404fda58]
mov rcx, r9
call qword [case.0x140017d5e.0]
mov qword [rbx + 0x4a88], rbp
mov edx, esi
mov dword [rbx + 0x4a84], esi
mov r8d, esi
mov dword [rbx + 0x4a80], edi
mov eax, edi
test edx, edx
jne 0x14001d0e7
test r8d, r8d
je 0x14001d014
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
cmp eax, r12d
cmovg r12d, eax
mov eax, edi
cmp r12d, r8d
jle 0x14001d0e7
jmp 0x14001d01a
mov r12d, 8
movsxd rcx, r12d
shl rcx, 2
call fcn.140017c30
mov rdx, qword [rbx + 0x4a88]
mov rsi, rax
test rdx, rdx
je 0x14001d0d3
movsxd r8, dword [rbx + 0x4a80]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov r9, qword [rbx + 0x4a88]
test r9, r9
je 0x14001d0c3
mov r8, qword [0x1404fda48]
test r8, r8
je 0x14001d0c3
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r10d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x14001d0b8
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], edi
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rdx, qword [0x1404fda58]
mov rcx, r9
call qword [case.0x140017d5e.0]
mov eax, dword [rbx + 0x4a80]
mov qword [rbx + 0x4a88], rsi
mov dword [rbx + 0x4a84], r12d
mov r12, qword [rsp + 0xc0]
movsxd rcx, eax
mov rax, qword [rbx + 0x4a88]
mov dword [rax + rcx*4], edi
inc dword [rbx + 0x4a80]
mov ecx, dword [rbx + 0x4a94]
test ecx, ecx
jns 0x14001d1ee
mov eax, ecx
mov esi, edi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x14001d1ee
movsxd rax, esi
imul rcx, rax, 0x38
call fcn.140017c30
mov rdx, qword [rbx + 0x4a98]
mov rbp, rax
test rdx, rdx
je 0x14001d1e1
movsxd rax, dword [rbx + 0x4a90]
mov rcx, rbp
imul r8, rax, 0x38
call sub.VCRUNTIME140.dll_memcpy
mov r9, qword [rbx + 0x4a98]
test r9, r9
je 0x14001d1d1
mov r8, qword [0x1404fda48]
test r8, r8
je 0x14001d1d1
movsx rdx, word [r8 + 0x6040]
lea rcx, [r8 + 0x6044]
mov r10d, dword [r8 + 0x3f70]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x14001d1c6
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rcx, [r8 + 0x6044]
lea rcx, [rcx + rax*8]
mov dword [rcx], r10d
mov dword [rcx + 4], edi
inc word [rcx + 6]
inc dword [r8 + 0x603c]
mov rdx, qword [0x1404fda58]
mov rcx, r9
call qword [case.0x140017d5e.0]
mov qword [rbx + 0x4a98], rbp
mov dword [rbx + 0x4a94], esi
mov dword [rbx + 0x4a90], edi
call fcn.1400242c0
mov rsi, qword [0x1404fda48]
mov dword [rsi + 0x4060], edi
mov eax, dword [rsi + 0x6010]
inc eax
cmp dword [rsi + 0x3f70], eax
jne 0x14001d3bc
mov ebp, dword [rsi + 0x4068]
test ebp, ebp
jne 0x14001d22a
mov ebp, dword [rsi + 0x4078]
cmp dword [rsi + 0x6018], ebp
je 0x14001d345
mov dword [rsi + 0x6018], ebp
mov dword [rsi + 0x6014], 0xffffffff
mov ecx, dword [rsi + 0x6024]
test ecx, ecx
jns 0x14001d33f
mov eax, ecx
mov r14d, edi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg r14d, eax
cmp r14d, ecx
jle 0x14001d33f
movsxd rax, r14d
lea rcx, [rax + rax*8]
shl rcx, 3
call fcn.140017c30
mov rdx, qword [rsi + 0x6028]
mov r15, rax
test rdx, rdx
je 0x14001d331
movsxd rax, dword [rsi + 0x6020]
mov rcx, r15
lea r8, [rax + rax*8]
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov r9, qword [rsi + 0x6028]
test r9, r9
je 0x14001d321
mov r8, qword [0x1404fda48]
test r8, r8
je 0x14001d321
movsx r11, word [r8 + 0x6040]
lea rdx, [r8 + 0x6044]
mov r10d, dword [r8 + 0x3f70]
lea rdx, [rdx + r11*8]
cmp dword [rdx], r10d
je 0x14001d316
lea ecx, [r11 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x6044]
sub ecx, eax
mov word [r8 + 0x6040], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], edi
inc word [rdx + 6]
inc dword [r8 + 0x603c]
mov rdx, qword [0x1404fda58]
mov rcx, r9
call qword [case.0x140017d5e.0]
mov qword [rsi + 0x6028], r15
mov dword [rsi + 0x6024], r14d
mov dword [rsi + 0x6020], edi
test ebp, ebp
je 0x14001d3bc
movsxd rcx, dword [rsi + 0x6014]
test ecx, ecx
js 0x14001d380
mov eax, ecx
cmp ecx, dword [rsi + 0x6020]
jge 0x14001d393
mov r8, qword [rsi + 0x6028]
lea rdx, [rcx + rcx*8]
cmp byte [r8 + rdx*8 + 5], dil
jne 0x14001d378
cmp byte [r8 + rdx*8 + 4], 2
jle 0x14001d393
inc ecx
mov dword [rsi + 0x6014], ecx
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x14001d38f
mov dword [rsi + 0x4060], ebp
jmp 0x14001d3bc
test ecx, ecx
js 0x14001d3bc
cmp eax, dword [rsi + 0x6020]
jge 0x14001d3bc
cdqe
lea rdx, [rax + rax*8]
mov rax, qword [rsi + 0x6028]
mov ecx, dword [rax + rdx*8]
mov dword [rsi + 0x4060], ecx
mov rax, qword [rsi + 0x6028]
inc byte [rax + rdx*8 + 4]
movzx eax, byte [rbx + 0x5ff1]
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xb8]
test al, al
je 0x14001d3ef
sub al, 1
mov byte [rbx + 0x5ff1], al
jne 0x14001d3ef
mov dword [rbx + 0x4964], edi
movzx eax, byte [rbx + 0x5ff0]
test al, al
je 0x14001d417
sub al, 1
mov byte [rbx + 0x5ff0], al
jne 0x14001d417
lea rcx, str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.140012020
and dword [rbx + 0x5fc4], 0xffffffef
mov byte [rbx + 0x3f7d], 1
lea rcx, str.DebugDefault
mov rax, qword [0x1404fda48]
xor r8d, r8d
xor edx, edx
or dword [rax + 0x49c8], 2
mov dword [rax + 0x49e8], 0x43c80000
mov dword [rax + 0x49ec], 0x43c80000
mov dword [rax + 0x49d0], 4
call fcn.14000d2e0
cmp byte [rbx + 0x79], dil
je 0x14001d4a3
movsx ecx, byte [rbx + 0x5ff2]
cmp cl, 0xff
je 0x14001d4a6
mov eax, dword [rbx + 0x3f70]
and eax, 0x80000003
jge 0x14001d481
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
mov eax, 0x66666667
sete dil
add edi, ecx
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub edi, eax
jmp 0x14001d4a6
mov dil, 0xff
mov byte [rbx + 0x5ff2], dil
mov rdi, qword [rbx + 0x5f30]
movsxd rsi, dword [rbx + 0x5f28]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x14001d4df
cmp dword [rdi + 4], 1
jne 0x14001d4d6
mov rdx, rdi
mov rcx, rbx
call qword [rdi + 0x10]
add rdi, 0x20
cmp rdi, rsi
jne 0x14001d4c7
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret