Function at 0x140031150
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
lea rdx, [0x140040958]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140031176
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x1400409b4]
lea rdx, [0x1400409a0]
mov rcx, qword [0x140040958]
mov r8d, 1
mov r9, qword [0x140040950]
mov qword [rsp + 0x38], rdx
lea rdx, [0x140040960]
mov dword [0x140040960], eax
mov eax, dword [0x1400409b0]
mov qword [0x140040978], 1
mov dword [0x140040988], 1
mov qword [0x140040980], r9
mov dword [0x140040968], 0x15
mov dword [0x140040964], eax
mov dword [0x14004098c], 1
mov dword [0x140040990], 0x50
mov dword [0x14004099c], 0x80000000
mov qword [rsp + 0x60], rdi
xor edi, edi
mov qword [0x14004096c], rdi
mov qword [0x140040994], rdi
mov dword [0x140040974], edi
mov rax, qword [rcx]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
jns 0x14003124e
mov rcx, qword [0x140040958]
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 + 0x70], rbx
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
call fcn.140007930
mov rbx, qword [0x140040950]
lea rcx, [0x140040a08]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003135b
lea rcx, [0x140040a00]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003135b
mov rax, qword [0x140040910]
lea rcx, str.imgui_impl_win32
mov qword [0x1400409f8], rbx
or dword [rax + 0xc], 6
mov qword [rax + 0xd8], rcx
mov qword [rax + 0x108], rbx
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 0x140031362
mov rax, qword [0x140040910]
cmp byte [0x1400400c0], dil
mov rcx, qword [0x1400409a0]
mov rbx, qword [rsp + 0x70]
je 0x14003137e
mov byte [0x1400400c0], dil
mov qword [0x1400409e8], rcx
lea rdx, str.imgui_impl_dx9
xor ecx, ecx
mov qword [rax + 0xe0], rdx
call fcn.14001ce90
movdqa xmm4, xmmword [0x140039bd0]
mov dword [rax + 0x1550], 0x3f800000
mov dword [rax + 0x1554], 0x41400000
mov qword [rax + 0x1558], 0x41400000
mov dword [rax + 0x1560], edi
mov dword [rax + 0x1564], 0x41a00000
mov dword [rax + 0x1568], 0x41a00000
mov dword [rax + 0x156c], 0x3f000000
mov qword [rax + 0x1570], 0x3f000000
mov qword [rax + 0x1578], 0x3f800000
mov dword [rax + 0x1580], 0x3f800000
mov dword [rax + 0x1584], 0x40c00000
mov qword [rax + 0x1588], 0x40c00000
mov dword [rax + 0x1590], edi
mov dword [rax + 0x1594], 0x41400000
mov dword [rax + 0x1598], 0x40c00000
mov dword [rax + 0x159c], 0x40c00000
mov dword [rax + 0x15a0], 0x40400000
mov dword [rax + 0x15ac], 0x41a00000
mov dword [rax + 0x15b0], 0x40c00000
mov qword [rax + 0x15b4], 0x41400000
mov qword [rax + 0x15bc], 0x41400000
mov qword [rax + 0x15c4], rdi
mov dword [rax + 0x15cc], 0x3f000000
mov dword [rax + 0x15d0], 0x3f000000
movdqa xmm7, xmmword [0x140039ba0]
movdqa xmm3, xmmword [0x140039b90]
movdqa xmm6, xmmword [0x140039c80]
movdqa xmm0, xmmword [0x140039d70]
movdqa xmm1, xmmword [0x140039c30]
movdqa xmm2, xmmword [0x140039bb0]
movdqa xmm5, xmmword [0x140039d50]
movups xmmword [rax + 0x15f0], xmm0
movdqa xmm0, xmmword [0x140039ab0]
movups xmmword [rax + 0x1610], xmm0
movdqa xmm0, xmmword [0x140039be0]
movups xmmword [rax + 0x1640], xmm0
movups xmmword [rax + 0x1670], xmm0
movups xmmword [rax + 0x16f0], xmm0
movdqa xmm0, xmmword [0x140039d60]
movups xmmword [rax + 0x1730], xmm0
movdqa xmm0, xmmword [0x140039bf0]
movups xmmword [rax + 0x1600], xmm1
movdqa xmm1, xmmword [0x140039c70]
movups xmmword [rax + 0x17a0], xmm0
movups xmmword [rax + 0x17b0], xmm0
movups xmmword [rax + 0x17c0], xmm0
movdqa xmm0, xmmword [0x140039cd0]
movups xmmword [rax + 0x1620], xmm7
movups xmmword [rax + 0x1630], xmm7
movups xmmword [rax + 0x1650], xmm7
movups xmmword [rax + 0x1660], xmm4
movups xmmword [rax + 0x1680], xmm6
movups xmmword [rax + 0x1690], xmm3
movups xmmword [rax + 0x16a0], xmm3
movups xmmword [rax + 0x16b0], xmm7
movups xmmword [rax + 0x16c0], xmm2
movups xmmword [rax + 0x16d0], xmm3
movups xmmword [rax + 0x16e0], xmm4
movups xmmword [rax + 0x1700], xmm4
movups xmmword [rax + 0x1710], xmm5
movups xmmword [rax + 0x1720], xmm5
movups xmmword [rax + 0x1740], xmm4
movups xmmword [rax + 0x1750], xmm1
movups xmmword [rax + 0x1760], xmm6
movups xmmword [rax + 0x1770], xmm4
movups xmmword [rax + 0x1780], xmm1
movups xmmword [rax + 0x1790], xmm6
movups xmmword [rax + 0x17d0], xmm4
movups xmmword [rax + 0x17e0], xmm1
movups xmmword [rax + 0x17f0], xmm6
movups xmmword [rax + 0x1800], xmm3
movups xmmword [rax + 0x1810], xmm4
movups xmmword [rax + 0x1820], xmm2
movups xmmword [rax + 0x1830], xmm3
movups xmmword [rax + 0x1840], xmm7
movdqa xmm1, xmmword [0x140039d30]
movups xmmword [rax + 0x1850], xmm0
movdqa xmm0, xmmword [0x140039c90]
movups xmmword [rax + 0x1870], xmm0
movdqa xmm0, xmmword [0x140039a70]
movups xmmword [rax + 0x1860], xmm1
movdqa xmm1, xmmword [0x140039cc0]
movups xmmword [rax + 0x18d0], xmm0
movups xmmword [rax + 0x18e0], xmm0
movups xmmword [rax + 0x1880], xmm1
movups xmmword [rax + 0x1890], xmm6
movups xmmword [rax + 0x18a0], xmm5
movups xmmword [rax + 0x18b0], xmm5
movups xmmword [rax + 0x18c0], xmm5
mov rcx, qword [0x140040958]
mov rax, qword [rcx]
call qword [rax + 0x10]
movaps xmm7, xmmword [rsp + 0x40]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
add rsp, 0x68
ret