Function at 0x422a40
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x4b0fd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], edi
call fcn.00453470
mov esi, dword [edi + 8]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x1a0], ebx
mov dword [esp + 0x4c], ebx
je 0x422af5
push esi
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 4]
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], eax
call sub.MFC42.DLL_CString::operator_1
lea edx, [esi + 0xc]
lea ecx, [esp + 0x28]
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], eax
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x20]
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0x1c]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], eax
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esi + 0x24]
mov dword [esp + 0x40], edx
mov eax, dword [esi + 0x28]
mov dword [esp + 0x44], eax
jmp 0x422c60
lea ecx, [esp + 0x10]
push 0xd
push ecx
call fcn.004749a0
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a4], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a0], 0
call sub.MFC42.DLL_CString::CString
push 0xe
call fcn.00474d10
lea edx, [esp + 0x14]
push 0xf
push edx
mov dword [esp + 0x2c], eax
call fcn.004749a0
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a4], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a0], 0
call sub.MFC42.DLL_CString::CString
push 0x2d
call fcn.00474d10
add esp, 4
cmp eax, ebx
mov dword [esp + 0x34], eax
jne 0x422be9
lea eax, [esp + 0x10]
push 0x47
push eax
call fcn.004749a0
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0xc
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString
cmp esi, ebx
je 0x422ba7
mov dword [esp + 0x4c], 1
jmp 0x422be9
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x10
push ecx
call fcn.004749a0
add esp, 8
lea edx, [esp + 0x14]
push edx
call fcn.00425030
add esp, 8
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1a4], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a0], 0
call sub.MFC42.DLL_CString::CString
push 0x18
call fcn.00474d10
push 0x3c
mov dword [esp + 0x34], eax
call fcn.00474d10
mov dword [esp + 0x40], eax
lea eax, [esp + 0x18]
push 0x45
push eax
call fcn.004749a0
add esp, 0x10
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x1a4], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a0], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
push 0x4e6998
push ecx
call ebp
add esp, 8
test eax, eax
je 0x423059
mov eax, dword [esp + 0x20]
cmp eax, 1
jl 0x423059
cmp eax, 0xffff
jg 0x423059
push 0x2b
mov dword [esp + 0x14], ebx
call fcn.00474d10
add esp, 4
test eax, eax
je 0x422e56
lea edx, [esp + 0x14]
push 0x2c
push edx
call fcn.004749a0
add esp, 8
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x1a0], 5
push eax
call sub.WS2_32.dll_gethostbyname
lea ecx, [esp + 0x18]
mov esi, eax
call sub.MFC42.DLL_CString::CString_2
cmp esi, ebx
mov byte [esp + 0x1a0], 6
je 0x422cbc
mov ecx, dword [esi]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator
jmp 0x422cca
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::MakeLower
push 0x4e2088
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
je 0x422e2e
lea eax, [esp + 0x64]
push esi
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov ecx, dword [eax]
lea edx, [esp + 0x54]
mov byte [esp + 0x1a0], 7
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x18]
inc eax
push eax
push edx
call sub.MFC42.DLL_CString::Right
mov edi, eax
lea eax, [esp + 0x5c]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a8], 8
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x5c]
push 0x4e26e0
push ecx
mov byte [esp + 0x1ac], 9
call sub.MFC42.DLL_operator
mov edi, dword [edi]
mov eax, dword [eax]
push edi
push eax
mov byte [esp + 0x1a8], 0xa
call ebp
add esp, 8
test eax, eax
je 0x422d8e
lea edx, [esp + 0x60]
push esi
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push ecx
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x60]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x422d90
mov bl, 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x1a0], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1a0], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x1a0], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
mov byte [esp + 0x1a0], 6
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x422e26
inc esi
lea edx, [esp + 0x48]
push esi
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a4], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x48]
mov byte [esp + 0x1a0], 6
call sub.MFC42.DLL_CString::CString
push 0x4e2088
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x422cec
jmp 0x422e2e
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a0], 0
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x50]
xor ebx, ebx
cmp dword [esp + 0x34], ebx
je 0x422e6f
mov eax, dword [esp + 0x28]
push 0x4e6998
push eax
call ebp
add esp, 8
test eax, eax
je 0x422e79
cmp dword [esp + 0x4c], ebx
je 0x422f41
cmp dword [esp + 0x10], ebx
jne 0x422f41
push 0x2a
push 0xa91
push 0xa90
lea ecx, [esp + 0xac]
call fcn.00428a70
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1a0], 0xc
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x422fe1
lea ecx, [esp + 0x188]
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x190]
mov byte [esp + 0x1a0], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18c]
mov byte [esp + 0x1a0], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x188]
mov byte [esp + 0x1a0], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x148]
mov byte [esp + 0x1a0], 0x13
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esp + 0x108]
mov byte [esp + 0x1a0], 0x12
call sub.MFC42.DLL_CEdit::CEdit
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1a0], 0
call fcn.004ac3ea
mov esi, dword [esp + 0x1a8]
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x28]
lea ecx, [esi + 0xc]
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], eax
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
mov dword [esi + 0x18], edx
push ecx
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], eax
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x68]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
call fcn.00495c80
mov eax, dword [edi + 0xc]
mov ebx, 0x17
test eax, eax
mov byte [esp + 0x1a0], bl
je 0x42308a
push eax
lea ecx, [esp + 0x6c]
call fcn.004974e0
jmp 0x4230d9
lea ecx, [esp + 0x190]
mov byte [esp + 0x1a0], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18c]
mov byte [esp + 0x1a0], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x188]
mov byte [esp + 0x1a0], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x148]
mov byte [esp + 0x1a0], 0xe
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esp + 0x108]
mov byte [esp + 0x1a0], 0xd
call sub.MFC42.DLL_CEdit::CEdit
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1a0], 0
call fcn.004ac3ea
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.004534f0
xor eax, eax
mov ecx, dword [esp + 0x198]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x194
ret 8
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push ebx
push ecx
call fcn.004749a0
add esp, 8
lea ecx, [esp + 0x6c]
call fcn.00497920
test eax, eax
jne 0x4230d9
lea ecx, [esp + 0x84]
call fcn.00495c80
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1a4], 0x18
call fcn.004974e0
lea ecx, [esp + 0x84]
mov byte [esp + 0x1a0], bl
call fcn.004966f0
push 0x69
call fcn.00474d10
mov ecx, dword [esp + 0x1b0]
add esp, 4
lea edx, [esp + 0x68]
mov dword [esi + 0x24], eax
push edx
call fcn.004974e0
lea ecx, [esp + 0x68]
mov byte [esp + 0x1a0], 0
call fcn.004966f0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.004534f0
mov eax, 1
jmp 0x42306f