Function at 0x404610
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0x6c
mov eax, 0x408538
call fcn.004077de
xor eax, eax
lea ecx, [ebp - 0x3c]
mov word [0x40e788], ax
mov word [0x40e992], ax
mov word [0x40eb9c], ax
mov word [0x40eda6], ax
mov word [0x40efb0], ax
call fcn.004023ae
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.004017ed
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 1
xor ecx, ecx
call fcn.00402476
lea ecx, [ebp - 0x24]
call fcn.0040197a
or edi, 0xffffffff
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], edi
call fcn.0040197a
mov esi, str.7z.exe
lea ecx, [ebp - 0x24]
push esi
call fcn.004050f8
lea edx, [ebp - 0x24]
mov dword [ebp - 4], 2
xor ecx, ecx
call fcn.00402476
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.0040197a
lea ecx, [ebp - 0x3c]
call fcn.004023ae
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.004017ed
xor ecx, ecx
mov byte [ebp - 4], 4
lea edx, [ebp - 0x24]
inc ecx
call fcn.00402476
lea ecx, [ebp - 0x24]
call fcn.0040197a
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], edi
call fcn.0040197a
push str.xenia_master.zip
lea ecx, [ebp - 0x24]
call fcn.004050f8
xor ecx, ecx
mov dword [ebp - 4], 5
lea edx, [ebp - 0x24]
inc ecx
call fcn.00402476
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.0040197a
push esi
lea ecx, [ebp - 0x24]
call fcn.004050f8
xor edx, edx
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.00402696
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.0040197a
push str.https:__github.com_xenia_project_release_builds_windows_releases_latest_download_xenia_master.zip
lea ecx, [ebp - 0x24]
call fcn.004050f8
xor edx, edx
mov dword [ebp - 4], 7
inc edx
lea ecx, [ebp - 0x24]
call fcn.00402714
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.0040197a
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x78]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea esi, [ebp - 0x78]
mov eax, 0x4190d0
mov edi, eax
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, 0x40e788
mov dword [0x4190d0], ebx
push eax
mov dword [0x4190d4], 0x40
mov dword [0x4190ec], 5
mov dword [0x4190e0], edi
mov dword [0x4190e4], 0x40b294
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [0x419108]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4047c5
or esi, 0xffffffff
push esi
push eax
call ebx
jmp 0x4047c8
or esi, 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004023ae
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 8
push ecx
mov ecx, eax
call fcn.004017ed
push 3
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 9
pop ecx
call fcn.00402476
lea ecx, [ebp - 0x24]
call fcn.0040197a
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0040197a
push str.LICENSE
lea ecx, [ebp - 0x24]
call fcn.004050f8
push 3
lea edx, [ebp - 0x24]
mov dword [ebp - 4], 0xa
pop ecx
call fcn.00402476
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.0040197a
lea ecx, [ebp - 0x3c]
call fcn.004023ae
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xb
push ecx
mov ecx, eax
call fcn.004017ed
push 2
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
pop ecx
call fcn.00402476
lea ecx, [ebp - 0x24]
call fcn.0040197a
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0040197a
push str.xenia.pdb
lea ecx, [ebp - 0x24]
call fcn.004050f8
push 2
lea edx, [ebp - 0x24]
mov dword [ebp - 4], 0xd
pop ecx
call fcn.00402476
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.0040197a
push ecx
push edi
lea ecx, [ebp - 0x24]
call fcn.00405653
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xe
call fcn.004022ab
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.0040197a
push ecx
push 0x40e992
lea ecx, [ebp - 0x24]
call fcn.00405653
push 0xf
pop edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x24]
call fcn.004022ab
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.0040197a
push ecx
push 0x40eb9c
lea ecx, [ebp - 0x24]
call fcn.00405653
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x10
call fcn.004022ab
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.0040197a
push ecx
push 0x40eda6
lea ecx, [ebp - 0x24]
call fcn.00405653
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x11
call fcn.004022ab
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.0040197a
lea ecx, [ebp - 0x3c]
call fcn.004023ae
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x12
push ecx
mov ecx, eax
call fcn.004017ed
push 4
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 0x13
pop ecx
call fcn.00402476
lea ecx, [ebp - 0x24]
call fcn.0040197a
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0040197a
push str.xenia.exe
lea ecx, [ebp - 0x24]
call fcn.004050f8
push 4
lea edx, [ebp - 0x24]
mov dword [ebp - 4], 0x14
pop ecx
call fcn.00402476
lea ecx, [ebp - 0x24]
call fcn.0040197a
push 0x3c
lea eax, [ebp - 0x78]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea esi, [ebp - 0x78]
mov eax, 0x4190d0
mov ecx, edi
mov edi, eax
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [0x4190d0], 0x3c
mov dword [0x4190d4], 0x40
mov dword [0x4190ec], 5
mov dword [0x4190e4], 0x40b2f8
mov dword [0x4190e0], 0x40efb0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [0x419108]
test eax, eax
je 0x4049f9
or edi, 0xffffffff
push edi
push eax
call ebx
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3