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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f57db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2f4
mov dword [ebp - 0x60], 0
mov ecx, 0x5365be
call fcn.004c6d76
mov al, byte [0x4fdc4d]
mov byte [ebp - 0x1fc], al
push 0x103
push 0
lea ecx, [ebp - 0x1fb]
push ecx
call fcn.004ca3c0
add esp, 0xc
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x20], 0x6f
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x64], 0x10
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x50], 0x3a98
mov edx, dword [ebp - 0x50]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x415a44
jmp 0x415a9f
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6f
jne 0x415a88
mov ecx, dword [ebp - 0x18]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x6f
jmp 0x415a8a
jmp 0x415a9f
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x20], 0x6f
jne 0x415a9f
cmp dword [ebp - 0x54], 3
jb 0x415a26
cmp dword [ebp - 0x20], 0
jne 0x415ec2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x415ec0
lea ecx, [ebp - 0xc8]
call fcn.00415530
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
je 0x415afd
mov dword [ebp - 0x14], 0
jmp 0x415aec
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x24], 0
je 0x415afd
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x24], edx
jmp 0x415ae3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
je 0x415b2f
mov dword [ebp - 0x14], 0
jmp 0x415b1e
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x28], 0
je 0x415b2f
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x28], ecx
jmp 0x415b15
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x415b61
mov dword [ebp - 0x14], 0
jmp 0x415b50
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x2c], 0
je 0x415b61
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
mov dword [ebp - 0x2c], eax
jmp 0x415b47
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
je 0x415b93
mov dword [ebp - 0x14], 0
jmp 0x415b82
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x30], 0
je 0x415b93
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x30], edx
jmp 0x415b79
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x415e51
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
movsx edx, byte [ecx + edx]
test edx, edx
je 0x415e51
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
lea ecx, [ebp - 0xe0]
call fcn.004034f0
mov byte [ebp - 4], 1
lea edx, [ebp - 0xe0]
push edx
call fcn.00416370
add esp, 4
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe0]
call fcn.004037a0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x34], 6
jne 0x415c7b
mov ecx, 1
imul edx, ecx, 5
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
shl edx, 2
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
imul eax, edx, 3
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + ecx + 0x2c]
push eax
push str._02X__02X__02X__02X__02X__02X
lea ecx, [ebp - 0x300]
push ecx
call fcn.004152e0
add esp, 0x20
jmp 0x415d23
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x34], 8
jne 0x415d23
mov eax, 1
imul ecx, eax, 7
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
imul edx, ecx, 6
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
imul eax, edx, 5
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
shl eax, 2
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
imul ecx, eax, 3
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
shl ecx, 1
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
push str._02X__02X__02X__02X__02X__02X__02X__02X
lea edx, [ebp - 0x300]
push edx
call fcn.004152e0
add esp, 0x28
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp - 0xc8]
call fcn.004054a0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
add eax, 2
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx]
mov word [ebp - 0x4a], dx
add dword [ebp - 0x34], 2
cmp word [ebp - 0x4a], 0
jne 0x415d47
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x6c]
sar eax, 1
mov dword [ebp - 0x70], eax
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
add ecx, 1
push ecx
call fcn.004c6dfb
add esp, 4
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x58]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004ca3c0
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x38]
mov ax, word [edx]
mov word [ebp - 0x4c], ax
add dword [ebp - 0x38], 2
cmp word [ebp - 0x4c], 0
jne 0x415dc6
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x78]
sar ecx, 1
mov dword [ebp - 0x7c], ecx
push 0
push 0
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.004054a0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x80], eax
push 1
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004c6d68
add esp, 8
lea edx, [ebp - 0xc8]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00416ba0
mov dword [ebp - 0x14], 0
jmp 0x415e63
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x10
jae 0x415e6b
jmp 0x415e5a
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x8c]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
je 0x415ea0
mov dword [ebp - 0x14], 0
jmp 0x415e8f
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x3c], 0
je 0x415ea0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x3c], edx
jmp 0x415e86
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.00415610
jmp 0x415aaf
jmp 0x415ed8
push 4
push str.:1:_d
lea edx, [ebp - 0x1fc]
push edx
call fcn.004152e0
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x415ef1
mov eax, dword [ebp - 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [ebp - 0x1fc]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0x4fdc4e
mov edx, dword [ebp - 0x40]
mov al, byte [edx]
mov byte [ebp - 0x19], al
mov ecx, dword [ebp - 0x44]
cmp al, byte [ecx]
jne 0x415f3e
cmp byte [ebp - 0x19], 0
je 0x415f35
mov edx, dword [ebp - 0x40]
mov al, byte [edx + 1]
mov byte [ebp - 0x1a], al
mov ecx, dword [ebp - 0x44]
cmp al, byte [ecx + 1]
jne 0x415f3e
add dword [ebp - 0x40], 2
add dword [ebp - 0x44], 2
cmp byte [ebp - 0x1a], 0
jne 0x415f01
mov dword [ebp - 0x5c], 0
jmp 0x415f46
sbb edx, edx
or edx, 1
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x415fb4
push 4
push str.:2:_d
lea ecx, [ebp - 0x1fc]
push ecx
call fcn.004152e0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.00416a50
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xf8]
push eax
call fcn.00415fe0
add esp, 8
lea ecx, [ebp - 0xf8]
call fcn.00404c40
push eax
push 0x4fdd78
lea ecx, [ebp - 0x1fc]
push ecx
call fcn.004152e0
add esp, 0xc
lea ecx, [ebp - 0xf8]
call fcn.004037a0
lea edx, [ebp - 0x1fc]
push edx
mov ecx, dword [ebp + 8]
call fcn.004034f0
mov eax, dword [ebp - 0x60]
or eax, 1
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret