Function at 0x57aee0
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 0x57af1b
lea ebx, [esp + 0x38]
call fcn.00559870
mov ebx, str.currentupdate.cfg
lea esi, [esp + 0x38]
call fcn.005597b0
mov ebx, 1
or word [esp + 0x34], bx
lea eax, [esp + 0x30]
call fcn.00558ea0
test al, al
je 0x57b288
push 2
lea esi, [esp + 0x34]
call fcn.00559090
add esp, 4
test al, al
je 0x57b288
xor eax, eax
mov ecx, esi
call fcn.005591e0
test al, al
je 0x57b288
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 0x57b288
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 0x57afd3
lea ebx, [esp + 0x190]
call fcn.00559870
lea ebx, [esp + 0x298]
lea esi, [esp + 0x190]
call fcn.005597b0
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.005599c0
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.005598f0
mov ebx, dword [esp + 0x20]
lea esi, [esp + 0x2a4]
mov byte [esp + 0x2a4], 0
call fcn.005597b0
mov ebx, dword [esp + 0x1c]
call fcn.00559810
push str.gamemode_1_n
lea ecx, [esp + 0x3b0]
push 0x400
push ecx
call fcn.005c8b3d
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 0x57b0a0
sub eax, edx
lea ecx, [esp + 0x3a0]
mov esi, eax
lea edx, [esp + 0x30]
call fcn.00559380
test al, al
je 0x57b288
push 0x6bdae0
push str.url___s__n
lea edx, [esp + 0x3a8]
push 0x400
push edx
call fcn.005c8b3d
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 0x57b0f4
sub eax, edx
lea ecx, [esp + 0x3a0]
mov esi, eax
lea edx, [esp + 0x30]
call fcn.00559380
test al, al
je 0x57b288
push 0x6bdbe0
push str.updateversion___s__n
lea eax, [esp + 0x3a8]
push 0x400
push eax
call fcn.005c8b3d
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 0x57b148
sub eax, edx
lea ecx, [esp + 0x3a0]
mov esi, eax
lea edx, [esp + 0x30]
call fcn.00559380
test al, al
je 0x57b288
mov ecx, dword [0x67e4b8]
push ecx
lea edx, [esp + 0x29c]
push edx
push str.gamecommand___s__s__n
lea eax, [esp + 0x3ac]
push 0x400
push eax
call fcn.005c8b3d
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 0x57b1a6
sub eax, edx
lea ecx, [esp + 0x3a0]
mov esi, eax
lea edx, [esp + 0x30]
call fcn.00559380
test al, al
je 0x57b288
lea esi, [esp + 0x30]
call fcn.00559180
test al, al
je 0x57b288
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.005c87a3
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 0x57b275
mov eax, 1
mov byte [0x6b471f], 0
mov byte [0x6b4723], al
mov dword [0x6b469c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [esp + 0x30]
call fcn.00558f60
mov dword [0x63ad0c], 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret