Function at 0x140005220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rdi, qword [0x140062190]
lea r15, str.Imguiimgui.cpp
xor r14d, r14d
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
test rdi, rdi
jne 0x140005273
mov r8d, 0xc3e
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [0x140062190]
cmp byte [rdi], r14b
jne 0x14000528e
mov r8d, 0xc47
lea rcx, str.g.Initialized
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rdi + 0x18]
xorps xmm6, xmm6
comiss xmm0, xmm6
jae 0x1400052b1
mov r8d, 0xc48
lea rcx, str.g.IO.DeltaTime___0.0f___Need_a_positive_DeltaTime__zero_is_tolerated_but_will_cause_some_timing_issues__
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rdi + 0x10]
comiss xmm0, xmm6
jb 0x1400052c5
movss xmm0, dword [rdi + 0x14]
comiss xmm0, xmm6
jae 0x1400052db
mov r8d, 0xc49
lea rcx, str.g.IO.DisplaySize.x___0.0f__g.IO.DisplaySize.y___0.0f___Invalid_DisplaySize_value_
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0xa0]
cmp dword [rax + 0x40], r14d
jg 0x1400052fe
mov r8d, 0xc4a
lea rcx, str.g.IO.Fonts__Fonts.Size___0___Font_Atlas_not_built._Did_you_call_io.Fonts__GetTexDataAsRGBA32_____GetTexDataAsAlpha8_____
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [rdi + 0xa0]
cmp dword [rbx + 0x40], r14d
jg 0x140005325
mov r8d, 0x5b2
lea rdx, str.C:UsersPaysonismDocumentsleaks_3Pasting.gj_with_Memorypasting.gjImguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax]
cmp qword [rcx + 0x58], r14
jne 0x140005348
mov r8d, 0xc4b
lea rcx, str.g.IO.Fonts__Fonts_0___IsLoaded_____Font_Atlas_not_built._Did_you_call_io.Fonts__GetTexDataAsRGBA32_____GetTexDataAsAlpha8_____
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rdi + 0x15ec]
comiss xmm0, xmm6
ja 0x14000536b
mov r8d, 0xc4c
lea rcx, str.g.Style.CurveTessellationTol___0.0f___Invalid_style_setting_
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rdi + 0x1550]
comiss xmm0, xmm6
movss xmm7, dword [0x14005bc6c]
jb 0x140005385
comiss xmm7, xmm0
jae 0x14000539b
mov r8d, 0xc4d
lea rcx, str.g.Style.Alpha___0.0f__g.Style.Alpha___1.0f___Invalid_style_setting._Alpha_cannot_be_negative__allows_us_to_avoid_a_few_clamps_in_color_computations__
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x1990]
test eax, eax
je 0x1400053c3
cmp dword [rdi + 0x1994], eax
je 0x1400053c3
mov r8d, 0xc4e
lea rcx, str._g.FrameCount__0__g.FrameCountEnded__g.FrameCount____Forgot_to_call_Render___or_EndFrame___at_the_end_of_the_previous_frame__
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea rbx, [rdi + 0x3c]
mov esi, 0x15
mov ebp, 0x200
mov eax, dword [rbx]
inc eax
cmp eax, ebp
jbe 0x1400053ef
mov r8d, 0xc50
lea rcx, str.g.IO.KeyMap_n_____1__g.IO.KeyMap_n______int__sizeof_g.IO.KeysDown__sizeof_g.IO.KeysDown______io.KeyMap___contains_an_out_of_bound_value__need_to_be_0..512__or__1_for_unmapped_key__
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add rbx, 4
sub rsi, 1
jne 0x1400053d1
or esi, 0xffffffff
test byte [rdi + 8], 1
je 0x14000541d
cmp dword [rdi + 0x6c], esi
jne 0x14000541d
mov r8d, 0xc54
lea rcx, str.g.IO.KeyMap_ImGuiKey_Space_____1___ImGuiKey_Space_is_not_mapped__required_for_keyboard_navigation._
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rdi + 0xd3], r14b
je 0x140005433
test byte [rdi + 0xc], 2
jne 0x140005433
mov byte [rdi + 0xd3], r14b
cmp byte [rdi + 0x2d98], r14b
jne 0x1400054aa
cmp dword [rdi + 0x2dc0], r14d
je 0x14000545b
mov r8d, 0xc5d
lea rcx, str.g.SettingsWindows.empty__
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400054a3
lea r8, [rsp + 0x70]
mov qword [rsp + 0x70], r14
call fcn.140002154
mov rbx, rax
test rax, rax
je 0x1400054a3
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.14001179c
mov rcx, qword [0x140062190]
test rcx, rcx
je 0x14000549a
add dword [rcx + 0x3c8], esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rdi + 0x2d98], 1
movss xmm0, dword [rdi + 0x2d9c]
comiss xmm0, xmm6
jbe 0x1400054e7
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x2d9c], xmm0
jb 0x1400054e7
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400054d9
call fcn.1400119ac
jmp 0x1400054e0
mov byte [rdi + 0x3b0], 1
mov dword [rdi + 0x2d9c], r14d
inc dword [rdi + 0x1990]
movss xmm0, dword [rdi + 0x18]
mov rax, qword [rdi + 0xa0]
mov rbx, qword [0x140062190]
mov byte [rdi + 1], 1
mov dword [rdi + 0x2d74], r14d
mov dword [rdi + 0x19f0], r14d
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rdi + 0x1988]
movsd qword [rdi + 0x1988], xmm0
mov byte [rax], 1
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
jne 0x140005562
mov rbx, qword [rbx + 0xa0]
cmp dword [rbx + 0x40], r14d
jg 0x14000555b
mov r8d, 0x5b2
lea rdx, str.C:UsersPaysonismDocumentsleaks_3Pasting.gj_with_Memorypasting.gjImguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax]
call fcn.14000beb4
mov rax, qword [rdi + 0x18f0]
cmp qword [rax + 0x58], r14
jne 0x14000558a
mov r8d, 0xc7a
lea rcx, str.g.Font__IsLoaded__
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rdi + 0x10]
lea rbx, [rdi + 0x1cc8]
movss xmm1, dword [rdi + 0x14]
mov rcx, rbx
mov eax, dword [rdi + 0x15ec]
and dword [rsp + 0x20], r14d
and dword [rsp + 0x24], r14d
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
movups xmm0, xmmword [rsp + 0x20]
mov dword [rdi + 0x1914], eax
movdqu xmmword [rdi + 0x1918], xmm0
call fcn.140019824
mov rdx, qword [rdi + 0xa0]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.14001a138
mov rax, qword [rbx + 0x38]
xor r9d, r9d
mov rcx, rbx
movss xmm1, dword [rax + 0x24]
movss xmm0, dword [rax + 0x20]
movss xmm2, dword [rax + 0x1c]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x18]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.140019f60
mov al, byte [rdi + 0x15e9]
neg al
mov byte [rdi + 0x1c70], r14b
mov eax, r14d
mov qword [rdi + 0x1c78], r14
sbb ecx, ecx
mov qword [rdi + 0x1c84], r14
and ecx, 2
mov dword [rdi + 0x1c80], r14d
cmp byte [rdi + 0x15e8], r14b
setne al
or ecx, eax
mov dword [rdi + 0x1cf8], ecx
mov qword [rdi + 0x1c94], r14
mov qword [rdi + 0x1c8c], r14
cmp byte [rdi + 0x1d74], r14b
je 0x14000569f
mov eax, dword [rdi + 0x1d94]
cmp eax, dword [rdi + 0x1a24]
jne 0x14000569f
mov rcx, qword [0x140062190]
cmp dword [rcx + 0x1a24], eax
jne 0x140005690
mov dword [rcx + 0x1a2c], eax
cmp dword [rcx + 0x1a28], eax
jne 0x14000569f
mov byte [rcx + 0x1a37], 1
lea rax, [rdi + 0x1a10]
mov ecx, dword [rax]
cmp dword [rdi + 0x1a18], r14d
jne 0x1400056ba
mov dword [rdi + 0x1a1c], r14d
jmp 0x1400056cb
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x1400056d7
cmp dword [rdi + 0x1a24], ecx
jne 0x1400056d7
mov dword [rdi + 0x1a20], r14d
mov edx, ecx
mov r8, rax
movss xmm1, dword [rdi + 0x18]
test edx, edx
je 0x14000570e
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1a1c]
movss dword [rdi + 0x1a1c], xmm0
cmp dword [rdi + 0x1a24], edx
je 0x14000570e
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1a20]
movss dword [rdi + 0x1a20], xmm0
mov eax, dword [rdi + 0x1a24]
movaps xmm2, xmm1
mov dword [rdi + 0x1a18], edx
mov dword [r8], r14d
mov byte [rdi + 0x1a14], r14b
cmp dword [rdi + 0x1a2c], eax
je 0x140005749
cmp dword [rdi + 0x1a28], eax
jne 0x140005749
test eax, eax
je 0x140005749
xor edx, edx
xor ecx, ecx
call fcn.140004024
movss xmm2, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1a24]
test ecx, ecx
je 0x140005766
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x1a30]
movss dword [rdi + 0x1a30], xmm0
mov rax, qword [rdi + 0x1a48]
addss xmm2, dword [rdi + 0x1a60]
mov qword [rdi + 0x1a50], rax
mov al, byte [rdi + 0x1a36]
mov byte [rdi + 0x1a38], al
mov eax, dword [rdi + 0x2d48]
movss dword [rdi + 0x1a60], xmm2
mov dword [rdi + 0x1a28], ecx
mov dword [rdi + 0x1a2c], r14d
mov byte [rdi + 0x1a37], r14b
mov byte [rdi + 0x1a34], r14b
test eax, eax
je 0x1400057c0
cmp ecx, eax
je 0x1400057c0
mov dword [rdi + 0x2d48], r14d
mov eax, dword [rdi + 0x1de4]
lea rbx, [rdi + 0x4a8]
mov rdx, rbx
mov dword [rdi + 0x1de8], eax
lea rcx, [rdi + 0xca8]
mov qword [rdi + 0x1de0], 0x7f7fffff
mov r8d, 0x800
mov byte [rdi + 0x1d75], r14b
call fcn.140033ada
lea rax, [rdi + 0x134]
cmp byte [rax], r14b
je 0x14000581b
movss xmm0, dword [rbx]
comiss xmm6, xmm0
jbe 0x140005814
movaps xmm0, xmm6
jmp 0x140005823
addss xmm0, dword [rdi + 0x18]
jmp 0x140005823
movss xmm0, dword [0x14005bdc0]
movss dword [rbx], xmm0
inc rax
add rbx, 4
sub rbp, 1
jne 0x140005801
call fcn.14000ee04
call fcn.140004aec
movsxd rax, dword [rdi + 0x2fd8]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x2df8]
addss xmm0, dword [rdi + 0x2fdc]
movss dword [rdi + 0x2fdc], xmm0
movss dword [rdi + rax*4 + 0x2df8], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x2fd8]
movss xmm1, dword [rdi + 0x2fdc]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
comiss xmm1, xmm6
mov dword [rdi + 0x2fd8], ecx
jbe 0x1400058b3
divss xmm1, dword [0x14005bd68]
movaps xmm0, xmm7
divss xmm0, xmm1
jmp 0x1400058bb
movss xmm0, dword [0x14005bdac]
mov r8, qword [0x140062190]
movss dword [rdi + 0x3b4], xmm0
mov rbx, r8
mov rcx, qword [r8 + 0x1a70]
test rcx, rcx
je 0x1400059e7
mov eax, dword [r8 + 0x1a24]
mov dword [r8 + 0x1a2c], eax
cmp dword [r8 + 0x1a28], eax
jne 0x1400058fc
mov byte [r8 + 0x1a37], 1
cmp qword [rcx + 0x358], r14
jne 0x140005922
mov r8d, 0xb7b
lea rcx, str.g.MovingWindow__g.MovingWindow__RootWindow
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r8, qword [0x140062190]
mov rax, qword [rbx + 0x1a70]
mov r9, qword [rax + 0x358]
cmp byte [rbx + 0x120], r14b
je 0x1400059d5
lea r10, [rbx + 0x118]
mov rcx, r10
call fcn.1400074fc
test al, al
je 0x1400059d5
movss xmm1, dword [r10]
subss xmm1, dword [rbx + 0x1a40]
movss xmm2, dword [r10 + 4]
subss xmm2, dword [rbx + 0x1a44]
movss xmm0, dword [r9 + 0x10]
ucomiss xmm0, xmm1
movss dword [rsp + 0x70], xmm1
movss dword [rsp + 0x74], xmm2
jp 0x140005995
jne 0x140005995
movss xmm0, dword [r9 + 0x14]
ucomiss xmm0, xmm2
jp 0x140005995
je 0x1400059c7
test dword [r9 + 0xc], 0x100
jne 0x1400059b4
comiss xmm6, dword [r8 + 0x2d9c]
jb 0x1400059b4
mov eax, dword [r8 + 0x1c]
mov dword [r8 + 0x2d9c], eax
mov r8d, 1
lea rdx, [rsp + 0x70]
mov rcx, r9
call fcn.14000c398
mov rcx, qword [rbx + 0x1a70]
call fcn.14000bbb8
jmp 0x140005a29
xor edx, edx
xor ecx, ecx
call fcn.140004024
mov qword [rbx + 0x1a70], r14
jmp 0x140005a29
mov rcx, qword [r8 + 0x1a48]
test rcx, rcx
je 0x140005a29
mov eax, dword [r8 + 0x1a24]
cmp dword [rcx + 0x50], eax
jne 0x140005a29
mov dword [r8 + 0x1a2c], eax
cmp dword [r8 + 0x1a28], eax
jne 0x140005a17
mov byte [r8 + 0x1a37], 1
cmp byte [r8 + 0x120], r14b
jne 0x140005a29
xor edx, edx
xor ecx, ecx
call fcn.140004024
call fcn.140005048
call fcn.14000d070
test rax, rax
jne 0x140005a6d
cmp qword [rdi + 0x1b80], r14
je 0x140005a4e
movss xmm0, dword [rdi + 0x1b9c]
comiss xmm0, xmm6
ja 0x140005a6d
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x14005bd38]
movss xmm1, dword [rdi + 0x1cc0]
subss xmm1, xmm0
maxss xmm1, xmm6
jmp 0x140005a86
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x14005bd28]
addss xmm1, dword [rdi + 0x1cc0]
minss xmm1, xmm7
movss dword [rdi + 0x1cc0], xmm1
mov eax, 0x3f800000
mov dword [rdi + 0x2d88], eax
mov dword [rdi + 0x2d8c], eax
mov dword [rdi + 0x1d70], r14d
mov dword [rdi + 0x2fe8], esi
mov dword [rdi + 0x2fe4], esi
mov dword [rdi + 0x2fe0], esi
call fcn.140004e04
mov ebx, 0x7fffffff
cmp dword [rdi + 0x1a24], r14d
jne 0x140005b46
mov rax, qword [rdi + 0x1b40]
test rax, rax
je 0x140005b46
cmp byte [rax + 0x7a], r14b
je 0x140005b46
test dword [rax + 0xc], 0x40000
jne 0x140005b46
cmp byte [rdi + 0x130], r14b
jne 0x140005b46
mov rax, qword [0x140062190]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x140005b46
xor edx, edx
call fcn.1400072cc
mov r8, qword [rdi + 0x1b40]
test al, al
je 0x140005b46
cmp dword [rdi + 0x1b48], r14d
je 0x140005b35
mov edx, dword [rdi + 0x1ba8]
cmp edx, ebx
je 0x140005b35
mov al, byte [rdi + 0x131]
neg al
sbb ecx, ecx
not ecx
and ecx, 2
add ecx, edx
jmp 0x140005b3f
mov al, byte [rdi + 0x131]
neg al
sbb ecx, ecx
mov dword [r8 + 0x3b4], ecx
mov eax, dword [rdi + 0x19a0]
mov dword [rdi + 0x1ba8], ebx
cmp dword [rdi + 0x19b0], eax
je 0x140005b70
mov r8d, 0xcd7
lea rcx, str.g.WindowsFocusOrder.Size__g.Windows.Size
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x19a0]
mov ebx, r14d
test eax, eax
je 0x140005bc7
mov rsi, r14
cmp ebx, eax
jl 0x140005b9e
mov r8d, 0x5b2
lea rdx, str.C:UsersPaysonismDocumentsleaks_3Pasting.gj_with_Memorypasting.gjImguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x19a8]
inc ebx
mov rcx, qword [rsi + rax]
add rsi, 8
mov al, byte [rcx + 0x7a]
mov byte [rcx + 0x7b], al
mov byte [rcx + 0x7a], r14b
mov byte [rcx + 0x7c], r14b
mov eax, dword [rdi + 0x19a0]
cmp ebx, eax
jne 0x140005b82
mov rax, qword [rdi + 0x1b40]
test rax, rax
je 0x140005bde
cmp byte [rax + 0x7b], r14b
jne 0x140005bde
call fcn.14000bc74
lea rbx, [rdi + 0x19d0]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140005c05
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.1400126e4
mov dword [rbx], r14d
lea rbx, [rdi + 0x1ab8]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140005c2f
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140012be0
mov dword [rbx], r14d
mov rcx, qword [rdi + 0x1b40]
call fcn.14000d330
mov edx, 4
mov dword [rsp + 0x70], 0x43c80000
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x74], 0x43c80000
call fcn.14000c5d0
xor r8d, r8d
lea rcx, str.DebugDefault
xor edx, edx
movaps xmm6, xmmword [rsp + 0x40]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm7, xmmword [rsp + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
jmp fcn.140008ef8