Function at 0x100046d0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xa18
mov eax, dword [0x10027400]
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 0x1000471f
push str.LoadLibrary_Iphlpapi.dll__failed____n
call ebx
jmp 0x100049b1
push esi
push str.GetAdaptersAddresses
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebp
jne 0x1000473c
push str.Unable_to_locate_GetAdaptersAddresses____n
jmp 0x10004992
lea eax, [esp + 0x14]
push eax
push ebp
push ebp
push 0x10
push 0x17
call esi
cmp eax, 0x6f
je 0x10004758
push str.no_enough_buffer_1__n
jmp 0x10004992
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1000ee85
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x18], ebp
jne 0x10004779
push str.no_enough_buffer_2__n
jmp 0x10004992
lea edx, [esp + 0x14]
push edx
push ebp
push 0
push 0x10
push 0x17
call esi
test eax, eax
je 0x100047a3
push eax
lea eax, [esp + 0x24]
push str.GetAdaptersAddresses___failed__d__n
push eax
call fcn.1000e4d5
add esp, 0xc
jmp 0x10004994
mov dword [esp + 0x10], ebp
jmp 0x100047b4
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 0x100047c0
push 0
push 0
push 0x200
sub eax, esi
lea ecx, [esp + 0x42c]
push ecx
sar eax, 1
push eax
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x10004986
lea edx, [esp + 0x420]
push edx
mov byte [esp + eax + 0x424], 0
lea eax, [esp + 0x24]
push str.Adapter_Name_:__s_n
push eax
call fcn.1000e4d5
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
call ebx
cmp dword [ebp + 0x44], 1
je 0x1000482f
push str.status:_not_up_n
call ebx
jmp 0x10004975
mov ebp, dword [ebp + 0x10]
test ebp, ebp
je 0x10004971
lea ebx, [ebx]
cmp dword [edi + 0x1aac], 0x32
jge 0x10004971
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 2
push 0
push 0
push 0x401
lea edx, [esp + 0x630]
push edx
push eax
push ecx
call fcn.10003910
test eax, eax
jne 0x1000498d
mov edx, dword [ebp + 0xc]
cmp word [edx], 0x17
jne 0x10004966
lea eax, [esp + 0x620]
push eax
lea ecx, [esp + 0x24]
push str.Unicast_Address:__s_n
push ecx
call fcn.1000e4d5
add esp, 0xc
lea edx, [esp + 0x620]
push edx
call ebx
push 5
lea eax, [esp + 0x624]
push str.fe80:
push eax
call fcn.1001ac75
add esp, 0xc
test eax, eax
jne 0x10004966
lea ecx, [esp + 0x620]
push 0x25
push ecx
call fcn.1000f380
add esp, 8
test eax, eax
je 0x10004966
mov byte [eax], 0
mov ecx, dword [edi + 0x1aac]
imul ecx, ecx, 0x84
lea edx, [esp + 0x620]
lea esi, [ecx + edi + 0xe4]
lea esp, [esp]
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x10004900
add eax, 1
push eax
call fcn.1000e5fb
mov edx, dword [edi + 0x1aac]
imul edx, edx, 0x84
mov dword [edx + edi + 0x164], eax
mov eax, dword [edi + 0x1aac]
imul eax, eax, 0x84
mov ecx, dword [eax + edi + 0x164]
add eax, edi
push ecx
add eax, 0xe4
push eax
lea edx, [esp + 0x2c]
push str.Storing___s___scope_id__d__n
push edx
call fcn.1000e4d5
add esp, 0x14
lea eax, [esp + 0x20]
push eax
call ebx
add dword [edi + 0x1aac], 1
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x10004840
mov ebp, dword [esp + 0x10]
mov ebp, dword [ebp + 8]
test ebp, ebp
mov dword [esp + 0x10], ebp
jne 0x100047b0
jmp 0x10004994
push str.cannot_convert_adapter_name_n
jmp 0x10004992
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 0x100049b1
push eax
call fcn.1000ef48
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.1000e6bf
add esp, 0xa18
ret