Function at 0x420c30
Capabilities:
Get mac address on windows
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x164
mov eax, dword [0x4d044c]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push esi
push edi
xor ecx, ecx
xor ebx, ebx
push 0x40000
push ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x38], eax
test eax, eax
je 0x42147a
lea esi, [eax + 0x8000]
mov dword [esp + 0x20], 0x8000
mov ecx, esi
lea edx, [esp + 0x20]
add esi, 0x8000
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], esi
sub esi, 0xffffff80
mov dword [esp + 0x54], esi
sub esi, 0xffffff80
mov dword [esp + 0x48], esi
lea ebx, [esi + 0x300]
mov dword [esp + 0x14], ebx
call fcn.00431390
neg eax
mov dword [esp + 0x10], 0x10000
sbb eax, eax
and eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x42144e
cmp dword [esp + 0x10], eax
je 0x42144e
lea ecx, [esp + 0x34]
call fcn.00432680
mov dword [esp + 0x20], eax
lea eax, [esp + 0x3c]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x60], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x420d4c
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x68]
push eax
push 0
push 0
push 0
push dword [esp + 0x68]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x38]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], eax
mov edi, esi
mov dword [esp + 0x40], ecx
mov byte [esi], al
mov dword [esp + 0x24], edi
test ebx, ebx
je 0x42141f
cmp dword [ebx + 0x190], 6
jne 0x421062
xor eax, eax
mov dword [esp + 0x1c], 0
inc ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], ecx
cmp dword [str.Virtual], eax
je 0x420dcb
lea esi, [ebx + 0x10c]
nop
push dword [eax*4 + 0x4beb80]
push esi
call fcn.00463f60
add esp, 8
test eax, eax
jne 0x420eb1
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp dword [eax*4 + 0x4beb80], 0
jne 0x420da0
lea esi, [ebx + 0x194]
mov dword [esp + 0x10], 0
xor edx, edx
mov dword [esp + 0x18], esi
mov ecx, 0x4d0e0c
movzx eax, word [esi]
cmp ax, word [ecx]
jne 0x420df5
movzx eax, byte [esi + 2]
cmp al, byte [ecx + 2]
je 0x420e04
inc edx
add ecx, 3
mov dword [esp + 0x10], edx
cmp edx, 0xa
jb 0x420de4
jmp 0x420e3f
cmp edx, 1
ja 0x420eb1
push 6
lea esi, [ebx + 0x10c]
push str.vmxnet
push esi
call fcn.0048e4b1
add esp, 0xc
test eax, eax
je 0x420e3b
push 5
push str.intel
push esi
call fcn.0048e4b1
add esp, 0xc
test eax, eax
jne 0x420eb1
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 0
xor edx, edx
mov ecx, 0x4d0e2c
nop
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x420e60
movzx eax, word [esi + 4]
cmp ax, word [ecx + 4]
je 0x420eb1
inc edx
add ecx, 6
mov dword [esp + 0x10], edx
cmp edx, 2
jb 0x420e50
mov al, byte [esi]
test al, al
jne 0x420ea4
cmp byte [ebx + 0x195], 0xff
je 0x420eb1
cmp byte [ebx + 0x197], 0
jne 0x420ebe
cmp byte [ebx + 0x198], 0
jne 0x420ebe
cmp byte [ebx + 0x199], 0
jne 0x420ebe
mov dword [esp + 0x1c], 1
jmp 0x420fa5
cmp al, 0x7a
jne 0x420e7c
cmp byte [ebx + 0x195], 0x79
jne 0x420e7c
mov dword [esp + 0x1c], 1
jmp 0x420fa5
mov eax, dword [esp + 0x34]
test eax, eax
je 0x420f4e
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x420f4e
xor edi, edi
test eax, eax
je 0x420f4a
mov ebx, dword [ebx + 0x190]
nop
mov ecx, dword [ecx + edi*8]
mov edx, esi
mov esi, ebx
sub esi, 4
jb 0x420f01
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x420f06
add ecx, 4
add edx, 4
sub esi, 4
jae 0x420ef0
cmp esi, 0xfffffffc
je 0x420eb1
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x420f37
cmp esi, 0xfffffffd
je 0x420eb1
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x420f37
cmp esi, 0xfffffffe
je 0x420eb1
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x420f37
cmp esi, 0xffffffff
je 0x420eb1
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x420eb1
mov esi, dword [esp + 0x18]
inc edi
mov ecx, dword [esp + 0x20]
cmp edi, dword [esp + 0x34]
jb 0x420ee0
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
push dword [ebx + 0x190]
push esi
mov esi, dword [esp + 0x38]
push esi
call fcn.0046c5d0
add esi, dword [ebx + 0x190]
add esp, 0xc
mov dword [esp + 0x30], esi
lea esi, [ebx + 0x1ac]
test esi, esi
je 0x420fa5
mov ecx, dword [esp + 0x48]
lea eax, [esi + 4]
push eax
cmp byte [ecx], 0
jne 0x420f8a
push 0x4c2b0c
jmp 0x420f8f
push 0x4c4620
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [esi]
add esp, 0xc
add edi, eax
test esi, esi
jne 0x420f76
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x5c]
mov edi, ecx
mov ebx, dword [esp + 0x44]
add ebx, ecx
cmp ecx, ebx
jae 0x421056
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x194]
mov dword [esp + 0x18], eax
cmp dword [edi], eax
jne 0x421031
mov eax, dword [esp + 0x14]
lea ecx, [edi + 4]
mov esi, dword [eax + 0x190]
lea edx, [eax + 0x198]
sub esi, 4
sub esi, 4
jb 0x420ff7
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x420ffc
add ecx, 4
add edx, 4
sub esi, 4
jae 0x420fe6
cmp esi, 0xfffffffc
je 0x42103d
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x421029
cmp esi, 0xfffffffd
je 0x42103d
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x421029
cmp esi, 0xfffffffe
je 0x42103d
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x421029
cmp esi, 0xffffffff
je 0x42103d
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x42103d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add edi, dword [ecx + 0x190]
cmp edi, ebx
jb 0x420fc7
jmp 0x421056
cmp dword [esp + 0x1c], 0
je 0x42104e
mov dword [esp + 0x2c], 1
jmp 0x421056
mov dword [esp + 0x28], 1
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov ebx, dword [ebx]
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x420d70
mov ebx, dword [esp + 0x48]
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfA]
cmp byte [ebx], 0
je 0x4210d0
push str.Updates
push str.CommonInfo
push str.SoftwareK7_ComputingK7TotalSecurity
push 0x4c1ff4
lea eax, [esp + 0x70]
push 0x104
push eax
call edi
add esp, 0x18
lea eax, [esp + 0x60]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e320
mov esi, eax
test esi, esi
je 0x4210d0
push ebx
push str.LocalIPString
push esi
call fcn.0045e7c0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call ebx
jmp 0x4210d6
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x28], 0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
je 0x421104
sub edx, eax
cmp edx, dword [esp + 0x44]
ja 0x4210f8
cmp dword [esp + 0x2c], 0
je 0x42141f
mov ecx, eax
call fcn.00431270
jmp 0x42141f
cmp edx, eax
je 0x42141f
sub edx, eax
mov ecx, eax
call fcn.00431270
test eax, eax
je 0x42141f
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x4c], eax
ja 0x421417
cmp dword [esp + 0x44], 0
je 0x421417
push str.CommonInfo
push str.SoftwareK7_ComputingK7TotalSecurity
push 0x4c2040
lea eax, [esp + 0x6c]
mov dword [esp + 0x38], 0
push 0x104
push eax
call edi
add esp, 0x14
lea eax, [esp + 0x60]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e060
mov esi, eax
test esi, esi
je 0x421186
lea eax, [esp + 0x2c]
push eax
push str.OhcGIDS
push esi
call fcn.0045e500
push esi
call ebx
push str.CommonInfo
push str.SoftwareK7_ComputingK7TotalSecurity
push 0x4c2040
lea eax, [esp + 0x6c]
mov dword [esp + 0x34], 0
push 0x104
push eax
call edi
add esp, 0x14
lea eax, [esp + 0x60]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e060
mov esi, eax
test esi, esi
je 0x4211d6
lea eax, [esp + 0x28]
push eax
push str.OhcRACT
push esi
call fcn.0045e500
push esi
call ebx
cmp dword [0x4d3e08], 3
jne 0x4212b9
mov ebx, dword [esp + 0x50]
mov ecx, ebx
mov byte [ebx], 0
call fcn.00420770
mov esi, dword [esp + 0x54]
mov ecx, esi
mov byte [esi], 0
call fcn.00420770
mov ecx, ebx
call fcn.00431190
push ecx
mov edx, esi
mov ecx, ebx
call fcn.00446a70
add esp, 4
mov dword [esp + 0x10], 0
push 0x4000
call fcn.00460a14
mov edi, eax
add esp, 4
test edi, edi
je 0x4212aa
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push str.HKLM
push str.__s_s__r_n
push edi
call ebx
push dword [esp + 0x20]
push str.SubscriptionType
lea esi, [edi + eax]
push str.__s_dword:_08x_r_n
push esi
call ebx
push dword [esp + 0x30]
add esi, eax
push str.SubscriptionDays
push str.__s_dword:_08x_r_n
push esi
call ebx
push dword [esp + 0x40]
add esi, eax
push str.SubscriptionStatus
push str.__s_dword:_08x_r_n
push esi
call ebx
add esp, 0x40
add esi, eax
push str._r_n_r_n
push esi
call ebx
sub esi, edi
mov edx, edi
lea ecx, [eax + 1]
add ecx, esi
call fcn.004496e0
push 1
push edi
call fcn.004609d1
add esp, 0x10
mov ecx, str.HARDWARE_CHANGED__HARDWARE_CHANGED
call fcn.00446fd0
jmp 0x421417
cmp dword [esp + 0x2c], 0
je 0x4212f0
mov ebx, dword [esp + 0x50]
mov ecx, ebx
mov byte [ebx], 0
call fcn.00420770
mov esi, dword [esp + 0x54]
mov ecx, esi
mov byte [esi], 0
call fcn.00420770
mov ecx, ebx
call fcn.00431190
push ecx
mov edx, esi
mov ecx, ebx
call fcn.00446a70
add esp, 4
cmp dword [esp + 0x28], 0
je 0x421392
push 0x4000
mov dword [esp + 0x14], 0
call fcn.00460a14
mov edi, eax
add esp, 4
test edi, edi
je 0x421392
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push str.HKLM
push str.__s_s__r_n
push edi
call ebx
push dword [esp + 0x20]
push str.SubscriptionType
lea esi, [edi + eax]
push str.__s_dword:_08x_r_n
push esi
call ebx
push dword [esp + 0x30]
add esi, eax
push str.SubscriptionDays
push str.__s_dword:_08x_r_n
push esi
call ebx
push dword [esp + 0x40]
add esi, eax
push str.SubscriptionStatus
push str.__s_dword:_08x_r_n
push esi
call ebx
add esp, 0x40
add esi, eax
push str._r_n_r_n
push esi
call ebx
sub esi, edi
mov edx, edi
lea ecx, [eax + 1]
add ecx, esi
call fcn.004496e0
push 1
push edi
call fcn.004609d1
add esp, 0x10
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdatesData
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0
call fcn.0045e060
mov esi, eax
test esi, esi
je 0x4213cc
lea eax, [esp + 0x10]
push eax
push str.HWCHG
push esi
call fcn.0045e500
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call ebx
jmp 0x4213d2
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x10]
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdatesData
inc edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], edi
call fcn.0045e320
mov esi, eax
test esi, esi
jne 0x421408
push eax
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdatesData
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e090
mov esi, eax
test esi, esi
je 0x421417
push edi
push str.HWCHG
push esi
call fcn.0045e790
push esi
call ebx
mov dword [esp + 0x58], 1
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x42144e
mov edi, dword [esp + 0x20]
test edi, edi
je 0x42144e
xor esi, esi
test ebx, ebx
je 0x421445
push dword [edi + esi*8]
call fcn.0048b923
inc esi
add esp, 4
cmp esi, ebx
jb 0x421435
push edi
call fcn.0048b923
add esp, 4
push dword [esp + 0x38]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x58]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.004606ac
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x16c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004606ac
mov esp, ebp
pop ebp
ret