Function at 0x572bd0
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 0x572c0b
lea ebx, [esp + 0x38]
call fcn.00551960
mov ebx, str.currentupdate.cfg
lea esi, [esp + 0x38]
call fcn.005518a0
mov ebx, 1
or word [esp + 0x34], bx
lea eax, [esp + 0x30]
call fcn.00550f90
test al, al
je 0x572f78
push 2
lea esi, [esp + 0x34]
call fcn.00551180
add esp, 4
test al, al
je 0x572f78
xor eax, eax
mov ecx, esi
call fcn.005512d0
test al, al
je 0x572f78
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 0x572f78
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 0x572cc3
lea ebx, [esp + 0x190]
call fcn.00551960
lea ebx, [esp + 0x298]
lea esi, [esp + 0x190]
call fcn.005518a0
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.00551ab0
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.005519e0
mov ebx, dword [esp + 0x20]
lea esi, [esp + 0x2a4]
mov byte [esp + 0x2a4], 0
call fcn.005518a0
mov ebx, dword [esp + 0x1c]
call fcn.00551900
push str.gamemode_1_n
lea ecx, [esp + 0x3b0]
push 0x400
push ecx
call fcn.0061f0cd
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 0x572d90
sub eax, edx
lea ecx, [esp + 0x3a0]
mov esi, eax
lea edx, [esp + 0x30]
call fcn.00551470
test al, al
je 0x572f78
push 0x714500
push str.url___s__n
lea edx, [esp + 0x3a8]
push 0x400
push edx
call fcn.0061f0cd
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 0x572de4
sub eax, edx
lea ecx, [esp + 0x3a0]
mov esi, eax
lea edx, [esp + 0x30]
call fcn.00551470
test al, al
je 0x572f78
push 0x714600
push str.updateversion___s__n
lea eax, [esp + 0x3a8]
push 0x400
push eax
call fcn.0061f0cd
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 0x572e38
sub eax, edx
lea ecx, [esp + 0x3a0]
mov esi, eax
lea edx, [esp + 0x30]
call fcn.00551470
test al, al
je 0x572f78
mov ecx, dword [0x6dcc60]
push ecx
lea edx, [esp + 0x29c]
push edx
push str.gamecommand___s__s__n
lea eax, [esp + 0x3ac]
push 0x400
push eax
call fcn.0061f0cd
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 0x572e96
sub eax, edx
lea ecx, [esp + 0x3a0]
mov esi, eax
lea edx, [esp + 0x30]
call fcn.00551470
test al, al
je 0x572f78
lea esi, [esp + 0x30]
call fcn.00551270
test al, al
je 0x572f78
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.0061ed33
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 0x572f65
mov eax, 1
mov byte [0x70b497], 0
mov byte [0x70b49b], al
mov dword [0x70b414], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [esp + 0x30]
call fcn.00551050
mov dword [0x699694], 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret