Function at 0x140029910
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0xe0
mov rax, qword [0x140041040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rax, [0x140029000]
mov qword [rsp + 0x70], 0x50
xor esi, esi
mov qword [rsp + 0x78], rax
mov edx, 0x7f00
mov qword [rsp + 0x80], rsi
xor ecx, ecx
mov qword [rsp + 0x88], rsi
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
xorps xmm0, xmm0
lea rbx, str.Element
mov edx, 0x7f00
mov qword [rsp + 0x98], rax
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rbx
call qword [sym.imp.USER32.dll_LoadIconA]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x140029d1d
lea rdx, [0x14002d7e0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x1400412e8], rax
test rax, rax
je 0x140029ac4
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rsp + 0x64]
mov rdx, rbx
mov r9d, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x68]
mov eax, dword [rsp + 0x6c]
sub r8d, r9d
mov qword [rsp + 0x58], rsi
sub eax, ecx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], ecx
xor ecx, ecx
mov dword [rsp + 0x20], r9d
mov r9d, 0x90000000
mov dword [0x1400412f0], r8d
mov r8, rbx
mov dword [0x1400412f4], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [0x1400412f0]
lea rdx, [rsp + 0xc0]
mov dword [rsp + 0xc8], ecx
mov ecx, dword [0x1400412f4]
mov dword [rsp + 0xcc], ecx
mov rcx, rax
mov qword [0x1400412e0], rax
mov qword [rsp + 0xc0], rsi
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x1400412e0]
mov edx, 0xffffffec
mov r8d, 0x80020
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400412e0]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rbx, qword [0x1400412e0]
lea rdx, [0x140042138]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140029aed
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x1400412f0]
lea rdx, [0x140042180]
mov rcx, qword [0x140042138]
mov r9, rbx
mov qword [rsp + 0x38], rdx
mov r8d, 1
mov dword [0x140042140], eax
lea rdx, [0x140042140]
mov eax, dword [0x1400412f4]
mov qword [0x14004214c], rsi
mov qword [0x140042158], 1
mov qword [0x140042174], rsi
mov dword [0x140042168], 1
mov qword [0x140042160], rbx
mov dword [0x140042154], esi
mov dword [0x140042148], 0x15
mov dword [0x140042144], eax
mov dword [0x14004216c], 1
mov dword [0x140042170], 0x50
mov dword [0x14004217c], 0x80000000
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 0x140029bba
mov rcx, qword [0x140042138]
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 + 0xf0], rdi
call fcn.14000a930
mov rdi, qword [0x140042130]
lea rcx, [0x140042208]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140029cc0
lea rcx, [0x140042200]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140029cc0
mov rcx, qword [0x140042130]
lea rax, str.imgui_impl_win32
mov qword [0x1400421f8], rbx
or dword [rcx + 0xc], 6
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 0x140029cc7
mov rcx, qword [0x140042130]
mov rax, qword [0x140042180]
lea rdx, str.imgui_impl_dx9
movss xmm3, dword [0x14003a9e8]
mov qword [rcx + 0xe0], rdx
lea rdx, [0x140031550]
mov rcx, qword [rdi + 0xa0]
mov qword [rsp + 0x28], rsi
mov qword [0x1400421e8], rax
mov qword [rsp + 0x20], rsi
call fcn.1400221e0
mov rcx, qword [0x140042138]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14002a4a0
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rsi
ret