Function at 0x4e6940
Capabilities:
Get local ipv4 addresses
Get mac address on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x598f52
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x615720]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x615720]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov eax, dword [0x61eea4]
test al, 1
jne 0x4e69ba
or eax, 1
mov dword [0x61eee4], 7
mov dword [0x61eea4], eax
xor eax, eax
push 0x5a3970
mov dword [0x61eee0], 0
mov word [0x61eed0], ax
call fcn.0055bfbc
add esp, 4
cmp dword [0x61eee0], 0
jne 0x4e6e18
push 0x288
mov dword [esp + 0x34], 0x288
call fcn.0055aea1
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
add esp, 4
mov edi, eax
lea eax, [esp + 0x30]
push eax
push edi
call esi
cmp eax, 0x6f
jne 0x4e6a0b
push edi
call fcn.0055f5b3
push dword [esp + 0x34]
call fcn.0055aea1
add esp, 8
mov dword [esp + 0x10], eax
mov edi, eax
jmp 0x4e6a0f
mov dword [esp + 0x10], edi
lea eax, [esp + 0x30]
push eax
push edi
call esi
test eax, eax
jne 0x4e6e07
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], eax
mov word [esp + 0x74], ax
xorps xmm0, xmm0
mov dword [esp + 0x1b8], eax
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call fcn.004ee0e0
mov dword [esp + 0x34], eax
mov byte [esp + 0x1b8], 1
nop
cmp dword [edi + 0x1a0], 6
jne 0x4e6da1
push 0
push 0x5f71bc
lea ecx, [esp + 0x7c]
call fcn.004e9ac0
mov eax, dword [edi + 0x190]
xor esi, esi
test eax, eax
jle 0x4e6b30
lea ecx, [ecx]
xor ecx, ecx
dec eax
xor edx, edx
mov word [esp + 0x8c], cx
cmp esi, eax
mov dword [esp + 0x96], ecx
movzx eax, byte [edi + esi + 0x194]
xorps xmm0, xmm0
mov word [esp + 0x9a], cx
mov ecx, 0x2d
cmove ecx, edx
movq qword [esp + 0x8e], xmm0
push ecx
push eax
push 0x5f752c
lea eax, [esp + 0x98]
push 8
push eax
call fcn.0056092b
add esp, 0x14
cmp word [esp + 0x8c], 0
jne 0x4e6af2
xor eax, eax
jmp 0x4e6b0f
lea eax, [esp + 0x8c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e6b00
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x7c]
call fcn.004ecbb0
mov eax, dword [edi + 0x190]
inc esi
cmp esi, eax
jl 0x4e6a90
push 0xc
xor eax, eax
mov dword [esp + 0x5c], 7
push str.000000000000
lea ecx, [esp + 0x4c]
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
call fcn.004e9ac0
mov byte [esp + 0x1b8], 2
lea eax, [esp + 0x14]
push dword [esp + 0x54]
lea ecx, [esp + 0x78]
push 0
push eax
call fcn.004e9cd0
mov byte [esp + 0x1b8], 3
lea ecx, [esp + 0x44]
cmp dword [esp + 0x58], 8
push dword [esp + 0x54]
cmovae ecx, dword [esp + 0x48]
push ecx
push dword [eax + 0x10]
mov ecx, eax
push 0
call fcn.004ebec0
test eax, eax
mov byte [esp + 0x1b8], 2
setne bl
cmp dword [esp + 0x28], 8
jb 0x4e6bba
push dword [esp + 0x14]
call fcn.0055be19
add esp, 4
test bl, bl
je 0x4e6d86
push 0x50
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea ecx, [esp + 0x64]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
call fcn.004e91b0
lea esi, [edi + 8]
mov byte [esp + 0x1b8], 4
cmp byte [esi], 0
jne 0x4e6bfb
xor ecx, ecx
jmp 0x4e6c09
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e6c00
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x64]
call fcn.004eae10
push 0xb
push str.Connection
lea ecx, [esp + 0x64]
call fcn.004eae10
push 0x103
lea eax, [esp + 0xa1]
mov dword [esp + 0x30], 0
push 0
push eax
mov dword [esp + 0x48], 0
mov byte [esp + 0xa8], 0
call fcn.0055eb60
add esp, 0xc
mov dword [esp + 0x40], 0x104
cmp dword [esp + 0x70], 0x10
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x5c]
cmovae eax, dword [esp + 0x5c]
push ecx
push 0x20019
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4e6d61
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x44]
push eax
push 0
push str.PnPInstanceId
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4e6d61
push 3
lea eax, [esp + 0xa0]
push 0x5f75c8
push eax
call fcn.00561f4a
add esp, 0xc
test eax, eax
je 0x4e6cea
push 3
lea eax, [esp + 0xa0]
push 0x5f75cc
push eax
call fcn.00561f4a
add esp, 0xc
test eax, eax
jne 0x4e6d61
cmp byte [esi], 0
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jne 0x4e6d08
xor ecx, ecx
jmp 0x4e6d19
mov ecx, esi
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e6d10
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.004e91b0
lea eax, [esp + 0x14]
mov byte [esp + 0x1b8], 5
push eax
lea ecx, [esp + 0x38]
call fcn.004ea270
lea ecx, [esp + 0x74]
cmp eax, ecx
je 0x4e6d4e
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.004ebc00
cmp dword [esp + 0x28], 0x10
jb 0x4e6d61
push dword [esp + 0x14]
call fcn.0055be19
add esp, 4
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x2c], 0
jb 0x4e6d86
push dword [esp + 0x5c]
call fcn.0055be19
add esp, 4
mov byte [esp + 0x1b8], 1
cmp dword [esp + 0x58], 8
jb 0x4e6da1
push dword [esp + 0x44]
call fcn.0055be19
add esp, 4
mov edi, dword [edi]
test edi, edi
jne 0x4e6a60
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x38], edi
je 0x4e6dd4
mov ecx, dword [eax]
add ecx, 0x28
cmp ecx, 0x61eed0
je 0x4e6dd4
push 0xffffffffffffffff
push edi
push ecx
mov ecx, 0x61eed0
call fcn.004ebc00
mov eax, dword [esp + 0x34]
push eax
push dword [eax]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x40]
call fcn.004ed260
push dword [esp + 0x34]
call fcn.0055be19
add esp, 4
cmp dword [esp + 0x88], 8
jb 0x4e6e07
push dword [esp + 0x74]
call fcn.0055be19
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e6e18
push eax
call fcn.0055be19
add esp, 4
mov eax, 0x61eed0
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.0055e48d
mov esp, ebp
pop ebp
ret