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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5735ab
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x5bd250]
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.00521d36
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 0x42192d
mov eax, dword [ebp - 0x178]
dec eax
cmp eax, 0xfffe
ja 0x421b40
push edi
call fcn.0053d801
push dword [ebp - 0x178]
call fcn.00521d36
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 0x421b40
cmp dword [ebp - 0x17c], eax
je 0x421b40
lea esi, [edi + 8]
test esi, esi
je 0x421b36
cmp byte [esi], 0
je 0x421b36
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 0x421992
xor ecx, ecx
jmp 0x4219a0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421997
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.0053e230
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 0x598c78
push eax
call fcn.00546cde
add esp, 0xc
test eax, eax
je 0x421a62
push 3
lea eax, [ebp - 0x15c]
push 0x598c7c
push eax
call fcn.00546cde
add esp, 0xc
test eax, eax
jne 0x421b18
cmp dword [ebx + 0x10], 0
je 0x421a76
push 1
push 0x598c80
mov ecx, ebx
call fcn.0040eed0
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x421af4
push 0x3f
lea eax, [ebp - 0x53]
mov byte [ebp - 0x54], 0
push 0
push eax
call fcn.0053e230
movzx eax, byte [edi + esi + 0x194]
push eax
push str._.2X
lea eax, [ebp - 0x54]
push 0x40
push eax
call fcn.00546778
add esp, 0x1c
cmp byte [ebp - 0x54], 0
jne 0x421ab7
xor eax, eax
jmp 0x421ac9
lea eax, [ebp - 0x54]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421ac0
sub eax, edx
push eax
lea eax, [ebp - 0x54]
mov ecx, ebx
push eax
call fcn.0040eed0
cmp esi, dword [edi + 0x190]
jae 0x421aeb
push 1
push 0x598c8c
mov ecx, ebx
call fcn.0040eed0
inc esi
cmp esi, dword [edi + 0x190]
jb 0x421a80
cmp byte [edi + 8], 0
lea edx, [edi + 8]
jne 0x421b01
xor ecx, ecx
jmp 0x421b0f
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421b06
sub ecx, esi
push ecx
push edx
mov ecx, ebx
call fcn.0040eed0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x160], 0x10
jb 0x421b36
push dword [ebp - 0x174]
call fcn.0053ce3a
add esp, 4
mov edi, dword [edi]
test edi, edi
jne 0x421941
push dword [ebp - 0x17c]
call fcn.0053d801
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.0053f9bc
mov esp, ebp
pop ebp
ret 4