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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x645ab6
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x6a56e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c4], 0
mov al, byte [0x6809ff]
mov byte [ebp - 0x114], al
push 0x103
push 0
lea ecx, [ebp - 0x113]
push ecx
call fcn.00619ac0
add esp, 0xc
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x288], 0x6f
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x2c8], 0x10
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x270], 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 - 0x270], 0x3a98
mov edx, dword [ebp - 0x270]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jne 0x414170
jmp 0x4141f6
lea eax, [ebp - 0x270]
push eax
mov ecx, dword [ebp - 0x27c]
push ecx
push 0
mov edx, dword [ebp - 0x2c8]
push edx
mov eax, dword [ebp - 0x2cc]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0x6f
jne 0x4141cf
mov ecx, dword [ebp - 0x27c]
push ecx
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 0x4141d1
jmp 0x4141f6
mov edx, dword [ebp - 0x2b4]
add edx, 1
mov dword [ebp - 0x2b4], edx
cmp dword [ebp - 0x288], 0x6f
jne 0x4141f6
cmp dword [ebp - 0x2b4], 3
jb 0x414146
cmp dword [ebp - 0x288], 0
jne 0x4147a1
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
je 0x41479f
lea ecx, [ebp - 0x254]
call fcn.00413560
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x28c], edx
cmp dword [ebp - 0x28c], 0
je 0x41427b
mov dword [ebp - 0x278], 0
jmp 0x414261
mov eax, dword [ebp - 0x278]
add eax, 1
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x28c], 0
je 0x41427b
mov ecx, dword [ebp - 0x28c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x28c], edx
jmp 0x414252
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x290], ecx
cmp dword [ebp - 0x290], 0
je 0x4142c8
mov dword [ebp - 0x278], 0
jmp 0x4142ae
mov edx, dword [ebp - 0x278]
add edx, 1
mov dword [ebp - 0x278], edx
cmp dword [ebp - 0x290], 0
je 0x4142c8
mov eax, dword [ebp - 0x290]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x290], ecx
jmp 0x41429f
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x294], eax
cmp dword [ebp - 0x294], 0
je 0x414315
mov dword [ebp - 0x278], 0
jmp 0x4142fb
mov ecx, dword [ebp - 0x278]
add ecx, 1
mov dword [ebp - 0x278], ecx
cmp dword [ebp - 0x294], 0
je 0x414315
mov edx, dword [ebp - 0x294]
mov eax, dword [edx + 8]
mov dword [ebp - 0x294], eax
jmp 0x4142ec
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x298], edx
cmp dword [ebp - 0x298], 0
je 0x414362
mov dword [ebp - 0x278], 0
jmp 0x414348
mov eax, dword [ebp - 0x278]
add eax, 1
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x298], 0
je 0x414362
mov ecx, dword [ebp - 0x298]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x298], edx
jmp 0x414339
mov eax, dword [ebp - 0x274]
cmp dword [eax + 0xc], 0
je 0x414703
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 0xc]
movsx edx, byte [ecx + edx]
test edx, edx
je 0x414703
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 0xc]
push ecx
lea ecx, [ebp - 0x308]
call fcn.00404cb0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x308]
push edx
call fcn.004139a0
add esp, 4
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x308]
call fcn.00404be0
mov eax, dword [ebp - 0x274]
cmp dword [eax + 0x34], 6
jne 0x41446c
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
lea ecx, [ebp - 0x218]
push ecx
call fcn.004134a0
add esp, 0x20
jmp 0x41452f
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0x34], 8
jne 0x41452f
mov eax, 1
imul ecx, eax, 7
mov edx, dword [ebp - 0x274]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
imul edx, ecx, 6
mov eax, dword [ebp - 0x274]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
imul eax, edx, 5
mov ecx, dword [ebp - 0x274]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
shl eax, 2
mov ecx, dword [ebp - 0x274]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
imul ecx, eax, 3
mov edx, dword [ebp - 0x274]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
shl ecx, 1
mov edx, dword [ebp - 0x274]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x274]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x274]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
push str._02X__02X__02X__02X__02X__02X__02X__02X
lea edx, [ebp - 0x218]
push edx
call fcn.004134a0
add esp, 0x28
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x254]
call fcn.00406770
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x29c], edx
mov eax, dword [ebp - 0x29c]
add eax, 2
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x29c]
mov dx, word [ecx]
mov word [ebp - 0x2ae], dx
add dword [ebp - 0x29c], 2
cmp word [ebp - 0x2ae], 0
jne 0x41455f
mov eax, dword [ebp - 0x29c]
sub eax, dword [ebp - 0x2d0]
sar eax, 1
mov dword [ebp - 0x2d4], eax
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x2d4]
push ecx
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x24]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2b8]
add ecx, 1
push ecx
call fcn.00615dd1
add esp, 4
mov dword [ebp - 0x2d8], eax
mov edx, dword [ebp - 0x2d8]
mov dword [ebp - 0x284], edx
mov eax, dword [ebp - 0x2b8]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x284]
push ecx
call fcn.00619ac0
add esp, 0xc
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x2a0]
add ecx, 2
mov dword [ebp - 0x2dc], ecx
mov edx, dword [ebp - 0x2a0]
mov ax, word [edx]
mov word [ebp - 0x2b0], ax
add dword [ebp - 0x2a0], 2
cmp word [ebp - 0x2b0], 0
jne 0x41461a
mov ecx, dword [ebp - 0x2a0]
sub ecx, dword [ebp - 0x2dc]
sar ecx, 1
mov dword [ebp - 0x2e0], ecx
push 0
push 0
mov edx, dword [ebp - 0x2b8]
push edx
mov eax, dword [ebp - 0x284]
push eax
mov ecx, dword [ebp - 0x2e0]
push ecx
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x24]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.00406770
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x2bc], eax
push 1
mov ecx, dword [ebp - 0x2bc]
push ecx
call fcn.006158d6
add esp, 8
cmp dword [ebp - 0x2bc], 0
jne 0x4146de
mov dword [ebp - 0x2e4], 0
jmp 0x4146f4
mov dword [ebp - 0x284], 0x8123
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x2e4], edx
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004149c0
mov dword [ebp - 0x278], 0
jmp 0x41471e
mov ecx, dword [ebp - 0x278]
add ecx, 1
mov dword [ebp - 0x278], ecx
cmp dword [ebp - 0x278], 0x10
jae 0x414729
jmp 0x41470f
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x8c]
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0
je 0x414779
mov dword [ebp - 0x278], 0
jmp 0x41475f
mov ecx, dword [ebp - 0x278]
add ecx, 1
mov dword [ebp - 0x278], ecx
cmp dword [ebp - 0x2a4], 0
je 0x414779
mov edx, dword [ebp - 0x2a4]
mov eax, dword [edx + 8]
mov dword [ebp - 0x2a4], eax
jmp 0x414750
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x274], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00414030
jmp 0x41420f
jmp 0x4147b7
push 4
push str.:1:_d
lea eax, [ebp - 0x114]
push eax
call fcn.004134a0
add esp, 0xc
cmp dword [ebp - 0x27c], 0
je 0x4147d6
mov ecx, dword [ebp - 0x27c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea edx, [ebp - 0x114]
mov dword [ebp - 0x2a8], edx
mov dword [ebp - 0x2ac], 0x680a5a
mov eax, dword [ebp - 0x2ac]
mov cl, byte [eax]
mov byte [ebp - 0x27e], cl
mov edx, dword [ebp - 0x2a8]
cmp cl, byte [edx]
jne 0x41484a
cmp byte [ebp - 0x27e], 0
je 0x41483e
mov eax, dword [ebp - 0x2ac]
mov cl, byte [eax + 1]
mov byte [ebp - 0x27d], cl
mov edx, dword [ebp - 0x2a8]
cmp cl, byte [edx + 1]
jne 0x41484a
add dword [ebp - 0x2ac], 2
add dword [ebp - 0x2a8], 2
cmp byte [ebp - 0x27d], 0
jne 0x4147ec
mov dword [ebp - 0x2c0], 0
jmp 0x414855
sbb eax, eax
or eax, 1
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2e8], ecx
cmp dword [ebp - 0x2e8], 0
je 0x4148c6
push 4
push str.:2:_d
lea edx, [ebp - 0x114]
push edx
call fcn.004134a0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.00414940
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x26c]
push ecx
call fcn.00413bf0
add esp, 8
lea ecx, [ebp - 0x26c]
call fcn.00404a70
push eax
push 0x681c70
lea edx, [ebp - 0x114]
push edx
call fcn.004134a0
add esp, 0xc
lea ecx, [ebp - 0x26c]
call fcn.00404be0
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404cb0
mov ecx, dword [ebp - 0x2c4]
or ecx, 1
mov dword [ebp - 0x2c4], ecx
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.006158c5
mov esp, ebp
pop ebp
ret