Function at 0x140086630
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rdi, qword [0x1400af940]
lea rdx, [0x1400af948]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14008666b
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x1400ae66c]
lea rdx, [0x1400af9a8]
mov rcx, qword [0x1400af948]
mov r9, rdi
mov qword [rsp + 0x38], rdx
lea rdx, [0x1400af960]
mov dword [0x1400af960], eax
mov eax, dword [0x1400ae670]
mov qword [0x1400af978], 1
mov dword [0x1400af988], 1
mov qword [0x1400af980], rdi
mov dword [0x1400af968], 0x15
mov dword [0x1400af964], eax
mov dword [0x1400af98c], 1
mov dword [0x1400af990], 0x50
mov dword [0x1400af99c], 0x80000000
mov qword [rsp + 0x180], r14
xor r14d, r14d
mov qword [0x1400af96c], r14
mov qword [0x1400af994], r14
mov dword [0x1400af974], 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 0x140086741
mov rcx, qword [0x1400af948]
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.140054790
mov rbx, qword [0x1400af7d0]
lea rsi, [0x14009ef00]
movss xmm2, dword [0x14009fd7c]
mov qword [rsp + 0x20], rsi
mov rcx, qword [rbx + 0xa0]
mov qword [rbx + 0x20], r14
call fcn.14006f890
movss xmm2, dword [0x14009fd80]
mov rcx, qword [rbx + 0xa0]
mov qword [rsp + 0x20], rsi
call fcn.14006f890
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, [0x1400a80d0]
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, [0x14009faa0]
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.14006f610
call fcn.14006b7f0
lea rcx, [0x1400afa10]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rsi, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x170]
test eax, eax
je 0x14008698a
lea rcx, [0x1400afa08]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14008698a
mov rcx, qword [0x1400af7d0]
lea rax, str.imgui_impl_win32
mov qword [0x1400afa00], 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 0x140086991
mov rcx, qword [0x1400af7d0]
mov rax, qword [0x1400af9a8]
lea rdx, str.imgui_impl_dx9
mov r14, qword [rsp + 0x180]
mov rdi, qword [rsp + 0x188]
mov qword [0x1400af9f0], rax
xor eax, eax
mov qword [rcx + 0xe0], rdx
add rsp, 0x160
pop rbp
ret