Function at 0x100aecc0
Capabilities:
Get local ipv4 addresses

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
lea eax, [esp + 4]
push esi
push eax
push 0
push 0
push 0
push 2
mov dword [esp + 0x1c], 0
call ebp
mov esi, eax
test esi, esi
je 0x100aed28
cmp esi, 0x6f
je 0x100aed28
cmp esi, 0x7a
je 0x100aed28
mov eax, dword [0x1014bb1c]
test eax, eax
je 0x100aef4e
push esi
push str.GetAdaptersV4Addresses___sizing_failed_with_error_code__d_n
call eax
mov eax, dword [0x1014bb1c]
add esp, 8
test eax, eax
je 0x100aef4e
push dword [esp + 8]
push esi
push str.err___d__AdapterAddrsSize___d_n
call eax
add esp, 0xc
pop esi
pop ebp
pop ecx
ret
push ebx
push dword [esp + 0xc]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x100aed57
mov eax, dword [0x1014bb1c]
test eax, eax
je 0x100aef4d
push str.Memory_allocation_error__n
call eax
add esp, 4
pop ebx
pop esi
pop ebp
pop ecx
ret
lea eax, [esp + 0xc]
push eax
push ebx
push 0
push 0
push 2
call ebp
test eax, eax
je 0x100aed93
mov ecx, dword [0x1014bb1c]
test ecx, ecx
je 0x100aed7e
push eax
push str.GetAdaptersV4Addresses___failed_with_error_code__d_n
call ecx
add esp, 8
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
pop esi
pop ebp
pop ecx
ret
push edi
mov edi, ebx
mov ebp, 6
nop dword [eax + eax]
mov eax, dword [edi + 0x40]
cmp eax, 0x47
je 0x100aedad
cmp eax, 6
jne 0x100aedf6
mov esi, dword [edi + 0x10]
test esi, esi
je 0x100aedf6
mov ecx, dword [esi + 0xc]
cmp byte [ecx + 4], 0xa9
jne 0x100aedc3
cmp byte [ecx + 5], 0xfe
je 0x100aedef
mov eax, dword [edi + 0x40]
cmp eax, 0x47
push 0
push dword [edi + 0x38]
cmove eax, ebp
push ecx
push 0
push dword [edi + 0xc]
push eax
push dword [edi + 4]
push 0
push 0
call fcn.100af110
add esp, 0x24
test eax, eax
je 0x100aedef
and dword [eax + 0x3c], 0xfffffffb
mov esi, dword [esi + 8]
test esi, esi
jne 0x100aedb4
mov edi, dword [edi + 8]
test edi, edi
jne 0x100aeda0
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebp, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
push 0x17
mov dword [esp + 0x24], 0
call ebp
mov esi, eax
test esi, esi
je 0x100aee75
cmp esi, 0x6f
je 0x100aee75
cmp esi, 0x7a
je 0x100aee75
mov eax, dword [0x1014bb1c]
test eax, eax
je 0x100aef4c
push esi
push str.GetAdaptersV6Addresses___sizing_failed_with_error_code__d_n
call eax
mov eax, dword [0x1014bb1c]
add esp, 8
test eax, eax
je 0x100aef4c
push dword [esp + 0x10]
push esi
push str.err___d__AdapterAddrsSize___d_n
call eax
add esp, 0xc
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret
push dword [esp + 0x10]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x100aeea4
mov eax, dword [0x1014bb1c]
test eax, eax
je 0x100aef4c
push str.Memory_allocation_error__n
call eax
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret
lea eax, [esp + 0x10]
push eax
push ebx
push 0
push 0
push 0x17
call ebp
test eax, eax
je 0x100aeede
mov ecx, dword [0x1014bb1c]
test ecx, ecx
je 0x100aeecb
push eax
push str.GetAdaptersV6Addresses___failed_with_error_code__d_n
call ecx
add esp, 8
push ebx
push 0
call edi
push eax
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
call eax
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret
mov edi, ebx
mov ebp, 6
mov eax, dword [edi + 0x40]
cmp eax, 0x47
je 0x100aeef2
cmp eax, 6
jne 0x100aef35
mov esi, dword [edi + 0x10]
test esi, esi
je 0x100aef35
nop dword [eax]
mov eax, dword [edi + 0x40]
cmp eax, 0x47
push 0
push dword [edi + 0x38]
cmove eax, ebp
push dword [esi + 0xc]
push 0
push dword [edi + 0xc]
push eax
push dword [edi + 0x48]
push 0
push 0
call fcn.100af110
add esp, 0x24
test eax, eax
je 0x100aef2e
and dword [eax + 0x3c], 0xfffffffb
mov esi, dword [esi + 8]
test esi, esi
jne 0x100aef00
mov edi, dword [edi + 8]
test edi, edi
jne 0x100aeee5
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
call eax
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret