Function at 0x4b9b9d
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov ecx, dword [ebp + 0xc]
and dword [esp], 0
push ebx
push esi
push edi
call fcn.004b10a2
push 8
pop ecx
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
inc ebx
push 2
pop esi
cmp dword [edi], eax
jl 0x4b9bef
cmp dword [edi], ebx
jle 0x4b9be2
cmp dword [edi], esi
jne 0x4b9beb
mov dword [esp + 0x18], 0x17
jmp 0x4b9c0b
push 2
pop esi
mov dword [esp + 0x18], esi
jmp 0x4b9c0b
cmp dword [edi], eax
je 0x4b9c0b
cmp dword [edi], ebx
je 0x4b9c0b
cmp dword [edi], esi
je 0x4b9c0b
push 0x61
push 0x6a2cb8
push 0x6a2be8
call fcn.0054db53
add esp, 0xc
and dword [esp + 0x14], 0
and dword [esp + 0x30], 0
push 6
pop eax
mov dword [esp + 0x20], eax
lea eax, [edi + 0x1c]
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x1c], ebx
jb 0x4b9c2b
mov eax, dword [eax]
add edi, 4
cmp dword [edi + 0x14], 0x10
jb 0x4b9c38
mov ecx, dword [edi]
jmp 0x4b9c3a
mov ecx, 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 0x4b9d03
cmp dword [esp + 0xc], 0
je 0x4b9c65
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 0x73
lea eax, [esp + 0x54]
mov dword [esp + 0x3c], str.error_resolving_network_address__s:___s___s
push str..._bnl_dl2_net_source_netSimpleNetworkResolver.cpp
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x200
mov dword [esp + 0x50], 4
mov dword [esp + 0x54], str.Resolver
call fcn.00496d52
cmp dword [edi + 0x14], 0x10
mov dword [esp + 0x10], ebx
jb 0x4b9cbb
mov edi, dword [edi]
push edi
lea ecx, [esp + 0x38]
call fcn.004971d9
push ebx
lea ecx, [esp + 0x38]
call fcn.00497382
lea edx, [esp + 0x10]
mov ecx, eax
call fcn.004b80fd
lea ecx, [esp + 0x34]
call fcn.0042bc04
cmp ebx, 8
jne 0x4b9cf0
push 7
pop eax
jmp 0x4b9da1
push 6
cmp ebx, 0x2726
pop eax
cmove esi, eax
mov eax, esi
jmp 0x4b9da1
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x4b9d98
cmp dword [ebx + 8], 1
jne 0x4b9d89
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
push dword [edi + 4]
push edi
call fcn.004ba1d6
push ecx
mov ecx, dword [ebp + 0xc]
mov esi, eax
call fcn.004b68ac
mov dword [edi + 4], esi
mov ecx, dword [esi + 4]
mov dword [ecx], esi
mov esi, dword [ebp + 0xc]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x18]
mov eax, dword [esi]
mov edi, dword [eax + 4]
add edi, 8
push edi
call fcn.004bb9fa
pop ecx
test al, al
jne 0x4b9d71
mov eax, dword [esi]
mov eax, dword [eax + 4]
push eax
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [esi + 4]
call fcn.004b1361
jmp 0x4b9d89
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x4b9d89
push esi
call fcn.004064c5
pop ecx
push eax
push esi
lea ecx, [edi + 0x1c]
call fcn.0040644c
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
jne 0x4b9d0f
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