Function at 0x18000b400
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r13
sub rsp, 0xa8
mov qword [rax + 0x18], rbp
mov qword [rax - 0x30], r14
mov r14, qword [0x1800eb370]
mov qword [rax - 0x38], r15
mov rdi, r14
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov ebx, dword [r14 + 0x5e70]
lea r13, [r14 + 0x5e78]
sub ebx, 1
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rsp + 0x40], xmm10
mov qword [rsp + 0xd8], r13
js 0x18000b4bc
movsxd rsi, ebx
shl rsi, 5
mov rbp, rsi
mov rax, qword [r13]
cmp dword [rsi + rax + 4], 7
jne 0x18000b4ad
mov rcx, qword [r14 + 0x5e78]
mov rdx, rbp
movsxd r8, dword [r14 + 0x5e70]
sub rdx, rcx
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 + 0x5e70]
sub rbp, 0x20
sub rsi, 0x20
sub ebx, 1
jns 0x18000b462
jmp 0x18000b4c4
mov qword [rsp + 0xd8], r13
xor esi, esi
mov ebx, esi
cmp dword [r14 + 0x5e70], esi
jle 0x18000b504
mov ebp, esi
mov rax, qword [r13]
cmp dword [rax + rbp + 4], esi
jne 0x18000b4ee
movsxd rdx, ebx
mov rcx, rdi
shl rdx, 5
add rdx, rax
call qword [rax + rbp + 0x10]
inc ebx
add rbp, 0x20
cmp ebx, dword [r14 + 0x5e70]
jl 0x18000b4d3
mov r14, qword [0x1800eb370]
mov eax, dword [rdi + 0x3d5c]
mov dword [rdi + 0x3d60], eax
cmp byte [r14 + 0x66], sil
je 0x18000b521
test byte [r14 + 0xc], 2
jne 0x18000b521
mov byte [r14 + 0x66], sil
mov ecx, dword [r14 + 8]
bt ecx, 0xa
jae 0x18000b543
mov eax, dword [r14 + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x18000b543
btr ecx, 0xa
mov dword [r14 + 8], ecx
mov eax, dword [rdi + 8]
mov rbx, r14
mov dword [rdi + 0x3d5c], eax
cmp byte [r14 + 0x5e28], sil
jne 0x18000b5bc
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x18000b5b5
lea r8, [rsp + 0xd0]
mov qword [rsp + 0xd0], rsi
call fcn.1800058d0
mov rbp, rax
test rax, rax
je 0x18000b5ae
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x18000b593
mov rcx, rax
call fcn.18001f400
mov rcx, qword [0x1800eb370]
test rcx, rcx
je 0x18000b5a5
dec dword [rcx + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, qword [0x1800eb370]
mov byte [rbx + 0x5e28], 1
movss xmm0, dword [rbx + 0x5e2c]
xorps xmm10, xmm10
comiss xmm0, xmm10
jbe 0x18000b655
subss xmm0, dword [rbx + 0x18]
comiss xmm10, xmm0
movss dword [rbx + 0x5e2c], xmm0
jb 0x18000b655
mov rbp, qword [rbx + 0x20]
test rbp, rbp
je 0x18000b648
lea rcx, [rsp + 0xd0]
mov dword [r14 + 0x5e2c], esi
mov qword [rsp + 0xd0], rsi
call fcn.18001f6b0
lea rdx, [0x1800967fc]
mov rcx, rbp
mov r14, rax
call fcn.1800057a0
mov rbp, rax
test rax, rax
je 0x18000b64f
mov r8, qword [rsp + 0xd0]
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 0x18000b64f
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x5e2c], esi
movss xmm0, dword [rdi + 0x18]
lea rcx, [rdi + 0x5db0]
inc dword [rdi + 0x3f90]
xor edx, edx
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x3fa0], 1
mov word [rdi + 0x5d9a], si
mov dword [rdi + 0x4028], esi
addsd xmm0, qword [rdi + 0x3f88]
movsd qword [rdi + 0x3f88], xmm0
call fcn.18002cb40
movsxd rax, dword [rdi + 0x6080]
movss xmm1, dword [rdi + 0x18]
movss xmm9, dword [0x1800db0d4]
movaps xmm0, xmm1
movss xmm8, dword [0x1800dafa8]
subss xmm0, dword [rdi + rax*4 + 0x5f90]
addss xmm0, dword [rdi + 0x6088]
movss dword [rdi + 0x6088], xmm0
movss dword [rdi + rax*4 + 0x5f90], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x6080]
movss xmm2, dword [rdi + 0x6088]
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 [rdi + 0x6084]
inc eax
mov dword [rdi + 0x6080], ecx
mov ecx, 0x3c
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm10
mov dword [rdi + 0x6084], ecx
jbe 0x18000b739
movd xmm0, ecx
movaps xmm1, xmm8
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x18000b73d
movaps xmm1, xmm9
lea rcx, [rdi + 0x3fc0]
movss dword [rdi + 0xe0], xmm1
call fcn.18002c5e0
movzx ecx, byte [rdi + 0x62]
call fcn.1800173a0
call fcn.1800207b0
mov rax, qword [rdi + 0x38]
mov r15, qword [0x1800eb370]
mov byte [rax + 0x18], 1
mov rcx, qword [r15 + 0x48]
test rcx, rcx
jne 0x18000b782
mov rax, qword [r15 + 0x38]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx]
call fcn.180014bd0
mov eax, dword [rdi + 0x4a30]
movaps xmm7, xmm9
movss xmm4, dword [0x1800db13c]
movaps xmm6, xmm9
movaps xmm5, xmm4
test eax, eax
jle 0x18000b7f7
mov rcx, qword [rdi + 0x4a38]
mov edx, eax
nop dword [rax]
mov rax, qword [rcx]
movss xmm3, dword [rax + 8]
comiss xmm7, xmm3
movss xmm2, dword [rax + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [rax + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [rax + 0x14]
jbe 0x18000b7d5
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x18000b7dd
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x18000b7e5
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x18000b7ed
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x18000b7b0
movss dword [rdi + 0x3d94], xmm7
movss dword [rdi + 0x3d98], xmm6
movss dword [rdi + 0x3d9c], xmm4
movss dword [rdi + 0x3da0], xmm5
mov eax, dword [rdi + 0x39b0]
movss xmm1, dword [rdi + 0x39b4]
movaps xmm7, xmmword [rsp + 0x70]
mov dword [rdi + 0x3d8c], eax
movss xmm0, dword [rdi + 0x3d90]
ucomiss xmm0, xmm1
jp 0x18000b843
je 0x18000b8f3
movss xmm6, dword [0x1800daff4]
lea r14, [rdi + 0x3f3c]
movss dword [rdi + 0x3d90], xmm1
mov ebx, esi
mov ebp, 0x200
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
test ebx, ebx
je 0x18000b8b8
movss xmm1, dword [rdi + 0x3d90]
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 0x18000b8b1
mov eax, 4
jmp 0x18000b8bd
cmp eax, ebp
cmovg eax, ebp
jmp 0x18000b8bd
mov eax, 0x30
mov byte [r14], al
inc ebx
inc r14
cmp ebx, 0x40
jl 0x18000b861
movss xmm0, dword [0x1800daf2c]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rdi + 0x3d90]
movaps xmm2, xmm8
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rdi + 0x3f38], xmm1
mov r8d, esi
movaps xmm6, xmmword [rsp + 0x80]
mov dword [rdi + 0x3da4], esi
cmp byte [rdi + 0x39ac], sil
je 0x18000b91d
mov dword [rdi + 0x3da4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rdi + 0x39ad], sil
je 0x18000b942
mov rax, qword [rdi + 0x3d68]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x18000b942
or edx, 2
mov dword [rdi + 0x3da4], edx
cmp byte [rdi + 0x39ae], sil
je 0x18000b954
or edx, 4
mov dword [rdi + 0x3da4], edx
test byte [rdi + 0xc], 8
je 0x18000b963
or edx, 8
mov dword [rdi + 0x3da4], edx
mov ebp, esi
cmp dword [rdi + 0x4a30], esi
jle 0x18000b9d2
mov r14, rsi
mov rax, qword [rdi + 0x4a38]
xor edx, edx
mov rbx, qword [r14 + rax]
lea rcx, [rbx + 0xb8]
mov qword [rbx + 0x30], rsi
mov byte [rbx + 0xa8], sil
mov qword [rbx + 0xb0], rsi
mov dword [rbx + 0xac], esi
call fcn.18002cc20
inc ebp
mov qword [rbx + 0xd8], rsi
mov qword [rbx + 0xd0], rsi
lea r14, [r14 + 8]
mov qword [rbx + 0xc8], rsi
mov qword [rbx + 0xe0], rsi
cmp ebp, dword [rdi + 0x4a30]
jl 0x18000b970
mov r15, qword [0x1800eb370]
cmp byte [rdi + 0x4c68], sil
je 0x18000ba0a
mov eax, dword [rdi + 0x4c84]
cmp eax, dword [rdi + 0x4098]
jne 0x18000ba0a
cmp dword [r15 + 0x4098], eax
jne 0x18000b9f9
mov dword [r15 + 0x409c], eax
cmp dword [r15 + 0x40c8], eax
jne 0x18000ba0a
mov byte [r15 + 0x40cc], 1
lea rax, [rdi + 0x4084]
mov ecx, dword [rax]
cmp dword [rdi + 0x4088], esi
jne 0x18000ba23
mov dword [rdi + 0x4090], esi
jmp 0x18000ba34
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x18000ba3f
cmp dword [rdi + 0x4098], ecx
jne 0x18000ba3f
mov dword [rdi + 0x4094], esi
mov edx, ecx
mov r8, rax
movss xmm1, dword [rdi + 0x18]
test edx, edx
je 0x18000ba76
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x4090]
movss dword [rdi + 0x4090], xmm0
cmp dword [rdi + 0x4098], edx
je 0x18000ba76
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x4094]
movss dword [rdi + 0x4094], xmm0
mov eax, dword [rdi + 0x4098]
movaps xmm2, xmm1
mov dword [rdi + 0x4088], edx
mov dword [r8], esi
mov word [rdi + 0x408c], si
test eax, eax
je 0x18000bacd
cmp dword [rdi + 0x409c], eax
je 0x18000bacd
cmp dword [rdi + 0x40c8], eax
jne 0x18000bacd
test byte [rdi + 0x5f14], 1
je 0x18000bab8
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.18002b640
xor edx, edx
xor ecx, ecx
call fcn.180009fb0
movss xmm2, dword [rdi + 0x18]
mov r15, qword [0x1800eb370]
mov ecx, dword [rdi + 0x4098]
test ecx, ecx
je 0x18000baea
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x40a0]
movss dword [rdi + 0x40a0], xmm0
mov rax, qword [rdi + 0x40b8]
addss xmm2, dword [rdi + 0x40dc]
mov qword [rdi + 0x40d0], rax
movzx eax, byte [rdi + 0x40a8]
mov byte [rdi + 0x40cd], al
mov eax, dword [rdi + 0x5d20]
movss dword [rdi + 0x40dc], xmm2
mov dword [rdi + 0x40c8], ecx
mov dword [rdi + 0x409c], esi
mov byte [rdi + 0x40a9], sil
mov byte [rdi + 0x40cc], sil
mov byte [rdi + 0x40a4], sil
test eax, eax
je 0x18000bb4a
cmp ecx, eax
je 0x18000bb4a
mov dword [rdi + 0x5d20], esi
test ecx, ecx
jne 0x18000bb63
mov dword [rdi + 0x48a8], esi
mov byte [rdi + 0x48ac], sil
mov dword [rdi + 0x48b0], esi
jmp 0x18000bb87
mov eax, dword [rdi + 0x48b0]
test eax, eax
je 0x18000bb87
test al, 2
je 0x18000bb87
mov dword [r15 + 0x418c], ecx
mov dword [r15 + 0x4188], ecx
mov word [r15 + 0x4190], si
mov edx, dword [rdi + 0x4dd8]
mov r8, rdi
mov eax, 0x4df4
mov r9, rdi
mov ecx, 0x3d48
test edx, edx
je 0x18000bbba
movss xmm0, dword [rdi + 0x4df4]
comiss xmm0, dword [rdi + 0x3d48]
jb 0x18000bbc0
mov dword [rdi + 0x4de8], edx
jmp 0x18000bbc0
mov dword [rdi + 0x4de8], esi
mov r10, qword [rdi + 0x4040]
test r10, r10
je 0x18000bbe5
movss xmm0, dword [rax + r8]
comiss xmm0, dword [rcx + r9]
jb 0x18000bbeb
mov eax, dword [r10 + 0x10]
mov dword [rdi + 0x4dec], eax
jmp 0x18000bbeb
mov dword [rdi + 0x4dec], esi
movss xmm0, dword [rdi + 0x4de0]
mov dword [rdi + 0x4ddc], edx
test edx, edx
je 0x18000bc18
addss xmm0, dword [rdi + 0x18]
mov dword [rdi + 0x4de4], esi
mov dword [rdi + 0x4dd8], esi
movss dword [rdi + 0x4de0], xmm0
jmp 0x18000bc52
comiss xmm0, xmm10
jbe 0x18000bc52
movss xmm2, dword [rdi + 0x18]
movss xmm0, dword [0x1800daf4c]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x4de4]
addss xmm2, xmm2
movss dword [rdi + 0x4de4], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x18000bc52
mov qword [rdi + 0x4de0], rsi
mov eax, dword [rdi + 0x4cd4]
mov dword [rdi + 0x4cd8], eax
mov qword [rdi + 0x4cd0], 0x7f7fffff
mov word [rdi + 0x4c69], si
mov dword [rdi + 0x4ce0], esi
call fcn.180015dc0
call fcn.18001b5d0
call fcn.1800164a0
test byte [rdi + 8], 0x40
jne 0x18000bcb2
cmp dword [rdi + 0x5de8], esi
jg 0x18000bc9f
cmp dword [rdi + 0x5df8], esi
jle 0x18000bdb4
mov dl, 1
call fcn.180029ac0
xor ecx, ecx
call fcn.180029640
jmp 0x18000bdb4
cmp byte [rdi + 0x58], sil
je 0x18000bd02
mov ebp, esi
cmp dword [rdi + 0x5de8], esi
jle 0x18000bd02
mov rbx, rsi
nop word [rax + rax]
mov rax, qword [rdi + 0x5df0]
mov rcx, qword [rbx + rax + 8]
test rcx, rcx
je 0x18000bcf4
cmp qword [rcx + 0x18], rsi
jne 0x18000bcf4
cmp qword [rcx + 0x20], rsi
je 0x18000bcf4
mov ecx, dword [rcx]
call fcn.180029640
inc ebp
add rbx, 0x10
cmp ebp, dword [rdi + 0x5de8]
jl 0x18000bcd0
cmp byte [rdi + 0x5e18], sil
je 0x18000bd5a
test byte [rdi + 0x5f14], 0x80
je 0x18000bd20
lea rcx, str._docking__DockContextRebuildNodes_n
call fcn.18002b640
xor ecx, ecx
call fcn.18001f6b0
xor edx, edx
call fcn.180029ac0
xor ecx, ecx
call fcn.180029640
mov r8d, dword [rdi + 0x5e08]
mov rcx, rdi
mov rdx, qword [rdi + 0x5e10]
call fcn.180022eb0
mov rcx, rdi
call fcn.180023100
mov byte [rdi + 0x5e18], sil
mov ebp, esi
cmp dword [rdi + 0x5df8], esi
jle 0x18000bdb4
mov rbx, rsi
nop word [rax + rax]
mov rax, qword [rdi + 0x5e00]
cmp dword [rbx + rax], 2
jne 0x18000bda6
mov rdx, qword [rbx + rax + 0x30]
test rdx, rdx
je 0x18000bd94
mov r8b, 1
mov rcx, rdi
call fcn.180023700
jmp 0x18000bda6
mov rdx, qword [rbx + rax + 0x38]
test rdx, rdx
je 0x18000bda6
mov rcx, rdi
call fcn.180023880
inc ebp
add rbx, 0x40
cmp ebp, dword [rdi + 0x5df8]
jl 0x18000bd70
call fcn.18000afe0
call fcn.18000aa10
mov r8, qword [0x1800eb370]
mov eax, dword [r8 + 0x4a08]
sub eax, 1
js 0x18000be01
mov r8, qword [r8 + 0x4a10]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x18000bdf7
test dword [rax + 0x14], 0x8000000
jne 0x18000be18
sub r8, 0x38
sub rdx, 1
jns 0x18000bde6
cmp qword [rdi + 0x4c30], rsi
je 0x18000be34
movss xmm0, dword [rdi + 0x4c4c]
comiss xmm0, xmm10
jbe 0x18000be34
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1800db014]
addss xmm1, dword [rdi + 0x4c64]
minss xmm1, xmm8
jmp 0x18000be52
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x1800db024]
movss xmm1, dword [rdi + 0x4c64]
subss xmm1, xmm0
maxss xmm1, xmm10
movss dword [rdi + 0x4c64], xmm1
mov r15d, 0xffffffff
movups xmm0, xmmword [rdi + 0x5dc0]
mov dword [rdi + 0x4df0], esi
mov qword [rdi + 0x6090], 0xffffffffffffffff
movups xmmword [rdi + 0x5dd0], xmm0
mov dword [rdi + 0x608c], r15d
mov byte [rdi + 0x5dc0], sil
call fcn.180016a80
movaps xmm8, xmmword [rsp + 0x60]
cmp byte [rdi + 0x3fa3], sil
jne 0x18000bebf
movss xmm0, dword [rdi + 0x68]
comiss xmm10, xmm0
ja 0x18000bebf
movsd xmm9, qword [rdi + 0x3f88]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov ebp, esi
cmp dword [rdi + 0x3fd8], esi
je 0x18000c034
mov r14, rsi
mov rax, qword [rdi + 0x3fe0]
mov rbx, qword [r14 + rax]
movzx ecx, byte [rbx + 0xeb]
movzx eax, word [rbx + 0xf8]
mov byte [rbx + 0xec], cl
mov byte [rbx + 0xeb], sil
mov byte [rbx + 0xed], sil
mov word [rbx + 0xfa], ax
mov word [rbx + 0xf8], si
test cl, cl
jne 0x18000c022
cmp byte [rbx + 0x42c], sil
jne 0x18000c022
comiss xmm9, dword [rbx + 0x2a0]
jbe 0x18000c022
mov rcx, qword [rbx + 0x2d8]
mov byte [rbx + 0x42c], 1
mov eax, dword [rcx + 0x14]
mov dword [rbx + 0x424], eax
mov eax, dword [rcx + 0x24]
mov dword [rbx + 0x428], eax
mov rcx, qword [rbx + 0x130]
test rcx, rcx
je 0x18000bf80
mov rax, qword [0x1800eb370]
mov qword [rbx + 0x128], rsi
test rax, rax
je 0x18000bf73
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x130], rsi
mov rcx, qword [rbx + 0x2d8]
call fcn.1800356d0
mov rcx, qword [rbx + 0x1d0]
test rcx, rcx
je 0x18000bfbe
mov rax, qword [0x1800eb370]
mov qword [rbx + 0x1c8], rsi
test rax, rax
je 0x18000bfb1
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d0], rsi
mov rcx, qword [rbx + 0x208]
test rcx, rcx
je 0x18000bff0
mov rax, qword [0x1800eb370]
mov qword [rbx + 0x200], rsi
test rax, rax
je 0x18000bfe3
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x208], rsi
mov rcx, qword [rbx + 0x218]
test rcx, rcx
je 0x18000c022
mov rax, qword [0x1800eb370]
mov qword [rbx + 0x210], rsi
test rax, rax
je 0x18000c015
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x218], rsi
inc ebp
add r14, 8
cmp ebp, dword [rdi + 0x3fd8]
jne 0x18000bed0
mov r14d, esi
cmp dword [rdi + 0x4d68], esi
jle 0x18000c183
mov qword [rsp + 0xa0], r12
mov r15, rsi
mov r12, rsi
movabs r13, 0xe38e38e38e38e39
nop dword [rax + rax]
mov rax, qword [rdi + 0x4d70]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm10
jb 0x18000c152
comiss xmm9, xmm0
jbe 0x18000c152
mov rbx, qword [rdi + 0x4d48]
mov rbp, qword [0x1800eb370]
add rbx, r12
mov qword [rbx + 0x1e8], rsi
mov rcx, qword [rbx + 0x1e0]
test rcx, rcx
je 0x18000c0c4
mov qword [rbx + 0x1d8], rsi
test rbp, rbp
je 0x18000c0b7
dec dword [rbp + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1e0], rsi
mov byte [rbx + 0x22d], 1
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x18000c0fd
mov rax, qword [0x1800eb370]
mov qword [rbx + 0x188], rsi
test rax, rax
je 0x18000c0f0
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x190], rsi
mov edx, esi
mov byte [rbx + 0x239], 1
cmp dword [rbx + 0x6c], esi
jle 0x18000c126
mov rcx, rsi
nop
mov rax, qword [rbx + 0x18]
lea rcx, [rcx + 0x70]
inc edx
mov word [rcx + rax - 0x20], 0xffff
cmp edx, dword [rbx + 0x6c]
jl 0x18000c110
sub rbx, qword [rbp + 0x4d48]
mov rax, r13
imul rbx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x4d70]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x240
cmp r14d, dword [rdi + 0x4d68]
jl 0x18000c060
mov r12, qword [rsp + 0xa0]
mov r15d, 0xffffffff
mov r13, qword [rsp + 0xd8]
mov r14d, esi
cmp dword [rdi + 0x4d30], esi
jle 0x18000c1ce
mov rbx, rsi
mov rbp, qword [rdi + 0x4d38]
movss xmm0, dword [rbx + rbp + 4]
comiss xmm0, xmm10
jb 0x18000c1be
comiss xmm9, xmm0
jbe 0x18000c1be
lea rcx, [rbp + 0x10]
add rcx, rbx
call fcn.180038d20
mov dword [rbx + rbp + 4], 0xbf800000
inc r14d
add rbx, 0x70
cmp r14d, dword [rdi + 0x4d30]
jl 0x18000c191
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
cmp byte [rdi + 0x3fa3], sil
je 0x18000c24c
mov rbx, qword [0x1800eb370]
mov rcx, qword [rbx + 0x49f0]
test rcx, rcx
je 0x18000c215
mov qword [rbx + 0x49e8], rsi
test rbx, rbx
je 0x18000c208
dec dword [rbx + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x49f0], rsi
mov rcx, qword [rbx + 0x4a00]
test rcx, rcx
je 0x18000c247
mov rax, qword [0x1800eb370]
mov qword [rbx + 0x49f8], rsi
test rax, rax
je 0x18000c23a
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4a00], rsi
call fcn.180043eb0
mov rax, qword [rdi + 0x4aa8]
mov byte [rdi + 0x3fa3], sil
test rax, rax
je 0x18000c2be
cmp byte [rax + 0xec], sil
jne 0x18000c2be
mov rcx, qword [0x1800eb370]
mov eax, dword [rcx + 0x3fe8]
sub eax, 1
js 0x18000c2b2
movsxd rdx, eax
mov rax, qword [rcx + 0x3ff0]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x18000c2a8
cmp byte [rcx + 0xec], sil
je 0x18000c2a8
mov eax, dword [rcx + 0x14]
and eax, 0x40200
cmp eax, 0x40200
jne 0x18000c2b4
sub r8, 8
sub rdx, 1
jns 0x18000c288
xor ecx, ecx
mov edx, 1
call fcn.1800147a0
mov ecx, dword [rdi + 0x400c]
test ecx, ecx
jns 0x18000c2e4
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x4008]
test eax, eax
cmovg edx, eax
call fcn.18002d070
mov dword [rdi + 0x4008], esi
mov ecx, dword [rdi + 0x4a1c]
test ecx, ecx
jns 0x18000c310
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x4a18]
test eax, eax
cmovg edx, eax
call fcn.18002cfe0
lea rbx, [rdi + 0x49e8]
mov dword [rdi + 0x4a18], esi
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x18000c33c
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.18002d2c0
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x18000c350
mov edx, 8
mov rcx, rbx
call fcn.18002d2c0
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rdi + 0x49f8]
inc dword [rbx]
call fcn.18002c220
test byte [rdi + 8], 0x40
je 0x18000c473
mov rax, qword [rdi + 0x4048]
mov qword [rdi + 0x5f88], rsi
test rax, rax
je 0x18000c3c2
mov rcx, qword [rax + 0x450]
test rcx, rcx
je 0x18000c3a8
mov rdx, qword [rdi + 0xe08]
call fcn.180029470
mov qword [rdi + 0x5f88], rax
jmp 0x18000c3c2
mov rax, qword [rax + 0x3b8]
mov rcx, qword [rax + 0x448]
test rcx, rcx
je 0x18000c3c2
mov qword [rdi + 0x5f88], rcx
mov ebx, esi
cmp dword [rdi + 0x5df8], esi
jle 0x18000c3fd
mov rbp, rsi
nop
mov rax, qword [rdi + 0x5e00]
cmp dword [rax + rbp], 1
jne 0x18000c3ef
movsxd rdx, ebx
mov rcx, rdi
shl rdx, 6
add rdx, rax
call fcn.1800231f0
inc ebx
add rbp, 0x40
cmp ebx, dword [rdi + 0x5df8]
jl 0x18000c3d0
mov ecx, dword [rdi + 0x5dfc]
test ecx, ecx
jns 0x18000c423
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x5df8]
test eax, eax
cmovg edx, eax
call fcn.18002d1a0
mov dword [rdi + 0x5df8], esi
mov ebp, esi
cmp dword [rdi + 0x5de8], esi
jle 0x18000c473
mov rbx, rsi
nop word [rax + rax]
mov rax, qword [rdi + 0x5df0]
mov rcx, qword [rax + rbx + 8]
test rcx, rcx
je 0x18000c465
cmp qword [rcx + 0x18], rsi
jne 0x18000c465
test dword [rcx + 0x10], 0x400
jne 0x18000c465
call fcn.1800247f0
inc ebp
add rbx, 0x10
cmp ebp, dword [rdi + 0x5de8]
jl 0x18000c440
mov rbx, qword [0x1800eb370]
mov dword [rbx + 0x5f48], esi
cmp byte [rbx + 0x5f43], sil
je 0x18000c5d4
mov r14d, dword [rbx + 0x4088]
xor edx, edx
mov ecx, 0x20e
mov dword [rbx + 0x4df0], 7
lea r8d, [rdx + 1]
call fcn.1800159e0
test al, al
je 0x18000c4b9
mov byte [rbx + 0x5f43], sil
mov ebp, dword [rbx + 0xe2c]
cmp ebp, 0x3000
je 0x18000c4ef
movzx ecx, byte [rbx + 0x5f44]
xor r8d, r8d
xor edx, edx
call fcn.180015b30
test al, al
je 0x18000c4ef
test r14d, r14d
je 0x18000c4ef
mov dword [rbx + 0x5f48], r14d
mov byte [rbx + 0x5f43], sil
mov r11d, esi
cmp ebp, 0x3000
jne 0x18000c512
xor r8d, r8d
xor edx, edx
mov ecx, r11d
call fcn.180015b30
test al, al
je 0x18000c512
mov byte [rbx + 0x5f44], r11b
inc r11d
cmp r11d, 3
jl 0x18000c4f2
mov rax, qword [0x1800eb370]
xor ecx, ecx
or dword [rax + 0x4918], 0x40
mov dword [rax + 0x4978], 0x3f333333
call fcn.180018cb0
test al, al
je 0x18000c5d4
mov edx, r14d
lea rcx, str.HoveredId:_0x_08X
call fcn.1800450f0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.1800450f0
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 0x18000c597
lea rcx, str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.1800450f0
jmp 0x18000c5cf
movzx r8d, byte [rbx + 0x5f44]
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 [0x1800eb370]
mov r8, qword [rsp + r8*8 + 0x20]
add rax, 0x39b8
add rcx, rax
call fcn.180045230
call fcn.1800143e0
mov rbx, qword [0x1800eb370]
mov dword [rbx + 0x4080], esi
mov eax, dword [rbx + 0x5f60]
inc eax
cmp dword [rbx + 0x3f90], eax
jne 0x18000c6b5
mov ebp, dword [rbx + 0x4088]
test ebp, ebp
jne 0x18000c605
mov ebp, dword [rbx + 0x4098]
lea r14, [rbx + 0x5f70]
cmp dword [rbx + 0x5f68], ebp
je 0x18000c644
mov dword [rbx + 0x5f68], ebp
mov dword [rbx + 0x5f64], r15d
mov ecx, dword [r14 + 4]
test ecx, ecx
jns 0x18000c641
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.18002d100
mov dword [r14], esi
test ebp, ebp
je 0x18000c6b5
movsxd rcx, dword [rbx + 0x5f64]
test ecx, ecx
js 0x18000c67c
mov eax, ecx
cmp ecx, dword [r14]
jge 0x18000c68f
mov r8, qword [rbx + 0x5f78]
lea rdx, [rcx + rcx*8]
cmp byte [r8 + rdx*8 + 5], sil
jne 0x18000c674
cmp byte [r8 + rdx*8 + 4], 2
jle 0x18000c68f
inc ecx
mov dword [rbx + 0x5f64], ecx
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x18000c68b
mov dword [rbx + 0x4080], ebp
jmp 0x18000c6b5
test ecx, ecx
js 0x18000c6b5
cmp eax, dword [r14]
jge 0x18000c6b5
cdqe
lea rdx, [rax + rax*8]
mov rax, qword [rbx + 0x5f78]
mov ecx, dword [rax + rdx*8]
mov dword [rbx + 0x4080], ecx
mov rax, qword [rbx + 0x5f78]
inc byte [rax + rdx*8 + 4]
movzx eax, byte [rdi + 0x5f41]
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xe0]
test al, al
je 0x18000c6e8
sub al, 1
mov byte [rdi + 0x5f41], al
jne 0x18000c6e8
mov dword [rdi + 0x48bc], esi
movzx eax, byte [rdi + 0x5f40]
test al, al
je 0x18000c710
sub al, 1
mov byte [rdi + 0x5f40], al
jne 0x18000c710
lea rcx, str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.18002b640
and dword [rdi + 0x5f14], 0xffffffef
mov rax, qword [0x1800eb370]
lea rcx, str.DebugDefault
mov byte [rdi + 0x3fa1], 1
xor r8d, r8d
xor edx, edx
or dword [rax + 0x4918], 2
mov dword [rax + 0x493c], 0x43c80000
mov dword [rax + 0x4940], 0x43c80000
mov dword [rax + 0x4920], 4
call fcn.180011660
cmp byte [rdi + 0x81], sil
je 0x18000c7a4
movsx edx, byte [rdi + 0x5f42]
cmp dl, 0xff
jne 0x18000c76d
mov ecx, esi
jmp 0x18000c7a6
mov eax, dword [rdi + 0x3f90]
and eax, 0x80000003
jge 0x18000c781
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
mov ecx, esi
mov eax, 0x66666667
sete cl
add ecx, edx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
jmp 0x18000c7a6
mov cl, 0xff
mov byte [rdi + 0x5f42], cl
cmp dword [rdi + 0x5e70], esi
jle 0x18000c7ea
mov rbx, rsi
nop word [rax + rax]
mov rax, qword [r13]
cmp dword [rax + rbx + 4], 1
jne 0x18000c7dc
movsxd rdx, esi
mov rcx, rdi
shl rdx, 5
add rdx, rax
call qword [rax + rbx + 0x10]
inc esi
add rbx, 0x20
cmp esi, dword [rdi + 0x5e70]
jl 0x18000c7c0
add rsp, 0xa8
pop r13
pop rdi
pop rsi
pop rbx
ret