Function at 0x42ee90
Capabilities:
Convert ip address from string
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5225a8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5640a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x6c], ebx
cmp byte [0x56eab0], 0
mov dword [ebp - 0x7c], 0
jne 0x42f0bd
lea eax, [ebp - 0x78]
push eax
push str.0.0.0.0
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0
push eax
push dword [ebp - 0x78]
call dword [sym.imp.IPHLPAPI.DLL_GetBestInterface]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
mov dword [ebp - 4], 0
push 0x288
mov dword [ebp - 0x70], 0x288
call fcn.005033e7
mov edi, eax
add esp, 4
test edi, edi
je 0x42f0a8
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x70]
push eax
push edi
call esi
cmp eax, 0x6f
jne 0x42ef60
push edi
call fcn.004fe1ff
add esp, 4
push dword [ebp - 0x70]
call fcn.005033e7
mov edi, eax
add esp, 4
test edi, edi
je 0x42f0a8
lea eax, [ebp - 0x70]
push eax
push edi
call esi
test eax, eax
jne 0x42f0a8
mov esi, edi
test edi, edi
je 0x42f0a8
mov eax, dword [ebp - 0x74]
nop dword [eax]
cmp dword [esi + 0x19c], eax
je 0x42ef93
mov esi, dword [esi]
test esi, esi
jne 0x42ef80
jmp 0x42f0a8
lea edx, [esi + 0x1b0]
mov byte [0x56eab0], 1
cmp byte [edx], 0
jne 0x42efa9
xor ecx, ecx
jmp 0x42efbb
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x6c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42efb1
sub ecx, dword [ebp - 0x6c]
push ecx
push edx
mov ecx, 0x56eab4
call fcn.004081f0
cmp byte [esi + 0x1c0], 0
lea edx, [esi + 0x1c0]
jne 0x42efda
xor ecx, ecx
jmp 0x42efec
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x6c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42efe2
sub ecx, dword [ebp - 0x6c]
push ecx
push edx
mov ecx, 0x56eae4
call fcn.004081f0
cmp byte [esi + 0x1d8], 0
lea edx, [esi + 0x1d8]
jne 0x42f00b
xor ecx, ecx
jmp 0x42f01d
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x6c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42f013
sub ecx, dword [ebp - 0x6c]
push ecx
push edx
mov ecx, 0x56eafc
call fcn.004081f0
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.004fb530
movzx eax, byte [esi + 0x199]
add esp, 0xc
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X__02X__02X__02X__02X__02X
lea eax, [ebp - 0x50]
push 0x40
push eax
call fcn.00426dc0
add esp, 0x24
cmp byte [ebp - 0x50], 0
jne 0x42f086
xor ecx, ecx
jmp 0x42f099
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42f090
sub ecx, edx
push ecx
lea eax, [ebp - 0x50]
mov ecx, 0x56eacc
push eax
call fcn.004081f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x42f0bb
push edi
call fcn.004fe1ff
add esp, 4
mov ecx, ebx
push 0x56eab0
call fcn.0042f0f0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1de4
mov esp, ebp
pop ebp
ret