Function at 0x4217d0
Capabilities:
Get mac address on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5721eb
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x5bb250]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0x288
call fcn.00520986
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
add esp, 4
mov edi, eax
mov dword [ebp - 0x178], 0x288
lea eax, [ebp - 0x178]
mov dword [ebp - 0x17c], edi
push eax
push edi
call esi
cmp eax, 0x6f
jne 0x42186d
mov eax, dword [ebp - 0x178]
dec eax
cmp eax, 0xfffe
ja 0x421a80
push edi
call fcn.0053c06b
push dword [ebp - 0x178]
call fcn.00520986
add esp, 8
mov edi, eax
lea eax, [ebp - 0x178]
mov dword [ebp - 0x17c], edi
push eax
push edi
call esi
test eax, eax
jne 0x421a80
cmp dword [ebp - 0x17c], eax
je 0x421a80
lea esi, [edi + 8]
test esi, esi
je 0x421a76
cmp byte [esi], 0
je 0x421a76
push 0x50
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x160], 0xf
mov dword [ebp - 0x164], 0
mov byte [ebp - 0x174], 0
call fcn.004072b0
mov dword [ebp - 4], 0
cmp byte [esi], 0
jne 0x4218d2
xor ecx, ecx
jmp 0x4218e0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4218d7
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x174]
call fcn.0040eed0
push 0xb
push str.Connection
lea ecx, [ebp - 0x174]
call fcn.0040eed0
push 0x104
lea eax, [ebp - 0x15b]
mov dword [ebp - 0x180], 1
push 0
push eax
mov dword [ebp - 0x184], 0x104
mov byte [ebp - 0x15c], 0
call fcn.0053ca90
add esp, 0xc
lea ecx, [ebp - 0x184]
cmp dword [ebp - 0x160], 0x10
lea eax, [ebp - 0x174]
cmovae eax, dword [ebp - 0x174]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x180]
push ecx
push str.PnPInstanceId
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push 3
lea eax, [ebp - 0x15c]
push 0x596c48
push eax
call fcn.00545922
add esp, 0xc
test eax, eax
je 0x4219a2
push 3
lea eax, [ebp - 0x15c]
push 0x596c4c
push eax
call fcn.00545922
add esp, 0xc
test eax, eax
jne 0x421a58
cmp dword [ebx + 0x10], 0
je 0x4219b6
push 1
push 0x596c50
mov ecx, ebx
call fcn.0040eed0
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x421a34
push 0x3f
lea eax, [ebp - 0x53]
mov byte [ebp - 0x54], 0
push 0
push eax
call fcn.0053ca90
movzx eax, byte [edi + esi + 0x194]
push eax
push str._.2X
lea eax, [ebp - 0x54]
push 0x40
push eax
call fcn.00545218
add esp, 0x1c
cmp byte [ebp - 0x54], 0
jne 0x4219f7
xor eax, eax
jmp 0x421a09
lea eax, [ebp - 0x54]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421a00
sub eax, edx
push eax
lea eax, [ebp - 0x54]
mov ecx, ebx
push eax
call fcn.0040eed0
cmp esi, dword [edi + 0x190]
jae 0x421a2b
push 1
push 0x596c5c
mov ecx, ebx
call fcn.0040eed0
inc esi
cmp esi, dword [edi + 0x190]
jb 0x4219c0
cmp byte [edi + 8], 0
lea edx, [edi + 8]
jne 0x421a41
xor ecx, ecx
jmp 0x421a4f
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421a46
sub ecx, esi
push ecx
push edx
mov ecx, ebx
call fcn.0040eed0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x160], 0x10
jb 0x421a76
push dword [ebp - 0x174]
call fcn.0053ba8c
add esp, 4
mov edi, dword [edi]
test edi, edi
jne 0x421881
push dword [ebp - 0x17c]
call fcn.0053c06b
xor eax, eax
add esp, 4
cmp dword [ebx + 0x10], eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret 4