Function at 0x409720
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x435bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push esi
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x194], 0
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x19c]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0x198], 1
call sub.MFC42.DLL_CString::operator
push 0x5b
lea ecx, [esp + 0x1a0]
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jl 0x409c75
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x194], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x194], 4
call sub.MFC42.DLL_CString::CString_2
push 0x30
push esi
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x19c], 5
call sub.MFC42.DLL_CString::SetAt
push 0x5d
lea ecx, [esp + 0x1a0]
inc esi
call sub.MFC42.DLL_CString::Find
mov edi, eax
test edi, edi
jl 0x409c31
mov ecx, edi
lea edx, [esp + 0x10]
sub ecx, esi
push ecx
push esi
push edx
lea ecx, [esp + 0x1a8]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x198], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x194], 5
call sub.MFC42.DLL_CString::CString
push 0x30
push edi
lea ecx, [esp + 0x1a4]
call sub.MFC42.DLL_CString::SetAt
push 0x5b
lea ecx, [esp + 0x1a0]
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jge 0x409857
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Empty
jmp 0x4098cf
push 0x30
push esi
lea ecx, [esp + 0x1a4]
call sub.MFC42.DLL_CString::SetAt
push 0x5d
lea ecx, [esp + 0x1a0]
inc esi
call sub.MFC42.DLL_CString::Find
mov edi, eax
test edi, edi
jge 0x409886
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Empty
jmp 0x4098cf
mov eax, edi
lea ecx, [esp + 0x10]
sub eax, esi
push eax
push esi
push ecx
lea ecx, [esp + 0x1a8]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x198], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x194], 5
call sub.MFC42.DLL_CString::CString
push 0x30
push edi
lea ecx, [esp + 0x1a4]
call sub.MFC42.DLL_CString::SetAt
push 0x5b
lea ecx, [esp + 0x1a0]
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jge 0x4098ee
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Empty
jmp 0x409966
push 0x30
push esi
lea ecx, [esp + 0x1a4]
call sub.MFC42.DLL_CString::SetAt
push 0x5d
lea ecx, [esp + 0x1a0]
inc esi
call sub.MFC42.DLL_CString::Find
mov edi, eax
test edi, edi
jge 0x40991d
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Empty
jmp 0x409966
mov edx, edi
lea eax, [esp + 0x10]
sub edx, esi
lea ecx, [esp + 0x19c]
push edx
push esi
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x198], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x194], 5
call sub.MFC42.DLL_CString::CString
push 0x30
push edi
lea ecx, [esp + 0x1a4]
call sub.MFC42.DLL_CString::SetAt
push 0x5b
lea ecx, [esp + 0x1a0]
call sub.MFC42.DLL_CString::Find
mov esi, eax
test esi, esi
jge 0x409985
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Empty
jmp 0x4099fd
push 0x30
push esi
lea ecx, [esp + 0x1a4]
call sub.MFC42.DLL_CString::SetAt
push 0x5d
lea ecx, [esp + 0x1a0]
inc esi
call sub.MFC42.DLL_CString::Find
mov edi, eax
test edi, edi
jge 0x4099b4
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Empty
jmp 0x4099fd
mov ecx, edi
lea edx, [esp + 0x10]
sub ecx, esi
push ecx
push esi
push edx
lea ecx, [esp + 0x1a8]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x198], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x194], 5
call sub.MFC42.DLL_CString::CString
push 0x30
push edi
lea ecx, [esp + 0x1a4]
call sub.MFC42.DLL_CString::SetAt
mov eax, dword [0x447894]
test eax, eax
je 0x409a5a
cmp dword [0x445c84], 0x3a8
je 0x409a5a
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
push eax
push 0x445198
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov dx, word [0x445c84]
add esp, 0xc
lea eax, [esp + 0x64]
lea ecx, [esp + 0x3c]
push 0x5f5f
push 0x3a8
push edx
push eax
push ecx
call dword [0x447894]
lea edx, [esp + 0x64]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CString::operator_1
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Path
call fcn.00422114
push ecx
mov byte [esp + 0x19c], 0xa
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x446190
call fcn.00422114
lea eax, [esp + 0x38]
mov ecx, 0x4461b8
push eax
mov byte [esp + 0x1a0], 5
call fcn.0040f450
push str.LangRsc.ini
lea ecx, [esp + 0x34]
mov byte [esp + 0x198], 0xb
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x8c]
push ecx
push 0x100
push edx
push str.play.ourgame.com
push str.RegisterServer
push 0x445244
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x18]
push eax
push str.__RS:_s
push ecx
mov byte [esp + 0x1a0], 0xc
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [edx - 8]
test eax, eax
lea eax, [esp + 0x28]
push eax
jne 0x409b6e
lea ecx, [esp + 0x10]
push str.__GS:_
push ecx
call sub.MFC42.DLL_operator_1
push 0x445230
lea edx, [esp + 0x14]
mov bl, 0xd
push eax
push edx
mov byte [esp + 0x1a0], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x198], 0xe
call fcn.0042218c
lea ecx, [esp + 0x10]
mov byte [esp + 0x194], bl
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x194], 0xc
lea ecx, [esp + 0xc]
jmp 0x409d41
lea ecx, [esp + 0x14]
push str.__FN:_
push ecx
call sub.MFC42.DLL_operator_1
push 0x445230
lea edx, [esp + 0x10]
mov bl, 0xf
push eax
push edx
mov byte [esp + 0x1a0], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x198], 0x10
call fcn.0042218c
lea ecx, [esp + 0xc]
mov byte [esp + 0x194], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x194], 0xc
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
push eax
push str.__GS:
push ecx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x198], 0x11
call fcn.0042218c
lea ecx, [esp + 0xc]
mov byte [esp + 0x194], 0xc
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
test eax, eax
jne 0x409ca4
lea ecx, [esp + 0x18]
mov byte [esp + 0x194], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x194], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x194], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x194], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x194], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x194], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x19c]
mov dword [esp + 0x194], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40a1b3
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push str.__DR:_
push ecx
call sub.MFC42.DLL_operator_1
push 0x445230
lea edx, [esp + 0x10]
mov bl, 0x12
push eax
push edx
mov byte [esp + 0x1a0], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x198], 0x13
call fcn.0042218c
lea ecx, [esp + 0xc]
mov byte [esp + 0x194], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x194], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x409d46
lea ecx, [esp + 0x24]
lea edx, [esp + 0xc]
push ecx
push str.__WT:
push edx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x198], 0x14
call fcn.0042218c
mov byte [esp + 0x194], 0xc
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
push 0x446294
lea eax, [esp + 0x14]
push str.__UN:_
push eax
call sub.MFC42.DLL_operator_1
push 0x445230
lea ecx, [esp + 0x10]
mov bl, 0x15
push eax
push ecx
mov byte [esp + 0x1a0], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x198], 0x16
call fcn.0042218c
lea ecx, [esp + 0xc]
mov byte [esp + 0x194], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x194], 0xc
call sub.MFC42.DLL_CString::CString
push 0x446298
lea edx, [esp + 0x14]
push str.__PW:_
push edx
call sub.MFC42.DLL_operator_1
push 0x445230
push eax
lea eax, [esp + 0x14]
mov bl, 0x17
push eax
mov byte [esp + 0x1a0], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x198], 0x18
call fcn.0042218c
lea ecx, [esp + 0xc]
mov byte [esp + 0x194], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x194], 0xc
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Path
call fcn.00422114
push ecx
mov byte [esp + 0x19c], 0x19
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x446190
call fcn.00422114
lea ecx, [esp + 0x3c]
mov byte [esp + 0x19c], 0xc
push ecx
mov ecx, 0x4461b8
call fcn.0040f450
push ecx
mov byte [esp + 0x198], 0x1a
mov ecx, esp
mov dword [esp + 0x10], esp
push str.LastWorld
call fcn.00422114
push ecx
mov byte [esp + 0x19c], 0x1b
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x446190
call fcn.00422114
mov byte [esp + 0x19c], 0x1a
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x4461b8
call fcn.0040f450
mov eax, dword [esp + 0x14]
mov bl, 0x1c
mov byte [esp + 0x194], bl
mov esi, 0x446190
mov dl, byte [eax]
or edi, 0xffffffff
mov cl, dl
cmp dl, byte [esi]
jne 0x409ec9
test cl, cl
je 0x409ec5
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x409ec9
add eax, 2
add esi, 2
test cl, cl
jne 0x409ea2
xor eax, eax
jmp 0x409ecd
sbb eax, eax
sbb eax, edi
test eax, eax
je 0x409f14
push 0x5c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, edi
je 0x409f14
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0xa
push eax
push ecx
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0xc]
jmp 0x40a0fd
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.OldWorld
call fcn.00422114
push ecx
mov byte [esp + 0x19c], 0x1d
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x446190
call fcn.00422114
lea eax, [esp + 0x14]
mov ecx, 0x4461b8
push eax
mov byte [esp + 0x1a0], bl
call fcn.0040f450
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], 0x1e
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xc]
mov byte [esp + 0x194], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov esi, 0x446190
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x409fa3
test cl, cl
je 0x409f9f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x409fa3
add eax, 2
add esi, 2
test cl, cl
jne 0x409f7f
xor eax, eax
jmp 0x409fa7
sbb eax, eax
sbb eax, edi
test eax, eax
je 0x409fee
push 0x5c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, edi
je 0x409fee
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0xa
push eax
push ecx
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0xc]
jmp 0x40a0fd
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.NewWorld
call fcn.00422114
push ecx
mov byte [esp + 0x19c], 0x1f
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x446190
call fcn.00422114
lea eax, [esp + 0x14]
mov ecx, 0x4461b8
push eax
mov byte [esp + 0x1a0], bl
call fcn.0040f450
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], 0x20
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xc]
mov byte [esp + 0x194], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov esi, 0x446190
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40a081
test cl, cl
je 0x40a07d
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40a081
add eax, 2
add esi, 2
test cl, cl
jne 0x40a059
xor eax, eax
jmp 0x40a085
sbb eax, eax
sbb eax, edi
test eax, eax
je 0x40a0c9
push 0x5c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, edi
je 0x40a0c9
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0xa
push eax
push ecx
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0xc]
jmp 0x40a0fd
lea eax, [esp + 0x34]
push str.GLWORLD.EXE
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push 0xa
push edx
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x194], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x194], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x194], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x194], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x194], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x194], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x194], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x194], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x194], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x19c]
mov dword [esp + 0x194], edi
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18c
ret 4