Function at 0x140007c70
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0xa0
mov rbx, qword [0x1400821e0]
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], r12
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov eax, dword [rbx + 0x55b8]
lea esi, [rax - 1]
test esi, esi
js 0x140007d1e
movsxd rdi, esi
shl rdi, 5
mov rbp, rdi
mov rax, qword [rbx + 0x55c0]
cmp dword [rdi + rax + 4], 7
jne 0x140007d0b
movsxd r8, dword [rbx + 0x55b8]
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 + 0x55b8]
mov eax, dword [rbx + 0x55b8]
sub rbp, 0x20
sub rdi, 0x20
sub esi, 1
jns 0x140007cc2
xor edi, edi
mov esi, edi
test eax, eax
jle 0x140007d5c
mov ebp, edi
nop dword [rax + rax]
mov rax, qword [rbx + 0x55c0]
cmp dword [rax + rbp + 4], edi
jne 0x140007d4e
movsxd rdx, esi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rbp + 0x10]
inc esi
add rbp, 0x20
cmp esi, dword [rbx + 0x55b8]
jl 0x140007d30
mov rsi, qword [0x1400821e0]
mov eax, dword [rbx + 0x3d28]
mov dword [rbx + 0x3d2c], eax
cmp byte [rsi + 0x86], dil
je 0x140007d85
test byte [rsi + 0xc], 2
jne 0x140007d85
mov byte [rsi + 0x86], dil
mov ecx, dword [rsi + 8]
bt ecx, 0xa
jae 0x140007da4
mov eax, dword [rsi + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x140007da4
btr ecx, 0xa
mov dword [rsi + 8], ecx
mov eax, dword [rbx + 8]
mov dword [rbx + 0x3d28], eax
cmp byte [rsi + 0x5570], dil
jne 0x140007e13
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140007e0c
lea r8, [rsp + 0xc0]
mov qword [rsp + 0xc0], rdi
call fcn.140002c90
mov rbp, rax
test rax, rax
je 0x140007e0c
mov rdx, qword [rsp + 0xc0]
test rdx, rdx
je 0x140007df1
mov rcx, rax
call fcn.140018570
mov rcx, qword [0x1400821e0]
test rcx, rcx
je 0x140007e03
dec dword [rcx + 0xfc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rsi + 0x5570], 1
movss xmm0, dword [rsi + 0x5574]
xorps xmm10, xmm10
comiss xmm0, xmm10
jbe 0x140007eb2
subss xmm0, dword [rsi + 0x18]
comiss xmm10, xmm0
movss dword [rsi + 0x5574], xmm0
jb 0x140007eb2
mov rbp, qword [rsi + 0x20]
test rbp, rbp
je 0x140007ea5
mov rax, qword [0x1400821e0]
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0xc0], rdi
mov dword [rax + 0x5574], edi
call fcn.140018800
lea rdx, [0x14006ef08]
mov rcx, rbp
mov r14, rax
call fcn.140002b70
mov rbp, rax
test rax, rax
je 0x140007eac
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 0x140007eac
mov byte [rsi + 0xe4], 1
mov dword [rsi + 0x5574], edi
inc dword [rbx + 0x3f58]
movss xmm1, dword [rbx + 0x18]
cvtps2pd xmm0, xmm1
mov byte [rbx + 0x3f68], 1
mov word [rbx + 0x54ea], di
mov dword [rbx + 0x3fc8], edi
addsd xmm0, qword [rbx + 0x3f50]
movsd qword [rbx + 0x3f50], xmm0
mov ecx, dword [rbx + 0x5504]
test ecx, ecx
jns 0x140007f0f
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5500]
test eax, eax
cmovg edx, eax
call fcn.140024630
movss xmm1, dword [rbx + 0x18]
movss xmm9, dword [0x14007559c]
movaps xmm0, xmm1
movss xmm8, dword [0x1400754f4]
mov dword [rbx + 0x5500], edi
movsxd rax, dword [rbx + 0x5778]
subss xmm0, dword [rbx + rax*4 + 0x5688]
addss xmm0, dword [rbx + 0x5780]
movss dword [rbx + 0x5780], xmm0
movss dword [rbx + rax*4 + 0x5688], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x5778]
movss xmm2, dword [rbx + 0x5780]
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 + 0x577c]
inc eax
mov dword [rbx + 0x5778], ecx
mov ecx, 0x3c
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm10
mov dword [rbx + 0x577c], ecx
jbe 0x140007fb4
movd xmm0, ecx
movaps xmm1, xmm8
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x140007fb8
movaps xmm1, xmm9
movss dword [rbx + 0xe8], xmm1
call fcn.140019720
mov rax, qword [rbx + 0x58]
mov rbp, qword [0x1400821e0]
mov byte [rax + 0x18], 1
mov rcx, qword [rbp + 0x68]
test rcx, rcx
jne 0x140007fe8
mov rax, qword [rbp + 0x58]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.1400110d0
mov eax, dword [rbx + 0x41f0]
movaps xmm0, xmm9
movss xmm5, dword [0x1400755b8]
movaps xmm7, xmm9
movaps xmm6, xmm5
test eax, eax
jle 0x140008067
mov rcx, qword [rbx + 0x41f8]
mov edx, eax
nop dword [rax]
nop word [rax + rax]
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 0x140008045
movaps xmm0, xmm4
comiss xmm7, xmm3
jbe 0x14000804d
movaps xmm7, xmm3
comiss xmm1, xmm5
jbe 0x140008055
movaps xmm5, xmm1
comiss xmm2, xmm6
jbe 0x14000805d
movaps xmm6, xmm2
add rcx, 8
sub rdx, 1
jne 0x140008020
mov eax, dword [rbx + 0x39b0]
movss xmm1, dword [rbx + 0x39b4]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm7
mov dword [rbx + 0x3d54], 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 + 0x3d5c], xmm0
movss xmm0, dword [rbx + 0x3d58]
ucomiss xmm0, xmm1
jp 0x1400080bb
je 0x140008174
movss xmm6, dword [0x140075534]
lea r14, [rbx + 0x3f04]
movss dword [rbx + 0x3d58], xmm1
mov esi, edi
mov r15d, 0x200
nop word [rax + rax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x140008139
movss xmm1, dword [rbx + 0x3d58]
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 0x140008130
mov eax, 4
jmp 0x14000813e
cmp eax, r15d
cmovg eax, r15d
jmp 0x14000813e
mov eax, 0x30
mov byte [r14], al
inc esi
inc r14
cmp esi, 0x40
jl 0x1400080e0
movss xmm0, dword [0x140075484]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x3d58]
movaps xmm2, xmm8
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x3f00], xmm1
mov r8d, edi
movaps xmm6, xmmword [rsp + 0x80]
mov dword [rbx + 0x3d6c], edi
cmp byte [rbx + 0x39ac], dil
je 0x14000819e
mov dword [rbx + 0x3d6c], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x39ad], dil
je 0x1400081c3
mov rax, qword [rbx + 0x3d30]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x1400081c3
or edx, 2
mov dword [rbx + 0x3d6c], edx
cmp byte [rbx + 0x39ae], dil
je 0x1400081d5
or edx, 4
mov dword [rbx + 0x3d6c], edx
test byte [rbx + 0xc], 8
je 0x1400081e4
or edx, 8
mov dword [rbx + 0x3d6c], edx
mov r8d, edi
cmp dword [rbx + 0x41f0], edi
jle 0x140008233
mov rdx, rdi
mov rax, qword [rbx + 0x41f8]
lea rdx, [rdx + 8]
xorps xmm0, xmm0
inc r8d
mov rcx, qword [rdx + rax - 8]
xor eax, eax
mov qword [rcx + 0x30], rdi
movups xmmword [rcx + 0xa8], xmm0
movups xmmword [rcx + 0xb8], xmm0
movups xmmword [rcx + 0xc8], xmm0
mov qword [rcx + 0xd8], rax
cmp r8d, dword [rbx + 0x41f0]
jl 0x1400081f2
cmp byte [rbx + 0x43f4], dil
je 0x140008267
mov eax, dword [rbx + 0x4414]
cmp eax, dword [rbx + 0x4024]
jne 0x140008267
cmp dword [rbp + 0x4024], eax
jne 0x140008258
mov dword [rbp + 0x4028], eax
cmp dword [rbp + 0x4050], eax
jne 0x140008267
mov byte [rbp + 0x4054], 1
mov eax, dword [rbx + 0x4010]
cmp dword [rbx + 0x4014], edi
jne 0x14000827d
mov dword [rbx + 0x401c], edi
jmp 0x14000828b
mov edx, eax
test eax, eax
je 0x140008293
cmp dword [rbx + 0x4024], eax
jne 0x140008297
mov dword [rbx + 0x4020], edi
mov edx, eax
test edx, edx
je 0x1400082cb
movss xmm1, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x4024]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x401c]
movss dword [rbx + 0x401c], xmm0
cmp ecx, edx
je 0x1400082d1
addss xmm1, dword [rbx + 0x4020]
movss dword [rbx + 0x4020], xmm1
jmp 0x1400082d1
mov ecx, dword [rbx + 0x4024]
movzx eax, byte [rbx + 0x4019]
mov byte [rbx + 0x401a], al
mov dword [rbx + 0x4014], edx
mov dword [rbx + 0x4010], edi
mov word [rbx + 0x4018], di
mov byte [rbx + 0x401b], dil
test ecx, ecx
je 0x14000832d
cmp dword [rbx + 0x4028], ecx
je 0x14000832d
cmp dword [rbx + 0x4050], ecx
jne 0x14000832d
test byte [rbx + 0x5614], 1
je 0x140008321
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.1400234f0
call fcn.1400057c0
mov rbp, qword [0x1400821e0]
mov ecx, dword [rbx + 0x4024]
test ecx, ecx
je 0x14000834c
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x402c]
movss dword [rbx + 0x402c], xmm0
mov rax, qword [rbx + 0x4040]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x4064]
mov qword [rbx + 0x4058], rax
movzx eax, byte [rbx + 0x4034]
mov byte [rbx + 0x4055], al
mov eax, dword [rbx + 0x5478]
movss dword [rbx + 0x4064], xmm0
mov dword [rbx + 0x4050], ecx
mov dword [rbx + 0x4028], edi
mov byte [rbx + 0x4035], dil
mov byte [rbx + 0x4054], dil
mov byte [rbx + 0x4030], dil
test eax, eax
je 0x1400083b1
cmp ecx, eax
je 0x1400083b1
mov dword [rbx + 0x5478], edi
test ecx, ecx
jne 0x1400083df
mov dword [rbx + 0x4068], edi
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx + 0x406c], xmm0
mov dword [rbx + 0x407c], eax
mov ecx, dword [rbx + 0x4024]
test ecx, ecx
jne 0x1400083df
mov dword [rbx + 0x4080], edi
jmp 0x1400083fd
mov eax, dword [rbx + 0x4080]
test eax, eax
je 0x1400083fd
test al, 2
je 0x1400083fd
mov eax, dword [rbp + 0x406c]
bts eax, 0xe
mov dword [rbp + 0x406c], eax
mov eax, dword [rbx + 0x4568]
movss xmm0, dword [rbx + 0x4570]
mov dword [rbx + 0x456c], eax
test eax, eax
je 0x140008430
addss xmm0, dword [rbx + 0x18]
mov dword [rbx + 0x4574], edi
mov dword [rbx + 0x4568], edi
movss dword [rbx + 0x4570], xmm0
jmp 0x14000846a
comiss xmm0, xmm10
jbe 0x14000846a
movss xmm2, dword [rbx + 0x18]
movss xmm0, dword [0x140075498]
movaps xmm1, xmm2
addss xmm1, dword [rbx + 0x4574]
addss xmm2, xmm2
movss dword [rbx + 0x4574], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x14000846a
mov qword [rbx + 0x4570], rdi
mov eax, dword [rbx + 0x4464]
mov dword [rbx + 0x4468], eax
mov qword [rbx + 0x4460], 0x7f7fffff
mov word [rbx + 0x43f5], di
mov dword [rbx + 0x4470], edi
mov ecx, dword [rbx + 0x38e4]
test ecx, ecx
jns 0x1400084b4
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x38e0]
test eax, eax
cmovg edx, eax
call fcn.140024450
mov dword [rbx + 0x38e0], edi
movzx ecx, byte [rbx + 0x82]
call fcn.140011cb0
call fcn.1400067e0
call fcn.1400152a0
call fcn.140006ea0
test byte [rbx + 8], 0x40
jne 0x140008502
cmp dword [rbx + 0x5538], edi
jg 0x1400084ef
cmp dword [rbx + 0x5548], edi
jle 0x140008604
mov dl, 1
call fcn.140021bc0
xor ecx, ecx
call fcn.140021790
jmp 0x140008604
cmp byte [rbx + 0x78], dil
je 0x140008552
mov ebp, edi
cmp dword [rbx + 0x5538], edi
jle 0x140008552
mov rsi, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x5540]
mov rcx, qword [rsi + rax + 8]
test rcx, rcx
je 0x140008544
cmp qword [rcx + 0x18], rdi
jne 0x140008544
cmp qword [rcx + 0x20], rdi
je 0x140008544
mov ecx, dword [rcx]
call fcn.140021790
inc ebp
add rsi, 0x10
cmp ebp, dword [rbx + 0x5538]
jl 0x140008520
cmp byte [rbx + 0x5568], dil
je 0x1400085aa
test byte [rbx + 0x5614], 0x40
je 0x140008570
lea rcx, str._docking__DockContextRebuildNodes_n
call fcn.1400234f0
xor ecx, ecx
call fcn.140018800
xor edx, edx
call fcn.140021bc0
xor ecx, ecx
call fcn.140021790
mov r8d, dword [rbx + 0x5558]
mov rcx, rbx
mov rdx, qword [rbx + 0x5560]
call fcn.14001b830
mov rcx, rbx
call fcn.14001ba40
mov byte [rbx + 0x5568], dil
mov ebp, edi
cmp dword [rbx + 0x5548], edi
jle 0x140008604
mov rsi, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x5550]
cmp dword [rsi + rax], 2
jne 0x1400085f6
mov rdx, qword [rsi + rax + 0x30]
test rdx, rdx
je 0x1400085e4
mov r8b, 1
mov rcx, rbx
call fcn.14001bf20
jmp 0x1400085f6
mov rdx, qword [rsi + rax + 0x38]
test rdx, rdx
je 0x1400085f6
mov rcx, rbx
call fcn.14001c090
inc ebp
add rsi, 0x40
cmp ebp, dword [rbx + 0x5548]
jl 0x1400085c0
call fcn.140007830
call fcn.1400061a0
mov r8, qword [0x1400821e0]
mov eax, dword [r8 + 0x41c8]
sub eax, 1
js 0x140008651
mov r8, qword [r8 + 0x41d0]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x140008647
test dword [rax + 0xc], 0x8000000
jne 0x140008668
sub r8, 0x38
sub rdx, 1
jns 0x140008636
cmp qword [rbx + 0x43b8], rdi
je 0x140008684
movss xmm0, dword [rbx + 0x43d4]
comiss xmm0, xmm10
jbe 0x140008684
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x14007554c]
addss xmm1, dword [rbx + 0x43ec]
minss xmm1, xmm8
jmp 0x1400086a2
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x140075558]
movss xmm1, dword [rbx + 0x43ec]
subss xmm1, xmm0
maxss xmm1, xmm10
movups xmm0, xmmword [rbx + 0x5510]
mov r15d, 0xffffffff
mov dword [rbx + 0x43f0], edi
movss dword [rbx + 0x43ec], xmm1
movups xmmword [rbx + 0x5520], xmm0
mov qword [rbx + 0x5788], 0xffffffffffffffff
mov dword [rbx + 0x5784], r15d
mov byte [rbx + 0x5510], dil
call fcn.140007290
movaps xmm8, xmmword [rsp + 0x60]
cmp byte [rbx + 0x3f6b], dil
jne 0x140008712
movss xmm0, dword [rbx + 0x88]
comiss xmm10, xmm0
ja 0x140008712
movsd xmm9, qword [rbx + 0x3f50]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov ebp, edi
cmp dword [rbx + 0x3f78], edi
je 0x140008887
mov r14, rdi
mov rax, qword [rbx + 0x3f80]
mov rsi, qword [r14 + rax]
movzx ecx, byte [rsi + 0xcb]
movzx eax, word [rsi + 0xd8]
mov byte [rsi + 0xcc], cl
mov byte [rsi + 0xcb], dil
mov byte [rsi + 0xcd], dil
mov word [rsi + 0xda], ax
mov word [rsi + 0xd8], di
test cl, cl
jne 0x140008875
cmp byte [rsi + 0x400], dil
jne 0x140008875
comiss xmm9, dword [rsi + 0x288]
jbe 0x140008875
mov rcx, qword [rsi + 0x2c0]
mov byte [rsi + 0x400], 1
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x3f8], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x3fc], eax
mov rcx, qword [rsi + 0x110]
test rcx, rcx
je 0x1400087d3
mov rax, qword [0x1400821e0]
mov qword [rsi + 0x108], rdi
test rax, rax
je 0x1400087c6
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x110], rdi
mov rcx, qword [rsi + 0x2c0]
call fcn.14002c610
mov rcx, qword [rsi + 0x1b8]
test rcx, rcx
je 0x140008811
mov rax, qword [0x1400821e0]
mov qword [rsi + 0x1b0], rdi
test rax, rax
je 0x140008804
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1b8], rdi
mov rcx, qword [rsi + 0x1f0]
test rcx, rcx
je 0x140008843
mov rax, qword [0x1400821e0]
mov qword [rsi + 0x1e8], rdi
test rax, rax
je 0x140008836
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1f0], rdi
mov rcx, qword [rsi + 0x200]
test rcx, rcx
je 0x140008875
mov rax, qword [0x1400821e0]
mov qword [rsi + 0x1f8], rdi
test rax, rax
je 0x140008868
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x200], rdi
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x3f78]
jne 0x140008723
mov r14d, edi
cmp dword [rbx + 0x44f8], edi
jle 0x1400089da
mov qword [rsp + 0xd8], r13
mov r12, rdi
movabs r13, 0x7a44c6afc2dd9ca9
mov r15, rdi
nop
mov rax, qword [rbx + 0x4500]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm10
jb 0x1400089b1
comiss xmm9, xmm0
jbe 0x1400089b1
mov rsi, qword [rbx + 0x44d8]
mov rbp, qword [0x1400821e0]
add rsi, r12
mov qword [rsi + 0x1e0], rdi
mov rcx, qword [rsi + 0x1d8]
test rcx, rcx
je 0x140008914
mov qword [rsi + 0x1d0], rdi
test rbp, rbp
je 0x140008907
dec dword [rbp + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1d8], rdi
mov byte [rsi + 0x20c], 1
mov rcx, qword [rsi + 0x198]
test rcx, rcx
je 0x14000894d
mov rax, qword [0x1400821e0]
mov qword [rsi + 0x190], rdi
test rax, rax
je 0x140008940
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x198], rdi
mov edx, edi
mov byte [rsi + 0x216], 1
cmp dword [rsi + 0x74], edi
jle 0x140008985
mov rcx, rdi
mov r8d, 0xffffffff
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsi + 0x18]
lea rcx, [rcx + 0x68]
inc edx
mov word [rcx + rax - 0x18], r8w
cmp edx, dword [rsi + 0x74]
jl 0x140008970
sub rsi, qword [rbp + 0x44d8]
mov rax, r13
imul rsi
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x4500]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x218
cmp r14d, dword [rbx + 0x44f8]
jl 0x1400088b0
mov r13, qword [rsp + 0xd8]
mov r15d, 0xffffffff
mov r14d, edi
cmp dword [rbx + 0x44c0], edi
jle 0x140008a2d
mov rsi, rdi
nop dword [rax + rax]
mov rbp, qword [rbx + 0x44c8]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm10
jb 0x140008a1d
comiss xmm9, xmm0
jbe 0x140008a1d
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.14002f670
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x44c0]
jl 0x1400089f0
movaps xmm9, xmmword [rsp + 0x50]
cmp byte [rbx + 0x3f6b], dil
je 0x140008aa5
mov rsi, qword [0x1400821e0]
mov rcx, qword [rsi + 0x41b0]
test rcx, rcx
je 0x140008a6e
mov qword [rsi + 0x41a8], rdi
test rsi, rsi
je 0x140008a61
dec dword [rsi + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x41b0], rdi
mov rcx, qword [rsi + 0x41c0]
test rcx, rcx
je 0x140008aa0
mov rax, qword [0x1400821e0]
mov qword [rsi + 0x41b8], rdi
test rax, rax
je 0x140008a93
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x41c0], rdi
call fcn.140038d40
mov rax, qword [rbx + 0x4250]
mov byte [rbx + 0x3f6b], dil
test rax, rax
je 0x140008b16
cmp byte [rax + 0xcc], dil
jne 0x140008b16
mov rcx, qword [0x1400821e0]
mov eax, dword [rcx + 0x3f88]
sub eax, 1
js 0x140008b0f
movsxd rdx, eax
mov rax, qword [rcx + 0x3f90]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x140008b05
cmp byte [rcx + 0xcc], dil
je 0x140008b05
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x140008c63
sub r8, 8
sub rdx, 1
jns 0x140008ae1
xor ecx, ecx
call fcn.140010de0
mov ecx, dword [rbx + 0x3fac]
test ecx, ecx
jns 0x140008ba4
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 0x140008ba4
mov rax, qword [0x1400821e0]
test rax, rax
je 0x140008b4a
inc dword [rax + 0xfc]
movsxd rax, esi
imul rcx, rax, 0x58
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, qword [rbx + 0x3fb0]
mov r14, rax
test rbp, rbp
je 0x140008b97
movsxd rdx, dword [rbx + 0x3fa8]
mov rcx, rax
imul r8, rdx, 0x58
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x1400821e0]
test rcx, rcx
je 0x140008b8e
dec dword [rcx + 0xfc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3fb0], r14
mov dword [rbx + 0x3fac], esi
mov dword [rbx + 0x3fa8], edi
mov ecx, dword [rbx + 0x41dc]
test ecx, ecx
jns 0x140008bd0
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x41d8]
test eax, eax
cmovg edx, eax
call fcn.1400243c0
lea rsi, [rbx + 0x41a8]
mov dword [rbx + 0x41d8], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x140008bff
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
mov rcx, rsi
test eax, eax
cmovg edx, eax
call fcn.140024630
mov ecx, dword [rsi + 4]
mov dword [rsi], edi
mov eax, edi
test ecx, ecx
jne 0x140008c14
lea edx, [rcx + 8]
mov rcx, rsi
call fcn.140024630
mov eax, dword [rsi]
movsxd rcx, eax
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x41b8]
inc dword [rsi]
call fcn.140023df0
test byte [rbx + 8], 0x40
je 0x140008d43
mov rax, qword [rbx + 0x3fe8]
mov qword [rbx + 0x5680], rdi
test rax, rax
je 0x140008c8f
mov rcx, qword [rax + 0x428]
test rcx, rcx
je 0x140008c70
mov rdx, qword [rbx + 0xe04]
call fcn.140021610
jmp 0x140008c88
call fcn.140014dc0
mov rcx, rax
jmp 0x140008b11
mov rax, qword [rax + 0x3a0]
mov rcx, qword [rax + 0x420]
mov rax, rdi
test rcx, rcx
cmovne rax, rcx
mov qword [rbx + 0x5680], rax
mov esi, edi
cmp dword [rbx + 0x5548], edi
jle 0x140008ccd
mov rbp, rdi
nop dword [rax]
mov rax, qword [rbx + 0x5550]
cmp dword [rax + rbp], 1
jne 0x140008cbf
movsxd rdx, esi
mov rcx, rbx
shl rdx, 6
add rdx, rax
call fcn.14001bad0
inc esi
add rbp, 0x40
cmp esi, dword [rbx + 0x5548]
jl 0x140008ca0
mov ecx, dword [rbx + 0x554c]
test ecx, ecx
jns 0x140008cf3
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5548]
test eax, eax
cmovg edx, eax
call fcn.140024590
mov dword [rbx + 0x5548], edi
mov esi, edi
cmp dword [rbx + 0x5538], edi
jle 0x140008d43
mov rbp, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x5540]
mov rcx, qword [rax + rbp + 8]
test rcx, rcx
je 0x140008d35
cmp qword [rcx + 0x18], rdi
jne 0x140008d35
test dword [rcx + 0x10], 0x400
jne 0x140008d35
call fcn.14001cee0
inc esi
add rbp, 0x10
cmp esi, dword [rbx + 0x5538]
jl 0x140008d10
mov rsi, qword [0x1400821e0]
mov dword [rsi + 0x5644], edi
cmp byte [rsi + 0x5640], dil
je 0x140008eb9
mov r14d, dword [rsi + 0x4014]
mov edx, 1
mov ecx, 0x20e
mov dword [rsi + 0x43f0], 7
call fcn.140011a10
test al, al
je 0x140008d88
mov byte [rsi + 0x5640], dil
mov ebp, dword [rsi + 0xe24]
cmp ebp, 0x3000
je 0x140008dcb
movzx eax, byte [rsi + 0x5641]
cmp byte [rax + rsi + 0xe0c], dil
je 0x140008dcb
movss xmm0, dword [rsi + rax*4 + 0x3778]
ucomiss xmm0, xmm10
jp 0x140008dcb
jne 0x140008dcb
test r14d, r14d
je 0x140008dcb
mov dword [rsi + 0x5644], r14d
mov byte [rsi + 0x5640], dil
mov eax, edi
mov rcx, rdi
mov edx, 0x3778
cmp ebp, 0x3000
jne 0x140008dfa
cmp byte [rsi + rcx + 0xe0c], dil
je 0x140008dfa
movss xmm0, dword [rsi + rdx]
ucomiss xmm0, xmm10
jp 0x140008dfa
jne 0x140008dfa
mov byte [rsi + 0x5641], al
inc eax
inc rcx
add rdx, 4
cmp eax, 3
jl 0x140008dd5
or dword [rsi + 0x40d8], 0x40
xor ecx, ecx
mov dword [rsi + 0x4138], 0x3f333333
call fcn.140012d80
mov edx, r14d
lea rcx, str.HoveredId:_0x_08X
call fcn.140039eb0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140039eb0
lea rax, str.Left
mov qword [rsp + 0x20], rax
lea rax, str.Right
mov qword [rsp + 0x28], rax
lea rax, str.Middle
mov qword [rsp + 0x30], rax
cmp ebp, 0x3000
jne 0x140008e75
lea rcx, str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.140039eb0
jmp 0x140008ead
movzx r8d, byte [rsi + 0x5641]
lea rdx, str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
test r14d, r14d
mov eax, 0x10
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x1400821e0]
mov r8, qword [rsp + r8*8 + 0x20]
add rax, 0x39b8
add rcx, rax
call fcn.140039f30
call fcn.140010b20
mov rsi, qword [0x1400821e0]
movaps xmm10, xmmword [rsp + 0x40]
lea r12, [rsi + 0x400c]
lea r14, [rsi + 0x5658]
mov dword [r12], edi
mov eax, dword [r14]
inc eax
cmp dword [rsi + 0x3f58], eax
jne 0x140008f8d
mov ebp, dword [rsi + 0x4014]
test ebp, ebp
jne 0x140008ef2
mov ebp, dword [rsi + 0x4024]
cmp dword [r14 + 8], ebp
je 0x140008f2c
mov dword [r14 + 8], ebp
mov dword [r14 + 4], r15d
mov ecx, dword [r14 + 0x14]
test ecx, ecx
jns 0x140008f28
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [r14 + 0x10]
test eax, eax
cmovg edx, eax
call fcn.1400244f0
mov rsi, qword [0x1400821e0]
mov dword [r14 + 0x10], edi
test ebp, ebp
je 0x140008f8d
movsxd rcx, dword [r14 + 4]
test ecx, ecx
js 0x140008f5d
mov eax, ecx
cmp ecx, dword [r14 + 0x10]
jge 0x140008f6e
mov r8, qword [r14 + 0x18]
lea rdx, [rcx + rcx*8]
cmp byte [r8 + rdx*8 + 5], dil
jne 0x140008f57
cmp byte [r8 + rdx*8 + 4], 2
jle 0x140008f6e
inc ecx
mov dword [r14 + 4], ecx
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x140008f6a
mov dword [r12], ebp
jmp 0x140008f8d
test ecx, ecx
js 0x140008f8d
cmp eax, dword [r14 + 0x10]
jge 0x140008f8d
cdqe
lea rdx, [rax + rax*8]
mov rax, qword [r14 + 0x18]
mov ecx, dword [rax + rdx*8]
mov dword [r12], ecx
mov rax, qword [r14 + 0x18]
inc byte [rax + rdx*8 + 4]
mov byte [rbx + 0x3f69], 1
lea rcx, str.DebugDefault
or dword [rsi + 0x40d8], 2
xor r8d, r8d
xor edx, edx
mov dword [rsi + 0x40fc], 0x43c80000
mov dword [rsi + 0x4100], 0x43c80000
mov dword [rsi + 0x40e0], 4
call fcn.14000dfe0
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0xc8]
cmp dword [rbx + 0x55b8], edi
jle 0x14000902d
mov rsi, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x55c0]
cmp dword [rax + rsi + 4], 1
jne 0x14000901f
movsxd rdx, edi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rsi + 0x10]
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x55b8]
jl 0x140009000
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret