Function at 0x4e68f0
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 0x572142
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x5e56f0]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x5e56f0]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov eax, dword [0x5eb4c8]
test al, 1
jne 0x4e696a
or eax, 1
mov dword [0x5eb4fc], 7
mov dword [0x5eb4c8], eax
xor eax, eax
push 0x57a510
mov dword [0x5eb4f8], 0
mov word [0x5eb4e8], ax
call fcn.0054a5e9
add esp, 4
push 0x288
mov dword [esp + 0x34], 0x288
call fcn.00549ae9
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 0x4e69ae
push edi
call fcn.0054d402
push dword [esp + 0x34]
call fcn.00549ae9
add esp, 8
mov dword [esp + 0x10], eax
mov edi, eax
jmp 0x4e69b2
mov dword [esp + 0x10], edi
lea eax, [esp + 0x30]
push eax
push edi
call esi
test eax, eax
jne 0x4e6da7
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.004ee050
mov dword [esp + 0x34], eax
mov byte [esp + 0x1b8], 1
cmp dword [edi + 0x1a0], 6
jne 0x4e6d41
push 0
push 0x5cc174
mov ecx, 0x5eb4e8
call fcn.004e9ab0
mov eax, dword [edi + 0x190]
xor esi, esi
test eax, eax
jle 0x4e6ad1
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 0x5cc4c8
lea eax, [esp + 0x98]
push 8
push eax
call fcn.0054cadd
add esp, 0x14
cmp word [esp + 0x8c], 0
jne 0x4e6a92
xor eax, eax
jmp 0x4e6aaf
lea eax, [esp + 0x8c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e6aa0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
mov ecx, 0x5eb4e8
push eax
call fcn.004ecbc0
mov eax, dword [edi + 0x190]
inc esi
cmp esi, eax
jl 0x4e6a30
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.004e9ab0
mov byte [esp + 0x1b8], 2
lea eax, [esp + 0x14]
push dword [esp + 0x54]
mov ecx, 0x5eb4e8
push 0
push eax
call fcn.004e9ce0
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.004ebed0
test eax, eax
mov byte [esp + 0x1b8], 2
setne bl
cmp dword [esp + 0x28], 8
jb 0x4e6b5c
push dword [esp + 0x14]
call fcn.0054a379
add esp, 4
test bl, bl
je 0x4e6d26
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.004e9180
lea esi, [edi + 8]
mov byte [esp + 0x1b8], 4
cmp byte [esi], 0
jne 0x4e6b9d
xor ecx, ecx
jmp 0x4e6bab
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e6ba2
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x64]
call fcn.004eae50
push 0xb
push str.Connection
lea ecx, [esp + 0x64]
call fcn.004eae50
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.0054cf60
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 0x4e6d01
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 0x4e6d01
push 3
lea eax, [esp + 0xa0]
push 0x5cc560
push eax
call fcn.0054f651
add esp, 0xc
test eax, eax
je 0x4e6c8c
push 3
lea eax, [esp + 0xa0]
push 0x5cc564
push eax
call fcn.0054f651
add esp, 0xc
test eax, eax
jne 0x4e6d01
cmp byte [esi], 0
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jne 0x4e6caa
xor ecx, ecx
jmp 0x4e6cb9
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e6cb0
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.004e9180
lea eax, [esp + 0x14]
mov byte [esp + 0x1b8], 5
push eax
lea ecx, [esp + 0x38]
call fcn.004ea2b0
lea ecx, [esp + 0x74]
cmp eax, ecx
je 0x4e6cee
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.004ebc10
cmp dword [esp + 0x28], 0x10
jb 0x4e6d01
push dword [esp + 0x14]
call fcn.0054a379
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 0x4e6d26
push dword [esp + 0x5c]
call fcn.0054a379
add esp, 4
mov byte [esp + 0x1b8], 1
cmp dword [esp + 0x58], 8
jb 0x4e6d41
push dword [esp + 0x44]
call fcn.0054a379
add esp, 4
mov edi, dword [edi]
test edi, edi
jne 0x4e6a02
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x38], edi
je 0x4e6d74
mov ecx, dword [eax]
add ecx, 0x28
cmp ecx, 0x5eb4e8
je 0x4e6d74
push 0xffffffffffffffff
push edi
push ecx
mov ecx, 0x5eb4e8
call fcn.004ebc10
mov eax, dword [esp + 0x34]
push eax
push dword [eax]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x40]
call fcn.004ed270
push dword [esp + 0x34]
call fcn.0054a379
add esp, 4
cmp dword [esp + 0x88], 8
jb 0x4e6da7
push dword [esp + 0x74]
call fcn.0054a379
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e6db8
push eax
call fcn.0054a379
add esp, 4
mov eax, 0x5eb4e8
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.0054caf9
mov esp, ebp
pop ebp
ret