Function at 0x4b71a8
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov ecx, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
call fcn.004ade8e
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
push 2
mov dword [esp + 0x1c], ebx
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x30], ebx
pop esi
cmp dword [edi], ebx
jl 0x4b7200
cmp dword [edi], 1
jle 0x4b71f3
cmp dword [edi], esi
jne 0x4b71fc
mov dword [esp + 0x18], 0x17
jmp 0x4b721d
push 2
pop esi
mov dword [esp + 0x18], esi
jmp 0x4b721d
cmp dword [edi], ebx
je 0x4b721d
cmp dword [edi], 1
je 0x4b721d
cmp dword [edi], esi
je 0x4b721d
push 0x64
push 0x794660
push str.request.family__NET_ADDR_NONE__request.family__NET_ADDR_INET4__request.family__NET_ADDR_INET6
call fcn.0055c77a
add esp, 0xc
push 6
pop eax
mov dword [esp + 0x20], eax
lea eax, [edi + 0x1c]
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], ebx
jb 0x4b723f
mov eax, dword [eax]
add edi, 4
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x4b724c
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x4b7313
cmp dword [esp + 0xc], ebx
je 0x4b7276
push dword [esp + 0xc]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
and dword [esp + 0x34], 0
lea ecx, [esp + 0x34]
and dword [esp + 0x44], 0
mov ebx, eax
push 0x76
lea eax, [esp + 0x54]
mov dword [esp + 0x3c], str.error_resolving_network_address__s:___s___s
push str.d:_buildserver_bna_2work_git_bootstrapper_repositorycontribcontrib_bnl_dl2_net_source_net_simplenetworkresolver.cpp
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x200
mov dword [esp + 0x50], 4
mov dword [esp + 0x54], str.Resolver
call fcn.00492518
cmp dword [edi + 0x14], 0x10
mov dword [esp + 0x10], ebx
jb 0x4b72cc
mov edi, dword [edi]
push edi
lea ecx, [esp + 0x38]
call fcn.004928ff
push ebx
lea ecx, [esp + 0x38]
call fcn.00492a9a
push eax
lea ecx, [esp + 0x14]
call fcn.004ba84a
lea ecx, [esp + 0x34]
call fcn.0042e42b
cmp ebx, 8
jne 0x4b7300
push 7
pop eax
jmp 0x4b73c0
push 6
cmp ebx, 0x2726
pop eax
cmove esi, eax
mov eax, esi
jmp 0x4b73c0
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x4b73b7
cmp dword [ebx + 8], 1
jne 0x4b73a4
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov edi, dword [ebx + 4]
push edi
push ebx
call fcn.004b76be
push ecx
mov ecx, dword [ebp + 0xc]
mov esi, eax
call fcn.004b3ed3
mov dword [ebx + 4], esi
mov ebx, dword [esp + 0x10]
mov dword [edi], esi
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x18]
mov eax, dword [edi]
mov esi, dword [eax + 4]
add esi, 8
push esi
call fcn.004ba81f
pop ecx
test al, al
jne 0x4b7393
mov esi, dword [edi]
mov esi, dword [esi + 4]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 0x24]
dec dword [edi + 4]
call fcn.004063c5
push 0x3c
push esi
call fcn.004064ba
pop ecx
pop ecx
jmp 0x4b73a4
cmp dword [ebx + 0x14], 0
je 0x4b73a4
push dword [ebx + 0x14]
lea ecx, [esi + 0x1c]
call fcn.0040659a
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x4b7323
mov ebx, dword [esp + 0xc]
push ebx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8