Function at 0x140044f10
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0xa0
mov qword [rax + 0x10], rbp
mov qword [rax - 0x20], r14
mov r14, qword [0x140369a98]
mov qword [rax - 0x28], r15
mov rbx, r14
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov edi, dword [r14 + 0x5f28]
sub edi, 1
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
js 0x140044fb7
movsxd rsi, edi
shl rsi, 5
mov rbp, rsi
mov rax, qword [r14 + 0x5f30]
cmp dword [rax + rsi + 4], 7
jne 0x140044faa
movsxd r8, dword [r14 + 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 [r14 + 0x5f28]
sub rbp, 0x20
sub rsi, 0x20
sub edi, 1
jns 0x140044f60
mov rdi, qword [r14 + 0x5f30]
movsxd rsi, dword [r14 + 0x5f28]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x140044ff0
cmp dword [rdi + 4], 0
jne 0x140044fe0
mov rdx, rdi
mov rcx, rbx
call qword [rdi + 0x10]
add rdi, 0x20
cmp rdi, rsi
jne 0x140044fd1
mov r14, qword [0x140369a98]
mov eax, dword [rbx + 0x3d40]
mov dword [rbx + 0x3d44], eax
cmp byte [r14 + 0x66], 0
je 0x14004500f
test byte [r14 + 0xc], 2
jne 0x14004500f
mov byte [r14 + 0x66], 0
mov ecx, dword [r14 + 8]
bt ecx, 0xa
jae 0x140045031
mov eax, dword [r14 + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x140045031
btr ecx, 0xa
mov dword [r14 + 8], ecx
mov eax, dword [rbx + 8]
xor esi, esi
mov dword [rbx + 0x3d40], eax
mov rdi, r14
cmp byte [r14 + 0x5ee0], sil
jne 0x1400450ac
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x1400450a5
lea r8, [rsp + 0xc0]
mov qword [rsp + 0xc0], rsi
call fcn.14003dae0
mov rbp, rax
test rax, rax
je 0x14004509e
mov rdx, qword [rsp + 0xc0]
test rdx, rdx
je 0x140045083
mov rcx, rax
call fcn.14005a3c0
mov rcx, qword [0x140369a98]
test rcx, rcx
je 0x140045095
dec dword [rcx + 0xf8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, qword [0x140369a98]
mov byte [rdi + 0x5ee0], 1
movss xmm0, dword [rdi + 0x5ee4]
xorps xmm10, xmm10
comiss xmm0, xmm10
jbe 0x140045145
subss xmm0, dword [rdi + 0x18]
comiss xmm10, xmm0
movss dword [rdi + 0x5ee4], xmm0
jb 0x140045145
mov rbp, qword [rdi + 0x20]
test rbp, rbp
je 0x140045138
lea rcx, [rsp + 0xc0]
mov dword [r14 + 0x5ee4], esi
mov qword [rsp + 0xc0], rsi
call fcn.14005a620
lea rdx, [0x1402106b0]
mov rcx, rbp
mov r14, rax
call fcn.14003d9b0
mov rbp, rax
test rax, rax
je 0x14004513f
mov r8, qword [rsp + 0xc0]
mov r9, rax
mov edx, 1
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 0x14004513f
mov byte [rdi + 0xde], 1
mov dword [rdi + 0x5ee4], esi
inc dword [rbx + 0x3f70]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x3f80], 1
mov word [rbx + 0x5dec], si
mov dword [rbx + 0x4008], esi
addsd xmm0, qword [rbx + 0x3f68]
movsd qword [rbx + 0x3f68], xmm0
mov ecx, dword [rbx + 0x5e04]
test ecx, ecx
jns 0x14004519d
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5e00]
test eax, eax
cmovg edx, eax
call fcn.1400724d0
movss xmm9, dword [0x140257910]
movss xmm8, dword [0x140257644]
mov dword [rbx + 0x5e00], esi
movsxd rax, dword [rbx + 0x6140]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x6050]
addss xmm0, dword [rbx + 0x6148]
movss dword [rbx + 0x6148], xmm0
movss dword [rbx + rax*4 + 0x6050], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x6140]
movss xmm2, dword [rbx + 0x6148]
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 + 0x6144]
inc eax
mov dword [rbx + 0x6140], ecx
mov ecx, 0x3c
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm10
mov dword [rbx + 0x6144], ecx
jbe 0x140045247
movd xmm0, ecx
movaps xmm1, xmm8
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x14004524b
movaps xmm1, xmm9
movss dword [rbx + 0xe4], xmm1
mov ecx, dword [rbx + 0x3fa4]
test ecx, ecx
jns 0x140045279
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3fa0]
test eax, eax
cmovg edx, eax
call fcn.1400721e0
mov dword [rbx + 0x3fa0], esi
movzx ecx, byte [rbx + 0x62]
call fcn.140051b50
call fcn.14005b4e0
mov rax, qword [rbx + 0x38]
mov rbp, qword [0x140369a98]
mov byte [rax + 0x18], 1
mov rcx, qword [rbp + 0x48]
test rcx, rcx
jne 0x1400452b0
mov rax, qword [rbp + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
call fcn.14004eb50
mov rcx, qword [rbx + 0x4a30]
movaps xmm0, xmm9
movsxd rax, dword [rbx + 0x4a28]
movaps xmm7, xmm9
movss xmm5, dword [0x1402579a0]
movaps xmm6, xmm5
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x140045326
nop
mov rax, qword [rcx]
movss xmm4, dword [rax + 8]
comiss xmm0, xmm4
movss xmm3, dword [rax + 0xc]
movaps xmm1, xmm4
addss xmm1, dword [rax + 0x10]
movaps xmm2, xmm3
addss xmm2, dword [rax + 0x14]
jbe 0x140045305
movaps xmm0, xmm4
comiss xmm7, xmm3
jbe 0x14004530d
movaps xmm7, xmm3
comiss xmm1, xmm5
jbe 0x140045315
movaps xmm5, xmm1
comiss xmm2, xmm6
jbe 0x14004531d
movaps xmm6, xmm2
add rcx, 8
cmp rcx, rdx
jne 0x1400452e0
mov eax, dword [rbx + 0x39b4]
movss xmm1, dword [rbx + 0x39b8]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm7
mov dword [rbx + 0x3d6c], eax
movaps xmm7, xmmword [rsp + 0x70]
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm5
shufps xmm0, xmm0, 0x27
movss xmm0, xmm6
shufps xmm0, xmm0, 0x39
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rbx + 0x3d74], xmm0
movss xmm0, dword [rbx + 0x3d70]
ucomiss xmm0, xmm1
jp 0x14004537a
je 0x140045434
movss xmm6, dword [0x1402577a4]
lea r14, [rbx + 0x3f1c]
movss dword [rbx + 0x3d70], xmm1
mov edi, esi
mov r15d, 0x200
nop dword [rax]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
test edi, edi
je 0x1400453f9
movss xmm1, dword [rbx + 0x3d70]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm8
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm6
divss xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, 4
jge 0x1400453f0
mov eax, 4
jmp 0x1400453fe
cmp eax, r15d
cmovg eax, r15d
jmp 0x1400453fe
mov eax, 0x30
mov byte [r14], al
inc edi
inc r14
cmp edi, 0x40
jl 0x1400453a0
movss xmm0, dword [0x140257588]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x3d70]
movaps xmm2, xmm8
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x3f18], xmm1
mov r8d, esi
movaps xmm6, xmmword [rsp + 0x80]
mov dword [rbx + 0x3d84], esi
cmp byte [rbx + 0x39b0], sil
je 0x14004545e
mov dword [rbx + 0x3d84], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x39b1], sil
je 0x140045483
mov rax, qword [rbx + 0x3d48]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x140045483
or edx, 2
mov dword [rbx + 0x3d84], edx
cmp byte [rbx + 0x39b2], sil
je 0x140045495
or edx, 4
mov dword [rbx + 0x3d84], edx
test byte [rbx + 0xc], 8
je 0x1400454a4
or edx, 8
mov dword [rbx + 0x3d84], edx
mov rcx, qword [rbx + 0x4a30]
movsxd rax, dword [rbx + 0x4a28]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x1400454d7
nop dword [rax + rax]
mov rax, qword [rcx]
add rcx, 8
mov qword [rax + 0x30], rsi
mov byte [rax + 0xa8], sil
cmp rcx, rdx
jne 0x1400454c0
cmp byte [rbx + 0x4cb8], sil
je 0x14004550b
mov eax, dword [rbx + 0x4cd4]
cmp eax, dword [rbx + 0x4078]
jne 0x14004550b
cmp dword [rbp + 0x4078], eax
jne 0x1400454fc
mov dword [rbp + 0x407c], eax
cmp dword [rbp + 0x40a8], eax
jne 0x14004550b
mov byte [rbp + 0x40ac], 1
lea rax, [rbx + 0x4064]
mov ecx, dword [rax]
cmp dword [rbx + 0x4068], esi
jne 0x140045524
mov dword [rbx + 0x4070], esi
jmp 0x140045535
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x140045540
cmp dword [rbx + 0x4078], ecx
jne 0x140045540
mov dword [rbx + 0x4074], esi
mov edx, ecx
mov r8, rax
movss xmm1, dword [rbx + 0x18]
test edx, edx
je 0x140045577
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x4070]
movss dword [rbx + 0x4070], xmm0
cmp dword [rbx + 0x4078], edx
je 0x140045577
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x4074]
movss dword [rbx + 0x4074], xmm0
mov eax, dword [rbx + 0x4078]
movaps xmm2, xmm1
mov dword [rbx + 0x4068], edx
mov dword [r8], esi
mov word [rbx + 0x406c], si
test eax, eax
je 0x1400455ce
cmp dword [rbx + 0x407c], eax
je 0x1400455ce
cmp dword [rbx + 0x40a8], eax
jne 0x1400455ce
test byte [rbx + 0x5fd4], 1
je 0x1400455b9
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.14006f740
xor edx, edx
xor ecx, ecx
call fcn.140043aa0
movss xmm2, dword [rbx + 0x18]
mov rbp, qword [0x140369a98]
mov ecx, dword [rbx + 0x4078]
test ecx, ecx
je 0x1400455eb
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x4080]
movss dword [rbx + 0x4080], xmm0
mov rax, qword [rbx + 0x4098]
addss xmm2, dword [rbx + 0x40bc]
mov qword [rbx + 0x40b0], rax
movzx eax, byte [rbx + 0x4088]
mov byte [rbx + 0x40ad], al
mov eax, dword [rbx + 0x5d70]
movss dword [rbx + 0x40bc], xmm2
mov dword [rbx + 0x40a8], ecx
mov dword [rbx + 0x407c], esi
mov byte [rbx + 0x4089], sil
mov byte [rbx + 0x40ac], sil
mov byte [rbx + 0x4084], sil
test eax, eax
je 0x14004564b
cmp ecx, eax
je 0x14004564b
mov dword [rbx + 0x5d70], esi
test ecx, ecx
jne 0x140045664
mov dword [rbx + 0x4888], esi
mov byte [rbx + 0x488c], sil
mov dword [rbx + 0x4890], esi
jmp 0x140045685
mov eax, dword [rbx + 0x4890]
test eax, eax
je 0x140045685
test al, 2
je 0x140045685
mov dword [rbp + 0x416c], ecx
mov dword [rbp + 0x4168], ecx
mov word [rbp + 0x4170], si
mov edx, dword [rbx + 0x4e28]
mov r8, rbx
mov eax, 0x4e44
mov r9, rbx
mov ecx, 0x3d2c
test edx, edx
je 0x1400456b8
movss xmm0, dword [rbx + 0x4e44]
comiss xmm0, dword [rbx + 0x3d2c]
jb 0x1400456be
mov dword [rbx + 0x4e38], edx
jmp 0x1400456be
mov dword [rbx + 0x4e38], esi
mov r10, qword [rbx + 0x4020]
test r10, r10
je 0x1400456e3
movss xmm0, dword [r8 + rax]
comiss xmm0, dword [r9 + rcx]
jb 0x1400456e9
mov eax, dword [r10 + 0x10]
mov dword [rbx + 0x4e3c], eax
jmp 0x1400456e9
mov dword [rbx + 0x4e3c], esi
movss xmm0, dword [rbx + 0x4e30]
mov dword [rbx + 0x4e2c], edx
test edx, edx
je 0x140045716
addss xmm0, dword [rbx + 0x18]
mov dword [rbx + 0x4e34], esi
mov dword [rbx + 0x4e28], esi
movss dword [rbx + 0x4e30], xmm0
jmp 0x140045750
comiss xmm0, xmm10
jbe 0x140045750
movss xmm2, dword [rbx + 0x18]
movss xmm0, dword [0x1402575ac]
movaps xmm1, xmm2
addss xmm1, dword [rbx + 0x4e34]
addss xmm2, xmm2
movss dword [rbx + 0x4e34], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x140045750
mov qword [rbx + 0x4e30], rsi
mov eax, dword [rbx + 0x4d24]
mov dword [rbx + 0x4d28], eax
mov qword [rbx + 0x4d20], 0x7f7fffff
mov word [rbx + 0x4cb9], si
mov dword [rbx + 0x4d30], esi
call fcn.140050600
call fcn.1400562f0
call fcn.140050c50
test byte [rbx + 8], 0x40
jne 0x1400457b0
cmp dword [rbx + 0x5ea0], esi
jg 0x14004579d
cmp dword [rbx + 0x5eb0], esi
jle 0x1400458a9
mov dl, 1
call fcn.140064680
xor ecx, ecx
call fcn.140064230
jmp 0x1400458a9
cmp byte [rbx + 0x58], sil
je 0x140045802
mov ebp, esi
cmp dword [rbx + 0x5ea0], esi
jle 0x140045802
mov rdi, rsi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x5ea8]
mov rcx, qword [rdi + rax + 8]
test rcx, rcx
je 0x1400457f4
cmp qword [rcx + 0x18], rsi
jne 0x1400457f4
cmp qword [rcx + 0x20], rsi
je 0x1400457f4
mov ecx, dword [rcx]
call fcn.140064230
inc ebp
add rdi, 0x10
cmp ebp, dword [rbx + 0x5ea0]
jl 0x1400457d0
cmp byte [rbx + 0x5ed0], sil
je 0x14004585a
test byte [rbx + 0x5fd4], 0x80
je 0x140045820
lea rcx, str._docking__DockContextRebuildNodes_n
call fcn.14006f740
xor ecx, ecx
call fcn.14005a620
xor edx, edx
call fcn.140064680
xor ecx, ecx
call fcn.140064230
mov r8d, dword [rbx + 0x5ec0]
mov rcx, rbx
mov rdx, qword [rbx + 0x5ec8]
call fcn.14005da00
mov rcx, rbx
call fcn.14005dc10
mov byte [rbx + 0x5ed0], sil
mov rdi, qword [rbx + 0x5eb8]
movsxd rbp, dword [rbx + 0x5eb0]
shl rbp, 6
add rbp, rdi
cmp rdi, rbp
je 0x1400458a9
cmp dword [rdi], 2
jne 0x1400458a0
mov rdx, qword [rdi + 0x30]
test rdx, rdx
je 0x14004588f
mov r8b, 1
mov rcx, rbx
call fcn.14005e130
jmp 0x1400458a0
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x1400458a0
mov rcx, rbx
call fcn.14005e2b0
add rdi, 0x40
cmp rdi, rbp
jne 0x140045874
call fcn.140044af0
call fcn.140044520
mov r8, qword [0x140369a98]
mov eax, dword [r8 + 0x49f0]
sub eax, 1
js 0x1400458fb
mov r8, qword [r8 + 0x49f8]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop dword [rax + rax]
mov rax, qword [r8]
test rax, rax
je 0x1400458f1
test dword [rax + 0x14], 0x8000000
jne 0x140045912
sub r8, 0x38
sub rdx, 1
jns 0x1400458e0
cmp qword [rbx + 0x4c80], rsi
je 0x14004592e
movss xmm0, dword [rbx + 0x4c9c]
comiss xmm0, xmm10
jbe 0x14004592e
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1402577c8]
addss xmm1, dword [rbx + 0x4cb4]
minss xmm1, xmm8
jmp 0x14004594c
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1402577e4]
movss xmm1, dword [rbx + 0x4cb4]
subss xmm1, xmm0
maxss xmm1, xmm10
movss dword [rbx + 0x4cb4], xmm1
mov r15d, 0xffffffff
movups xmm0, xmmword [rbx + 0x5e78]
mov dword [rbx + 0x4e40], esi
mov qword [rbx + 0x6150], 0xffffffffffffffff
movups xmmword [rbx + 0x5e88], xmm0
mov dword [rbx + 0x614c], r15d
mov byte [rbx + 0x5e78], sil
call fcn.140051230
movaps xmm8, xmmword [rsp + 0x60]
cmp byte [rbx + 0x3f83], sil
jne 0x1400459b9
movss xmm0, dword [rbx + 0x68]
comiss xmm10, xmm0
ja 0x1400459b9
movsd xmm9, qword [rbx + 0x3f68]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov r14, qword [rbx + 0x3fc0]
movsxd rax, dword [rbx + 0x3fb8]
lea rbp, [r14 + rax*8]
cmp r14, rbp
je 0x140045b2b
mov rdi, qword [r14]
movzx ecx, byte [rdi + 0xeb]
movzx eax, word [rdi + 0xf8]
mov byte [rdi + 0xec], cl
mov byte [rdi + 0xeb], sil
mov byte [rdi + 0xed], sil
mov word [rdi + 0xfa], ax
mov word [rdi + 0xf8], si
test cl, cl
jne 0x140045b1e
cmp byte [rdi + 0x42c], sil
jne 0x140045b1e
comiss xmm9, dword [rdi + 0x2a0]
jbe 0x140045b1e
mov rcx, qword [rdi + 0x2d8]
mov byte [rdi + 0x42c], 1
mov eax, dword [rcx + 0x14]
mov dword [rdi + 0x424], eax
mov eax, dword [rcx + 0x24]
mov dword [rdi + 0x428], eax
mov rcx, qword [rdi + 0x130]
test rcx, rcx
je 0x140045a7c
mov rax, qword [0x140369a98]
mov qword [rdi + 0x128], rsi
test rax, rax
je 0x140045a6f
dec dword [rax + 0xf8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x130], rsi
mov rcx, qword [rdi + 0x2d8]
call fcn.1400a3790
mov rcx, qword [rdi + 0x1d0]
test rcx, rcx
je 0x140045aba
mov rax, qword [0x140369a98]
mov qword [rdi + 0x1c8], rsi
test rax, rax
je 0x140045aad
dec dword [rax + 0xf8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1d0], rsi
mov rcx, qword [rdi + 0x208]
test rcx, rcx
je 0x140045aec
mov rax, qword [0x140369a98]
mov qword [rdi + 0x200], rsi
test rax, rax
je 0x140045adf
dec dword [rax + 0xf8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x208], rsi
mov rcx, qword [rdi + 0x218]
test rcx, rcx
je 0x140045b1e
mov rax, qword [0x140369a98]
mov qword [rdi + 0x210], rsi
test rax, rax
je 0x140045b11
dec dword [rax + 0xf8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x218], rsi
add r14, 8
cmp r14, rbp
jne 0x1400459d4
mov r14d, esi
cmp dword [rbx + 0x4db8], esi
jle 0x140045c92
mov qword [rsp + 0xd0], r12
mov r15, rsi
mov qword [rsp + 0xd8], r13
mov r12, rsi
movabs r13, 0xe38e38e38e38e39
nop word [rax + rax]
mov rax, qword [rbx + 0x4dc0]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm10
jb 0x140045c61
comiss xmm9, xmm0
jbe 0x140045c61
mov rdi, qword [rbx + 0x4d98]
mov rbp, qword [0x140369a98]
add rdi, r12
mov qword [rdi + 0x1e8], rsi
mov rcx, qword [rdi + 0x1e0]
test rcx, rcx
je 0x140045bc4
mov qword [rdi + 0x1d8], rsi
test rbp, rbp
je 0x140045bb7
dec dword [rbp + 0xf8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1e0], rsi
mov byte [rdi + 0x22d], 1
mov rcx, qword [rdi + 0x190]
test rcx, rcx
je 0x140045bfd
mov rax, qword [0x140369a98]
mov qword [rdi + 0x188], rsi
test rax, rax
je 0x140045bf0
dec dword [rax + 0xf8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x190], rsi
mov edx, esi
mov byte [rdi + 0x239], 1
cmp dword [rdi + 0x6c], esi
jle 0x140045c35
mov rcx, rsi
mov r8d, 0xffffffff
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdi + 0x18]
lea rcx, [rcx + 0x70]
inc edx
mov word [rax + rcx - 0x20], r8w
cmp edx, dword [rdi + 0x6c]
jl 0x140045c20
sub rdi, qword [rbp + 0x4d98]
mov rax, r13
imul rdi
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x4dc0]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x240
cmp r14d, dword [rbx + 0x4db8]
jl 0x140045b60
mov r13, qword [rsp + 0xd8]
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xd0]
mov rdi, qword [rbx + 0x4d88]
movsxd rax, dword [rbx + 0x4d80]
imul rbp, rax, 0x70
add rbp, rdi
cmp rdi, rbp
je 0x140045cda
nop dword [rax]
movss xmm0, dword [rdi + 4]
comiss xmm0, xmm10
jb 0x140045cd1
comiss xmm9, xmm0
jbe 0x140045cd1
lea rcx, [rdi + 0x10]
call fcn.1400a7be0
mov dword [rdi + 4], 0xbf800000
add rdi, 0x70
cmp rdi, rbp
jne 0x140045cb0
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
cmp byte [rbx + 0x3f83], sil
je 0x140045d58
mov rdi, qword [0x140369a98]
mov rcx, qword [rdi + 0x49d8]
test rcx, rcx
je 0x140045d21
mov qword [rdi + 0x49d0], rsi
test rdi, rdi
je 0x140045d14
dec dword [rdi + 0xf8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x49d8], rsi
mov rcx, qword [rdi + 0x49e8]
test rcx, rcx
je 0x140045d53
mov rax, qword [0x140369a98]
mov qword [rdi + 0x49e0], rsi
test rax, rax
je 0x140045d46
dec dword [rax + 0xf8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x49e8], rsi
call fcn.1400ba080
mov rax, qword [rbx + 0x4aa0]
mov byte [rbx + 0x3f83], sil
test rax, rax
je 0x140045dca
cmp byte [rax + 0xec], sil
jne 0x140045dca
mov rcx, qword [0x140369a98]
mov eax, dword [rcx + 0x3fc8]
sub eax, 1
js 0x140045dbe
movsxd rdx, eax
mov rax, qword [rcx + 0x3fd0]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x140045db4
cmp byte [rcx + 0xec], sil
je 0x140045db4
mov eax, dword [rcx + 0x14]
and eax, 0x40200
cmp eax, 0x40200
jne 0x140045dc0
sub r8, 8
sub rdx, 1
jns 0x140045d94
xor ecx, ecx
mov edx, 1
call fcn.14004e790
mov ecx, dword [rbx + 0x3fec]
test ecx, ecx
jns 0x140045df0
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3fe8]
test eax, eax
cmovg edx, eax
call fcn.140072150
mov dword [rbx + 0x3fe8], esi
mov ecx, dword [rbx + 0x4a04]
test ecx, ecx
jns 0x140045e1c
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x4a00]
test eax, eax
cmovg edx, eax
call fcn.1400720c0
lea rdi, [rbx + 0x49d0]
mov dword [rbx + 0x4a00], esi
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x140045e48
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.1400724d0
mov dword [rdi], esi
cmp dword [rdi + 4], esi
jne 0x140045e5c
mov edx, 8
mov rcx, rdi
call fcn.1400724d0
movsxd rcx, dword [rdi]
xor edx, edx
mov rax, qword [rdi + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rbx + 0x49e0]
inc dword [rdi]
call fcn.140071820
test byte [rbx + 8], 0x40
je 0x140045f73
mov rax, qword [rbx + 0x4028]
mov qword [rbx + 0x6048], rsi
test rax, rax
je 0x140045ecc
mov rcx, qword [rax + 0x450]
test rcx, rcx
je 0x140045ead
mov rdx, qword [rbx + 0xe08]
call fcn.140063c10
jmp 0x140045ec5
mov rax, qword [rax + 0x3b8]
mov rcx, qword [rax + 0x448]
mov rax, rsi
test rcx, rcx
cmovne rax, rcx
mov qword [rbx + 0x6048], rax
mov rdi, qword [rbx + 0x5eb8]
movsxd rbp, dword [rbx + 0x5eb0]
shl rbp, 6
add rbp, rdi
cmp rdi, rbp
je 0x140045eff
cmp dword [rdi], 1
jne 0x140045ef6
mov rdx, rdi
mov rcx, rbx
call fcn.14005dca0
add rdi, 0x40
cmp rdi, rbp
jne 0x140045ee6
mov ecx, dword [rbx + 0x5eb4]
test ecx, ecx
jns 0x140045f25
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5eb0]
test eax, eax
cmovg edx, eax
call fcn.140072310
mov dword [rbx + 0x5eb0], esi
mov ebp, esi
cmp dword [rbx + 0x5ea0], esi
jle 0x140045f73
mov rdi, rsi
nop dword [rax + rax]
mov rax, qword [rbx + 0x5ea8]
mov rcx, qword [rdi + rax + 8]
test rcx, rcx
je 0x140045f65
cmp qword [rcx + 0x18], rsi
jne 0x140045f65
test dword [rcx + 0x10], 0x400
jne 0x140045f65
call fcn.14005f220
inc ebp
add rdi, 0x10
cmp ebp, dword [rbx + 0x5ea0]
jl 0x140045f40
mov rdi, qword [0x140369a98]
mov dword [rdi + 0x6008], esi
cmp byte [rdi + 0x6003], sil
je 0x1400460d4
mov r14d, dword [rdi + 0x4068]
xor edx, edx
mov ecx, 0x20e
mov dword [rdi + 0x4e40], 7
lea r8d, [rdx + 1]
call fcn.1400500b0
test al, al
je 0x140045fb9
mov byte [rdi + 0x6003], sil
mov ebp, dword [rdi + 0xe2c]
cmp ebp, 0x3000
je 0x140045fef
movzx ecx, byte [rdi + 0x6004]
xor r8d, r8d
xor edx, edx
call fcn.140050190
test al, al
je 0x140045fef
test r14d, r14d
je 0x140045fef
mov dword [rdi + 0x6008], r14d
mov byte [rdi + 0x6003], sil
mov r11d, esi
cmp ebp, 0x3000
jne 0x140046012
xor r8d, r8d
xor edx, edx
mov ecx, r11d
call fcn.140050190
test al, al
je 0x140046012
mov byte [rdi + 0x6004], r11b
inc r11d
cmp r11d, 3
jl 0x140045ff2
mov rax, qword [0x140369a98]
xor ecx, ecx
or dword [rax + 0x4900], 0x40
mov dword [rax + 0x4960], 0x3f333333
call fcn.140053980
test al, al
je 0x1400460d4
mov edx, r14d
lea rcx, str.HoveredId:_0x_08X
call fcn.1400bcda0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.1400bcda0
lea rax, [0x14020d124]
mov qword [rsp + 0x20], rax
lea rax, [0x14020d11c]
mov qword [rsp + 0x28], rax
lea rax, str.Middle
mov qword [rsp + 0x30], rax
cmp ebp, 0x3000
jne 0x140046097
lea rcx, str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.1400bcda0
jmp 0x1400460cf
movzx r8d, byte [rdi + 0x6004]
lea rdx, str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
test r14d, r14d
mov eax, 0x10
mov rcx, rsi
cmove rcx, rax
mov rax, qword [0x140369a98]
mov r8, qword [rsp + r8*8 + 0x20]
add rax, 0x39bc
add rcx, rax
call fcn.1400bcee0
call fcn.14004e3d0
mov rdi, qword [0x140369a98]
mov dword [rdi + 0x4060], esi
mov eax, dword [rdi + 0x6020]
inc eax
cmp dword [rdi + 0x3f70], eax
jne 0x1400461b5
mov ebp, dword [rdi + 0x4068]
test ebp, ebp
jne 0x140046105
mov ebp, dword [rdi + 0x4078]
lea r14, [rdi + 0x6030]
cmp dword [rdi + 0x6028], ebp
je 0x140046144
mov dword [rdi + 0x6028], ebp
mov dword [rdi + 0x6024], r15d
mov ecx, dword [r14 + 4]
test ecx, ecx
jns 0x140046141
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.140072270
mov dword [r14], esi
test ebp, ebp
je 0x1400461b5
movsxd rcx, dword [rdi + 0x6024]
test ecx, ecx
js 0x14004617c
mov eax, ecx
cmp ecx, dword [r14]
jge 0x14004618f
mov r8, qword [rdi + 0x6038]
lea rdx, [rcx + rcx*8]
cmp byte [r8 + rdx*8 + 5], sil
jne 0x140046174
cmp byte [r8 + rdx*8 + 4], 2
jle 0x14004618f
inc ecx
mov dword [rdi + 0x6024], ecx
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x14004618b
mov dword [rdi + 0x4060], ebp
jmp 0x1400461b5
test ecx, ecx
js 0x1400461b5
cmp eax, dword [r14]
jge 0x1400461b5
cdqe
lea rdx, [rax + rax*8]
mov rax, qword [rdi + 0x6038]
mov ecx, dword [rax + rdx*8]
mov dword [rdi + 0x4060], ecx
mov rax, qword [rdi + 0x6038]
inc byte [rax + rdx*8 + 4]
movzx eax, byte [rbx + 0x6001]
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xc8]
test al, al
je 0x1400461e8
sub al, 1
mov byte [rbx + 0x6001], al
jne 0x1400461e8
mov dword [rbx + 0x489c], esi
movzx eax, byte [rbx + 0x6000]
test al, al
je 0x140046210
sub al, 1
mov byte [rbx + 0x6000], al
jne 0x140046210
lea rcx, str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.14006f740
and dword [rbx + 0x5fd4], 0xffffffef
mov rax, qword [0x140369a98]
lea rcx, str.DebugDefault
mov byte [rbx + 0x3f81], 1
xor r8d, r8d
xor edx, edx
or dword [rax + 0x4900], 2
mov dword [rax + 0x4924], 0x43c80000
mov dword [rax + 0x4928], 0x43c80000
mov dword [rax + 0x4908], 4
call fcn.14004b690
cmp byte [rbx + 0x81], sil
je 0x14004629f
movsx ecx, byte [rbx + 0x6002]
cmp cl, 0xff
je 0x1400462a2
mov eax, dword [rbx + 0x3f70]
and eax, 0x80000003
jge 0x14004627d
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 0x1400462a2
mov sil, 0xff
mov byte [rbx + 0x6002], sil
mov rdi, qword [rbx + 0x5f30]
movsxd rsi, dword [rbx + 0x5f28]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x1400462db
cmp dword [rdi + 4], 1
jne 0x1400462d2
mov rdx, rdi
mov rcx, rbx
call qword [rdi + 0x10]
add rdi, 0x20
cmp rdi, rsi
jne 0x1400462c3
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret