Function at 0x422550
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x4b0811
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.00452d80
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 0x422605
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 0x422770
lea ecx, [esp + 0x10]
push 0xd
push ecx
call fcn.00474330
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.004746a0
lea edx, [esp + 0x14]
push 0xf
push edx
mov dword [esp + 0x2c], eax
call fcn.00474330
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.004746a0
add esp, 4
cmp eax, ebx
mov dword [esp + 0x34], eax
jne 0x4226f9
lea eax, [esp + 0x10]
push 0x47
push eax
call fcn.00474330
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 0x4226b7
mov dword [esp + 0x4c], 1
jmp 0x4226f9
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x10
push ecx
call fcn.00474330
add esp, 8
lea edx, [esp + 0x14]
push edx
call fcn.00424b10
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.004746a0
push 0x3c
mov dword [esp + 0x34], eax
call fcn.004746a0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x18]
push 0x45
push eax
call fcn.00474330
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 0x4e58d8
push ecx
call ebp
add esp, 8
test eax, eax
je 0x422b69
mov eax, dword [esp + 0x20]
cmp eax, 1
jl 0x422b69
cmp eax, 0xffff
jg 0x422b69
push 0x2b
mov dword [esp + 0x14], ebx
call fcn.004746a0
add esp, 4
test eax, eax
je 0x422966
lea edx, [esp + 0x14]
push 0x2c
push edx
call fcn.00474330
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 0x4227cc
mov ecx, dword [esi]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator
jmp 0x4227da
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 0x4e1088
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
je 0x42293e
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 0x4e16e0
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 0x42289e
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 0x4228a0
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 0x422936
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 0x4e1088
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x4227fc
jmp 0x42293e
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 0x42297f
mov eax, dword [esp + 0x28]
push 0x4e58d8
push eax
call ebp
add esp, 8
test eax, eax
je 0x422989
cmp dword [esp + 0x4c], ebx
je 0x422a51
cmp dword [esp + 0x10], ebx
jne 0x422a51
push 0x2a
push 0xa91
push 0xa90
lea ecx, [esp + 0xac]
call fcn.00428490
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1a0], 0xc
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x422af1
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.004abf9a
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.004958d0
mov eax, dword [edi + 0xc]
mov ebx, 0x17
test eax, eax
mov byte [esp + 0x1a0], bl
je 0x422b9a
push eax
lea ecx, [esp + 0x6c]
call fcn.00497150
jmp 0x422be9
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.004abf9a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.00452e00
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.00474330
add esp, 8
lea ecx, [esp + 0x6c]
call fcn.00497590
test eax, eax
jne 0x422be9
lea ecx, [esp + 0x84]
call fcn.004958d0
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1a4], 0x18
call fcn.00497150
lea ecx, [esp + 0x84]
mov byte [esp + 0x1a0], bl
call fcn.00496360
push 0x69
call fcn.004746a0
mov ecx, dword [esp + 0x1b0]
add esp, 4
lea edx, [esp + 0x68]
mov dword [esi + 0x24], eax
push edx
call fcn.00497150
lea ecx, [esp + 0x68]
mov byte [esp + 0x1a0], 0
call fcn.00496360
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.00452e00
mov eax, 1
jmp 0x422b7f