Function at 0x4225a0
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x4b1241
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.00453200
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 0x422655
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 0x4227c0
lea ecx, [esp + 0x10]
push 0xd
push ecx
call fcn.00474c60
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.00474fd0
lea edx, [esp + 0x14]
push 0xf
push edx
mov dword [esp + 0x2c], eax
call fcn.00474c60
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.00474fd0
add esp, 4
cmp eax, ebx
mov dword [esp + 0x34], eax
jne 0x422749
lea eax, [esp + 0x10]
push 0x47
push eax
call fcn.00474c60
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 0x422707
mov dword [esp + 0x4c], 1
jmp 0x422749
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x10
push ecx
call fcn.00474c60
add esp, 8
lea edx, [esp + 0x14]
push edx
call fcn.00424b70
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.00474fd0
push 0x3c
mov dword [esp + 0x34], eax
call fcn.00474fd0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x18]
push 0x45
push eax
call fcn.00474c60
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 0x4e59d8
push ecx
call ebp
add esp, 8
test eax, eax
je 0x422bb9
mov eax, dword [esp + 0x20]
cmp eax, 1
jl 0x422bb9
cmp eax, 0xffff
jg 0x422bb9
push 0x2b
mov dword [esp + 0x14], ebx
call fcn.00474fd0
add esp, 4
test eax, eax
je 0x4229b6
lea edx, [esp + 0x14]
push 0x2c
push edx
call fcn.00474c60
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 0x42281c
mov ecx, dword [esi]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator
jmp 0x42282a
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 0x4e1080
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
je 0x42298e
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 0x4e16d8
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 0x4228ee
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 0x4228f0
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 0x422986
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 0x4e1080
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
mov esi, eax
cmp esi, 0xffffffff
jne 0x42284c
jmp 0x42298e
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 0x4229cf
mov eax, dword [esp + 0x28]
push 0x4e59d8
push eax
call ebp
add esp, 8
test eax, eax
je 0x4229d9
cmp dword [esp + 0x4c], ebx
je 0x422aa1
cmp dword [esp + 0x10], ebx
jne 0x422aa1
push 0x2a
push 0xa91
push 0xa90
lea ecx, [esp + 0xac]
call fcn.00428770
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1a0], 0xc
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x422b41
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.004ac97a
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.004961d0
mov eax, dword [edi + 0xc]
mov ebx, 0x17
test eax, eax
mov byte [esp + 0x1a0], bl
je 0x422bea
push eax
lea ecx, [esp + 0x6c]
call fcn.00497a50
jmp 0x422c39
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.004ac97a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.00453280
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.00474c60
add esp, 8
lea ecx, [esp + 0x6c]
call fcn.00497e90
test eax, eax
jne 0x422c39
lea ecx, [esp + 0x84]
call fcn.004961d0
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1a4], 0x18
call fcn.00497a50
lea ecx, [esp + 0x84]
mov byte [esp + 0x1a0], bl
call fcn.00496c60
push 0x69
call fcn.00474fd0
mov ecx, dword [esp + 0x1b0]
add esp, 4
lea edx, [esp + 0x68]
mov dword [esi + 0x24], eax
push edx
call fcn.00497a50
lea ecx, [esp + 0x68]
mov byte [esp + 0x1a0], 0
call fcn.00496c60
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.00453280
mov eax, 1
jmp 0x422bcf