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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push str.Ws2_32.dll
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x2a0], esi
test esi, esi
je 0x4c5ac7
push ebx
push edi
push str.inet_ntop
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
lea edx, [ebp - 0x298]
push edx
push 0
push 0
push 0
push 0
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x298], 0
call ebx
mov edi, dword [ebp - 0x298]
test edi, edi
jne 0x4c5643
push esi
jmp 0x4c5abf
push edi
call fcn.004e3dbb
push edi
mov esi, eax
push 0
push esi
mov dword [ebp - 0x2a4], esi
call fcn.004e7d90
add esp, 0x10
lea eax, [ebp - 0x298]
push eax
push esi
push 0
push 2
push 0
call ebx
test eax, eax
je 0x4c5695
mov ecx, dword [ebp - 0x298]
push ecx
push 0
push esi
call fcn.004e7d90
push esi
call fcn.004e3d81
mov edx, dword [ebp - 0x2a0]
add esp, 0x10
push edx
jmp 0x4c5abf
mov edi, 0x3f
push edi
lea eax, [ebp - 0x43]
push 0
push eax
mov byte [ebp - 0x44], 0
call fcn.004e7d90
xor ecx, ecx
push 0x7e
push ecx
lea edx, [ebp - 0x102]
push edx
mov word [ebp - 0x104], cx
call fcn.004e7d90
xor eax, eax
push 0x7e
push eax
lea ecx, [ebp - 0x182]
push ecx
mov word [ebp - 0x184], ax
call fcn.004e7d90
add esp, 0x24
call fcn.004bc850
mov ebx, esi
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x288], ebx
test esi, esi
je 0x4c5aa0
jmp 0x4c5706
mov ebx, dword [ebp - 0x288]
cmp dword [ebx + 0x44], 1
jne 0x4c5a8a
cmp dword [ebx + 0x168], edi
jbe 0x4c5720
test eax, eax
jne 0x4c5a8a
cmp dword [ebx + 0x34], edi
ja 0x4c5a8a
test eax, eax
je 0x4c57bb
push 0x80
lea edx, [ebp - 0x104]
push 0
push edx
call fcn.004e7d90
xor edi, edi
add esp, 0xc
cmp dword [ebx + 0x168], edi
jbe 0x4c5797
lea eax, [ebp - 0x104]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c5760
movzx ecx, byte [ebx + edi + 0xe4]
sub eax, edx
push ecx
sar eax, 1
lea edx, [ebp + eax*2 - 0x104]
push str._02X_
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
inc edi
add esp, 0xc
cmp edi, dword [ebx + 0x168]
jb 0x4c5751
lea eax, [ebp - 0x104]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c57a0
sub eax, edx
sar eax, 1
je 0x4c57bb
xor ecx, ecx
mov word [ebp + eax*2 - 0x106], cx
push 0x80
lea edx, [ebp - 0x184]
push 0
push edx
call fcn.004e7d90
xor edi, edi
add esp, 0xc
cmp dword [ebx + 0x34], edi
jbe 0x4c5821
jmp 0x4c57e0
lea eax, [ebp - 0x184]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c57f0
movzx ecx, byte [ebx + edi + 0x2c]
sub eax, edx
push ecx
sar eax, 1
lea edx, [ebp + eax*2 - 0x184]
push str._02X:
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
inc edi
add esp, 0xc
cmp edi, dword [ebx + 0x34]
jb 0x4c57e0
lea eax, [ebp - 0x184]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c5830
sub eax, edx
sar eax, 1
je 0x4c584b
xor ecx, ecx
mov word [ebp + eax*2 - 0x186], cx
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x28c], esi
test esi, esi
je 0x4c5a6e
jmp 0x4c5866
mov esi, dword [ebp - 0x28c]
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x29c], 0xdf
test edi, edi
je 0x4c5a5d
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.004e7d90
add esp, 0xc
cmp word [edi], 0x17
jne 0x4c58b5
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x4c58ce
push 0x40
lea ecx, [ebp - 0x44]
push ecx
add edi, 8
push edi
push 0x17
mov dword [ebp - 0x29c], 0xfb
call eax
jmp 0x4c58ce
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
lea edx, [ebp - 0x44]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4c58c4
lea eax, [ebp - 0x44]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c58d4
sub eax, edx
je 0x4c5a5d
lea eax, [ebp - 0x44]
push str.127.0.0.1
push eax
call fcn.004f7145
add esp, 8
test eax, eax
je 0x4c5a5d
lea ecx, [ebp - 0x44]
push 0x5288c8
push ecx
call fcn.004f7145
add esp, 8
test eax, eax
je 0x4c5a5d
lea edx, [ebp - 0x44]
push 0x527210
push edx
call fcn.004f7145
add esp, 8
test eax, eax
je 0x4c5a5d
xor eax, eax
push 0x7e
push eax
lea ecx, [ebp - 0x202]
push ecx
mov word [ebp - 0x204], ax
call fcn.004e7d90
lea edx, [ebp - 0x204]
push edx
lea ebx, [ebp - 0x44]
call fcn.004bb6e0
mov eax, dword [ebp - 0x29c]
mov esi, dword [ebp - 0x290]
mov ebx, dword [ebp - 0x294]
push eax
lea edi, [ebp - 0x204]
call fcn.004c0b90
add esp, 0x14
cmp dword [ebp - 0x29c], 0xdf
jne 0x4c5a3e
push 0xd9
lea edi, [ebp - 0x184]
call fcn.004c0b90
mov ecx, dword [ebp - 0x288]
mov edi, dword [ecx + 0x24]
push 0xdc
call fcn.004c0b90
push 0x3f
lea edx, [ebp - 0x83]
push 0
push edx
mov byte [ebp - 0x84], 0
call fcn.004e7d90
mov eax, dword [ebp - 0x288]
add esp, 0x14
test byte [eax + 0x38], 4
je 0x4c59e1
lea ecx, [ebp - 0x44]
push ecx
push str._s__DHCP_
lea edx, [ebp - 0x84]
push edx
jmp 0x4c59f1
lea eax, [ebp - 0x44]
push eax
push str._s__Fixed_
lea ecx, [ebp - 0x84]
push ecx
call fcn.004e5066
add esp, 0xc
xor edx, edx
push 0x7e
push edx
lea eax, [ebp - 0x282]
push eax
mov word [ebp - 0x284], dx
call fcn.004e7d90
lea ecx, [ebp - 0x284]
push ecx
lea ebx, [ebp - 0x84]
call fcn.004bb6e0
mov ebx, dword [ebp - 0x294]
push 0xf8
lea edi, [ebp - 0x284]
call fcn.004c0b90
add esp, 0x14
jmp 0x4c5a51
push 0xfa
lea edi, [ebp - 0x104]
call fcn.004c0b90
add esp, 4
mov esi, dword [ebp - 0x28c]
mov ebx, dword [ebp - 0x288]
mov edx, dword [esi + 8]
mov dword [ebp - 0x28c], edx
test edx, edx
jne 0x4c5860
mov eax, dword [ebx + 8]
mov esi, dword [ebp - 0x2a4]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x2a8]
mov edi, 0x3f
jmp 0x4c5a93
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x288], ecx
cmp dword [ebp - 0x288], 0
jne 0x4c5700
mov edx, dword [ebp - 0x298]
push edx
push 0
push esi
call fcn.004e7d90
push esi
call fcn.004e3d81
mov eax, dword [ebp - 0x2a0]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004e3946
mov esp, ebp
pop ebp
ret