Function at 0x458780
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a240
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5f11e4]
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 0x45896e
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 0x458825
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 0x458959
mov eax, dword [ebp - 0x40]
jmp 0x4587d2
test eax, eax
jne 0x458946
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x44], edi
test edi, edi
je 0x458938
mov eax, dword [edi + 0xc]
cmp word [eax], 2
jne 0x458859
test eax, eax
je 0x458859
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ebx, eax
test ebx, ebx
je 0x458927
cmp byte [ebx], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x45887c
xor eax, eax
jmp 0x45888a
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458881
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00448910
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
cmp eax, esi
jae 0x4588e7
mov ecx, eax
mov eax, dword [ebp - 0x34]
cmp eax, ecx
ja 0x4588e7
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 0x4588cd
push 1
lea ecx, [ebp - 0x34]
call fcn.0044c0f0
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*8]
test esi, esi
je 0x4588e2
push eax
mov ecx, esi
call fcn.00448640
mov edi, dword [ebp - 0x44]
jmp 0x458908
cmp esi, dword [ebp - 0x2c]
jne 0x4588f9
push 1
lea ecx, [ebp - 0x34]
call fcn.0044c0f0
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x458908
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00448640
add esi, 0x18
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], esi
cmp eax, 0x10
jb 0x458927
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00445e20
mov edi, dword [edi + 8]
mov dword [ebp - 0x44], edi
test edi, edi
jne 0x458841
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x458833
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 0x4589a4
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.0044bb80
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.004feb45
mov esp, ebp
pop ebp
ret