Function at 0x411930
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b1768
push eax
mov eax, dword [0x4db9cc]
mov dword fs:[0], esp
sub esp, 0x24
test eax, eax
push ebx
je 0x411967
mov eax, dword [0x4db9d0]
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
lea eax, [esp + 0xc]
push eax
call fcn.00412720
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
push ecx
call fcn.00411430
add esp, 8
mov eax, dword [esp + 8]
mov ebx, 1
mov byte [esp + 0x30], bl
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4119ad
mov edx, dword [esp + 0xc]
push eax
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x4119dc
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 8]
push bind
mov ecx, dword [eax - 8]
push ecx
push eax
push ebx
push str.Path
push str.SoftWareGloballinkGameShare
call fcn.00445b30
add esp, 0x18
lea ecx, [esp + 4]
push ecx
call fcn.00411790
add esp, 4
mov edx, dword [esp + 4]
mov byte [esp + 0x30], 2
mov eax, dword [edx - 8]
test eax, eax
je 0x411aa4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 4]
lea ecx, [esp + 0x14]
push eax
push str._sglsetup.ini
push ecx
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x10]
add esp, 0xc
lea eax, [esp + 0x10]
push edx
push str._sglworld.ini
push eax
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00455c40
add esp, 0x10
test eax, eax
je 0x411a88
mov edx, dword [esp + 0x10]
push edx
call fcn.00455c40
add esp, 4
test eax, eax
je 0x411a88
lea ecx, [esp + 0x10]
mov dword [0x4db9d0], ebx
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x14]
jmp 0x411ba4
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x14]
jmp 0x411c0c
lea eax, [esp + 0x20]
push eax
call fcn.00412720
add esp, 4
lea ecx, [esp + 0x20]
push str....._setup
lea edx, [esp + 0x28]
push ecx
push edx
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x34], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 7
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 4]
lea ecx, [esp + 0x1c]
push eax
push str._sglsetup.ini
push ecx
mov byte [esp + 0x3c], 8
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x10]
add esp, 0xc
lea eax, [esp + 0x18]
push edx
push str._sglworld.ini
push eax
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00455c40
add esp, 0x10
test eax, eax
je 0x411be7
mov edx, dword [esp + 0x18]
push edx
call fcn.00455c40
add esp, 4
test eax, eax
je 0x411be7
mov eax, dword [esp + 4]
push reloc.WSOCK32.dll_bind
mov ecx, dword [eax - 8]
push ecx
push eax
push ebx
push str.Path
push str.SOFTWAREGlobalLinkSetup
call fcn.00445b30
add esp, 0x18
lea ecx, [esp + 0x18]
mov dword [0x4db9d0], ebx
mov byte [esp + 0x30], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [0x4db9d0], 0
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret