Function at 0x140034d10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x48
mov rbx, qword [0x14004ed90]
lea rdx, [0x14004edb8]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140034d44
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edi, edi
mov qword [0x14004ee4c], rdi
mov qword [0x14004ee58], 1
mov qword [0x14004ee74], rdi
mov dword [0x14004ee68], 1
mov qword [0x14004ee60], rbx
mov dword [0x14004ee54], edi
mov dword [0x14004ee48], 0x15
cvttss2si rax, dword [0x14004eeb4]
mov dword [0x14004ee40], eax
cvttss2si rax, dword [0x14004eeb0]
mov dword [0x14004ee44], eax
mov dword [0x14004ee6c], 1
mov dword [0x14004ee70], 0x50
mov dword [0x14004ee7c], 0x80000000
mov rcx, qword [0x14004edb8]
mov rax, qword [rcx]
lea rdx, [0x14004ee98]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdi
lea rdx, [0x14004ee40]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, rbx
xor edx, edx
lea r8d, [rdi + 1]
call qword [rax + 0xa0]
test eax, eax
jns 0x140034e15
mov rcx, qword [0x14004edb8]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea ecx, [rdi + 4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [0x14004ed20]
test rax, rax
je 0x140034e27
inc dword [rax + 0x3c8]
mov ecx, 0x3bf0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140034e55
mov rcx, rax
call fcn.140001390
jmp 0x140034e58
mov rax, rdi
cmp qword [0x14004ed20], 0
jne 0x140034e69
mov qword [0x14004ed20], rax
mov rcx, rax
call fcn.140006d00
mov rcx, qword [0x14004ed20]
test rcx, rcx
jne 0x140034e9e
mov r8d, 0xb37
lea rdx, str.C:Users_sakooDownloads7.407.40Imguiimgui.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 rcx, qword [0x14004ed20]
mov qword [rcx + 0x20], rdi
movss xmm2, dword [0x140046fd8]
mov rcx, qword [rcx + 0xa0]
call fcn.140021d00
lea rcx, [0x14004ef08]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140034fce
lea rcx, [0x14004ef00]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140034fce
mov qword [0x14004eef8], rbx
mov rcx, qword [0x14004ed20]
test rcx, rcx
jne 0x140034f14
mov r8d, 0xb37
lea rdx, str.C:Users_sakooDownloads7.407.40Imguiimgui.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 rcx, qword [0x14004ed20]
or dword [rcx + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rcx + 0xd8], rax
mov qword [rcx + 0x108], rbx
mov dword [rcx + 0x3c], 9
mov dword [rcx + 0x40], 0x25
mov dword [rcx + 0x44], 0x27
mov dword [rcx + 0x48], 0x26
mov dword [rcx + 0x4c], 0x28
mov dword [rcx + 0x50], 0x21
mov dword [rcx + 0x54], 0x22
mov dword [rcx + 0x58], 0x24
mov dword [rcx + 0x5c], 0x23
mov dword [rcx + 0x60], 0x2d
mov dword [rcx + 0x64], 0x2e
mov dword [rcx + 0x68], 8
mov dword [rcx + 0x6c], 0x20
mov dword [rcx + 0x70], 0xd
mov dword [rcx + 0x74], 0x1b
mov dword [rcx + 0x78], 0x41
mov dword [rcx + 0x7c], 0x43
mov dword [rcx + 0x80], 0x56
mov dword [rcx + 0x84], 0x58
mov dword [rcx + 0x88], 0x59
mov dword [rcx + 0x8c], 0x5a
jmp 0x140034fd5
mov rcx, qword [0x14004ed20]
mov rbx, qword [0x14004ee98]
test rcx, rcx
jne 0x140035002
mov r8d, 0xb37
lea rdx, str.C:Users_sakooDownloads7.407.40Imguiimgui.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 rcx, qword [0x14004ed20]
lea rax, str.imgui_impl_dx9
mov qword [rcx + 0xe0], rax
mov qword [0x14004eee8], rbx
mov dword [rcx + 0x1d70], edi
movzx eax, byte [0x14004ed3c]
mov byte [rcx + 0x3ac], al
mov byte [rcx + 0xd0], al
mov rcx, qword [0x14004edb8]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
add rsp, 0x48
pop rdi
pop rbx
ret