Function at 0x456320
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5787f0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5df3f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], ecx
xor ebx, ebx
mov dword [ebp - 0x4c], 0
xor esi, esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
mov eax, 0x3a98
mov dword [ebp - 4], esi
xor edi, edi
mov dword [ebp - 0x40], eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x45650e
lea ecx, [ebp - 0x40]
push ecx
push eax
push 0
push 0x10
push 2
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x4563c5
push dword [ebp - 0x38]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
inc edi
cmp edi, 3
jae 0x4564f9
mov eax, dword [ebp - 0x40]
jmp 0x456372
test eax, eax
jne 0x4564e6
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x44], edi
test edi, edi
je 0x4564d8
mov eax, dword [edi + 0xc]
cmp word [eax], 2
jne 0x4563f9
test eax, eax
je 0x4563f9
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ebx, eax
test ebx, ebx
je 0x4564c7
cmp byte [ebx], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x45641c
xor eax, eax
jmp 0x45642a
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x456421
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.0044d570
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
cmp eax, esi
jae 0x456487
mov ecx, eax
mov eax, dword [ebp - 0x34]
cmp eax, ecx
ja 0x456487
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp esi, dword [ebp - 0x2c]
jne 0x45646d
push 1
lea ecx, [ebp - 0x34]
call fcn.004533a0
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*8]
test esi, esi
je 0x456482
push eax
mov ecx, esi
call fcn.0044d1e0
mov edi, dword [ebp - 0x44]
jmp 0x4564a8
cmp esi, dword [ebp - 0x2c]
jne 0x456499
push 1
lea ecx, [ebp - 0x34]
call fcn.004533a0
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x4564a8
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0044d1e0
add esi, 0x18
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], esi
cmp eax, 0x10
jb 0x4564c7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0044ad40
mov edi, dword [edi + 8]
mov dword [ebp - 0x44], edi
test edi, edi
jne 0x4563e1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4563d3
push dword [ebp - 0x38]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 8], eax
mov eax, ecx
mov dword [ecx + 4], esi
jmp 0x456544
mov ebx, dword [ebp - 0x48]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.00453310
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ad85
mov esp, ebp
pop ebp
ret