Function at 0x4d87f0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xa18
mov eax, dword [0x5a4aa8]
xor eax, esp
mov dword [esp + 0xa14], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebp
push edi
xor ebp, ebp
push str.IPInterface::RetrieveAdapterInformation_____n
mov edi, ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
call ebx
push str.Iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebp
mov dword [esp + 0x18], eax
jne 0x4d883f
push str.LoadLibrary_Iphlpapi.dll__failed____n
call ebx
jmp 0x4d8b07
push esi
push str.GetAdaptersAddresses
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebp
jne 0x4d885c
push str.Unable_to_locate_GetAdaptersAddresses____n
jmp 0x4d8ae8
lea eax, [esp + 0x14]
push eax
push ebp
push ebp
push 0x10
push 0x17
call esi
cmp eax, 0x6f
je 0x4d8878
push str.no_enough_buffer_1__n
jmp 0x4d8ae8
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004fc02a
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x18], ebp
jne 0x4d8899
push str.no_enough_buffer_2__n
jmp 0x4d8ae8
lea edx, [esp + 0x14]
push edx
push ebp
push 0
push 0x10
push 0x17
call esi
test eax, eax
je 0x4d88c6
push eax
lea eax, [esp + 0x428]
push str.GetAdaptersAddresses___failed__d__n
push eax
call fcn.004fc0ed
add esp, 0xc
jmp 0x4d8aea
mov dword [esp + 0x10], ebp
jmp 0x4d88d4
mov ebp, dword [esp + 0x10]
mov edx, dword [ebp + 0x28]
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d88e0
push 0
push 0
push 0x200
sub eax, esi
lea ecx, [esp + 0x830]
push ecx
sar eax, 1
push eax
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x4d8adc
lea edx, [esp + 0x824]
push edx
mov byte [esp + eax + 0x828], 0
lea eax, [esp + 0x428]
push str.Adapter_Name_:__s_n
push eax
call fcn.004fc0ed
add esp, 0xc
lea ecx, [esp + 0x424]
push ecx
call ebx
cmp dword [ebp + 0x44], 1
je 0x4d8955
push str.status:_not_up_n
call ebx
jmp 0x4d8acb
mov ebp, dword [ebp + 0x10]
test ebp, ebp
je 0x4d8ac7
cmp dword [edi + 0x1ab0], 0x32
jge 0x4d8ac7
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 2
push 0
push 0
push 0x401
lea edx, [esp + 0x30]
push edx
push eax
push ecx
call fcn.004ce5b0
test eax, eax
jne 0x4d8ae3
mov edx, dword [ebp + 0xc]
cmp word [edx], 0x17
jne 0x4d8abc
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x428]
push str.Unicast_Address:__s_n
push ecx
call fcn.004fc0ed
add esp, 0xc
lea edx, [esp + 0x20]
push edx
call ebx
push 5
lea eax, [esp + 0x24]
push str.fe80:
push eax
call fcn.004fb361
add esp, 0xc
test eax, eax
jne 0x4d8abc
push 0xb
lea ecx, [esp + 0x24]
push str.fe80::5efe:
push ecx
call fcn.004fb361
add esp, 0xc
test eax, eax
jne 0x4d8a00
push str.ISATAP_Address:_Skip_
call ebx
jmp 0x4d8abc
lea edx, [esp + 0x20]
push 0x25
push edx
call fcn.004fd960
add esp, 8
test eax, eax
je 0x4d8abc
lea ecx, [esp + 0x20]
mov byte [eax], 0
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4d8a21
sub ecx, esi
cmp ecx, 0x80
jae 0x4d8abc
mov ecx, dword [edi + 0x1ab0]
imul ecx, ecx, 0x84
lea edx, [esp + 0x20]
lea esi, [ecx + edi + 0xe8]
nop
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x4d8a50
add eax, 1
push eax
call fcn.004fe1dc
mov edx, dword [edi + 0x1ab0]
imul edx, edx, 0x84
mov dword [edx + edi + 0x168], eax
mov eax, dword [edi + 0x1ab0]
imul eax, eax, 0x84
mov ecx, dword [eax + edi + 0x168]
add eax, edi
push ecx
add eax, 0xe8
push eax
lea edx, [esp + 0x430]
push str.Storing___s___scope_id__d__n
push edx
call fcn.004fc0ed
add esp, 0x14
lea eax, [esp + 0x424]
push eax
call ebx
add dword [edi + 0x1ab0], 1
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x4d8960
mov ebp, dword [esp + 0x10]
mov ebp, dword [ebp + 8]
test ebp, ebp
mov dword [esp + 0x10], ebp
jne 0x4d88d0
jmp 0x4d8aea
push str.cannot_convert_adapter_name_n
jmp 0x4d8ae8
push str.cant_convert_network_format_to_presentation_format
call ebx
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x18]
test eax, eax
pop esi
je 0x4d8b07
push eax
call fcn.004fb1bd
add esp, 4
push str.___IPInterface::RetrieveAdapterInformation___n
call ebx
mov ecx, dword [esp + 0xa20]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004fa103
add esp, 0xa18
ret