Function at 0x10020080
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b21fb
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x100e30c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c0], 0
mov al, byte [0x100cf80f]
mov byte [ebp - 0x114], al
push 0x103
push 0
lea ecx, [ebp - 0x113]
push ecx
call fcn.1008b830
add esp, 0xc
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x288], 0x6f
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x2ec], 0x10
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x21c], 0x3a98
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x2d4], edx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2d4]
push eax
push 0
mov ecx, dword [ebp - 0x2e8]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jne 0x100201b8
jmp 0x1002023e
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x27c]
push eax
push 0
mov ecx, dword [ebp - 0x2ec]
push ecx
mov edx, dword [ebp - 0x2f0]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0x6f
jne 0x10020217
mov eax, dword [ebp - 0x27c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x288], 0x6f
jmp 0x10020219
jmp 0x1002023e
mov ecx, dword [ebp - 0x2b4]
add ecx, 1
mov dword [ebp - 0x2b4], ecx
cmp dword [ebp - 0x288], 0x6f
jne 0x1002023e
cmp dword [ebp - 0x2b4], 3
jb 0x10020176
cmp dword [ebp - 0x288], 0
jne 0x100207ec
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x274], edx
cmp dword [ebp - 0x274], 0
je 0x100207ea
lea ecx, [ebp - 0x258]
call fcn.1001f550
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x28c], ecx
cmp dword [ebp - 0x28c], 0
je 0x100202c3
mov dword [ebp - 0x278], 0
jmp 0x100202a9
mov edx, dword [ebp - 0x278]
add edx, 1
mov dword [ebp - 0x278], edx
cmp dword [ebp - 0x28c], 0
je 0x100202c3
mov eax, dword [ebp - 0x28c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x28c], ecx
jmp 0x1002029a
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x10020310
mov dword [ebp - 0x278], 0
jmp 0x100202f6
mov ecx, dword [ebp - 0x278]
add ecx, 1
mov dword [ebp - 0x278], ecx
cmp dword [ebp - 0x290], 0
je 0x10020310
mov edx, dword [ebp - 0x290]
mov eax, dword [edx + 8]
mov dword [ebp - 0x290], eax
jmp 0x100202e7
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x294], edx
cmp dword [ebp - 0x294], 0
je 0x1002035d
mov dword [ebp - 0x278], 0
jmp 0x10020343
mov eax, dword [ebp - 0x278]
add eax, 1
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x294], 0
je 0x1002035d
mov ecx, dword [ebp - 0x294]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x294], edx
jmp 0x10020334
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x298], ecx
cmp dword [ebp - 0x298], 0
je 0x100203aa
mov dword [ebp - 0x278], 0
jmp 0x10020390
mov edx, dword [ebp - 0x278]
add edx, 1
mov dword [ebp - 0x278], edx
cmp dword [ebp - 0x298], 0
je 0x100203aa
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x298], ecx
jmp 0x10020381
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0xc], 0
je 0x1002074d
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0xc]
movsx ecx, byte [eax + ecx]
test ecx, ecx
je 0x1002074d
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0xc]
push eax
lea ecx, [ebp - 0x310]
call fcn.10004790
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x310]
push ecx
call fcn.1001f9c0
add esp, 4
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x310]
call fcn.10004710
nop
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0x34], 6
jne 0x100204b5
mov eax, 1
imul ecx, eax, 5
mov edx, dword [ebp - 0x274]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
shl ecx, 2
mov edx, dword [ebp - 0x274]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
imul edx, ecx, 3
mov eax, dword [ebp - 0x274]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 0x274]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x274]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x274]
movzx edx, byte [ecx + eax + 0x2c]
push edx
push str._02X__02X__02X__02X__02X__02X
lea eax, [ebp - 0x218]
push eax
call fcn.10020ca0
add esp, 0x20
jmp 0x10020578
mov ecx, dword [ebp - 0x274]
cmp dword [ecx + 0x34], 8
jne 0x10020578
mov edx, 1
imul eax, edx, 7
mov ecx, dword [ebp - 0x274]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
imul ecx, eax, 6
mov edx, dword [ebp - 0x274]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
imul edx, ecx, 5
mov eax, dword [ebp - 0x274]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
shl edx, 2
mov eax, dword [ebp - 0x274]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
imul eax, edx, 3
mov ecx, dword [ebp - 0x274]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 0x274]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x274]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x274]
movzx eax, byte [edx + ecx + 0x2c]
push eax
push str._02X__02X__02X__02X__02X__02X__02X__02X
lea ecx, [ebp - 0x218]
push ecx
call fcn.10020ca0
add esp, 0x28
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x258]
call fcn.10020a70
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x29c], ecx
mov edx, dword [ebp - 0x29c]
add edx, 2
mov dword [ebp - 0x2c8], edx
mov eax, dword [ebp - 0x29c]
mov cx, word [eax]
mov word [ebp - 0x2ae], cx
add dword [ebp - 0x29c], 2
cmp word [ebp - 0x2ae], 0
jne 0x100205a8
mov edx, dword [ebp - 0x29c]
sub edx, dword [ebp - 0x2c8]
sar edx, 1
mov dword [ebp - 0x2cc], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x2cc]
push eax
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x24]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x2b8]
add eax, 1
push eax
call fcn.100875b8
add esp, 4
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp - 0x284], ecx
mov edx, dword [ebp - 0x2b8]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x284]
push eax
call fcn.1008b830
add esp, 0xc
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x2a0], edx
mov eax, dword [ebp - 0x2a0]
add eax, 2
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2a0]
mov dx, word [ecx]
mov word [ebp - 0x2b0], dx
add dword [ebp - 0x2a0], 2
cmp word [ebp - 0x2b0], 0
jne 0x10020663
mov eax, dword [ebp - 0x2a0]
sub eax, dword [ebp - 0x2e4]
sar eax, 1
mov dword [ebp - 0x2d8], eax
push 0
push 0
mov ecx, dword [ebp - 0x2b8]
push ecx
mov edx, dword [ebp - 0x284]
push edx
mov eax, dword [ebp - 0x2d8]
push eax
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x24]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x284]
push eax
lea ecx, [ebp - 0x240]
call fcn.10020a70
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x224], edx
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x2c4], edx
push 1
mov eax, dword [ebp - 0x2c4]
push eax
call fcn.10087038
add esp, 8
cmp dword [ebp - 0x2c4], 0
jne 0x10020727
mov dword [ebp - 0x2dc], 0
jmp 0x1002073d
mov dword [ebp - 0x284], 0x8123
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x2dc], ecx
lea edx, [ebp - 0x258]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10020a30
nop
mov dword [ebp - 0x278], 0
jmp 0x10020768
mov eax, dword [ebp - 0x278]
add eax, 1
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0x10
jae 0x10020773
jmp 0x10020759
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x8c]
mov dword [ebp - 0x2a4], edx
cmp dword [ebp - 0x2a4], 0
je 0x100207c3
mov dword [ebp - 0x278], 0
jmp 0x100207a9
mov eax, dword [ebp - 0x278]
add eax, 1
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x2a4], 0
je 0x100207c3
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x2a4], edx
jmp 0x1002079a
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x274], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.10020060
nop
jmp 0x10020257
jmp 0x10020802
push 4
push str.:1:_d
lea edx, [ebp - 0x114]
push edx
call fcn.10020ca0
add esp, 0xc
cmp dword [ebp - 0x27c], 0
je 0x10020822
mov eax, dword [ebp - 0x27c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
nop
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x2a8], 0x100cf856
mov edx, dword [ebp - 0x2a8]
mov al, byte [edx]
mov byte [ebp - 0x27e], al
mov ecx, dword [ebp - 0x2ac]
cmp al, byte [ecx]
jne 0x10020896
cmp byte [ebp - 0x27e], 0
je 0x1002088a
mov edx, dword [ebp - 0x2a8]
mov al, byte [edx + 1]
mov byte [ebp - 0x27d], al
mov ecx, dword [ebp - 0x2ac]
cmp al, byte [ecx + 1]
jne 0x10020896
add dword [ebp - 0x2a8], 2
add dword [ebp - 0x2ac], 2
cmp byte [ebp - 0x27d], 0
jne 0x10020838
mov dword [ebp - 0x2bc], 0
jmp 0x100208a1
sbb edx, edx
or edx, 1
mov dword [ebp - 0x2bc], edx
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0
je 0x10020913
push 4
push str.:2:_d
lea ecx, [ebp - 0x114]
push ecx
call fcn.10020ca0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.100209b0
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x270]
push eax
call fcn.1001fc20
add esp, 8
lea ecx, [ebp - 0x270]
call fcn.100045f0
push eax
push 0x100d298c
lea ecx, [ebp - 0x114]
push ecx
call fcn.10020ca0
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.10004710
nop
lea edx, [ebp - 0x114]
push edx
mov ecx, dword [ebp + 8]
call fcn.10004790
mov eax, dword [ebp - 0x2c0]
or eax, 1
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008702a
mov esp, ebp
pop ebp
ret