Function at 0xa5570
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1a700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov edx, 0x4000
push ebx
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x10]
xor ebx, ebx
mov eax, dword [eax + 0x24]
push esi
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [eax], ebx
call fcn.000c1050
test eax, eax
jne 0xa57e6
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 8]
mov dword [ebp - 0xc], ecx
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ecx
push ebx
push 0x2f
push 0x17
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0x6f
jne 0xa5678
test ebx, ebx
jne 0xa5675
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 8]
cmp eax, ecx
jbe 0xa55ed
sub eax, ecx
jmp 0xa55f0
lea eax, [ecx + ecx]
test eax, eax
je 0xa5649
mov esi, dword [edi]
cmp ecx, esi
jb 0xa5646
mov edx, ecx
sub edx, esi
cmp edx, eax
jae 0xa5622
mov esi, ecx
sub esi, edx
add esi, eax
cmp esi, ecx
jb 0xa5646
push esi
push dword [edi + 8]
call fcn.0015ba92
add esp, 8
test eax, eax
je 0xa5646
mov dword [edi + 8], eax
mov dword [edi + 4], esi
mov ecx, dword [edi + 8]
mov dword [ebp - 0xc], ecx
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ecx
push 0
push 0x2f
push 0x17
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov esi, eax
mov dword [ebp - 0x14], esi
jmp 0xa566c
mov esi, dword [ebp - 0x14]
push str.failed_to_resize_buffer_object
push 0x17bec4
push 0x579
push str.fr_beacon_multicast_update
push str.fr_subject.c
call fcn.000c0810
add esp, 0x14
mov ebx, eax
cmp esi, 0x6f
je 0xa55d7
mov dword [ebp - 0x18], ebx
test esi, esi
je 0xa56a0
push esi
push str.failed_to_get_network_interface_on_error__zu
push 0x581
push str.fr_beacon_multicast_update
push str.fr_subject.c
call fcn.000c0810
add esp, 0x14
mov ebx, eax
jmp 0xa580c
test ebx, ebx
jne 0xa580c
mov edi, dword [ebp - 0xc]
test edi, edi
je 0xa576d
test ebx, ebx
jne 0xa5809
test dword [edi + 0x38], 0x100
je 0xa575a
mov edx, dword [edi + 0x40]
mov eax, edx
and eax, 0x47
cmp al, 0x47
setne cl
and edx, 6
cmp dl, 6
setne al
test al, cl
jne 0xa575a
cmp dword [edi + 0x3c], 0x100
jbe 0xa575a
cmp dword [edi + 4], 0
lea ebx, [edi + 4]
jbe 0xa5757
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 0x24]
test ebx, ebx
je 0xa57be
test esi, esi
je 0xa57be
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cmp ecx, eax
jb 0xa57be
mov edx, ecx
sub edx, eax
cmp edx, 4
jae 0xa574b
mov eax, ecx
sub eax, edx
add eax, 4
mov dword [ebp - 0x14], eax
cmp eax, ecx
jb 0xa57be
push eax
push dword [esi + 8]
call fcn.0015ba92
add esp, 8
test eax, eax
je 0xa57be
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
add ecx, dword [esi]
mov eax, dword [ebx]
mov dword [ecx], eax
add dword [esi], 4
mov ebx, dword [ebp - 0x18]
mov edi, dword [edi + 8]
test edi, edi
jne 0xa56b3
test ebx, ebx
jne 0xa5809
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 0x24]
test esi, esi
je 0xa5809
mov eax, dword [esi + 4]
mov edx, dword [esi]
cmp eax, edx
jb 0xa5809
mov ecx, eax
sub ecx, edx
cmp ecx, 4
jae 0xa57b2
mov edi, eax
sub edi, ecx
add edi, 4
cmp edi, eax
jb 0xa5809
push edi
push dword [esi + 8]
call fcn.0015ba92
add esp, 8
test eax, eax
je 0xa5809
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov eax, dword [esi + 8]
add eax, dword [esi]
mov dword [eax], ebx
add dword [esi], 4
jmp 0xa5809
push dword [ebx]
push str.failed_to_add_network_adapter_interface__u
push 0x58d
push str.fr_beacon_multicast_update
push str.fr_subject.c
call fcn.000c0810
mov ebx, eax
add esp, 0x14
mov dword [ebp - 0x18], ebx
jmp 0xa575a
push str.failed_to_create_buffer_object
push 0x17bec4
push 0x572
push str.fr_beacon_multicast_update
push str.fr_subject.c
call fcn.000c0810
add esp, 0x14
mov ebx, eax
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x10]
test eax, eax
je 0xa5837
test edi, edi
je 0xa5837
mov eax, dword [edi + 8]
test eax, eax
je 0xa582e
push eax
call fcn.00158d47
add esp, 4
mov dword [edi + 8], 0
push edi
call fcn.00158d47
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00150cb2
mov esp, ebp
pop ebp
ret