Function at 0x140086680
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rdi, qword [0x1400b0910]
lea rdx, [0x1400b0948]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x1400866bb
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x1400af66c]
lea rdx, [0x1400b09b0]
mov rcx, qword [0x1400b0948]
mov r9, rdi
mov qword [rsp + 0x38], rdx
lea rdx, [0x1400b0960]
mov dword [0x1400b0960], eax
mov eax, dword [0x1400af670]
mov qword [0x1400b0978], 1
mov dword [0x1400b0988], 1
mov qword [0x1400b0980], rdi
mov dword [0x1400b0968], 0x15
mov dword [0x1400b0964], eax
mov dword [0x1400b098c], 1
mov dword [0x1400b0990], 0x50
mov dword [0x1400b099c], 0x80000000
mov qword [rsp + 0x180], r14
xor r14d, r14d
mov qword [0x1400b096c], r14
mov qword [0x1400b0994], r14
mov dword [0x1400b0974], r14d
mov rax, qword [rcx]
lea r8d, [r14 + 1]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
jns 0x140086791
mov rcx, qword [0x1400b0948]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea ecx, [r14 + 4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x178], rsi
call fcn.140054f30
mov rbx, qword [0x1400b07d0]
lea rsi, [0x14009ff40]
movss xmm2, dword [0x1400a0e54]
mov qword [rsp + 0x20], rsi
mov rcx, qword [rbx + 0xa0]
mov qword [rbx + 0x20], r14
call fcn.14006f800
movss xmm2, dword [0x1400a0e58]
mov rcx, qword [rbx + 0xa0]
mov qword [rsp + 0x20], rsi
call fcn.14006f800
mov rcx, qword [rbx + 0xa0]
lea rdx, [rbp - 0x30]
xorps xmm1, xmm1
mov qword [rsp + 0x6c], r14
movups xmmword [rbp - 0x6c], xmm1
xor eax, eax
mov qword [rsp + 0x40], r14
movups xmmword [rbp - 0x5c], xmm1
mov qword [rbp - 0x4c], rax
lea rax, [0x1400a90d0]
mov dword [rsp + 0x48], r14d
mov byte [rsp + 0x4c], 1
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x30], rax
lea rax, [0x1400a0ae0]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x64], r14
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x5c], 1
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x20], xmm1
mov byte [rsp + 0x60], 1
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x10], xmm0
mov qword [rsp + 0x78], r14
movaps xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp], xmm1
mov dword [rbp - 0x80], r14d
mov dword [rbp - 0x7c], 0x7f7fffff
mov byte [rbp - 0x78], r14b
mov dword [rbp - 0x74], r14d
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x30], xmm0
mov dword [rbp - 0x70], 0x3f800000
movaps xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x20], xmm1
movaps xmm1, xmmword [rbp - 0x50]
mov qword [rbp - 0x40], r14
movsd xmm0, qword [rbp - 0x40]
movaps xmmword [rbp + 0x40], xmm1
movsd qword [rbp + 0x50], xmm0
mov dword [rbp - 0x28], 0x6458
mov dword [rbp - 0x1c], 0x42180000
mov qword [rbp + 8], rax
call fcn.14006f580
call fcn.14006b760
lea rcx, [0x1400b0d18]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rsi, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x170]
test eax, eax
je 0x1400869da
lea rcx, [0x1400b0d10]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400869da
mov rcx, qword [0x1400b07d0]
lea rax, str.imgui_impl_win32
mov qword [0x1400b0d08], rdi
or dword [rcx + 0xc], 6
mov qword [rcx + 0xd8], rax
mov qword [rcx + 0x108], rdi
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 0x1400869e1
mov rcx, qword [0x1400b07d0]
mov rax, qword [0x1400b09b0]
lea rdx, str.imgui_impl_dx9
mov r14, qword [rsp + 0x180]
mov rdi, qword [rsp + 0x188]
mov qword [0x1400b0cf8], rax
xor eax, eax
mov qword [rcx + 0xe0], rdx
add rsp, 0x160
pop rbp
ret