Function at 0x4e68b0
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 0x575e32
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x5ea6f0]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x5ea6f0]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov eax, dword [0x5f04c8]
test al, 1
jne 0x4e692a
or eax, 1
mov dword [0x5f04fc], 7
mov dword [0x5f04c8], eax
xor eax, eax
push 0x57e8a0
mov dword [0x5f04f8], 0
mov word [0x5f04e8], ax
call fcn.0054e2c9
add esp, 4
push 0x288
mov dword [esp + 0x34], 0x288
call fcn.0054d7c9
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 0x4e696e
push edi
call fcn.005510e2
push dword [esp + 0x34]
call fcn.0054d7c9
add esp, 8
mov dword [esp + 0x10], eax
mov edi, eax
jmp 0x4e6972
mov dword [esp + 0x10], edi
lea eax, [esp + 0x30]
push eax
push edi
call esi
test eax, eax
jne 0x4e6d67
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.004ee020
mov dword [esp + 0x34], eax
mov byte [esp + 0x1b8], 1
cmp dword [edi + 0x1a0], 6
jne 0x4e6d01
push 0
push 0x5d0864
mov ecx, 0x5f04e8
call fcn.004e9a70
mov eax, dword [edi + 0x190]
xor esi, esi
test eax, eax
jle 0x4e6a91
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 0x5d0bb8
lea eax, [esp + 0x98]
push 8
push eax
call fcn.005507bd
add esp, 0x14
cmp word [esp + 0x8c], 0
jne 0x4e6a52
xor eax, eax
jmp 0x4e6a6f
lea eax, [esp + 0x8c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e6a60
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
mov ecx, 0x5f04e8
push eax
call fcn.004ecb90
mov eax, dword [edi + 0x190]
inc esi
cmp esi, eax
jl 0x4e69f0
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.004e9a70
mov byte [esp + 0x1b8], 2
lea eax, [esp + 0x14]
push dword [esp + 0x54]
mov ecx, 0x5f04e8
push 0
push eax
call fcn.004e9ca0
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.004ebe90
test eax, eax
mov byte [esp + 0x1b8], 2
setne bl
cmp dword [esp + 0x28], 8
jb 0x4e6b1c
push dword [esp + 0x14]
call fcn.0054e059
add esp, 4
test bl, bl
je 0x4e6ce6
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.004e9140
lea esi, [edi + 8]
mov byte [esp + 0x1b8], 4
cmp byte [esi], 0
jne 0x4e6b5d
xor ecx, ecx
jmp 0x4e6b6b
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e6b62
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.00550c40
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 0x4e6cc1
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 0x4e6cc1
push 3
lea eax, [esp + 0xa0]
push 0x5d0c50
push eax
call fcn.00553331
add esp, 0xc
test eax, eax
je 0x4e6c4c
push 3
lea eax, [esp + 0xa0]
push 0x5d0c54
push eax
call fcn.00553331
add esp, 0xc
test eax, eax
jne 0x4e6cc1
cmp byte [esi], 0
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jne 0x4e6c6a
xor ecx, ecx
jmp 0x4e6c79
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e6c70
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.004e9140
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 0x4e6cae
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.004ebbd0
cmp dword [esp + 0x28], 0x10
jb 0x4e6cc1
push dword [esp + 0x14]
call fcn.0054e059
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 0x4e6ce6
push dword [esp + 0x5c]
call fcn.0054e059
add esp, 4
mov byte [esp + 0x1b8], 1
cmp dword [esp + 0x58], 8
jb 0x4e6d01
push dword [esp + 0x44]
call fcn.0054e059
add esp, 4
mov edi, dword [edi]
test edi, edi
jne 0x4e69c2
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x38], edi
je 0x4e6d34
mov ecx, dword [eax]
add ecx, 0x28
cmp ecx, 0x5f04e8
je 0x4e6d34
push 0xffffffffffffffff
push edi
push ecx
mov ecx, 0x5f04e8
call fcn.004ebbd0
mov eax, dword [esp + 0x34]
push eax
push dword [eax]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x40]
call fcn.004ed240
push dword [esp + 0x34]
call fcn.0054e059
add esp, 4
cmp dword [esp + 0x88], 8
jb 0x4e6d67
push dword [esp + 0x74]
call fcn.0054e059
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e6d78
push eax
call fcn.0054e059
add esp, 4
mov eax, 0x5f04e8
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.005507d9
mov esp, ebp
pop ebp
ret