Function at 0x48f6c4
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x6d9d44]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x1c], edx
mov esi, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
test edi, edi
je 0x48f6f7
cmp dword [ebp + 0xc], ebx
jle 0x48f6f7
push 7
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
push 8
xor eax, eax
lea edi, [ebp - 0x3c]
cmp byte [esi], 0x5b
pop ecx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 6
jne 0x48f754
push 0x1000
push esi
call fcn.005f8590
pop ecx
pop ecx
mov esi, eax
call fcn.005c1c50
mov edi, esp
cmp esi, 2
jge 0x48f73a
or eax, 0xffffffff
jmp 0x48f8bb
lea eax, [esi - 2]
mov edx, esi
push eax
mov eax, dword [ebp - 0xc]
mov ecx, edi
inc eax
push eax
call section..text
pop ecx
mov byte [edi + esi - 2], bl
mov esi, edi
pop ecx
test esi, esi
jne 0x48f75f
mov edi, ebx
mov dword [ebp - 0xc], ebx
jmp 0x48f77a
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edi, [eax*2 + 2]
mov dword [ebp - 0xc], edi
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x48f786
mov dword [ebp - 0x10], ebx
jmp 0x48f7a1
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x10], eax
test edi, edi
jne 0x48f7aa
mov dword [ebp - 0x14], ebx
jmp 0x48f7b4
mov eax, edi
call fcn.005c1c50
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x48f7bf
mov edi, ebx
jmp 0x48f7c6
call fcn.005c1c50
mov edi, esp
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48f7e0
push dword [ebp - 0xc]
push eax
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test edi, edi
je 0x48f7fb
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
push eax
push edi
push 0xffffffffffffffff
push edx
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x14]
push edi
push eax
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
je 0x48f827
cmp dword [ebp - 8], ebx
je 0x48f820
push dword [ebp - 8]
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
xor eax, eax
jmp 0x48f8bb
mov esi, dword [ebp - 8]
test esi, esi
je 0x48f732
mov eax, esi
cmp dword [eax + 4], 2
je 0x48f840
cmp dword [eax + 4], 0x17
jne 0x48f841
inc ebx
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x48f834
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], ebx
push eax
pop ebx
test edi, edi
je 0x48f877
test ecx, ecx
jne 0x48f877
imul ecx, dword [ebp - 0x18], 0x1c
xor edx, edx
push ebx
push ebx
call fcn.004878dc
mov esi, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov dword [edi], eax
mov edi, eax
mov dword [ebp + 0xc], ecx
test esi, esi
je 0x48f8b2
test ecx, ecx
jle 0x48f8af
cmp dword [esi + 4], 2
je 0x48f88b
cmp dword [esi + 4], 0x17
jne 0x48f8a8
push dword [esi + 0x10]
mov ecx, edi
push dword [esi + 0x18]
push 0x1c
pop edx
call section..text
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
inc ebx
add edi, 0x1c
dec ecx
mov dword [ebp + 0xc], ecx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x48f87b
mov esi, dword [ebp - 8]
push esi
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov eax, ebx
lea esp, [ebp - 0x48]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c0db0
mov esp, ebp
pop ebp
ret