Function at 0x140037240
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rdi, qword [0x14004ce08]
lea rdx, [0x14004ce18]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140037275
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor esi, esi
mov qword [0x14004ce4c], rsi
mov qword [0x14004ce58], 1
mov qword [0x14004ce74], rsi
mov dword [0x14004ce68], 1
mov qword [0x14004ce60], rdi
mov dword [0x14004ce54], esi
mov dword [0x14004ce48], 0x15
mov eax, dword [0x14004d354]
mov dword [0x14004ce40], eax
mov eax, dword [0x14004d350]
mov dword [0x14004ce44], eax
mov dword [0x14004ce6c], 1
mov dword [0x14004ce70], 0x50
mov dword [0x14004ce7c], 0x80000000
mov rcx, qword [0x14004ce18]
mov rax, qword [rcx]
lea rdx, [0x14004ce90]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rsi
lea rdx, [0x14004ce40]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, rdi
xor edx, edx
mov r8d, 1
call qword [rax + 0xa0]
test eax, eax
jns 0x140037344
mov rcx, qword [0x14004ce18]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [0x14004cdb0]
test rax, rax
je 0x140037356
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 0x140037384
mov rcx, rax
call fcn.140001ea0
jmp 0x140037387
mov rax, rsi
cmp qword [0x14004cdb0], 0
jne 0x140037398
mov qword [0x14004cdb0], rax
mov rcx, rax
call fcn.140007700
mov rbx, qword [0x14004cdb0]
test rbx, rbx
jne 0x1400373cd
mov r8d, 0xb37
lea rdx, str.C:UsersAdminDownloadsDark_and_Darker_internal_cheat_mainDark_and_Darker_internal_cheat_mainProjectHexImguiimgui.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 rbx, qword [0x14004cdb0]
mov qword [rsp + 0x20], rsi
movss xmm2, dword [0x14004521c]
mov rcx, qword [rbx + 0xa0]
call fcn.140022790
lea rax, [0x140043ea8]
mov qword [rsp + 0x20], rax
movss xmm2, dword [0x14004521c]
mov rcx, qword [rbx + 0xa0]
call fcn.140022790
lea rcx, [0x14004d3d8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003751e
lea rcx, [0x14004d3d0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003751e
mov qword [0x14004d3c8], rdi
mov rax, qword [0x14004cdb0]
test rax, rax
jne 0x140037464
mov r8d, 0xb37
lea rdx, str.C:UsersAdminDownloadsDark_and_Darker_internal_cheat_mainDark_and_Darker_internal_cheat_mainProjectHexImguiimgui.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 [0x14004cdb0]
or dword [rax + 0xc], 6
lea rcx, str.imgui_impl_win32
mov qword [rax + 0xd8], rcx
mov qword [rax + 0x108], rdi
mov dword [rax + 0x3c], 9
mov dword [rax + 0x40], 0x25
mov dword [rax + 0x44], 0x27
mov dword [rax + 0x48], 0x26
mov dword [rax + 0x4c], 0x28
mov dword [rax + 0x50], 0x21
mov dword [rax + 0x54], 0x22
mov dword [rax + 0x58], 0x24
mov dword [rax + 0x5c], 0x23
mov dword [rax + 0x60], 0x2d
mov dword [rax + 0x64], 0x2e
mov dword [rax + 0x68], 8
mov dword [rax + 0x6c], 0x20
mov dword [rax + 0x70], 0xd
mov dword [rax + 0x74], 0x1b
mov dword [rax + 0x78], 0x41
mov dword [rax + 0x7c], 0x43
mov dword [rax + 0x80], 0x56
mov dword [rax + 0x84], 0x58
mov dword [rax + 0x88], 0x59
mov dword [rax + 0x8c], 0x5a
jmp 0x140037525
mov rax, qword [0x14004cdb0]
mov rbx, qword [0x14004ce90]
test rax, rax
jne 0x140037552
mov r8d, 0xb37
lea rdx, str.C:UsersAdminDownloadsDark_and_Darker_internal_cheat_mainDark_and_Darker_internal_cheat_mainProjectHexImguiimgui.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 [0x14004cdb0]
lea rcx, str.imgui_impl_dx9
mov qword [rax + 0xe0], rcx
mov qword [0x14004d3b8], rbx
movdqa xmm3, xmmword [0x140045550]
movups xmmword [rax + 0x1610], xmm3
movups xmmword [rax + 0x1620], xmm3
movups xmmword [rax + 0x1660], xmm3
movdqa xmm0, xmmword [0x140045580]
movups xmmword [rax + 0x1680], xmm0
movdqa xmm1, xmmword [0x140045510]
movups xmmword [rax + 0x1640], xmm1
movdqa xmm2, xmmword [0x1400454c0]
movups xmmword [rax + 0x1710], xmm2
movups xmmword [rax + 0x1720], xmm2
movups xmmword [rax + 0x1730], xmm2
movdqa xmm0, xmmword [0x140045560]
movups xmmword [rax + 0x17d0], xmm0
movups xmmword [rax + 0x1690], xmm2
movups xmmword [rax + 0x16b0], xmm2
movups xmmword [rax + 0x16a0], xmm2
movups xmmword [rax + 0x1670], xmm3
movdqa xmm0, xmmword [0x1400454a0]
movups xmmword [rax + 0x16d0], xmm0
movdqa xmm1, xmmword [0x140045390]
movups xmmword [rax + 0x16e0], xmm1
movdqa xmm0, xmmword [0x140045600]
movups xmmword [rax + 0x16f0], xmm0
movdqa xmm1, xmmword [0x140045540]
movups xmmword [rax + 0x1700], xmm1
movups xmmword [rax + 0x1770], xmm3
movdqa xmm0, xmmword [0x140045590]
movups xmmword [rax + 0x1780], xmm0
movups xmmword [rax + 0x1790], xmm0
movdqa xmm0, xmmword [0x140045530]
movups xmmword [rax + 0x1630], xmm0
movups xmmword [rax + 0x1740], xmm3
movups xmmword [rax + 0x1750], xmm3
movups xmmword [rax + 0x1760], xmm3
movdqa xmm0, xmmword [0x140045670]
movups xmmword [rax + 0x15f0], xmm0
mov word [rax + 0x15e8], 0x101
mov dword [rax + 0x1574], esi
mov dword [rax + 0x1590], 0x3f800000
mov dword [rax + 0x158c], esi
mov dword [rax + 0x157c], esi
mov qword [rax + 0x15b4], rsi
mov dword [rax + 0x15c4], esi
mov dword [rax + 0x155c], esi
mov rcx, qword [0x14004ce18]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret