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

Disassembly:
push 0x6c
mov eax, 0x40988b
call fcn.0040893e
xor eax, eax
lea ecx, [ebp - 0x3c]
mov word [0x40f6c8], ax
mov word [0x40f8d2], ax
mov word [0x40fadc], ax
mov word [0x40fce6], ax
mov word [0x40fef0], ax
call fcn.0040207d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.00402069
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 1
xor ecx, ecx
call fcn.0040159b
lea ecx, [ebp - 0x24]
call fcn.004014d4
or edi, 0xffffffff
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], edi
call fcn.004014d4
mov esi, str.7z.exe
lea ecx, [ebp - 0x24]
push esi
call fcn.0040606d
lea edx, [ebp - 0x24]
mov dword [ebp - 4], 2
xor ecx, ecx
call fcn.0040159b
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.004014d4
lea ecx, [ebp - 0x3c]
call fcn.0040207d
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.00402069
xor ecx, ecx
mov byte [ebp - 4], 4
lea edx, [ebp - 0x24]
inc ecx
call fcn.0040159b
lea ecx, [ebp - 0x24]
call fcn.004014d4
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.xenia_master.zip
lea ecx, [ebp - 0x24]
call fcn.0040606d
xor ecx, ecx
mov dword [ebp - 4], 5
lea edx, [ebp - 0x24]
inc ecx
call fcn.0040159b
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.004014d4
push esi
lea ecx, [ebp - 0x24]
call fcn.0040606d
xor edx, edx
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.00401cf0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.https:__github.com_xenia_project_release_builds_windows_releases_latest_download_xenia_master.zip
lea ecx, [ebp - 0x24]
call fcn.0040606d
xor edx, edx
mov dword [ebp - 4], 7
inc edx
lea ecx, [ebp - 0x24]
call fcn.00401d70
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.004014d4
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, 0x41a0d8
mov edi, eax
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, 0x40f6c8
mov dword [0x41a0d8], ebx
push eax
mov dword [0x41a0dc], 0x40
mov dword [0x41a0f4], 5
mov dword [0x41a0e8], edi
mov dword [0x41a0ec], 0x40c9cc
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [0x41a110]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40579e
or esi, 0xffffffff
push esi
push eax
call ebx
jmp 0x4057a1
or esi, 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0040207d
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 8
push ecx
mov ecx, eax
call fcn.00402069
push 3
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 9
pop ecx
call fcn.0040159b
lea ecx, [ebp - 0x24]
call fcn.004014d4
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.004014d4
push str.LICENSE
lea ecx, [ebp - 0x24]
call fcn.0040606d
push 3
lea edx, [ebp - 0x24]
mov dword [ebp - 4], 0xa
pop ecx
call fcn.0040159b
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.004014d4
lea ecx, [ebp - 0x3c]
call fcn.0040207d
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xb
push ecx
mov ecx, eax
call fcn.00402069
push 2
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
pop ecx
call fcn.0040159b
lea ecx, [ebp - 0x24]
call fcn.004014d4
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.004014d4
push str.xenia.pdb
lea ecx, [ebp - 0x24]
call fcn.0040606d
push 2
lea edx, [ebp - 0x24]
mov dword [ebp - 4], 0xd
pop ecx
call fcn.0040159b
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.004014d4
push ecx
push edi
lea ecx, [ebp - 0x24]
call fcn.0040620e
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xe
call fcn.00403dd5
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.004014d4
push ecx
push 0x40f8d2
lea ecx, [ebp - 0x24]
call fcn.0040620e
push 0xf
pop edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x24]
call fcn.00403dd5
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.004014d4
push ecx
push 0x40fadc
lea ecx, [ebp - 0x24]
call fcn.0040620e
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x10
call fcn.00403dd5
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.004014d4
push ecx
push 0x40fce6
lea ecx, [ebp - 0x24]
call fcn.0040620e
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x11
call fcn.00403dd5
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.004014d4
lea ecx, [ebp - 0x3c]
call fcn.0040207d
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x12
push ecx
mov ecx, eax
call fcn.00402069
push 4
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 0x13
pop ecx
call fcn.0040159b
lea ecx, [ebp - 0x24]
call fcn.004014d4
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.004014d4
push str.xenia.exe
lea ecx, [ebp - 0x24]
call fcn.0040606d
push 4
lea edx, [ebp - 0x24]
mov dword [ebp - 4], 0x14
pop ecx
call fcn.0040159b
lea ecx, [ebp - 0x24]
call fcn.004014d4
push 0x3c
lea eax, [ebp - 0x78]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea esi, [ebp - 0x78]
mov eax, 0x41a0d8
mov ecx, edi
mov edi, eax
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [0x41a0d8], 0x3c
mov dword [0x41a0dc], 0x40
mov dword [0x41a0f4], 5
mov dword [0x41a0ec], 0x40ca30
mov dword [0x41a0e8], 0x40fef0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [0x41a110]
test eax, eax
je 0x4059d2
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