Function at 0x1400570c0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push r12
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rbp + 0x20], rax
lea rax, [0x140057f00]
mov dword [rbp - 0x60], 0x50
xor r15d, r15d
mov qword [rbp - 0x58], rax
xor ecx, ecx
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x5c], 0x40
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov qword [rbp - 0x18], r15
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x40], xmm0
lea rbx, [0x14005a6e0]
movdqa xmmword [rbp - 0x30], xmm1
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x20], rbx
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp - 0x48]
mov r9d, 0x80000000
mov rdx, qword [rbp - 0x20]
mov r8, rbx
mov qword [rsp + 0x58], r15
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov r12d, 0x20
mov qword [0x140073c28], rax
mov ecx, r12d
mov rbx, rax
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x140073c20], rax
mov rcx, rax
test rax, rax
je 0x140057e9c
lea rdx, [0x140073bd8]
mov qword [0x140073be0], r15
mov qword [rsp + 0x30], rdx
lea r8d, [r15 + 1]
lea rdx, [0x140073be0]
mov qword [0x140073bec], r15
mov qword [rsp + 0x28], rdx
mov r9, rbx
mov dword [0x140073bf4], r15d
xor edx, edx
mov qword [0x140073bfc], r15
mov dword [0x140073c04], r15d
mov qword [0x140073c14], r15
mov dword [0x140073c08], 1
mov dword [0x140073bf8], 1
mov dword [0x140073be8], r15d
mov dword [0x140073c0c], 1
mov dword [0x140073c10], 0x50
mov dword [0x140073c1c], 1
mov rax, qword [rax]
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x80]
test eax, eax
js 0x140057e95
mov rcx, qword [0x140073c28]
xor edx, edx
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x198], rdi
mov qword [rsp + 0x1a0], r13
mov qword [rsp + 0x160], r14
movaps xmmword [rsp + 0x150], xmm6
movaps xmmword [rsp + 0x140], xmm7
movaps xmmword [rsp + 0x130], xmm8
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140073c28]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x140073ba8]
test rax, rax
je 0x1400572ad
inc dword [rax + 0x3b0]
mov ecx, 0x40b0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x1400572c9
xor edx, edx
mov rcx, rax
call fcn.140006e20
jmp 0x1400572cc
mov rax, r15
cmp qword [0x140073ba8], r15
jne 0x1400572dc
mov qword [0x140073ba8], rax
mov rcx, rax
call fcn.14000e530
mov rax, qword [0x140073ba8]
test rax, rax
jne 0x140057311
mov r8d, 0xda0
lea rdx, str.C:Users_rynxpDesktopkurva_anyadImGui_Loader_Base_masterimguiimgui.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 rax, qword [0x140073ba8]
or dword [rax + 8], 0x400
lea r13, [rax + 8]
mov qword [r13 + 0x18], r15
test rax, rax
jne 0x140057346
mov r8d, 0x997
lea rdx, str.C:Users_rynxpDesktopkurva_anyadImGui_Loader_Base_masterimguiimgui.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 rax, qword [0x140073ba8]
test dword [r13], 0x400
je 0x140057361
mov dword [rax + 0x1644], r15d
mov dword [rax + 0x1728], 0x3f800000
mov rdi, qword [0x140073c28]
lea rcx, [0x140073cd0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140057563
lea rcx, [0x140073cc8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140057563
mov rbx, qword [0x140073ba8]
test rbx, rbx
jne 0x1400573bf
mov r8d, 0xda0
lea rdx, str.C:Users_rynxpDesktopkurva_anyadImGui_Loader_Base_masterimguiimgui.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 rbx, qword [0x140073ba8]
or dword [rbx + 0xc], 0xc06
lea rax, str.imgui_impl_win32
mov qword [rbx + 0xe0], rax
mov qword [0x140073cc0], rdi
cmp dword [rbx + 0x1ef0], r15d
jg 0x140057405
mov r8d, 0x6c7
lea rdx, str.C:Users_rynxpDesktopkurva_anyadImGui_Loader_Base_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [0x140073cc0]
mov rax, qword [rbx + 0x1ef8]
mov rcx, qword [rax]
mov qword [rcx + 0x50], rdi
mov qword [rcx + 0x48], rdi
test dword [rbx + 8], 0x400
je 0x140057425
call fcn.1400458b0
lea rax, str.xinput1_4.dll
mov dword [rbx + 0x3c], 9
mov qword [rsp + 0x60], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x68], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x70], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x78], rax
lea rax, str.xinput1_1.dll
mov dword [rbx + 0x40], 0x25
mov dword [rbx + 0x44], 0x27
mov dword [rbx + 0x48], 0x26
mov dword [rbx + 0x4c], 0x28
mov dword [rbx + 0x50], 0x21
mov dword [rbx + 0x54], 0x22
mov dword [rbx + 0x58], 0x24
mov dword [rbx + 0x5c], 0x23
mov dword [rbx + 0x60], 0x2d
mov dword [rbx + 0x64], 0x2e
mov dword [rbx + 0x68], 8
mov dword [rbx + 0x6c], r12d
mov dword [rbx + 0x70], 0xd
mov dword [rbx + 0x74], 0x1b
mov dword [rbx + 0x78], 0xd
mov dword [rbx + 0x7c], 0x41
mov dword [rbx + 0x80], 0x43
mov dword [rbx + 0x84], 0x56
mov dword [rbx + 0x88], 0x58
mov dword [rbx + 0x8c], 0x59
mov dword [rbx + 0x90], 0x5a
mov rbx, r15
mov qword [rbp - 0x80], rax
nop dword [rax]
mov rcx, qword [rsp + rbx*8 + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x14005752e
inc rbx
cmp rbx, 5
jl 0x140057510
jmp 0x140057563
lea rdx, str.XInputGetCapabilities
mov qword [0x140073ca8], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rdi
mov qword [0x140073cb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140073cb8], rax
mov rbx, qword [0x140073ba8]
mov rdi, qword [0x140073bd8]
test rbx, rbx
jne 0x140057597
mov r8d, 0xda0
lea rdx, str.C:Users_rynxpDesktopkurva_anyadImGui_Loader_Base_masterimguiimgui.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 rbx, qword [0x140073ba8]
or dword [rbx + 0xc], 0x1008
lea rax, str.imgui_impl_dx9
mov qword [rbx + 0xe8], rax
mov rcx, rdi
mov rax, qword [rdi]
mov qword [0x140073c98], rdi
call qword [rax + 8]
test dword [rbx + 8], 0x400
je 0x140057638
mov rax, qword [0x140073ba8]
test rax, rax
jne 0x1400575f2
mov r8d, 0xda6
lea rdx, str.C:Users_rynxpDesktopkurva_anyadImGui_Loader_Base_masterimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x140073ba8]
lea rcx, [fcn.1400438f0]
mov qword [rax + 0x15f0], rcx
lea rcx, [fcn.140043a30]
mov qword [rax + 0x15f8], rcx
lea rcx, [0x140043ad0]
mov qword [rax + 0x1600], rcx
lea rcx, [0x140043b50]
mov qword [rax + 0x1608], rcx
lea rcx, [0x140043ca0]
mov qword [rax + 0x1610], rcx
mov rcx, qword [r13 + 0xa0]
call fcn.14003c990
cmp word [0x140073ce0], r15w
lea rbx, [0x140073cf0]
mov rcx, qword [r13 + 0xa0]
lea rsi, [0x140066990]
mov edi, 0x4e00
mov r14d, 0xbb7
jne 0x1400576d3
mov eax, dword [0x1400730ca]
mov rdx, rbx
movsd xmm0, qword [0x1400730c2]
mov r8d, edi
mov dword [0x140073cea], eax
mov r9, rsi
movzx eax, word [0x1400730ce]
mov r10d, r14d
mov word [0x140073cee], ax
mov word [0x140073ce0], r12w
movsd qword [0x140073ce2], xmm0
nop dword [rax]
movsx eax, word [r9]
lea rdx, [rdx + 4]
add r8d, eax
lea r9, [r9 + 2]
mov word [rdx - 2], r8w
mov word [rdx - 4], r8w
sub r10, 1
jne 0x1400576b0
mov word [rdx], r15w
movss xmm2, dword [0x14006a0f8]
lea r15, [0x140073ce0]
lea rdx, str.C:WindowsFontsCalibri.ttf
mov qword [rsp + 0x20], r15
call fcn.14003cb00
mov qword [0x140073bc8], rax
test rax, rax
jne 0x140057717
lea r8d, [rax + 0x32]
lea rdx, str.C:Users_rynxpDesktopkurva_anyadImGui_Loader_Base_mastermain.cpp
lea rcx, str.g_customFont___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [r13 + 0xa0]
call fcn.14003c990
cmp word [0x140073ce0], 0
mov rcx, qword [r13 + 0xa0]
jne 0x1400577a4
mov eax, dword [0x1400730ca]
mov rdx, rbx
movsd xmm0, qword [0x1400730c2]
mov r8d, edi
mov dword [0x140073cea], eax
mov r9, rsi
movzx eax, word [0x1400730ce]
mov r10, r14
mov word [0x140073cee], ax
mov word [0x140073ce0], r12w
movsd qword [0x140073ce2], xmm0
nop dword [rax]
nop word [rax + rax]
movsx eax, word [r9]
lea rdx, [rdx + 4]
add r8d, eax
lea r9, [r9 + 2]
mov word [rdx - 2], r8w
mov word [rdx - 4], r8w
sub r10, 1
jne 0x140057780
xor eax, eax
mov word [rdx], ax
movss xmm2, dword [0x14006a10c]
lea rdx, str.C:WindowsFontsVerdana.ttf
mov qword [rsp + 0x20], r15
call fcn.14003cb00
mov qword [0x140073bc0], rax
test rax, rax
jne 0x1400577e1
lea r8d, [rax + 0x35]
lea rdx, str.C:Users_rynxpDesktopkurva_anyadImGui_Loader_Base_mastermain.cpp
lea rcx, str.g_terminal___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [r13 + 0xa0]
call fcn.14003c990
cmp word [0x140073ce0], 0
mov rcx, qword [r13 + 0xa0]
jne 0x140057864
mov eax, dword [0x1400730ca]
mov rdx, rbx
movsd xmm0, qword [0x1400730c2]
mov r8d, edi
mov dword [0x140073cea], eax
mov r9, rsi
movzx eax, word [0x1400730ce]
mov r10, r14
mov word [0x140073cee], ax
mov word [0x140073ce0], r12w
movsd qword [0x140073ce2], xmm0
nop dword [rax]
movsx eax, word [r9]
lea rdx, [rdx + 4]
add r8d, eax
lea r9, [r9 + 2]
mov word [rdx - 2], r8w
mov word [rdx - 4], r8w
sub r10, 1
jne 0x140057840
xor eax, eax
mov word [rdx], ax
movss xmm2, dword [0x14006a104]
lea rdx, str.C:WindowsFontsGeorgia.ttf
mov qword [rsp + 0x20], r15
call fcn.14003cb00
mov qword [0x140073bb8], rax
test rax, rax
jne 0x1400578a1
lea r8d, [rax + 0x38]
lea rdx, str.C:Users_rynxpDesktopkurva_anyadImGui_Loader_Base_mastermain.cpp
lea rcx, str.g_kustomFont___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [r13 + 0xa0]
call fcn.14003c990
cmp word [0x140073ce0], 0
mov rcx, qword [r13 + 0xa0]
jne 0x140057914
mov eax, dword [0x1400730ca]
movsd xmm0, qword [0x1400730c2]
mov dword [0x140073cea], eax
movzx eax, word [0x1400730ce]
mov word [0x140073cee], ax
mov word [0x140073ce0], r12w
movsd qword [0x140073ce2], xmm0
movsx eax, word [rsi]
lea rbx, [rbx + 4]
add edi, eax
lea rsi, [rsi + 2]
mov word [rbx - 2], di
mov word [rbx - 4], di
sub r14, 1
jne 0x1400578f0
xor r12d, r12d
mov word [rbx], r12w
jmp 0x140057917
xor r12d, r12d
movss xmm2, dword [0x14006a108]
lea rdx, str.C:WindowsFontscalibrib.ttf
mov qword [rsp + 0x20], r15
call fcn.14003cb00
mov qword [0x140073bd0], rax
test rax, rax
jne 0x140057954
lea r8d, [rax + 0x3b]
lea rdx, str.C:Users_rynxpDesktopkurva_anyadImGui_Loader_Base_mastermain.cpp
lea rcx, str.g_tabkustomFont___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov qword [rsp + 0x28], r12
lea r8, [0x140001140]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], r12
lea r8, [0x1400011e0]
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], r12
lea r8, [0x1400012f0]
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
movss xmm7, dword [0x14006a02c]
xorps xmm0, xmm0
movss xmm8, dword [0x14006a074]
xorps xmm6, xmm6
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x10]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140057a08
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140057d22
cmp qword [0x140073c88], 0
jne 0x140057a17
call fcn.140043650
call fcn.140044330
call fcn.14000d390
cmp dword [0x140076bd4], 0
jne 0x140057ab2
xor ecx, ecx
call fcn.140037610
movss xmm0, dword [0x1400730d8]
ucomiss xmm0, xmm6
jp 0x140057aa6
jne 0x140057aa6
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp - 0x78]
call qword [sym.imp.USER32.dll_GetWindowRect]
movd xmm1, dword [rbp - 0x70]
movd xmm0, dword [rbp - 0x6c]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [0x1400730d0], xmm1
subss xmm1, dword [0x1400730e0]
movss dword [0x1400730d4], xmm0
subss xmm0, dword [0x1400730e4]
mulss xmm1, xmm7
mulss xmm0, xmm7
movss dword [0x1400730d8], xmm1
movss dword [0x1400730dc], xmm0
mov dword [0x140076bd4], 1
jmp 0x140057ab7
call fcn.1400030f0
call fcn.14000fbc0
mov rcx, qword [0x140073bd8]
mov r9d, 3
mov dword [rsp + 0x30], r12d
xor r8d, r8d
movss dword [rsp + 0x28], xmm8
xor edx, edx
mov dword [rsp + 0x20], r12d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140073bd8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140057b5e
call fcn.1400100c0
mov rbx, qword [0x140073ba8]
cmp dword [rbx + 0x1ef0], 0
jg 0x140057b2b
mov r8d, 0x6c7
lea rdx, str.C:Users_rynxpDesktopkurva_anyadImGui_Loader_Base_masterimguiimgui.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 + 0x1ef8]
mov rcx, qword [rax]
mov rax, r12
add rcx, 0xa8
cmp byte [rcx], 0
cmovne rax, rcx
mov rcx, rax
call fcn.140042d30
mov rcx, qword [0x140073bd8]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r13], 0x400
je 0x140057c9f
call fcn.1400229a0
mov rdi, qword [0x140073ba8]
test rdi, rdi
jne 0x140057b9e
mov r8d, 0xda6
lea rdx, str.C:Users_rynxpDesktopkurva_anyadImGui_Loader_Base_masterimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [0x140073ba8]
mov eax, dword [rdi + 0x1628]
mov esi, 1
mov r14d, esi
cmp eax, esi
jle 0x140057c1f
test rsi, rsi
js 0x140057bba
cmp r14d, eax
jl 0x140057bd4
mov r8d, 0x6c7
lea rdx, str.C:Users_rynxpDesktopkurva_anyadImGui_Loader_Base_masterimguiimgui.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 + 0x1630]
mov rbx, qword [rax + rsi*8]
test dword [rbx + 4], 0x400
jne 0x140057c0e
mov rax, qword [rdi + 0x15c0]
test rax, rax
je 0x140057bfb
xor edx, edx
mov rcx, rbx
call rax
mov rax, qword [rdi + 0x1608]
test rax, rax
je 0x140057c0e
xor edx, edx
mov rcx, rbx
call rax
mov eax, dword [rdi + 0x1628]
inc r14d
inc rsi
cmp r14d, eax
jl 0x140057bb0
mov esi, 1
mov r14d, esi
cmp eax, esi
jle 0x140057c9f
nop dword [rax + rax]
test rsi, rsi
js 0x140057c3a
cmp r14d, eax
jl 0x140057c54
mov r8d, 0x6c7
lea rdx, str.C:Users_rynxpDesktopkurva_anyadImGui_Loader_Base_masterimguiimgui.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 + 0x1630]
mov rbx, qword [rax + rsi*8]
test dword [rbx + 4], 0x400
jne 0x140057c8e
mov rax, qword [rdi + 0x15c8]
test rax, rax
je 0x140057c7b
xor edx, edx
mov rcx, rbx
call rax
mov rax, qword [rdi + 0x1610]
test rax, rax
je 0x140057c8e
xor edx, edx
mov rcx, rbx
call rax
mov eax, dword [rdi + 0x1628]
inc r14d
inc rsi
cmp r14d, eax
jl 0x140057c30
mov rcx, qword [0x140073bd8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r12
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140057d19
mov rcx, qword [0x140073bd8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140057d19
call fcn.140043760
mov rcx, qword [0x140073bd8]
lea rdx, [0x140073be0]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp eax, 0x8876086c
jne 0x140057d14
mov r8d, 0x34
lea rdx, str.C:Users_rynxpDesktopkurva_anyadImGui_Loader_Base_masterMain.h
lea rcx, [0x14005ed78]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.140043650
cmp byte [0x1400732d0], 0
je 0x140057d2e
cmp dword [rbp - 8], 0x12
jne 0x1400579d1
jmp 0x140057d35
mov dword [rbp - 8], 0x12
call fcn.1400231d0
call fcn.140043760
mov rcx, qword [0x140073c98]
movaps xmm8, xmmword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0x140]
movaps xmm6, xmmword [rsp + 0x150]
mov r14, qword [rsp + 0x160]
mov r13, qword [rsp + 0x1a0]
mov rdi, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
test rcx, rcx
je 0x140057d91
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140073c98], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [0x140073ca8]
test rcx, rcx
je 0x140057dbb
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [0x140073ba8]
mov rcx, rbx
mov qword [0x140073ca8], r12
mov qword [0x140073cb0], r12
mov qword [0x140073cb8], r12
mov qword [0x140073cc0], r12
mov qword [0x140073cc8], r12
mov qword [0x140073cd0], r12
mov dword [0x1400732c4], 9
mov byte [0x140073c41], 0
mov byte [0x1400732c0], 1
call fcn.14000e8d0
cmp qword [0x140073ba8], rbx
jne 0x140057e1c
mov qword [0x140073ba8], r12
test rbx, rbx
je 0x140057e44
mov rcx, rbx
call fcn.14002f9b0
mov rax, qword [0x140073ba8]
test rax, rax
je 0x140057e3b
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140073bd8]
test rcx, rcx
je 0x140057e5d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140073bd8], r12
mov rcx, qword [0x140073c20]
test rcx, rcx
je 0x140057e76
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140073c20], r12
mov rcx, qword [0x140073c28]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
jmp 0x140057ee4
mov rcx, qword [0x140073c20]
mov rdx, qword [0x140073bd8]
test rdx, rdx
je 0x140057ebf
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140073c20]
mov qword [0x140073bd8], r15
test rcx, rcx
je 0x140057ed1
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [0x140073c20], r15
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, 1
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140058010
add rsp, 0x168
pop r15
pop r12
pop rbx
pop rbp
ret