Function at 0x4100c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4803bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 6
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x44]
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
push eax
mov byte [esp + 0x3c], 7
call esi
add esp, 4
lea ecx, [esp + 0x44]
mov ebx, eax
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x48]
push edx
call esi
add esp, 4
mov edi, eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x4c]
push ecx
call esi
mov esi, eax
add esp, 4
dec esi
lea edx, [esp + 0xc]
push esi
push str._02d
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
test esi, esi
jne 0x410208
cmp edi, 1
jne 0x4101b1
dec ebx
lea eax, [esp + 0x10]
push ebx
push 0x4982c4
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xc]
mov edi, 0xc
push 0x49947c
call sub.MFC42.DLL_CString::operator_1
lea eax, [edi - 2]
cmp eax, 0xa
ja case.default.0x4101b9
jmp dword [eax*4 + 0x410334]
push 0x49947c
jmp 0x4101eb
and ebx, reloc.WS2_32.dll_closesocket
jns 0x4101d4
dec ebx
or ebx, 0xfffffffc
inc ebx
test ebx, ebx
jle 0x4101df
push 0x499478
jmp 0x4101eb
push 0x499474
jmp 0x4101eb
push 0x499470
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
dec edi
lea ecx, [esp + 0x14]
push edi
push 0x49946c
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
push 0x499468
lea eax, [esp + 0x2c]
push edx
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x44], 8
call sub.MFC42.DLL_operator_2
push 0x499468
push eax
lea eax, [esp + 0x28]
mov bl, 9
push eax
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_operator
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x44], 0xa
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 0xb
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 7
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004280e8
mov dword [esp + 0x2c], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0x10