Function at 0x41d6a0
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 0x55fb80
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x558
mov eax, dword [0x5ef300]
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 0x41d762
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea ecx, [ebp - 0x554]
push ecx
push eax
call esi
cmp eax, 0x6f
jne 0x41d782
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 0x41d788
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.0052b3fa
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 0x41da83
mov dword [ebp - 0x550], edi
cmp dword [ebp - 0x54c], eax
je 0x41da93
nop dword [eax]
lea eax, [edi + 8]
test eax, eax
je 0x41d93d
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.0052dd20
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 0x41d81e
mov edi, dword [ebp - 0x550]
xor eax, eax
jmp 0x41d93d
push 0x104
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0052dd20
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.0041ea90
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 0x41d894
push dword [ebp - 0x544]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41d93d
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 0x41d8ee
push dword [ebp - 0x544]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x548]
call esi
xor eax, eax
jmp 0x41d93d
push 3
lea eax, [ebp - 0x320]
push 0x58296c
push eax
call fcn.00545e04
add esp, 0xc
test eax, eax
je 0x41d922
push 3
lea eax, [ebp - 0x320]
push 0x582974
push eax
call fcn.00545e04
add esp, 0xc
test eax, eax
jne 0x41d8d4
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 0x41da6d
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 0x41d970
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x540]
call fcn.00403070
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 0x41d9c8
cmp dword [ecx], 0x2e302e30
jne 0x41d9c8
cmp word [ecx + 4], 0x2e30
jne 0x41d9c8
cmp byte [ecx + 6], 0x30
je 0x41da34
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x41da2a
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.00403440
lea eax, [ebp - 0x20]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41da02
mov ecx, dword [ebp - 0x564]
sub eax, edx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040e6b0
inc esi
cmp esi, dword [edi + 0x190]
jb 0x41d9d2
mov edx, dword [ebp - 0x550]
mov dword [ebp - 0x558], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x52c]
cmp eax, 0xf
jbe 0x41da6d
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41da63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da9e
push ecx
push edx
call fcn.0052b438
add esp, 8
mov edi, dword [edi]
mov dword [ebp - 0x550], edi
test edi, edi
jne 0x41d7b0
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 0x41d764
call fcn.0053775e
int3