Function at 0x404ef0
Capabilities:
Resolve dns

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x434415
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push str._info__CCmdWnd::cmd_GetRedirectAddr
call fcn.004081f0
mov eax, dword [0x445df0]
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
xor ebx, ebx
cmp eax, ebx
je 0x404f35
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov ebp, dword [edx]
jmp 0x404f47
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, ebx
jne 0x4052bd
mov ebp, dword [esp + 0x18]
mov eax, dword [esi + 0x88]
push edi
cmp eax, ebx
je 0x404faa
lea ecx, [eax + 0x14]
call fcn.00401da0
mov edi, dword [esi + 0x88]
cmp edi, ebx
mov dword [esp + 0x10], edi
je 0x404faa
lea ecx, [edi + 0x14]
mov dword [esp + 0x30], ebx
call fcn.00401d90
lea ecx, [edi + 0x10]
mov dword [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0xc]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 4]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0x44
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
cmp edi, ebx
mov dword [esp + 0x30], 5
je 0x40502a
lea ecx, [edi + 4]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 0xc]
mov byte [esp + 0x30], 6
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 0x10]
mov byte [esp + 0x30], 7
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0x30], 8
mov dword [edi], ebx
mov word [edi + 8], bx
lea ecx, [edi + 0x14]
mov byte [esp + 0x30], 9
call fcn.00401d50
mov byte [esp + 0x30], 0xa
mov word [edi + 0x2c], bx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov word [edi + 0x40], bx
mov word [edi + 0x42], bx
mov byte [esp + 0x30], 5
jmp 0x40502c
xor edi, edi
mov dword [esp + 0x30], 0xffffffff
mov ecx, esi
mov dword [esi + 0x88], edi
call fcn.00404a60
mov edi, eax
mov eax, dword [esi + 0x88]
push 0x1f40
mov word [eax + 0x2c], di
mov ecx, dword [esi + 0x88]
mov dword [ecx + 0x3c], ebp
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 0x88]
cmp esi, ebx
mov word [edx + 0x40], ax
mov eax, dword [esi + 0x88]
mov dword [eax + 0x38], 1
jne 0x405080
xor eax, eax
jmp 0x405083
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x88]
mov dword [ecx + 0x34], eax
mov edx, dword [esi + 0x88]
mov word [edx + 0x42], 0xc
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x90]
mov dword [eax], ecx
mov ecx, dword [esi + 0x88]
lea eax, [esi + 0x94]
add ecx, 4
push eax
call fcn.0043237c
mov edx, dword [esi + 0x88]
mov ax, word [esi + 0x98]
mov word [edx + 8], ax
mov ecx, dword [esi + 0x88]
lea eax, [esi + 0x9c]
add ecx, 0xc
push eax
call fcn.0043237c
mov ecx, dword [esi + 0x88]
lea eax, [esi + 0xa0]
push eax
add ecx, 0x10
call fcn.0043237c
mov ecx, dword [esi + 0x88]
push edi
add ecx, 0x14
push 0xc
push ecx
mov ecx, esi
call fcn.00406240
mov edx, dword [esi + 0xac]
mov ecx, dword [esi + 0x88]
push edx
add ecx, 0x14
call fcn.00401e40
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0x88]
push eax
add ecx, 0x14
call fcn.00401e40
mov ecx, dword [esi + 0x88]
add ecx, 0x14
push ecx
mov ecx, esi
call fcn.00404a70
push 0x2c
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
cmp edi, ebx
mov dword [esp + 0x30], 0xb
je 0x4051b5
lea ebp, [edi + 0x14]
mov dword [esp + 0x14], ebp
lea ecx, [ebp + 4]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp + 0xc]
mov byte [esp + 0x30], 0xc
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp + 0x10]
mov byte [esp + 0x30], 0xd
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0x30], 0xe
mov dword [ebp], ebx
mov word [ebp + 8], bx
mov byte [esp + 0x30], 0xf
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov word [edi + 0x10], bx
mov word [edi + 0x28], bx
mov byte [esp + 0x30], 0xb
jmp 0x4051b7
xor edi, edi
mov edx, dword [esi + 0x88]
or ebp, 0xffffffff
mov dword [esp + 0x30], ebp
push 0x18
mov eax, dword [edx + 0x34]
mov dword [edi], eax
mov ecx, dword [esi + 0x88]
mov edx, dword [ecx + 0x38]
mov dword [edi + 8], edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x30], 0x10
je 0x4051f8
mov ecx, eax
call fcn.00401d50
jmp 0x4051fa
xor eax, eax
mov dword [esp + 0x30], ebp
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x88]
add ecx, 0x14
call fcn.004020a0
mov ecx, dword [esi + 0x88]
push eax
add ecx, 0x14
call fcn.00402090
mov ecx, dword [edi + 4]
push eax
call fcn.00401e80
mov eax, dword [esi + 0x88]
mov cx, word [eax + 0x40]
mov word [edi + 0x10], cx
mov edx, dword [esi + 0x88]
mov eax, dword [edx + 0x3c]
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 0x90]
lea eax, [esi + 0x94]
mov dword [edi + 0x14], ecx
push eax
lea ecx, [edi + 0x18]
call fcn.0043237c
mov dx, word [esi + 0x98]
lea eax, [esi + 0x9c]
push eax
lea ecx, [edi + 0x20]
mov word [edi + 0x1c], dx
call fcn.0043237c
lea eax, [esi + 0xa0]
lea ecx, [edi + 0x24]
push eax
call fcn.0043237c
mov eax, dword [esi + 0x88]
push ebx
push ebx
push ebx
mov cx, word [eax + 0x42]
push ebx
push edi
push 0x4021a0
mov word [edi + 0x28], cx
call sub.MFC42.DLL_AfxBeginThread
cmp eax, ebx
pop edi
je 0x4052ab
mov dword [eax + 0x28], 1
mov edx, dword [esi + 0x20]
push ebx
push 0x2710
push 5
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x24]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret