Function at 0x42b7a0
Capabilities:
Resolve dns
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b2682
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push esi
push edi
mov edi, dword [esp + 0x128]
mov ebx, ecx
push 0x4e59d8
mov eax, dword [edi]
mov dword [esp + 0x20], ebx
push eax
call ebp
add esp, 8
test eax, eax
je 0x42bd6d
mov eax, dword [edi + 4]
cmp eax, 1
jl 0x42bd6d
cmp eax, 0xffff
jg 0x42bd6d
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x42b812
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov esi, eax
jmp 0x42b814
xor esi, esi
lea ecx, [esi + 0xc0]
call sub.MFC42.DLL_CStringList::RemoveAll
lea ecx, [esi + 0xdc]
call sub.MFC42.DLL_CStringList::RemoveAll
xor esi, esi
push 0x2b
mov dword [esp + 0x24], esi
call fcn.00474fd0
add esp, 4
test eax, eax
je 0x42ba2b
lea eax, [esp + 0x10]
push 0x2c
push eax
call fcn.00474c60
add esp, 8
mov eax, dword [edi]
mov dword [esp + 0x120], esi
push eax
call sub.WS2_32.dll_gethostbyname
lea ecx, [esp + 0x14]
mov esi, eax
call sub.MFC42.DLL_CString::CString_2
test esi, esi
mov byte [esp + 0x120], 1
je 0x42b885
mov ecx, dword [esi]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
jmp 0x42b88f
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::MakeLower
push 0x4e1080
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
je 0x42b9fe
lea edx, [esp + 0x18]
push esi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
lea ecx, [esp + 0x34]
mov byte [esp + 0x120], 2
mov eax, dword [eax - 8]
inc eax
push eax
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
mov edi, eax
lea edx, [esp + 0x2c]
push esi
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x128], 3
call sub.MFC42.DLL_CString::Left
push eax
lea eax, [esp + 0x28]
push 0x4e16d8
push eax
mov byte [esp + 0x12c], 4
call sub.MFC42.DLL_operator
mov edi, dword [edi]
mov eax, dword [eax]
push edi
push eax
mov byte [esp + 0x128], 5
call ebp
add esp, 8
test eax, eax
je 0x42b953
lea ecx, [esp + 0x28]
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push edx
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x42b955
mov bl, 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x120], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x120], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x120], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x120], 1
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x42b9eb
inc esi
lea eax, [esp + 0x30]
push esi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x124], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x120], 1
call sub.MFC42.DLL_CString::CString
push 0x4e1080
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x42b8b1
jmp 0x42b9f3
mov dword [esp + 0x20], 1
mov edi, dword [esp + 0x128]
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
mov byte [esp + 0x120], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x42ba41
mov eax, dword [edi + 8]
push 0x4e59d8
push eax
call ebp
add esp, 8
test eax, eax
je 0x42bd6d
mov eax, dword [edi + 0x1c]
test ah, 0xf
je 0x42bd6d
mov eax, dword [ebx + 0x78]
test eax, eax
jne 0x42ba5e
mov eax, 0x200
jmp 0x42bd72
mov ecx, dword [ebx + 0x70]
call fcn.00470e40
test eax, eax
je 0x42ba74
mov eax, 0x80
jmp 0x42bd72
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x40]
mov dword [esp + 0x120], 7
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x48]
mov byte [esp + 0x120], 8
call fcn.004961d0
lea ecx, [esp + 0x64]
mov byte [esp + 0x120], 9
call fcn.004961d0
lea ecx, [esp + 0x80]
mov byte [esp + 0x120], 0xa
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x84]
mov byte [esp + 0x120], 0xb
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x88]
mov byte [esp + 0x120], 0xc
call fcn.004961d0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x120], 0xd
call fcn.00453200
lea ecx, [esp + 0xe8]
mov byte [esp + 0x120], 0xe
call fcn.00453200
push edi
lea ecx, [esp + 0xec]
mov dword [esp + 0x124], 0xf
mov dword [esp + 0x3c], 1
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [edi + 4]
lea eax, [edi + 8]
push eax
lea ecx, [esp + 0xf4]
mov dword [esp + 0xf0], edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [edi + 0xc]
push ecx
lea ecx, [esp + 0xf8]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [edi + 0x10]
lea eax, [edi + 0x14]
push eax
lea ecx, [esp + 0x100]
mov dword [esp + 0xfc], edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
lea eax, [edi + 0x20]
mov dword [esp + 0x100], ecx
push eax
lea ecx, [esp + 0x10c]
mov dword [esp + 0x108], edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x28]
lea eax, [esp + 0x38]
mov dword [esp + 0x10c], ecx
mov ecx, dword [ebx + 0x70]
push eax
mov dword [esp + 0x114], edx
call fcn.00470e70
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x42bc9c
lea ecx, [esp + 0xe8]
mov dword [esp + 0x120], 0x14
call fcn.00453280
lea ecx, [esp + 0x80]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x120], 0x17
call fcn.00453280
lea ecx, [esp + 0x88]
mov byte [esp + 0x120], 0x16
call fcn.00496c60
lea ecx, [esp + 0x84]
mov byte [esp + 0x120], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x80]
mov byte [esp + 0x120], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
mov byte [esp + 0x120], 0x12
call fcn.00496c60
lea ecx, [esp + 0x48]
mov byte [esp + 0x120], 0x11
call fcn.00496c60
lea ecx, [esp + 0x40]
mov byte [esp + 0x120], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x120], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 2
jmp 0x42bd72
mov ecx, dword [ebx + 0x70]
call fcn.004839e0
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffffd
add esi, 4
lea ecx, [esp + 0xe8]
mov dword [esp + 0x120], 0x1c
call fcn.00453280
lea edx, [esp + 0x80]
mov dword [esp + 0x18], edx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x120], 0x1f
call fcn.00453280
lea ecx, [esp + 0x88]
mov byte [esp + 0x120], 0x1e
call fcn.00496c60
lea ecx, [esp + 0x84]
mov byte [esp + 0x120], 0x1d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x80]
mov byte [esp + 0x120], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
mov byte [esp + 0x120], 0x1a
call fcn.00496c60
lea ecx, [esp + 0x48]
mov byte [esp + 0x120], 0x19
call fcn.00496c60
lea ecx, [esp + 0x40]
mov byte [esp + 0x120], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x120], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x42bd72
mov eax, 0x10
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret 4