Function at 0x661d320
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66693be
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x667c080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x7c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x74], 1
push 0
movups xmmword [esi], xmm0
push 0x6674928
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.06619720
mov dword [ebp - 4], 0
mov eax, 0x4000
mov dword [ebp - 0x74], 1
xor edi, edi
mov dword [ebp - 0x58], eax
push eax
call fcn.0664a1eb
add esp, 4
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x58]
push ecx
push eax
push 0
push 0x2e
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
je 0x661d3eb
push dword [ebp - 0x60]
cmp eax, 0x6f
jne 0x661d5d1
call fcn.06649593
inc edi
add esp, 4
xor ecx, ecx
cmp edi, 3
je 0x661d5d0
mov eax, dword [ebp - 0x58]
jmp 0x661d3a5
mov ecx, dword [ebp - 0x60]
mov eax, ecx
mov dword [ebp - 0x6c], ecx
test ecx, ecx
je 0x661d5d0
mov dword [ebp - 0x60], ecx
mov edx, 2
cmp dword [eax + 0x40], 0x18
je 0x661d5bf
mov edi, dword [eax + 0x10]
test edi, edi
je 0x661d5bf
nop dword [eax + eax]
mov ecx, dword [edi + 0xc]
movzx eax, word [ecx]
cmp dx, ax
jne 0x661d5b1
push 0x10
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
lea eax, [ecx + 4]
push eax
push 2
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.WS2_32.dll_inet_ntop]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x3c], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x661d463
sub eax, edx
lea ecx, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.06619820
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0xf
mov eax, dword [ebp - 0x2c]
cmova ecx, dword [ebp - 0x3c]
seta byte [ebp - 0x59]
add eax, ecx
cmp byte [ebp - 0x59], 0
lea ecx, [ebp - 0x3c]
cmovne ecx, dword [ebp - 0x3c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.06618f60
push 0x6674d18
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.06619f10
mov edx, eax
mov dword [ebp - 0x64], edx
cmp dword [edx + 0x14], 7
jbe 0x661d4cb
mov eax, dword [edx]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov edx, dword [edx + 0x10]
cmp edx, eax
ja 0x661d514
cmp dword [esi + 0x14], 7
lea eax, [ecx + edx]
mov dword [ebp - 0x78], eax
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x68], esi
jbe 0x661d4f3
mov eax, dword [esi]
mov dword [ebp - 0x68], eax
lea ecx, [eax + ecx*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x64]
push ecx
call fcn.06646180
mov eax, dword [ebp - 0x68]
add esp, 0xc
mov ecx, dword [ebp - 0x78]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x661d527
push edx
push dword [ebp - 0x64]
mov byte [ebp - 0x70], 0
mov ecx, esi
push dword [ebp - 0x70]
push edx
call fcn.0661a4a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
cmp ecx, 7
jbe 0x661d565
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x661d55b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x661d5f9
push ecx
push edx
call fcn.06644a77
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
cmp ecx, 0xf
jbe 0x661d5ac
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x661d5a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x661d5f9
push ecx
push edx
call fcn.06644a77
add esp, 8
mov edx, 2
mov edi, dword [edi + 8]
test edi, edi
jne 0x661d420
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x6c], eax
test eax, eax
jne 0x661d403
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.06649593
mov eax, esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.06644a69
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.066498ca
int3