Function at 0x140031550
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x58
lea rdx, [0x14005ebf8]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140031576
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x14005ec4c]
lea rdx, [0x14005ec40]
mov rcx, qword [0x14005ebf8]
mov r8d, 1
mov r9, qword [0x14005ebf0]
mov qword [rsp + 0x38], rdx
lea rdx, [0x14005ec00]
mov dword [0x14005ec00], eax
mov eax, dword [0x14005ec48]
mov qword [0x14005ec18], 1
mov dword [0x14005ec28], 1
mov qword [0x14005ec20], r9
mov dword [0x14005ec08], 0x15
mov dword [0x14005ec04], eax
mov dword [0x14005ec2c], 1
mov dword [0x14005ec30], 0x50
mov dword [0x14005ec3c], 0x80000000
mov qword [rsp + 0x68], rsi
xor esi, esi
mov qword [0x14005ec0c], rsi
mov qword [0x14005ec34], rsi
mov dword [0x14005ec14], esi
mov rax, qword [rcx]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
jns 0x14003164e
mov rcx, qword [0x14005ebf8]
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 + 0x60], rbx
mov qword [rsp + 0x50], rdi
movaps xmmword [rsp + 0x40], xmm6
call fcn.14000f930
mov rdi, qword [0x14005ebf0]
lea rcx, [0x14005eca0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003175b
lea rcx, [0x14005ec98]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003175b
mov rbx, qword [0x14005ebb0]
lea rax, str.imgui_impl_win32
mov qword [0x14005ec90], rdi
or dword [rbx + 0xc], 6
mov qword [rbx + 0xd8], rax
mov qword [rbx + 0x108], rdi
mov dword [rbx + 0x3c], 9
mov dword [rbx + 0x40], 0x25
mov dword [rbx + 0x44], 0x27
mov dword [rbx + 0x48], 0x26
mov dword [rbx + 0x4c], 0x28
mov dword [rbx + 0x50], 0x21
mov dword [rbx + 0x54], 0x22
mov dword [rbx + 0x58], 0x24
mov dword [rbx + 0x5c], 0x23
mov dword [rbx + 0x60], 0x2d
mov dword [rbx + 0x64], 0x2e
mov dword [rbx + 0x68], 8
mov dword [rbx + 0x6c], 0x20
mov dword [rbx + 0x70], 0xd
mov dword [rbx + 0x74], 0x1b
mov dword [rbx + 0x78], 0x41
mov dword [rbx + 0x7c], 0x43
mov dword [rbx + 0x80], 0x56
mov dword [rbx + 0x84], 0x58
mov dword [rbx + 0x88], 0x59
mov dword [rbx + 0x8c], 0x5a
jmp 0x140031762
mov rbx, qword [0x14005ebb0]
mov rax, qword [0x14005ec40]
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0xe0], rcx
lea rdx, [0x14004bad0]
movdqa xmm3, xmmword [0x140042890]
mov r8d, 0x12
movdqa xmm6, xmmword [0x140042790]
movdqa xmm5, xmmword [0x140042780]
movdqa xmm4, xmmword [0x140042730]
movdqa xmm2, xmmword [0x1400427b0]
movdqa xmm0, xmmword [0x1400428a0]
movdqa xmm1, xmmword [0x140042810]
movups xmmword [rbx + 0x15f0], xmm0
mov qword [rsp + 0x28], rsi
movdqa xmm0, xmmword [0x140042830]
movups xmmword [rbx + 0x1600], xmm1
mov qword [0x14005ec80], rax
movdqa xmm1, xmmword [0x1400427c0]
movups xmmword [rbx + 0x1710], xmm3
mov qword [rsp + 0x20], rsi
movups xmmword [rbx + 0x1720], xmm3
movups xmmword [rbx + 0x17a0], xmm3
movups xmmword [rbx + 0x17b0], xmm3
movups xmmword [rbx + 0x17c0], xmm3
movss xmm3, dword [0x1400424d8]
movups xmmword [rbx + 0x1680], xmm1
movups xmmword [rbx + 0x1730], xmm0
movups xmmword [rbx + 0x1760], xmm1
movups xmmword [rbx + 0x1790], xmm1
movups xmmword [rbx + 0x1610], xmm6
movups xmmword [rbx + 0x1620], xmm4
movups xmmword [rbx + 0x1630], xmm2
movups xmmword [rbx + 0x1640], xmm5
movups xmmword [rbx + 0x1650], xmm5
movups xmmword [rbx + 0x1660], xmm6
movups xmmword [rbx + 0x1670], xmm2
movups xmmword [rbx + 0x1740], xmm5
movups xmmword [rbx + 0x1750], xmm2
movups xmmword [rbx + 0x1770], xmm4
movups xmmword [rbx + 0x1780], xmm4
movups xmmword [rbx + 0x1800], xmm6
movups xmmword [rbx + 0x1810], xmm6
movups xmmword [rbx + 0x1820], xmm5
movups xmmword [rbx + 0x1830], xmm6
movups xmmword [rbx + 0x1840], xmm6
mov dword [rbx + 0x1554], 0x41000000
mov dword [rbx + 0x1558], 0x41000000
mov qword [rbx + 0x15a4], rsi
mov dword [rbx + 0x1594], 0x40c00000
mov dword [rbx + 0x1598], 0x40c00000
mov dword [rbx + 0x1584], 0x40a00000
mov dword [rbx + 0x1588], 0x40000000
mov dword [rbx + 0x159c], 0x40c00000
mov dword [rbx + 0x15a0], 0x40c00000
mov dword [rbx + 0x15ac], 0x41c80000
mov dword [rbx + 0x15b4], 0x41700000
mov dword [rbx + 0x15bc], 0x41200000
mov dword [rbx + 0x1560], 0x40000000
mov dword [rbx + 0x1578], 0x3f800000
mov dword [rbx + 0x1580], 0x3f800000
mov dword [rbx + 0x1590], 0x3f800000
mov dword [rbx + 0x15c8], 0x3f800000
mov dword [rbx + 0x155c], 0x40e00000
mov dword [rbx + 0x1574], 0x40e00000
mov dword [rbx + 0x158c], 0x40e00000
mov dword [rbx + 0x157c], 0x40e00000
mov dword [rbx + 0x15b8], 0x40e00000
mov dword [rbx + 0x15c0], 0x40e00000
mov dword [rbx + 0x15c4], 0x40e00000
mov dword [rbx + 0x156c], 0x3f000000
mov dword [rbx + 0x1570], 0x3f000000
mov rcx, qword [rbx + 0xa0]
call fcn.140027c70
mov qword [rbx + 0x20], rsi
mov rcx, qword [0x14005ebf8]
mov rax, qword [rcx]
call qword [rax + 0x10]
movaps xmm6, xmmword [rsp + 0x40]
xor eax, eax
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x58
ret