Function at 0x577720
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x89c
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x43
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
test byte [esp + 0x34], 1
mov dword [esp + 0x30], 0x66696c6f
mov word [esp + 0x36], 0xffff
je 0x57775b
lea ebx, [esp + 0x38]
call fcn.005563b0
mov ebx, str.currentupdate.cfg
lea esi, [esp + 0x38]
call fcn.005562f0
mov ebx, 1
or word [esp + 0x34], bx
lea eax, [esp + 0x30]
call fcn.005559e0
test al, al
je 0x577ac8
push 2
lea esi, [esp + 0x34]
call fcn.00555bd0
add esp, 4
test al, al
je 0x577ac8
xor eax, eax
mov ecx, esi
call fcn.00555d20
test al, al
je 0x577ac8
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x298]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0x29c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jle 0x577ac8
xor eax, eax
mov ecx, 0x43
lea edi, [esp + 0x188]
rep stosd dword es:[edi], eax
test byte [esp + 0x18c], bl
mov dword [esp + 0x188], 0x66696c6f
mov word [esp + 0x18e], 0xffff
je 0x577813
lea ebx, [esp + 0x190]
call fcn.005563b0
lea ebx, [esp + 0x298]
lea esi, [esp + 0x190]
call fcn.005562f0
or byte [esp + 0x18c], 1
xor eax, eax
mov byte [esp + 0x7a8], 0
mov ecx, 0x3f
lea edi, [esp + 0x7a9]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18e]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x7a8]
mov eax, esi
call fcn.00556500
xor ecx, ecx
mov cl, byte [esp + 0x18c]
lea edx, [esp + 0x10]
lea eax, [esp + 0x28]
lea edi, [esp + 0x14]
lea ebx, [esp + 0x2c]
lea esi, [esp + 0x7a8]
and ecx, 0xffffff01
push ecx
push edx
push eax
call fcn.00556430
mov ebx, dword [esp + 0x20]
lea esi, [esp + 0x2a4]
mov byte [esp + 0x2a4], 0
call fcn.005562f0
mov ebx, dword [esp + 0x1c]
call fcn.00556350
push str.gamemode_1_n
lea ecx, [esp + 0x3b0]
push 0x400
push ecx
call fcn.00623c7d
lea eax, [esp + 0x3b8]
add esp, 0x18
mov byte [esp + 0x7a0], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5778e0
sub eax, edx
lea ecx, [esp + 0x3a0]
mov esi, eax
lea edx, [esp + 0x30]
call fcn.00555ec0
test al, al
je 0x577ac8
push 0x722800
push str.url___s__n
lea edx, [esp + 0x3a8]
push 0x400
push edx
call fcn.00623c7d
lea eax, [esp + 0x3b0]
add esp, 0x10
mov byte [esp + 0x7a0], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x577934
sub eax, edx
lea ecx, [esp + 0x3a0]
mov esi, eax
lea edx, [esp + 0x30]
call fcn.00555ec0
test al, al
je 0x577ac8
push 0x722900
push str.updateversion___s__n
lea eax, [esp + 0x3a8]
push 0x400
push eax
call fcn.00623c7d
lea eax, [esp + 0x3b0]
add esp, 0x10
mov byte [esp + 0x7a0], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x577988
sub eax, edx
lea ecx, [esp + 0x3a0]
mov esi, eax
lea edx, [esp + 0x30]
call fcn.00555ec0
test al, al
je 0x577ac8
mov ecx, dword [0x6e34e8]
push ecx
lea edx, [esp + 0x29c]
push edx
push str.gamecommand___s__s__n
lea eax, [esp + 0x3ac]
push 0x400
push eax
call fcn.00623c7d
lea eax, [esp + 0x3b4]
add esp, 0x14
mov byte [esp + 0x7a0], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5779e6
sub eax, edx
lea ecx, [esp + 0x3a0]
mov esi, eax
lea edx, [esp + 0x30]
call fcn.00555ec0
test al, al
je 0x577ac8
lea esi, [esp + 0x30]
call fcn.00555cc0
test al, al
je 0x577ac8
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x140]
rep stosd dword es:[edi], eax
mov dword [esp + 0x140], 0x44
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.haloupdate.exe
lea edx, [esp + 0x3a8]
push str._s_waitprocessid_d
push edx
call fcn.006238e3
add esp, 0x10
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x144]
push ecx
push 0
push 0
push 0x4000020
push 0
push 0
push 0
lea edx, [esp + 0x3c0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x577ab5
mov eax, 1
mov byte [0x71967f], 0
mov byte [0x719683], al
mov dword [0x7195fc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [esp + 0x30]
call fcn.00555aa0
mov dword [0x69fe14], 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret