Function at 0x4026b0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x491300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x2c], esi
cmp dword [esi + 0x24], ebx
jne 0x4028bf
mov edi, dword [esi + 0x10]
mov eax, edi
mov ecx, edi
cmp edi, 1
jb 0x4026fa
lea ecx, [ebx + 1]
cmp dword [esi + 0x14], 0x10
jb 0x402704
mov eax, dword [esi]
jmp 0x402706
mov eax, esi
push ecx
push 0x47c458
push eax
call fcn.004023e0
add esp, 0xc
cmp eax, ebx
jne 0x40272d
cmp edi, 1
jae 0x402723
or eax, 0xffffffff
jmp 0x40272b
xor eax, eax
cmp edi, 1
setne al
cmp eax, ebx
sete al
test al, al
je 0x402739
mov dword [ebp - 0x24], ebx
jmp 0x402749
cmp dword [esi + 0x14], 0x10
jb 0x402746
mov ecx, dword [esi]
mov dword [ebp - 0x24], ecx
jmp 0x402749
mov dword [ebp - 0x24], esi
movzx esi, word [esi + 0x1c]
xor edx, edx
sub dx, si
movzx edi, dx
neg edi
sbb edi, edi
lea ecx, [ebp - 0x20]
xor edx, edx
and edi, ecx
test al, al
setne dl
push esi
push 0x47c464
xor eax, eax
push 0x10
push ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], 2
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
call fcn.0045f3dd
mov ecx, dword [ebp - 0x24]
add esp, 0x10
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x6c]
push eax
push edi
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
cmp eax, ebx
je 0x4027b5
xor al, al
jmp 0x4028c1
mov eax, dword [ebp - 0x28]
xor edi, edi
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x4028b8
mov esi, dword [ebp - 0x2c]
jmp 0x4027d2
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov eax, dword [esi + 0x20]
mov dword [ebp - 4], ebx
mov ebx, dword [eax]
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x4c]
push edx
push eax
push ebx
lea ecx, [esi + 0x20]
call fcn.00402640
mov ecx, dword [esi + 0x24]
mov edx, 0x7fffffe
sub edx, ecx
cmp edx, 1
jb 0x4028dd
inc ecx
mov dword [esi + 0x24], ecx
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x24]
push edi
lea ecx, [ecx + 8]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00402460
mov edi, eax
xor eax, eax
cmp dword [edi + 8], eax
jne 0x4028a4
mov dword [edi + 8], 2
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x20]
mov ebx, dword [eax]
mov edx, dword [ebx + 4]
lea ecx, [ebp - 0x4c]
push ecx
push edx
push ebx
lea ecx, [esi + 0x20]
mov dword [ebp - 4], 1
call fcn.00402640
mov ecx, dword [esi + 0x24]
mov edx, 0x7fffffe
sub edx, ecx
cmp edx, 1
jb 0x4028dd
inc ecx
mov dword [esi + 0x24], ecx
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push edi
push edi
lea ecx, [ecx + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00402500
mov edi, eax
mov dword [edi + 8], 1
xor eax, eax
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x24], ecx
cmp ecx, eax
jne 0x4027d0
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ea71
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0045d5a3
int3