Function at 0x4ab9d0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f157a
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x6656b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x58], ebx
mov edi, edx
mov dword [ebp - 0x18], 0xf
xor esi, esi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], esi
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], esi
xor eax, eax
mov word [ebp - 0x50], ax
mov byte [ebp - 4], 2
cmp edi, esi
jne 0x4aba68
mov byte [ebp - 4], al
lea ecx, [ebp - 0x54]
push ecx
call fcn.004b3a50
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x4aba55
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004c4802
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
jmp 0x4abb31
lea eax, [ebx + 0x20]
mov dword [ebp - 0x60], eax
call fcn.004abd20
mov eax, edi
lea edx, [eax + 2]
jmp 0x4aba80
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4aba80
sub eax, edx
sar eax, 1
push eax
lea esi, [ebx + 4]
mov eax, edi
call fcn.0040f730
cmp dword [ebx + 0x18], 0
jne 0x4abada
mov byte [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
call fcn.004b3a50
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x4abac6
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004c4802
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jmp 0x4abb31
push edi
lea ecx, [ebp - 0x30]
call fcn.004bc9f0
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4abaf6
lea eax, [ebp - 0x2c]
push eax
call sub.WSOCK32.dll_gethostbyname
mov ebx, eax
test ebx, ebx
jne 0x4abb4f
call sub.WSOCK32.dll_WSAGetLastError
push eax
push 0x62fbc0
call fcn.004a7cf0
add esp, 8
mov byte [ebp - 4], 0
lea edx, [ebp - 0x54]
push edx
call fcn.004b3a50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040f080
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b7e8e
mov esp, ebp
pop ebp
ret
movsx eax, word [ebx + 8]
sub eax, 2
je 0x4abb62
mov byte [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
jmp 0x4abb1d
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x5c], esi
cmp dword [esi], 0
je 0x4abbb5
movsx ecx, word [ebx + 0xa]
push ecx
mov edx, dword [esi]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.005c2250
add esp, 0xc
mov ecx, dword [ebp - 0x38]
push ecx
call sub.WSOCK32.dll_htonl
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.004bcad0
add esp, 8
lea edx, [ebp - 0x54]
push edx
mov edi, dword [ebp - 0x60]
call fcn.004abc80
add esi, 4
jmp 0x4abb65
mov dword [ebp - 4], 0
lea eax, [ebp - 0x54]
push eax
call fcn.004b3a50
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x4abbde
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004c4802
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov al, 1
jmp 0x4abb33