Function at 0x140035240
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x48
mov rbx, qword [0x14004dda0]
lea rdx, [0x14004ddc8]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140035274
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edi, edi
mov qword [0x14004de4c], rdi
mov qword [0x14004de58], 1
mov qword [0x14004de74], rdi
mov dword [0x14004de68], 1
mov qword [0x14004de60], rbx
mov dword [0x14004de54], edi
mov dword [0x14004de48], 0x15
cvttss2si rax, dword [0x14004deb4]
mov dword [0x14004de40], eax
cvttss2si rax, dword [0x14004deb0]
mov dword [0x14004de44], eax
mov dword [0x14004de6c], 1
mov dword [0x14004de70], 0x50
mov dword [0x14004de7c], 0x80000000
mov rcx, qword [0x14004ddc8]
mov rax, qword [rcx]
lea rdx, [0x14004de90]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdi
lea rdx, [0x14004de40]
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 0x140035345
mov rcx, qword [0x14004ddc8]
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 [0x14004dd30]
test rax, rax
je 0x140035357
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 0x140035385
mov rcx, rax
call fcn.140001390
jmp 0x140035388
mov rax, rdi
cmp qword [0x14004dd30], 0
jne 0x140035399
mov qword [0x14004dd30], rax
mov rcx, rax
call fcn.140006d00
mov rcx, qword [0x14004dd30]
test rcx, rcx
jne 0x1400353ce
mov r8d, 0xb37
lea rdx, str.C:Users_sakooDownloads7.407.40___KorpImguiimgui.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 [0x14004dd30]
mov qword [rcx + 0x20], rdi
movss xmm2, dword [0x140046098]
mov rcx, qword [rcx + 0xa0]
call fcn.140021db0
lea rcx, [0x14004df08]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400354fe
lea rcx, [0x14004df00]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400354fe
mov qword [0x14004def8], rbx
mov rcx, qword [0x14004dd30]
test rcx, rcx
jne 0x140035444
mov r8d, 0xb37
lea rdx, str.C:Users_sakooDownloads7.407.40___KorpImguiimgui.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 [0x14004dd30]
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 0x140035505
mov rcx, qword [0x14004dd30]
mov rbx, qword [0x14004de90]
test rcx, rcx
jne 0x140035532
mov r8d, 0xb37
lea rdx, str.C:Users_sakooDownloads7.407.40___KorpImguiimgui.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 [0x14004dd30]
lea rax, str.imgui_impl_dx9
mov qword [rcx + 0xe0], rax
mov qword [0x14004dee8], rbx
mov dword [rcx + 0x1d70], edi
movzx eax, byte [0x14004dd2e]
mov byte [rcx + 0x3ac], al
mov byte [rcx + 0xd0], al
mov rcx, qword [0x14004ddc8]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
add rsp, 0x48
pop rdi
pop rbx
ret