Function at 0x14002f630
Capabilities:
Terminate process

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
lea rdx, [0x140040f98]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14002f65a
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edi, edi
mov qword [0x140040f2c], rdi
mov qword [0x140040f38], 1
mov qword [0x140040f54], rdi
mov dword [0x140040f5c], edi
mov eax, dword [0x140040fac]
mov dword [0x140040f20], eax
mov eax, dword [0x140040fa8]
mov dword [0x140040f24], eax
mov dword [0x140040f28], 0x15
mov dword [0x140040f34], edi
mov dword [0x140040f50], 0x50
mov dword [0x140040f4c], 1
mov r9, qword [0x140041090]
mov qword [0x140040f40], r9
mov dword [0x140040f48], 1
mov rcx, qword [0x140040f98]
mov rax, qword [rcx]
lea rdx, [0x140041098]
mov qword [rsp + 0x30], rdx
lea rdx, [0x140040f20]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x20
xor edx, edx
lea r8d, [rdi + 1]
call qword [rax + 0x80]
mov rax, qword [0x140040f00]
test rax, rax
je 0x14002f717
inc dword [rax + 0x3c8]
mov rdx, qword [0x140040ef0]
mov ecx, 0x3bf0
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x90]
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rax
test rax, rax
je 0x14002f75a
mov rcx, rax
call fcn.140001570
mov rsi, rax
jmp 0x14002f75d
mov rsi, rdi
mov rax, qword [0x140040f00]
test rax, rax
cmove rax, rsi
mov qword [0x140040f00], rax
mov dword [rsp + 0x4c], edi
mov qword [rsp + 0x68], rdi
lea rcx, str.Window
mov qword [rsp + 0x40], rcx
xor r8d, r8d
xor edx, edx
call fcn.1400026d0
mov dword [rsp + 0x48], eax
lea rax, [0x140011730]
mov qword [rsp + 0x50], rax
lea rax, [0x1400117b0]
mov qword [rsp + 0x58], rax
lea rax, [0x140011890]
mov qword [rsp + 0x60], rax
lea rbx, [rsi + 0x2db0]
mov eax, dword [rbx]
mov ecx, dword [rbx + 4]
test eax, eax
jne 0x14002f807
test ecx, ecx
jne 0x14002f7da
lea edx, [rax + 8]
mov rcx, rbx
call fcn.140012750
mov edi, dword [rbx]
movsxd rax, edi
lea rcx, [rax + rax*2]
add rcx, rcx
mov rax, qword [rbx + 8]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + rcx*8 + 0x20], xmm0
jmp 0x14002f870
cmp eax, ecx
jne 0x14002f837
lea r8d, [rax + 1]
test ecx, ecx
je 0x14002f81e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14002f823
mov eax, 8
cmp eax, r8d
cmovg r8d, eax
mov edx, r8d
mov rcx, rbx
call fcn.140012750
mov eax, dword [rbx]
test eax, eax
jle 0x14002f852
mov rdx, qword [rbx + 8]
cdqe
lea r8, [rax + rax*2]
shl r8, 4
lea rcx, [rdx + 0x30]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rbx + 8]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + 0x20], xmm0
inc dword [rbx]
mov byte [rsi], 1
mov rbx, qword [0x140041090]
lea rcx, [0x140041068]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14002f96e
lea rcx, [0x140041060]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002f96e
mov qword [0x140041058], rbx
mov rcx, qword [0x140040f00]
or dword [rcx + 0xc], 6
lea rax, str.imgui_impl_win32
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 0x14002f975
mov rcx, qword [0x140040f00]
mov rax, qword [0x140041098]
lea rdx, str.imgui_impl_dx9
mov qword [rcx + 0xe0], rdx
mov qword [0x140041048], rax
call fcn.14001a2e0
mov dword [rcx + 0x1554], 0x41700000
mov dword [rcx + 0x1558], 0x41700000
mov dword [rcx + 0x155c], 0x40a00000
mov dword [rcx + 0x1584], 0x40a00000
mov dword [rcx + 0x1588], 0x40a00000
mov dword [rcx + 0x1594], 0x41400000
mov dword [rcx + 0x1598], 0x41000000
mov dword [rcx + 0x159c], 0x41000000
mov dword [rcx + 0x15a0], 0x40c00000
mov dword [rcx + 0x15ac], 0x41c80000
mov dword [rcx + 0x15b4], 0x41700000
mov dword [rcx + 0x15b8], 0x41100000
mov dword [rcx + 0x15bc], 0x40a00000
mov dword [rcx + 0x15c0], 0x40400000
movaps xmm0, xmmword [0x140039f30]
movups xmmword [rcx + 0x15f0], xmm0
movaps xmm1, xmmword [0x140039e70]
movups xmmword [rcx + 0x1600], xmm1
movaps xmm0, xmmword [0x1400399b0]
movups xmmword [rcx + 0x1610], xmm0
movaps xmm1, xmmword [0x140039d70]
movups xmmword [rcx + 0x1620], xmm1
movaps xmm0, xmmword [0x140039df0]
movups xmmword [rcx + 0x1630], xmm0
movaps xmm1, xmm0
movups xmmword [rcx + 0x1640], xmm0
movups xmmword [rcx + 0x1650], xmm0
movaps xmm1, xmmword [0x140039dd0]
movups xmmword [rcx + 0x1660], xmm1
movaps xmm0, xmm1
movups xmmword [rcx + 0x1670], xmm1
movups xmmword [rcx + 0x1680], xmm1
movaps xmm0, xmmword [0x140039e20]
movups xmmword [rcx + 0x1690], xmm0
movaps xmm1, xmm0
movups xmmword [rcx + 0x16b0], xmm0
movups xmmword [rcx + 0x16a0], xmm0
movaps xmm1, xmmword [0x140039f30]
movups xmmword [rcx + 0x16c0], xmm1
movaps xmm0, xmmword [0x140039de0]
movups xmmword [rcx + 0x16d0], xmm0
movaps xmm1, xmmword [0x140039e20]
movups xmmword [rcx + 0x16e0], xmm1
movaps xmm0, xmm1
movups xmmword [rcx + 0x16f0], xmm1
movups xmmword [rcx + 0x1700], xmm1
movaps xmm0, xmmword [0x140039d70]
movups xmmword [rcx + 0x1710], xmm0
movaps xmm1, xmmword [0x140039ed0]
movups xmmword [rcx + 0x1720], xmm1
movaps xmm0, xmm1
movups xmmword [rcx + 0x1730], xmm1
movaps xmm1, xmmword [0x140039e20]
movups xmmword [rcx + 0x1740], xmm1
movaps xmm0, xmmword [0x140039e50]
movups xmmword [rcx + 0x1750], xmm0
movaps xmm1, xmmword [0x140039db0]
movups xmmword [rcx + 0x1760], xmm1
movaps xmm0, xmmword [0x140039d70]
movups xmmword [rcx + 0x1770], xmm0
movaps xmm1, xmm0
movups xmmword [rcx + 0x1780], xmm0
movups xmmword [rcx + 0x1790], xmm0
movaps xmm1, xmmword [0x140039e30]
movups xmmword [rcx + 0x17a0], xmm1
movaps xmm0, xmmword [0x140039f50]
movups xmmword [rcx + 0x17b0], xmm0
movaps xmm1, xmm0
movups xmmword [rcx + 0x17c0], xmm0
movaps xmm0, xmmword [0x140039e20]
movups xmmword [rcx + 0x17d0], xmm0
movups xmmword [rcx + 0x17e0], xmm1
movaps xmm0, xmm1
movups xmmword [rcx + 0x17f0], xmm1
movaps xmm1, xmmword [0x140039e30]
movups xmmword [rcx + 0x1850], xmm1
movaps xmm0, xmmword [0x140039e10]
movups xmmword [rcx + 0x1860], xmm0
movaps xmm1, xmmword [0x140039d90]
movups xmmword [rcx + 0x1870], xmm1
movaps xmm0, xmmword [0x140039d80]
movups xmmword [rcx + 0x1880], xmm0
movaps xmm1, xmmword [0x140039eb0]
movups xmmword [rcx + 0x1890], xmm1
movaps xmm0, xmmword [0x140039b30]
movups xmmword [rcx + 0x18e0], xmm0
mov dword [rcx + 0x156c], 0x3f800000
mov dword [rcx + 0x158c], 0x3f000000
mov rcx, qword [0x140040f98]
mov rax, qword [rcx]
add rsp, 0x70
pop rdi
pop rsi
pop rbx
jmp qword [rax + 0x10]