Function at 0x1400682f0
Capabilities:
Check if file exists
Create process on windows
Delete file
Hide graphical window

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x428
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x410], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x1b8]
call fcn.140067b80
nop
xor r8d, r8d
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
je 0x140068376
mov r9d, select
lea r8, [0x1401b0bc8]
lea rdx, [0x1401b0bf0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 0xffffffff
jmp 0x14006898a
lea rdx, str.1.3.0
lea rcx, [rsp + 0x190]
call fcn.140027ec0
lea rcx, [rsp + 0x130]
call fcn.140005560
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x190]
call fcn.14016dfb0
movzx eax, al
test eax, eax
je 0x1400686bf
mov r8d, 0x104
lea rdx, [rsp + 0x200]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14006841a
mov r9d, select
lea r8, [0x1401b0ca0]
lea rdx, [0x1401b0c40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov dword [rsp + 0x68], 0xffffffff
lea rcx, [rsp + 0x130]
call fcn.140005530
lea rcx, [rsp + 0x190]
call fcn.140005530
mov eax, dword [rsp + 0x68]
jmp 0x14006898a
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x170]
call fcn.140027bc0
mov r8, 0xffffffffffffffff
lea rdx, [0x1401b0ccc]
lea rcx, [rsp + 0x170]
call fcn.14006cab0
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0xffffffffffffffff
je 0x1400684a1
mov rax, qword [rsp + 0x98]
inc rax
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x170]
call fcn.14006ca50
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.140027ac0
lea rcx, [rsp + 0xa8]
call fcn.140005500
nop
lea r8, str.Installer.exe
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x150]
call fcn.140039c10
nop
lea rcx, [rsp + 0x150]
call fcn.140027aa0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140068554
lea rcx, [rsp + 0x150]
call fcn.140027aa0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140068554
mov r9d, select
lea r8, [0x1401b0d40]
lea rdx, [0x1401b0ce0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov dword [rsp + 0x6c], 0xffffffff
lea rcx, [rsp + 0x150]
call fcn.140005500
lea rcx, [rsp + 0x170]
call fcn.140005500
lea rcx, [rsp + 0x130]
call fcn.140005530
lea rcx, [rsp + 0x190]
call fcn.140005530
mov eax, dword [rsp + 0x6c]
jmp 0x14006898a
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x130]
call fcn.14016e350
movzx eax, al
test eax, eax
jne 0x1400685d2
mov r9d, select
lea r8, [0x1401b0d90]
lea rdx, [0x1401b0d50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov dword [rsp + 0x70], 0xffffffff
lea rcx, [rsp + 0x150]
call fcn.140005500
lea rcx, [rsp + 0x170]
call fcn.140005500
lea rcx, [rsp + 0x130]
call fcn.140005530
lea rcx, [rsp + 0x190]
call fcn.140005530
mov eax, dword [rsp + 0x70]
jmp 0x14006898a
lea rcx, [rsp + 0x150]
call fcn.140027aa0
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, [0x1401b0db0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0x20
jg 0x14006867a
mov r9d, select
lea r8, [0x1401b0da0]
lea rdx, [0x1401b0de0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov dword [rsp + 0x74], 0xffffffff
lea rcx, [rsp + 0x150]
call fcn.140005500
lea rcx, [rsp + 0x170]
call fcn.140005500
lea rcx, [rsp + 0x130]
call fcn.140005530
lea rcx, [rsp + 0x190]
call fcn.140005530
mov eax, dword [rsp + 0x74]
jmp 0x14006898a
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0x150]
call fcn.140005500
lea rcx, [rsp + 0x170]
call fcn.140005500
lea rcx, [rsp + 0x130]
call fcn.140005530
lea rcx, [rsp + 0x190]
call fcn.140005530
mov eax, dword [rsp + 0x78]
jmp 0x14006898a
mov dword [rsp + 0xd0], 0x50
mov dword [rsp + 0xd4], 3
lea rax, [0x1400689b0]
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0xe0], 0
mov dword [rsp + 0xe4], 0
mov rax, qword [rsp + 0x430]
mov qword [rsp + 0xe8], rax
mov edx, 0x7f00
mov rcx, qword [rsp + 0x430]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xf0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], 6
mov qword [rsp + 0x108], 0
lea rax, [0x1401b0dc0]
mov qword [rsp + 0x110], rax
mov edx, 0x7f00
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0xd0]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x430]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x1c2
mov dword [rsp + 0x30], 0x320
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xca0000
lea r8, str.IMPERIUM
lea rdx, str.AuthWindowClass
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140068826
mov dword [rsp + 0x7c], 0
lea rcx, [rsp + 0x130]
call fcn.140005530
lea rcx, [rsp + 0x190]
call fcn.140005530
mov eax, dword [rsp + 0x7c]
jmp 0x14006898a
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x120]
mov ecx, dword [rsp + 0x128]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x124]
mov ecx, dword [rsp + 0x12c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x8c], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x84]
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x90], eax
mov ecx, dword [rsp + 0x88]
mov edx, dword [rsp + 0x8c]
sub edx, ecx
mov ecx, edx
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov ecx, dword [rsp + 0x90]
mov r9d, ecx
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [rsp + 0x448]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14006894c
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
nop
jmp 0x140068913
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
nop
mov eax, dword [rsp + 0x1e0]
mov dword [rsp + 0x94], eax
lea rcx, [rsp + 0x130]
call fcn.140005530
lea rcx, [rsp + 0x190]
call fcn.140005530
mov eax, dword [rsp + 0x94]
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.14019c6f0
add rsp, 0x428
ret