Function at 0x460d70
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8d82
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x55a3d0]
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
xor eax, eax
xor ebx, ebx
cmp dword [ecx + 0x14], 0x10
mov edi, edx
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x194], ebx
mov dword [ebp - 0x190], 1
mov dword [ebp - 0x18c], 6
jb 0x460e02
mov ecx, dword [ecx]
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x198]
push edx
push 0x51bd28
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
cmp esi, ebx
je 0x460ec0
lea eax, [ebp - 0x230]
push eax
call fcn.00403200
lea ecx, [ebp - 0x230]
push str.getaddrinfo_failed_with_error:
push ecx
mov dword [ebp - 4], ebx
call fcn.00404d50
add esp, 8
push esi
lea edx, [ebp - 0x230]
push edx
call fcn.004024b0
lea esi, [ebp - 0x134]
lea eax, [ebp - 0x230]
call fcn.00402e30
mov eax, esi
push eax
push 2
mov byte [ebp - 4], 1
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x120], 8
jb 0x460e90
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.004b5907
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x120], 7
mov dword [ebp - 0x124], ebx
mov word [ebp - 0x134], dx
mov dword [ebp - 4], 0xffffffff
call fcn.00401690
jmp 0x4610e1
push 0x10
push str.IPv6_Addresses:
mov ecx, edi
call fcn.0040e4f0
mov eax, dword [ebp - 0x170]
mov edi, eax
cmp eax, ebx
je 0x4610c2
mov edi, edi
cmp dword [edi + 4], 0x17
jne 0x4610b7
mov esi, dword [edi + 0x18]
push 0x103
lea eax, [ebp - 0x117]
push ebx
push eax
mov dword [ebp - 0x178], 0x104
mov byte [ebp - 0x118], bl
call fcn.004b9c30
mov eax, dword [edi + 0x10]
add esp, 0xc
lea ecx, [ebp - 0x178]
push ecx
lea edx, [ebp - 0x118]
push edx
push ebx
push eax
push esi
call dword [sym.imp.WS2_32.dll_WSAAddressToStringA]
cmp eax, ebx
je 0x460fda
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ecx, [ebp - 0x230]
push ecx
mov esi, eax
call fcn.00403200
lea edx, [ebp - 0x230]
push str.WSAAddressToString_failed_with_error:
push edx
mov dword [ebp - 4], 2
call fcn.00404d50
add esp, 8
push esi
lea eax, [ebp - 0x230]
push eax
call fcn.004024b0
lea esi, [ebp - 0x134]
lea eax, [ebp - 0x230]
call fcn.00402e30
mov ecx, esi
push ecx
push 2
mov byte [ebp - 4], 3
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x120], 8
jb 0x460faa
mov edx, dword [ebp - 0x134]
push edx
call fcn.004b5907
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x120], 7
mov dword [ebp - 0x124], ebx
mov word [ebp - 0x134], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00401690
jmp 0x4610b7
lea eax, [ebp - 0x118]
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x461000
sub eax, edx
push eax
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x150]
call fcn.00411d00
push 0x517aac
lea edx, [ebp - 0x150]
push edx
lea eax, [ebp - 0x16c]
push eax
mov dword [ebp - 4], 4
call fcn.00407970
add esp, 0xc
mov ecx, dword [ebp - 0x174]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 5
call fcn.0040e400
mov esi, 0x10
cmp dword [ebp - 0x158], esi
jb 0x46106d
mov ecx, dword [ebp - 0x16c]
push ecx
call fcn.004b5907
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x158], 0xf
mov dword [ebp - 0x15c], ebx
mov byte [ebp - 0x16c], bl
cmp dword [ebp - 0x13c], esi
jb 0x4610a1
mov edx, dword [ebp - 0x150]
push edx
call fcn.004b5907
add esp, 4
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
mov edi, dword [edi + 0x1c]
cmp edi, ebx
jne 0x460ee0
mov ecx, dword [ebp - 0x174]
push 1
push 0x51bcf4
call fcn.0040e4f0
mov eax, dword [ebp - 0x170]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
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.004b58f8
mov esp, ebp
pop ebp
ret