Function at 0x42213d
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4273c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x8ac]
mov edx, dword [ebp - 0x150]
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x894], eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 0x8ac]
mov eax, dword [ebp - 0x150]
mov ecx, dword [edx + 0x24]
mov dword [eax + 0x888], ecx
mov ecx, dword [ebp - 0x150]
call fcn.0041e4bd
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x150]
cmp dword [edx + 0x888], 1
je 0x4221d2
mov eax, dword [ebp - 0x150]
cmp dword [eax + 0x888], 0x100
jne 0x4221d7
jmp 0x42238a
call sub.comnet.dll_LCOMNET_GetRegLocalMiniremPassword
push eax
lea ecx, [ebp - 0x10]
call fcn.0042554c
lea ecx, [ebp - 0x10]
call fcn.00401c20
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 0x8ac]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + 0x28]
je 0x42228d
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x64
push 0
push 0x64
mov ecx, dword [ebp - 0x150]
call fcn.00421ef1
mov ecx, dword [ebp - 0x150]
mov dword [ecx + 0x850], 1
mov edx, dword [ebp - 0x150]
mov dword [edx + 0x84c], 1
push 0
push 0x3e8
push 3
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x8b4]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp - 0x140], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x140]
jmp 0x42260c
cmp dword [ebp - 0x1c], 0
je 0x42238a
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 0x8b0]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x20], 0
jmp 0x4222bb
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x1c]
jge 0x4222da
mov eax, dword [ebp - 0x128]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov dl, byte [eax]
mov byte [ebp + ecx - 0x124], dl
jmp 0x4222b2
mov eax, dword [ebp - 0x20]
mov byte [ebp + eax - 0x124], 0
push 1
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x42238a
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x64
mov ecx, dword [ebp - 0x150]
call fcn.00421ef1
mov edx, dword [ebp - 0x150]
mov dword [edx + 0x850], 1
mov eax, dword [ebp - 0x150]
mov dword [eax + 0x84c], 1
push 0
push 0x3e8
push 3
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 0x8b4]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp - 0x144], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x144]
jmp 0x42260c
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x150]
add eax, 0x890
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x150]
call sub.MFC42.DLL_CAsyncSocket::GetSockName
push 1
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 0x14], eax
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
push 0
push 0x65
mov ecx, dword [ebp - 0x150]
call fcn.00421ef1
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x8ac]
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 0x8ac]
mov edx, dword [eax + 0x28]
add edx, 2
cmp dword [ecx + 8], edx
jle 0x4224af
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x8b0]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 0x8ac]
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp - 0x130]
lea eax, [edx + ecx + 1]
push eax
mov ecx, dword [ebp - 0x150]
add ecx, 0x8f4
call fcn.0042554c
call fcn.0040f650
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 0x894]
push edx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x888]
push ecx
mov edx, dword [ebp - 0x150]
add edx, 0x8f4
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x8b4]
push ecx
mov ecx, dword [ebp - 0x12c]
call fcn.00418561
jmp 0x4224c5
push str.Unknown_Host
mov ecx, dword [ebp - 0x150]
add ecx, 0x8f4
call fcn.0042554c
mov edx, dword [ebp - 0x150]
cmp dword [edx + 0x888], 0
je 0x4225e1
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x894]
mov dword [ebp - 0x13c], ecx
push 1
mov ecx, dword [ebp - 0x150]
add ecx, 0x8f4
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov edx, dword [ebp - 0x150]
mov eax, dword [edx + 0x888]
push eax
call sub.comnet.dll_LCOMNET_GetModeString
add esp, 4
push eax
push str.Minirem_Session_Start___s__Caller___s_
lea ecx, [ebp - 0x138]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x134]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x150]
cmp dword [edx + 0x89c], 0
je 0x422578
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 0x894]
push ecx
push str.IPX:_0x_X
lea edx, [ebp - 0x134]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x422599
mov eax, dword [ebp - 0x13c]
push eax
call sub.WSOCK32.dll_inet_ntoa
push eax
push str.TCP:__s
lea ecx, [ebp - 0x134]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [ebp - 0x134]
push edx
lea ecx, [ebp - 0x138]
call fcn.00425564
push 1
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, 0x4323b8
call fcn.00411f5e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x14c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret