Function at 0x140027f40
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0xe0
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
lea rax, [0x1400269a0]
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 0x140028347
xor edx, edx
lea rcx, str.UnrealWindow
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x14003e508], rax
test rax, rax
je 0x1400280f0
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rsp + 0x64]
mov r9d, 0x90000000
mov r8d, dword [rsp + 0x60]
mov edx, dword [rsp + 0x68]
mov eax, dword [rsp + 0x6c]
sub edx, r8d
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], edx
mov dword [rsp + 0x28], ecx
xor ecx, ecx
mov dword [rsp + 0x20], r8d
mov r8, rbx
mov dword [0x14003e510], edx
mov rdx, rbx
mov dword [0x14003e514], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [0x14003e510]
lea rdx, [rsp + 0xc0]
mov dword [rsp + 0xc8], ecx
mov ecx, dword [0x14003e514]
mov dword [rsp + 0xcc], ecx
mov rcx, rax
mov qword [0x14003e500], rax
mov qword [rsp + 0xc0], rsi
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x14003e500]
lea edx, [rsi - 0x14]
mov r8d, 0x80020
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x14003e500]
lea edx, [rsi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rbx, qword [0x14003e500]
lea rdx, [0x14003ef28]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140028119
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x14003e510]
lea rdx, [0x14003ef70]
mov rcx, qword [0x14003ef28]
mov r9, rbx
mov qword [rsp + 0x38], rdx
lea rdx, [0x14003ef30]
mov dword [0x14003ef30], eax
mov eax, dword [0x14003e514]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [0x14003ef3c], rsi
mov qword [0x14003ef48], 1
mov qword [0x14003ef64], rsi
mov dword [0x14003ef58], 1
lea r8d, [rdx + 1]
mov qword [0x14003ef50], rbx
mov dword [0x14003ef44], esi
mov dword [0x14003ef38], 0x15
mov dword [0x14003ef34], eax
mov dword [0x14003ef5c], 1
mov dword [0x14003ef60], 0x50
mov dword [0x14003ef6c], 0x80000000
mov rax, qword [rcx]
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
jns 0x1400281e4
mov rcx, qword [0x14003ef28]
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.1400089a0
mov rdi, qword [0x14003ef20]
lea rcx, [0x14003f028]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400282ea
lea rcx, [0x14003f020]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400282ea
mov rcx, qword [0x14003ef20]
lea rax, str.imgui_impl_win32
mov qword [0x14003f018], 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 0x1400282f1
mov rcx, qword [0x14003ef20]
mov rax, qword [0x14003ef70]
lea rdx, str.imgui_impl_dx9
movss xmm3, dword [0x14003899c]
mov qword [rcx + 0xe0], rdx
lea rdx, [0x14002f4d0]
mov rcx, qword [rdi + 0xa0]
mov qword [rsp + 0x28], rsi
mov qword [0x14003f008], rax
mov qword [rsp + 0x20], rsi
call fcn.1400202b0
mov rcx, qword [0x14003ef28]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140028af0
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rsi
ret