Function at 0x14002ef40
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
lea rdx, [0x140042970]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14002ef66
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x140042a2c]
lea rdx, [0x140042a18]
mov rcx, qword [0x140042970]
xor r10d, r10d
mov r9, qword [0x140042968]
mov r8d, 1
mov qword [rsp + 0x38], rdx
lea rdx, [0x1400429d0]
mov dword [0x1400429d0], eax
mov eax, dword [0x140042a28]
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [0x1400429dc], r10
mov qword [0x1400429e8], 1
mov qword [0x140042a04], r10
mov dword [0x1400429f8], 1
mov qword [0x1400429f0], r9
mov dword [0x1400429e4], r10d
mov dword [0x1400429d8], 0x15
mov dword [0x1400429d4], eax
mov dword [0x1400429fc], 1
mov dword [0x140042a00], 0x50
mov dword [0x140042a0c], r10d
mov rax, qword [rcx]
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
jns 0x14002f038
mov rcx, qword [0x140042970]
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 qword [rsp + 0x40], rbx
call fcn.140005130
mov rbx, qword [0x140042968]
lea rcx, [0x140042a80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14002f13b
lea rcx, [0x140042a78]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002f13b
mov rcx, qword [0x1400428e0]
lea rax, str.imgui_impl_win32
mov qword [0x140042a70], rbx
or dword [rcx + 0xc], 6
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 0x14002f142
mov rcx, qword [0x1400428e0]
cmp byte [0x1400420c0], 0
mov rax, qword [0x140042a18]
mov rbx, qword [rsp + 0x40]
je 0x14002f15e
mov byte [0x1400420c0], 0
lea rdx, str.imgui_impl_dx9
mov qword [0x140042a60], rax
mov qword [rcx + 0xe0], rdx
call fcn.14001b490
movss xmm2, dword [0x14003ba18]
mov rcx, qword [rcx + 0xa0]
call fcn.14001ee20
test rax, rax
jne 0x14002f1be
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_load_font_ARIAL.TTF
call fcn.1400346a0
lea rdx, [0x140034880]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 0x80004005
add rsp, 0x48
ret
xor eax, eax
add rsp, 0x48
ret