Function at 0x140007bc0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xc0
mov rdi, qword [0x1401452e0]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax - 0x18], r15
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rsp + 0x40], xmm12
test rdi, rdi
jne 0x140007c2a
mov r8d, 0x10ef
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [0x1401452e0]
mov ebx, dword [rdi + 0x5be8]
sub ebx, 1
mov qword [rsp + 0xb8], r14
js 0x140007d2d
movsxd rbp, ebx
shl rbp, 5
mov r14, rbp
nop dword [rax + rax]
cmp ebx, dword [rdi + 0x5be8]
jl 0x140007c72
mov r8d, 0x705
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x5bf0]
cmp dword [rax + rbp + 4], 7
jne 0x140007d1c
cmp ebx, dword [rdi + 0x5be8]
jl 0x140007ca6
mov r8d, 0x705
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x5bf0]
lea rsi, [rcx + r14]
cmp rsi, rcx
jb 0x140007cc9
movsxd rax, dword [rdi + 0x5be8]
shl rax, 5
add rax, rcx
cmp rsi, rax
jb 0x140007ce3
mov r8d, 0x71d
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.h
lea rcx, [0x140053618]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x5bf0]
movsxd r8, dword [rdi + 0x5be8]
sub rsi, rcx
sar rsi, 5
sub r8, rsi
mov rax, rsi
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call sub.VCRUNTIME140.dll_memmove
dec dword [rdi + 0x5be8]
sub r14, 0x20
sub rbp, 0x20
sub ebx, 1
jns 0x140007c50
xor edx, edx
mov rcx, rdi
call fcn.140006310
call fcn.1400142e0
mov rbx, qword [0x1401452e0]
xor r15d, r15d
cmp byte [rbx + 0x5ba1], r15b
jne 0x140007dd3
cmp dword [rbx + 0x5bc8], r15d
je 0x140007d76
mov r8d, 0x30b3
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140007dcc
lea r8, [rsp + 0xd0]
mov qword [rsp + 0xd0], r15
call fcn.140003210
mov rsi, rax
test rax, rax
je 0x140007dcc
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x140007db1
mov rcx, rax
call fcn.14001b7b0
mov rcx, qword [0x1401452e0]
test rcx, rcx
je 0x140007dc3
dec dword [rcx + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5ba1], 1
movss xmm0, dword [rbx + 0x5ba4]
xorps xmm12, xmm12
comiss xmm0, xmm12
jbe 0x140007e74
subss xmm0, dword [rbx + 0x18]
comiss xmm12, xmm0
movss dword [rbx + 0x5ba4], xmm0
jb 0x140007e74
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x140007e66
mov rax, qword [0x1401452e0]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0xd0], r15
mov dword [rax + 0x5ba4], r15d
call fcn.14001bb60
lea rdx, [0x1400532fc]
mov rcx, rsi
mov rbp, rax
call fcn.140003060
mov rsi, rax
test rax, rax
je 0x140007e6d
mov r8, qword [rsp + 0xd0]
mov r9, rax
mov edx, 1
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140007e6d
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x5ba4], r15d
inc dword [rdi + 0x3e50]
movss xmm0, dword [rdi + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x3e5c], 1
mov word [rdi + 0x5b5a], r15w
mov dword [rdi + 0x3ec0], r15d
addsd xmm0, qword [rdi + 0x3e48]
movsd qword [rdi + 0x3e48], xmm0
mov ecx, dword [rdi + 0x5b74]
test ecx, ecx
jns 0x140007ecf
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x5b70]
test eax, eax
cmovg edx, eax
call fcn.14001dcd0
movss xmm11, dword [0x14005b16c]
movss xmm10, dword [0x14005af14]
mov dword [rdi + 0x5b70], r15d
movsxd rax, dword [rdi + 0x5dd8]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x5ce8]
addss xmm0, dword [rdi + 0x5de0]
movss dword [rdi + 0x5de0], xmm0
movss dword [rdi + rax*4 + 0x5ce8], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x5dd8]
movss xmm2, dword [rdi + 0x5de0]
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 + 0x5ddc]
inc eax
mov dword [rdi + 0x5dd8], ecx
mov ecx, 0x3c
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm12
mov dword [rdi + 0x5ddc], ecx
jbe 0x140007f7a
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x140007f7e
movaps xmm1, xmm11
mov rsi, qword [0x1401452e0]
movss dword [rdi + 0xe0], xmm1
cmp dword [rsi + 0x48a0], 1
je 0x140007fb0
mov r8d, 0x3204
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.cpp
lea rcx, str.g.Viewports.Size__1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rsi + 0x48a0], r15d
jg 0x140007fd3
mov r8d, 0x705
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x48a8]
mov ebp, r15d
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], r15d
movsd xmm0, qword [rsi + 0x10]
movsd qword [rcx + 0xc], xmm0
mov eax, dword [rsi + 0x48a0]
test eax, eax
jle 0x1400080d2
mov rbx, r15
test rbx, rbx
js 0x14000800f
cmp ebp, eax
jl 0x140008029
mov r8d, 0x705
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x48a8]
movaps xmm3, xmm12
inc ebp
mov rcx, qword [rax + rbx*8]
inc rbx
movsd xmm4, qword [rcx + 0xa8]
movsd xmm2, qword [rcx + 0xb0]
movaps xmm1, xmm4
addss xmm1, dword [rcx + 4]
movsd qword [rcx + 0xa0], xmm2
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
addss xmm0, dword [rcx + 8]
mov qword [rcx + 0xb0], r15
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0xc]
mov qword [rcx + 0xa8], r15
subss xmm1, xmm4
movss dword [rcx + 0x18], xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
movsd qword [rcx + 0x98], xmm4
addss xmm1, xmm2
movss xmm2, dword [rcx + 0x10]
subss xmm2, xmm0
movaps xmm0, xmm12
maxss xmm3, xmm1
addss xmm2, dword [rcx + 0xa4]
movss dword [rcx + 0x1c], xmm3
maxss xmm0, xmm2
movss dword [rcx + 0x20], xmm0
mov eax, dword [rsi + 0x48a0]
cmp ebp, eax
jl 0x140008006
mov rax, qword [rdi + 0x58]
mov rbx, qword [0x1401452e0]
mov byte [rax + 0x18], 1
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140008115
mov rbx, qword [rbx + 0x58]
cmp dword [rbx + 0x58], r15d
jg 0x14000810e
mov r8d, 0x705
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x60]
mov rcx, qword [rax]
call fcn.140010c60
mov rax, qword [rdi + 0x3c18]
cmp qword [rax + 0x40], r15
jne 0x140008141
mov r8d, 0x1113
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.cpp
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm6, dword [0x14005b184]
movaps xmm9, xmm11
mov eax, dword [rdi + 0x48a0]
movaps xmm7, xmm6
movaps xmm8, xmm11
mov ebx, r15d
test eax, eax
jle 0x1400081e3
mov rsi, r15
test rsi, rsi
js 0x140008171
cmp ebx, eax
jl 0x14000818b
mov r8d, 0x705
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x48a8]
mov rcx, qword [rax + rsi*8]
movss xmm3, dword [rcx + 4]
comiss xmm9, xmm3
movss xmm2, dword [rcx + 8]
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 0x10]
jbe 0x1400081ba
movaps xmm9, xmm3
comiss xmm8, xmm2
jbe 0x1400081c4
movaps xmm8, xmm2
comiss xmm0, xmm6
jbe 0x1400081cc
movaps xmm6, xmm0
comiss xmm1, xmm7
jbe 0x1400081d4
movaps xmm7, xmm1
mov eax, dword [rdi + 0x48a0]
inc ebx
inc rsi
cmp ebx, eax
jl 0x140008168
movss dword [rdi + 0x3c44], xmm9
movss dword [rdi + 0x3c48], xmm8
movss dword [rdi + 0x3c4c], xmm6
movss dword [rdi + 0x3c50], xmm7
mov eax, dword [rdi + 0x38a0]
movss xmm6, dword [rdi + 0x38a4]
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
mov dword [rdi + 0x3c3c], eax
movss xmm0, dword [rdi + 0x3c40]
ucomiss xmm0, xmm6
jp 0x140008243
je 0x140008313
comiss xmm6, xmm12
ja 0x140008263
mov r8d, 0x194
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui_draw.cpp
lea rcx, str.max_error___0.0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss dword [rdi + 0x3c40], xmm6
lea rsi, [rdi + 0x3dec]
movss xmm6, dword [0x14005af40]
mov ebx, r15d
mov ebp, 0x200
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
test ebx, ebx
je 0x1400082d9
movss xmm1, dword [rdi + 0x3c40]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm10
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 0x1400082d2
mov eax, 4
jmp 0x1400082de
cmp eax, ebp
cmovg eax, ebp
jmp 0x1400082de
mov eax, 0x30
mov byte [rsi], al
inc ebx
inc rsi
cmp ebx, 0x40
jl 0x140008282
movss xmm0, dword [0x14005aeb0]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rdi + 0x3c40]
movaps xmm2, xmm10
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rdi + 0x3de8], xmm1
mov r8d, r15d
movaps xmm6, xmmword [rsp + 0xa0]
mov dword [rdi + 0x3c54], r15d
cmp byte [rdi + 0x389c], r15b
je 0x14000833e
mov dword [rdi + 0x3c54], 1
mov r8d, 1
mov edx, r8d
cmp byte [rdi + 0x389d], r15b
je 0x140008363
mov rax, qword [rdi + 0x3c18]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x140008363
or edx, 2
mov dword [rdi + 0x3c54], edx
cmp byte [rdi + 0x389e], r15b
je 0x140008375
or edx, 4
mov dword [rdi + 0x3c54], edx
test byte [rdi + 0xc], 8
je 0x140008384
or edx, 8
mov dword [rdi + 0x3c54], edx
mov eax, dword [rdi + 0x48a0]
mov ebx, r15d
test eax, eax
jle 0x1400083e0
mov rsi, r15
test rsi, rsi
js 0x14000839d
cmp ebx, eax
jl 0x1400083b7
mov r8d, 0x705
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x48a8]
xorps xmm0, xmm0
inc ebx
mov rcx, qword [rax + rsi*8]
inc rsi
movups xmmword [rcx + 0x48], xmm0
movups xmmword [rcx + 0x58], xmm0
movups xmmword [rcx + 0x68], xmm0
mov eax, dword [rdi + 0x48a0]
cmp ebx, eax
jl 0x140008394
cmp byte [rdi + 0x4a5c], r15b
je 0x14000841b
mov eax, dword [rdi + 0x4a7c]
cmp eax, dword [rdi + 0x3f30]
jne 0x14000841b
mov rcx, qword [0x1401452e0]
cmp dword [rcx + 0x3f30], eax
jne 0x14000840c
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x14000841b
mov byte [rcx + 0x3f64], 1
cmp dword [rdi + 0x3f20], r15d
jne 0x14000842d
mov dword [rdi + 0x3f28], r15d
jmp 0x14000843f
mov eax, dword [rdi + 0x3f1c]
test eax, eax
je 0x140008446
cmp dword [rdi + 0x3f30], eax
jne 0x140008446
mov dword [rdi + 0x3f2c], r15d
mov eax, dword [rdi + 0x3f1c]
test eax, eax
je 0x140008480
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x3f28]
movss dword [rdi + 0x3f28], xmm0
cmp dword [rdi + 0x3f30], eax
je 0x140008480
addss xmm1, dword [rdi + 0x3f2c]
movss dword [rdi + 0x3f2c], xmm1
mov dword [rdi + 0x3f20], eax
mov eax, dword [rdi + 0x3f30]
mov dword [rdi + 0x3f1c], r15d
mov word [rdi + 0x3f24], r15w
test eax, eax
je 0x1400084c9
cmp dword [rdi + 0x3f34], eax
je 0x1400084c9
cmp dword [rdi + 0x3f60], eax
jne 0x1400084c9
test byte [rdi + 0x5c7c], 1
je 0x1400084c4
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.14001c5e0
call fcn.140006e50
mov ebx, dword [rdi + 0x3f30]
test ebx, ebx
je 0x1400084e8
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x3f38]
movss dword [rdi + 0x3f38], xmm0
mov rax, qword [rdi + 0x3f50]
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x3f74]
mov qword [rdi + 0x3f68], rax
movzx eax, byte [rdi + 0x3f40]
mov byte [rdi + 0x3f65], al
mov eax, dword [rdi + 0x5ae8]
movss dword [rdi + 0x3f74], xmm0
mov dword [rdi + 0x3f60], ebx
mov dword [rdi + 0x3f34], r15d
mov byte [rdi + 0x3f41], r15b
mov byte [rdi + 0x3f64], r15b
mov byte [rdi + 0x3f3c], r15b
test eax, eax
je 0x14000854f
cmp ebx, eax
je 0x14000854f
mov dword [rdi + 0x5ae8], r15d
test ebx, ebx
jne 0x14000856a
mov dword [rdi + 0x4740], r15d
mov byte [rdi + 0x4744], r15b
mov dword [rdi + 0x4748], r15d
jmp 0x1400085b2
mov eax, dword [rdi + 0x4748]
test eax, eax
je 0x1400085b2
test al, 2
je 0x14000858c
mov ecx, 0x20e
call fcn.140002100
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], r15w
test dword [rdi + 0x4748], 0xfffffffd
je 0x1400085b2
mov r8d, 0x1166
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.cpp
lea rcx, [0x14004e750]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x4bd0]
movss xmm0, dword [rdi + 0x4bd8]
mov dword [rdi + 0x4bd4], eax
test eax, eax
je 0x1400085e7
addss xmm0, dword [rdi + 0x18]
mov dword [rdi + 0x4bdc], r15d
mov dword [rdi + 0x4bd0], r15d
movss dword [rdi + 0x4bd8], xmm0
jmp 0x140008621
comiss xmm0, xmm12
jbe 0x140008621
movss xmm2, dword [rdi + 0x18]
movss xmm0, dword [0x14005aebc]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x4bdc]
addss xmm2, xmm2
movss dword [rdi + 0x4bdc], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x140008621
mov qword [rdi + 0x4bd8], r15
mov eax, dword [rdi + 0x4acc]
mov dword [rdi + 0x4ad0], eax
mov qword [rdi + 0x4ac8], 0x7f7fffff
mov word [rdi + 0x4a5d], r15w
mov dword [rdi + 0x4ad8], r15d
mov ecx, dword [rdi + 0x37d4]
test ecx, ecx
jns 0x14000866e
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x37d0]
test eax, eax
cmovg edx, eax
call fcn.14001db00
mov dword [rdi + 0x37d0], r15d
movzx ecx, byte [rdi + 0x7a]
call fcn.140013720
call fcn.1400120d0
call fcn.140017de0
call fcn.1400128b0
call fcn.140007790
mov rbx, qword [0x1401452e0]
mov rcx, qword [rbx + 0x3ee8]
test rcx, rcx
je 0x1400087b9
mov eax, dword [rbx + 0x3f30]
mov dword [rbx + 0x3f34], eax
cmp dword [rbx + 0x3f60], eax
jne 0x1400086c4
mov byte [rbx + 0x3f64], 1
cmp qword [rcx + 0x370], r15
jne 0x1400086e7
mov r8d, 0x104b
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.cpp
lea rcx, str.g.MovingWindow__g.MovingWindow__RootWindow
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x3ee8]
mov rbp, qword [rax + 0x370]
cmp byte [rbx + 0xe04], r15b
je 0x1400087b0
cmp qword [0x1401452e0], r15
lea rsi, [rbx + 0xdfc]
jne 0x14000872c
mov r8d, 0x1fdd
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.cpp
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
jne 0x14000873f
mov rsi, qword [0x1401452e0]
add rsi, 0xdfc
movss xmm0, dword [rsi]
movss xmm1, dword [0x14005b180]
comiss xmm0, xmm1
movss xmm2, dword [rsi + 4]
jb 0x1400087b0
comiss xmm2, xmm1
jb 0x1400087b0
movss xmm0, dword [rbx + 0xdfc]
lea rdx, [rsp + 0xd0]
movss xmm1, dword [rbx + 0xe00]
mov r8d, 1
subss xmm0, dword [rbx + 0x3f44]
subss xmm1, dword [rbx + 0x3f48]
mov rcx, rbp
movss dword [rsp + 0xd0], xmm0
movss dword [rsp + 0xd4], xmm1
call fcn.140010f90
mov rcx, qword [rbx + 0x3ee8]
call fcn.140010a30
jmp 0x1400087f3
mov qword [rbx + 0x3ee8], r15
jmp 0x1400087ee
mov rcx, qword [rbx + 0x3f50]
test rcx, rcx
je 0x1400087f3
mov eax, dword [rbx + 0x3f30]
cmp dword [rcx + 0x74], eax
jne 0x1400087f3
mov dword [rbx + 0x3f34], eax
cmp dword [rbx + 0x3f60], eax
jne 0x1400087e5
mov byte [rbx + 0x3f64], 1
cmp byte [rbx + 0xe04], r15b
jne 0x1400087f3
call fcn.140006e50
mov r8, qword [0x1401452e0]
mov eax, dword [r8 + 0x4878]
sub eax, 1
js 0x14000883b
mov r8, qword [r8 + 0x4880]
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 0x140008831
test dword [rax + 0xc], 0x8000000
jne 0x140008852
sub r8, 0x38
sub rdx, 1
jns 0x140008820
cmp qword [rdi + 0x4a20], r15
je 0x14000886e
movss xmm0, dword [rdi + 0x4a3c]
comiss xmm0, xmm12
jbe 0x14000886e
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x14005af54]
addss xmm1, dword [rdi + 0x4a54]
minss xmm1, xmm10
jmp 0x14000888c
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x14005af68]
movss xmm1, dword [rdi + 0x4a54]
subss xmm1, xmm0
maxss xmm1, xmm12
movss dword [rdi + 0x4a54], xmm1
movups xmm0, xmmword [rdi + 0x5b80]
mov dword [rdi + 0x4a58], r15d
mov qword [rdi + 0x5de8], 0xffffffffffffffff
movups xmmword [rdi + 0x5b90], xmm0
mov dword [rdi + 0x5de4], 0xffffffff
mov byte [rdi + 0x5b80], r15b
call fcn.140012ed0
mov eax, dword [rdi + 0x3e70]
movaps xmm10, xmmword [rsp + 0x60]
cmp dword [rdi + 0x3e80], eax
jle 0x1400088fe
mov r8d, 0x11b1
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.cpp
lea rcx, str.g.WindowsFocusOrder.Size___g.Windows.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x3e70]
cmp byte [rdi + 0x3e5f], r15b
jne 0x140008928
movss xmm0, dword [rdi + 0x80]
comiss xmm12, xmm0
ja 0x140008928
movsd xmm11, qword [rdi + 0x3e48]
cvtpd2ps xmm11, xmm11
subss xmm11, xmm0
mov esi, r15d
test eax, eax
je 0x140008abf
mov rbp, r15
test rbp, rbp
js 0x14000893f
cmp esi, eax
jl 0x140008959
mov r8d, 0x705
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x3e78]
mov rbx, qword [rax + rbp*8]
movzx ecx, byte [rbx + 0xae]
movzx eax, word [rbx + 0xba]
mov byte [rbx + 0xaf], cl
mov byte [rbx + 0xae], r15b
mov byte [rbx + 0xb0], r15b
mov word [rbx + 0xbc], ax
mov word [rbx + 0xba], r15w
test cl, cl
jne 0x140008aac
cmp byte [rbx + 0x3cc], r15b
jne 0x140008aac
comiss xmm11, dword [rbx + 0x25c]
jbe 0x140008aac
mov rcx, qword [rbx + 0x290]
mov byte [rbx + 0x3cc], 1
mov eax, dword [rcx + 0x14]
mov dword [rbx + 0x3c4], eax
mov eax, dword [rcx + 0x24]
mov dword [rbx + 0x3c8], eax
mov rcx, qword [rbx + 0xf0]
test rcx, rcx
je 0x140008a0a
mov rax, qword [0x1401452e0]
mov qword [rbx + 0xe8], r15
test rax, rax
je 0x1400089fd
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0xf0], r15
mov rcx, qword [rbx + 0x290]
call fcn.1400267f0
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x140008a48
mov rax, qword [0x1401452e0]
mov qword [rbx + 0x188], r15
test rax, rax
je 0x140008a3b
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x190], r15
mov rcx, qword [rbx + 0x1c8]
test rcx, rcx
je 0x140008a7a
mov rax, qword [0x1401452e0]
mov qword [rbx + 0x1c0], r15
test rax, rax
je 0x140008a6d
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c8], r15
mov rcx, qword [rbx + 0x1d8]
test rcx, rcx
je 0x140008aac
mov rax, qword [0x1401452e0]
mov qword [rbx + 0x1d0], r15
test rax, rax
je 0x140008a9f
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d8], r15
mov eax, dword [rdi + 0x3e70]
inc esi
inc rbp
cmp esi, eax
jne 0x140008936
mov eax, dword [rdi + 0x4b60]
mov ebx, r15d
test eax, eax
jle 0x140008b8b
mov rsi, r15
test ebx, ebx
js 0x140008adb
cmp ebx, eax
jl 0x140008af5
mov r8d, 0x705
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x4b68]
movss xmm0, dword [rsi + rax]
comiss xmm0, xmm12
jb 0x140008b77
test ebx, ebx
js 0x140008b13
cmp ebx, dword [rdi + 0x4b60]
jl 0x140008b2d
mov r8d, 0x705
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x4b68]
comiss xmm11, dword [rsi + rax]
jbe 0x140008b77
test ebx, ebx
js 0x140008b47
cmp ebx, dword [rdi + 0x4b38]
jl 0x140008b61
mov r8d, 0x705
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, ebx
imul rcx, rax, 0x228
add rcx, qword [rdi + 0x4b40]
call fcn.140033e80
mov eax, dword [rdi + 0x4b60]
inc ebx
add rsi, 4
cmp ebx, eax
jl 0x140008ad3
mov eax, dword [rdi + 0x4b28]
mov esi, r15d
test eax, eax
jle 0x140008c67
mov r14, r15
mov rbp, r15
test r14, r14
js 0x140008bab
cmp esi, eax
jl 0x140008bc5
mov r8d, 0x705
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x4b30]
movss xmm0, dword [rax + rbp + 4]
comiss xmm0, xmm12
jb 0x140008c50
test r14, r14
js 0x140008be5
cmp esi, dword [rdi + 0x4b28]
jl 0x140008bff
mov r8d, 0x705
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x4b30]
comiss xmm11, dword [rax + rbp + 4]
jbe 0x140008c50
test r14, r14
js 0x140008c1b
cmp esi, dword [rdi + 0x4b28]
jl 0x140008c35
mov r8d, 0x705
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [rdi + 0x4b30]
lea rcx, [rbx + 0x10]
add rcx, rbp
call fcn.14002b430
mov dword [rbx + rbp + 4], 0xbf800000
mov eax, dword [rdi + 0x4b28]
inc esi
inc r14
add rbp, 0x70
cmp esi, eax
jl 0x140008ba2
movaps xmm12, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
cmp byte [rdi + 0x3e5f], r15b
je 0x140008ce8
mov rax, qword [0x1401452e0]
mov rbx, rax
mov rcx, qword [rax + 0x4860]
test rcx, rcx
je 0x140008cb8
mov qword [rax + 0x4858], r15
test rax, rax
je 0x140008ca4
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1401452e0]
mov qword [rbx + 0x4860], r15
mov rcx, qword [rbx + 0x4870]
test rcx, rcx
je 0x140008ce3
mov qword [rbx + 0x4868], r15
test rax, rax
je 0x140008cd6
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4870], r15
call fcn.140034050
mov rax, qword [rdi + 0x48b0]
mov byte [rdi + 0x3e5f], r15b
test rax, rax
je 0x140008d0b
cmp byte [rax + 0xaf], r15b
jne 0x140008d0b
xor ecx, ecx
call fcn.140010b50
mov ecx, dword [rdi + 0x3ea4]
test ecx, ecx
jns 0x140008d32
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x3ea0]
test eax, eax
cmovg edx, eax
call fcn.14001da70
mov dword [rdi + 0x3ea0], r15d
mov ecx, dword [rdi + 0x488c]
test ecx, ecx
jns 0x140008d60
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x4888]
test eax, eax
cmovg edx, eax
call fcn.14001d9e0
lea rbx, [rdi + 0x4858]
mov dword [rdi + 0x4888], r15d
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140008d8e
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.14001dcd0
mov dword [rbx], r15d
cmp dword [rbx + 4], r15d
jne 0x140008da4
mov edx, 8
mov rcx, rbx
call fcn.14001dcd0
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], r15d
lea rcx, [rdi + 0x4868]
inc dword [rbx]
call fcn.14001d080
mov rsi, qword [0x1401452e0]
mov dword [rsi + 0x5cac], r15d
cmp byte [rsi + 0x5ca9], r15b
je 0x140008f47
mov r14d, dword [rsi + 0x3f20]
xor edx, edx
mov ecx, 0x20e
mov dword [rsi + 0x4a58], 7
lea r8d, [rdx + 1]
call fcn.140011c40
test al, al
je 0x140008e06
mov byte [rsi + 0x5ca9], r15b
mov ebp, dword [rsi + 0xe18]
cmp ebp, 0x3000
je 0x140008e3c
movzx ecx, byte [rsi + 0x5caa]
xor r8d, r8d
xor edx, edx
call fcn.140011e10
test al, al
je 0x140008e3c
test r14d, r14d
je 0x140008e3c
mov dword [rsi + 0x5cac], r14d
mov byte [rsi + 0x5ca9], r15b
mov ebx, r15d
nop
cmp ebp, 0x3000
jne 0x140008e5e
xor r8d, r8d
xor edx, edx
mov ecx, ebx
call fcn.140011e10
test al, al
je 0x140008e5e
mov byte [rsi + 0x5caa], bl
inc ebx
cmp ebx, 3
jl 0x140008e40
mov rax, qword [0x1401452e0]
xor ecx, ecx
or dword [rax + 0x47a8], 0x40
mov dword [rax + 0x4808], 0x3f333333
call fcn.140015a30
mov edx, r14d
lea rcx, str.HoveredId:_0x_08X
call fcn.140035360
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140035360
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 0x140008ed9
lea rcx, str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.140035360
jmp 0x140008f11
movzx r8d, byte [rsi + 0x5caa]
lea rdx, str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
test r14d, r14d
mov eax, 0x10
mov rcx, r15
cmove rcx, rax
mov rax, qword [0x1401452e0]
mov r8, qword [rsp + r8*8 + 0x20]
add rax, 0x38b4
add rcx, rax
call fcn.140035460
mov rax, qword [0x1401452e0]
mov rcx, qword [rax + 0x3ed0]
test dword [rcx + 0xc], 0x2000000
jne 0x140008f42
mov r8d, 0x269d
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.cpp
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.140010120
mov rbx, qword [0x1401452e0]
mov rbp, qword [rsp + 0xe0]
mov dword [rbx + 0x3f18], r15d
mov eax, dword [rbx + 0x5cc0]
inc eax
cmp dword [rbx + 0x3e50], eax
jne 0x14000903c
mov esi, dword [rbx + 0x3f20]
test esi, esi
jne 0x140008f81
mov esi, dword [rbx + 0x3f30]
cmp dword [rbx + 0x5cc8], esi
je 0x140008fc7
mov dword [rbx + 0x5cc8], esi
mov dword [rbx + 0x5cc4], 0xffffffff
mov ecx, dword [rbx + 0x5cd4]
test ecx, ecx
jns 0x140008fc0
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5cd0]
test eax, eax
cmovg edx, eax
call fcn.14001dba0
mov dword [rbx + 0x5cd0], r15d
test esi, esi
je 0x14000903c
movsxd rax, dword [rbx + 0x5cc4]
test eax, eax
js 0x140008ffd
cmp eax, dword [rbx + 0x5cd0]
jge 0x140008ffd
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x5cd8]
cmp byte [rax + rcx*8 + 5], r15b
jne 0x140008ff7
cmp byte [rax + rcx*8 + 4], 2
jle 0x140008ffd
inc dword [rbx + 0x5cc4]
movsxd rdx, dword [rbx + 0x5cc4]
cmp edx, 0xffffffff
jne 0x140009011
mov dword [rbx + 0x3f18], esi
jmp 0x14000903c
test edx, edx
js 0x14000903c
cmp edx, dword [rbx + 0x5cd0]
jge 0x14000903c
mov rax, qword [rbx + 0x5cd8]
lea rsi, [rdx + rdx*8]
mov ecx, dword [rax + rsi*8]
mov dword [rbx + 0x3f18], ecx
mov rax, qword [rbx + 0x5cd8]
inc byte [rax + rsi*8 + 4]
movzx eax, byte [rdi + 0x5ca8]
mov r14, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xd8]
test al, al
je 0x140009070
sub al, 1
mov byte [rdi + 0x5ca8], al
jne 0x140009070
mov dword [rdi + 0x4754], r15d
mov rax, qword [0x1401452e0]
lea rcx, str.DebugDefault
movss xmm1, dword [0x14005b110]
xor r8d, r8d
mov byte [rdi + 0x3e5d], 1
movaps xmm0, xmm1
unpcklps xmm0, xmm1
xor edx, edx
or dword [rax + 0x47a8], 2
movsd qword [rax + 0x47c8], xmm0
mov dword [rax + 0x47b0], 4
call fcn.14000d8d0
mov rax, qword [rdi + 0x3ed0]
mov r15, qword [rsp + 0xb0]
cmp byte [rax + 0xb6], 1
je 0x1400090e8
mov r8d, 0x11e4
lea rdx, str.G:Sauron_bratvaOLoader1OLoader1imgui.cpp
lea rcx, str.g.CurrentWindow__IsFallbackWindow__true
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, 1
mov rcx, rdi
add rsp, 0xc0
pop rdi
jmp fcn.140006310