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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5ea0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x558
mov eax, dword [0x54c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x564], ecx
push 0x288
push 0
mov dword [ebp - 0x558], 0
mov dword [ebp - 0x554], 0x288
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
mov dword [ebp - 0x54c], eax
test eax, eax
je 0x41c932
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea ecx, [ebp - 0x554]
push ecx
push eax
call esi
cmp eax, 0x6f
jne 0x41c952
push dword [ebp - 0x54c]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x554]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
mov edi, eax
mov dword [ebp - 0x54c], edi
test edi, edi
jne 0x41c958
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c048e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edi, dword [ebp - 0x54c]
lea eax, [ebp - 0x554]
push eax
push edi
call esi
test eax, eax
jne 0x41cc53
mov dword [ebp - 0x550], edi
cmp dword [ebp - 0x54c], eax
je 0x41cc63
nop dword [eax]
lea eax, [edi + 8]
test eax, eax
je 0x41cb0d
push 0x168
lea eax, [ebp - 0x488]
mov ecx, 0x28
mov esi, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
lea edi, [ebp - 0x528]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004c5110
add esp, 0xc
mov dword [ebp - 0x544], 0
lea eax, [ebp - 0x544]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x528]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41c9ee
mov edi, dword [ebp - 0x550]
xor eax, eax
jmp 0x41cb0d
push 0x104
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.004c5110
mov edi, dword [ebp - 0x550]
add esp, 0xc
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x128]
push str._sConnection
push eax
call fcn.0041dc60
add esp, 0xc
mov dword [ebp - 0x548], 0
lea eax, [ebp - 0x548]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x544]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41ca64
push dword [ebp - 0x544]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41cb0d
lea eax, [ebp - 0x55c]
mov dword [ebp - 0x560], 1
push eax
lea eax, [ebp - 0x320]
mov dword [ebp - 0x55c], 0xfa
push eax
lea eax, [ebp - 0x560]
push eax
push 0
push str.PnPInstanceId
push dword [ebp - 0x548]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41cabe
push dword [ebp - 0x544]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x548]
call esi
xor eax, eax
jmp 0x41cb0d
push 3
lea eax, [ebp - 0x320]
push 0x50dd84
push eax
call fcn.004dc952
add esp, 0xc
test eax, eax
je 0x41caf2
push 3
lea eax, [ebp - 0x320]
push 0x50dd8c
push eax
call fcn.004dc952
add esp, 0xc
test eax, eax
jne 0x41caa4
push dword [ebp - 0x544]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x548]
call esi
mov eax, 1
test eax, eax
je 0x41cc3d
lea edx, [edi + 0x1b0]
mov dword [ebp - 0x530], 0
mov ecx, edx
mov dword [ebp - 0x52c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x540], xmm0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41cb40
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x540]
call fcn.00402fe0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x540]
cmp dword [ebp - 0x52c], 0xf
mov edx, dword [ebp - 0x540]
cmova ecx, edx
mov dword [ebp - 0x550], edx
cmp dword [ebp - 0x530], 7
jne 0x41cb98
cmp dword [ecx], 0x2e302e30
jne 0x41cb98
cmp word [ecx + 4], 0x2e30
jne 0x41cb98
cmp byte [ecx + 6], 0x30
je 0x41cc04
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x41cbfa
xorps xmm0, xmm0
mov word [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
movzx eax, byte [edi + esi + 0x194]
push eax
push str._.2X
lea eax, [ebp - 0x20]
push 0xa
push eax
call fcn.00403400
lea eax, [ebp - 0x20]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cbd2
mov ecx, dword [ebp - 0x564]
sub eax, edx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040e580
inc esi
cmp esi, dword [edi + 0x190]
jb 0x41cba2
mov edx, dword [ebp - 0x550]
mov dword [ebp - 0x558], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x52c]
cmp eax, 0xf
jbe 0x41cc3d
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cc33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cc6e
push ecx
push edx
call fcn.004c04a1
add esp, 8
mov edi, dword [edi]
mov dword [ebp - 0x550], edi
test edi, edi
jne 0x41c980
mov edi, dword [ebp - 0x54c]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x558]
jmp 0x41c934
call fcn.004cfc7c
int3