Function at 0x1000d020
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100db690]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, ebx
je 0x1000d08c
cmp eax, 0x6f
je 0x1000d08c
cmp eax, 0xe8
je 0x1000d08c
call dword [0x100a8200]
test eax, 0x20000000
je 0x1000d077
cmp eax, ebx
jle 0x1000d070
and eax, 0xffff
or eax, 0xa0070000
mov esi, eax
jmp 0x1000d40f
cmp eax, ebx
jle 0x1000d070
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x1000d40f
mov ecx, dword [ebp - 0x14]
inc ecx
push ecx
call fcn.1002e03d
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000d0a9
mov esi, 0x8007000e
jmp 0x1000d40f
mov edx, dword [ebp - 0x14]
inc edx
push edx
push ebx
push esi
call fcn.1002e520
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x1000d0de
call dword [0x100a8200]
test eax, 0x20000000
je 0x1000d077
cmp eax, ebx
jg 0x1000d066
mov esi, eax
jmp 0x1000d40f
xor ecx, ecx
mov eax, 0x400
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1002e03d
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x1000d10c
mov esi, 0x8007000e
jmp 0x1000d402
push 0x800
push ebx
push edi
call fcn.1002e520
add esp, 0xc
mov dword [ebp - 0xc], esi
jmp 0x1000d123
mov esi, dword [ebp - 0xc]
lea eax, [esi + 0x1b0]
push str.0.0.0.0
push eax
call fcn.100305a3
add esp, 8
test eax, eax
je 0x1000d15c
lea ecx, [esi + 0x1d8]
push str.0.0.0.0
push ecx
call fcn.100305a3
add esp, 8
test eax, eax
je 0x1000d15c
cmp dword [ebp - 0x10], 0
jne 0x1000d15c
mov dword [ebp - 0x10], esi
add esi, 8
call fcn.1000cd40
test eax, eax
je 0x1000d284
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000d171
sub eax, edx
sar eax, 1
add eax, 0x13
cmp eax, 0x400
ja 0x1000d294
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000d193
sub eax, edx
sar eax, 1
mov ebx, 0x100d1ccc
jne 0x1000d1ae
mov ebx, 0x100d1844
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000d1b3
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, edi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000d1d0
push ebx
sub eax, esi
mov ecx, 0x400
sub ecx, edx
sar eax, 1
push 0x100d1cd0
push ecx
lea edx, [edi + eax*2]
push edx
call fcn.1002e475
mov eax, dword [ebp - 0xc]
xor esi, esi
add esp, 0x10
cmp dword [eax + 0x190], esi
jbe 0x1000d284
jmp 0x1000d210
mov dword [ebp - 8], 0x100d1cd8
test esi, esi
ja 0x1000d222
mov dword [ebp - 8], 0x100d1844
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000d227
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, edi
lea ebx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000d240
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [ecx + esi + 0x194]
push ecx
mov ecx, dword [ebp - 8]
push ecx
sub eax, ebx
mov ecx, 0x400
sub ecx, edx
sar eax, 1
push 0x100d1cdc
push ecx
lea edx, [edi + eax*2]
push edx
call fcn.1002e475
mov eax, dword [ebp - 0xc]
inc esi
add esp, 0x14
cmp esi, dword [eax + 0x190]
jb 0x1000d210
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x1000d120
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000d2a0
sub eax, edx
sar eax, 1
jne 0x1000d359
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000d346
xor esi, esi
cmp dword [eax + 0x190], esi
jbe 0x1000d359
mov dword [ebp - 8], 0x100d1cd8
test esi, esi
ja 0x1000d2e0
mov dword [ebp - 8], 0x100d1844
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000d2e5
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, edi
lea ebx, [eax + 2]
jmp 0x1000d300
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000d300
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + esi + 0x194]
push ecx
mov ecx, dword [ebp - 8]
push ecx
sub eax, ebx
mov ecx, 0x400
sub ecx, edx
sar eax, 1
push 0x100d1cdc
push ecx
lea edx, [edi + eax*2]
push edx
call fcn.1002e475
mov eax, dword [ebp - 0x10]
inc esi
add esp, 0x14
cmp esi, dword [eax + 0x190]
jb 0x1000d2ce
jmp 0x1000d359
push str.00_00_00_00_00_00
push 0x400
push edi
call fcn.1002e493
add esp, 0xc
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000d360
sub eax, edx
sar eax, 1
inc eax
push eax
call fcn.1002e03d
mov esi, eax
add esp, 4
test esi, esi
jne 0x1000d386
mov esi, 0x8007000e
jmp 0x1000d402
mov eax, edi
lea edx, [eax + 2]
jmp 0x1000d390
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000d390
sub eax, edx
sar eax, 1
inc eax
push eax
push 0
push esi
call fcn.1002e520
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x1000d3bf
xor eax, eax
jmp 0x1000d3d5
lea ebx, [eax + eax]
mov eax, ebx
call fcn.1002eaf0
mov eax, esp
push 3
push ebx
push edi
push eax
call fcn.1000de00
mov ecx, edi
lea ebx, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1000d3e0
sub ecx, ebx
sar ecx, 1
push eax
inc ecx
push ecx
push esi
call fcn.1002ede3
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ecx], esi
xor esi, esi
test edi, edi
je 0x1000d40f
push edi
call fcn.1002e59a
add esp, 4
mov eax, esi
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002e502
mov esp, ebp
pop ebp
ret