Function at 0x403da9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x79c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 4], ebx
je 0x403f0c
lea eax, [esi + 0x87c]
push eax
lea eax, [ebp - 0x284]
push str._sGLWorld.exe
push eax
call fcn.00415cc0
lea eax, [ebp - 0x284]
push eax
call fcn.00405aaf
add esp, 0x10
test eax, eax
je 0x403f0c
push 1
push str.1.0.0.0
lea eax, [ebp - 0x18]
push 0x14
push eax
push str.Version
push str.SOFTWAREGloballinkGameShare
push connect
call fcn.0040e7ad
lea eax, [esi + 0xd9d]
push eax
call fcn.00405e97
mov edi, eax
lea eax, [ebp - 0x18]
push eax
call fcn.00405e97
add esp, 0x24
cmp edi, eax
jae 0x403f0c
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00405c91
lea eax, [esi + 0x1938]
push eax
call fcn.00415b30
add esp, 0xc
test eax, eax
jbe 0x403ee3
mov edi, 0x400
push str.__GLIEDOWN_MAPFILE_NAME__
push edi
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [esi + 0x1934], eax
je 0x403ed0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403ebe
push edi
push ebx
push ebx
push 0xf001f
push dword [esi + 0x1934]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
je 0x403ed0
lea eax, [esi + 0x1938]
push eax
push edi
call fcn.00415570
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x403ed0
push dword [esi + 0x1934]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1934], ebx
lea eax, [ebp - 0x284]
push str.__webstart
push eax
call fcn.00415580
pop ecx
pop ecx
lea eax, [esi + 0xa98]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00415580
pop ecx
lea eax, [ebp - 0x284]
pop ecx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push ebx
mov ecx, esi
jmp 0x403f23
mov ecx, esi
call fcn.00404c14
call fcn.0040569a
test eax, eax
jne 0x403f2d
push 9
mov ecx, 0x424b10
call fcn.0040327d
jmp 0x4042f8
cmp dword [esi + 8], ebx
je 0x40414b
lea eax, [esi + 0xa98]
push 0x201
push ebx
push eax
call fcn.00415510
add esp, 0xc
mov ecx, esi
call fcn.00404cdd
lea edi, [esi + 0xebc]
lea eax, [esi + 0x1830]
push eax
mov dword [edi], ebx
call fcn.004056e1
cmp dword [esi + 0xc], ebx
pop ecx
mov dword [edi], eax
je 0x404144
mov eax, dword [esi + 0xeb8]
lea edi, [esi + 0xeb8]
cmp eax, ebx
je 0x403f90
push 0x21
push ebx
push eax
call fcn.00415510
add esp, 0xc
mov dword [edi], ebx
push 0x400
lea eax, [ebp - 0x79c]
push ebx
push eax
call fcn.00415510
push 0x320
lea eax, [ebp - 0x39c]
push ebx
push eax
call fcn.00415510
add esp, 0x18
cmp dword [esi + 0x1ec], ebx
je 0x403fd2
lea eax, [ebp - 0x39c]
push str._Background
push eax
call fcn.00415570
pop ecx
pop ecx
cmp dword [esi + 0xeec], ebx
je 0x403fed
lea eax, [ebp - 0x39c]
push str.___Silent
push eax
call fcn.00415580
pop ecx
pop ecx
cmp dword [esi + 0xee0], ebx
je 0x404008
lea eax, [ebp - 0x39c]
push str.___Report
push eax
call fcn.00415580
pop ecx
pop ecx
cmp byte [esi + 0xa98], bl
lea edi, [esi + 0xa98]
je 0x404048
lea eax, [ebp - 0x39c]
push str.___2World:_
push eax
call fcn.00415580
lea eax, [ebp - 0x39c]
push edi
push eax
call fcn.00415580
lea eax, [ebp - 0x39c]
push 0x4218e0
push eax
call fcn.00415580
add esp, 0x18
mov eax, dword [esi + 0x1d38]
cmp eax, ebx
je 0x4040f2
cmp dword [esi + 0x1d3c], ebx
je 0x4040f2
push eax
lea eax, [ebp - 0x7c]
push str.__HWND:__d_
push eax
call fcn.00415cc0
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x39c]
push eax
call fcn.00415580
push dword [esi + 0x1d3c]
lea eax, [ebp - 0x7c]
push str.__MSG:__d_
push eax
call fcn.00415cc0
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x39c]
push eax
call fcn.00415580
push dword [esi + 0x1d40]
lea eax, [ebp - 0x7c]
push str.__MSGWPARAM:__d_
push eax
call fcn.00415cc0
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x39c]
push eax
call fcn.00415580
push dword [esi + 0x1d44]
lea eax, [ebp - 0x7c]
push str.__MSGLPARAM:__d_
push eax
call fcn.00415cc0
add esp, 0x48
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x39c]
push eax
call fcn.00415580
pop ecx
pop ecx
lea eax, [ebp - 0x39c]
push eax
lea eax, [esi + 0x1830]
push eax
lea eax, [ebp - 0x79c]
push str._s__s
push eax
call fcn.00415cc0
add esp, 0x10
lea eax, [ebp - 0x79c]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea eax, [ebp - 0x79c]
push eax
push str.Winexec:__s.
push 0x424b20
call fcn.0040d0ca
add esp, 0xc
mov ecx, esi
push ebx
call fcn.0040327d
mov ecx, esi
call fcn.00404e19
cmp dword [esi + 0xebc], ebx
je 0x4041cb
lea eax, [esi + 0x1830]
lea ecx, [esi + 0xec0]
push eax
call fcn.004067c0
lea edi, [esi + 0xef4]
lea eax, [esi + 0x674]
push edi
push eax
call fcn.00405a66
cmp dword [esi + 0x1e4], ebx
pop ecx
pop ecx
jne 0x404187
mov byte [ebp - 0x18], bl
jmp 0x404197
lea eax, [ebp - 0x18]
push 0x421884
push eax
call fcn.00415570
pop ecx
pop ecx
lea eax, [ebp - 0x18]
lea ecx, [esi + 0xec0]
push eax
push edi
call fcn.004069ac
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.00404c14
push dword [ebp - 4]
lea eax, [esi + 0x10]
push edi
push str.Find_ini_tmpfile_is__s_Have___d
push eax
call fcn.0040d0ca
add esp, 0x10
cmp dword [ebp - 4], ebx
jmp 0x404202
lea eax, [esi + 0x234]
push str.glSetup.ini
lea edi, [esi + 0xef4]
push eax
push 0x42184c
push edi
call fcn.00415cc0
lea eax, [esi + 0x10]
push edi
push str.Use_Setup_ini_is__s
push eax
call fcn.0040d0ca
push edi
call fcn.00405aaf
add esp, 0x20
test eax, eax
jne 0x40421e
push edi
lea eax, [esi + 0x10]
push str.Cant_find_.ini_file_in__s.
push eax
call fcn.0040d0ca
add esp, 0xc
mov ecx, esi
push ebx
call fcn.0040327d
push ebx
push str.Group
mov ecx, esi
call fcn.00401b0a
lea edi, [esi + 0x468]
lea ecx, [esi + 0xec0]
push edi
call fcn.0040c1c8
mov eax, dword [edi]
mov ecx, esi
shl eax, 2
mov dword [edi], eax
call fcn.00403211
cmp dword [esi + 0xeec], ebx
jne 0x4042dc
cmp dword [esi + 0x1ec], ebx
jne 0x4042dc
cmp dword [0x4259cc], ebx
je 0x4042a2
cmp dword [esi + 0x1e4], ebx
mov edi, str.Show
je 0x40428c
push fcn.0040c515
push 0x46
push edi
push str.uShow
lea ecx, [esi + 0x10fc]
call fcn.0040d909
push fcn.0040c515
push 0x46
push edi
push edi
lea ecx, [esi + 0x10fc]
call fcn.0040d909
jmp 0x4042dc
lea edi, [esi + 0x10fc]
push edi
call fcn.00405aaf
test eax, eax
pop ecx
je 0x4042c8
push fcn.0040c515
push 0x46
push str.Show
push str.uShow
mov ecx, edi
jmp 0x40429b
push str.Show1
push str.List
push 0x46
call fcn.0040c515
add esp, 0xc
cmp dword [esi + 8], ebx
je 0x4042f1
cmp dword [esi + 0xebc], ebx
jne 0x4042f1
push ebx
mov ecx, esi
call fcn.0040327d
mov ecx, esi
call fcn.00401e27
pop edi
pop esi
pop ebx
leave
ret