Function at 0x428218
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x47a95a
call fcn.0045378c
sub esp, 0x424
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x14], ebx
call fcn.004335d7
lea eax, [ebp - 0x20]
push eax
push 0x20019
push ebx
push str.SOFTWAREWildTangentInstalledSKUs
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x428690
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x24], ebx
je 0x428687
mov dword [ebp - 0x2c], ebx
jbe 0x428687
mov edi, str.SOFTWAREWildTangentInstalledSKUs_
lea eax, [ebp - 0xfc]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0x104
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401790
push str.TESTDEV0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00403fd0
test eax, eax
jne 0x4282ec
mov byte [ebp - 0x15], 1
cmp dword [ebp - 0x1c], ebx
jne 0x428665
push str.InstallDirectory
lea ecx, [ebp - 0xbc]
call fcn.00401790
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x118]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.00403f50
add esp, 0xc
lea ecx, [ebp - 0xbc]
push ecx
push eax
lea eax, [ebp - 0x68]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004280bf
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x118]
call fcn.00401c80
push ebx
push esi
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 5
call fcn.00401c80
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x1c0]
call fcn.0042d79e
mov dword [ebp - 0x1c], eax
or dword [ebp - 0x14], esi
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 7
call fcn.0042d79e
push dword [ebp - 0x1c]
or dword [ebp - 0x14], 2
mov ecx, eax
mov dword [ebp - 4], 8
call fcn.0040dda0
test eax, eax
je 0x428400
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x188]
call fcn.0042d79e
or dword [ebp - 0x14], 4
push 0x491b44
push eax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 4], 9
call fcn.00409540
add esp, 0xc
mov dword [ebp - 0x1c], eax
or dword [ebp - 0x14], 8
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x150]
mov dword [ebp - 4], 0xa
call fcn.0042d79e
push dword [ebp - 0x1c]
or dword [ebp - 0x14], 0x10
mov ecx, eax
mov dword [ebp - 4], 0xb
call fcn.0040dda0
test eax, eax
mov byte [ebp - 0xd], bl
jne 0x428404
mov byte [ebp - 0xd], 1
test byte [ebp - 0x14], 0x10
je 0x42841b
and dword [ebp - 0x14], 0xffffffef
push ebx
push esi
lea ecx, [ebp - 0x150]
call fcn.00401c80
test byte [ebp - 0x14], 8
je 0x428432
and dword [ebp - 0x14], 0xfffffff7
push ebx
push esi
lea ecx, [ebp - 0x230]
call fcn.00401c80
test byte [ebp - 0x14], 4
je 0x428449
and dword [ebp - 0x14], 0xfffffffb
push ebx
push esi
lea ecx, [ebp - 0x188]
call fcn.00401c80
test byte [ebp - 0x14], 2
je 0x428460
and dword [ebp - 0x14], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x2a0]
call fcn.00401c80
test byte [ebp - 0x14], 1
mov dword [ebp - 4], 5
je 0x42847e
and dword [ebp - 0x14], 0xfffffffe
push ebx
push esi
lea ecx, [ebp - 0x1c0]
call fcn.00401c80
cmp byte [ebp - 0xd], bl
je 0x428659
push str.RuntimeExeName
lea ecx, [ebp - 0xd8]
call fcn.00401790
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0xc
call fcn.004338b2
mov edx, eax
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xd
call fcn.0042d79e
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x2bc]
push edi
push eax
mov byte [ebp - 4], 0xe
call fcn.00403f50
add esp, 0xc
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x1f8]
push eax
mov byte [ebp - 4], 0xf
call fcn.004280bf
mov edx, eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x10
call fcn.0042d79e
push dword [ebp - 0x1c]
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.0040dda0
neg eax
sbb al, al
push ebx
inc al
push esi
lea ecx, [ebp - 0x268]
mov byte [ebp - 0xd], al
call fcn.00401c80
push ebx
push esi
lea ecx, [ebp - 0x1f8]
call fcn.00401c80
push ebx
push esi
lea ecx, [ebp - 0x2bc]
call fcn.00401c80
push ebx
push esi
lea ecx, [ebp - 0x134]
call fcn.00401c80
push ebx
push esi
lea ecx, [ebp - 0x16c]
call fcn.00401c80
push ebx
push esi
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 5
call fcn.00401c80
cmp byte [ebp - 0xd], bl
jne 0x4286f9
push str.ExeName
lea ecx, [ebp - 0xf4]
call fcn.00401790
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x12
call fcn.004338b2
mov edx, eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x13
call fcn.0042d79e
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x214]
push edi
push eax
mov byte [ebp - 4], 0x14
call fcn.00403f50
add esp, 0xc
lea ecx, [ebp - 0xf4]
push ecx
mov ecx, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x1dc]
push eax
mov byte [ebp - 4], 0x15
call fcn.004280bf
mov edx, eax
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x16
call fcn.0042d79e
push dword [ebp - 0x1c]
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.0040dda0
neg eax
sbb al, al
push ebx
inc al
push esi
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 0xd], al
call fcn.00401c80
push ebx
push esi
lea ecx, [ebp - 0x1dc]
call fcn.00401c80
push ebx
push esi
lea ecx, [ebp - 0x214]
call fcn.00401c80
push ebx
push esi
lea ecx, [ebp - 0x24c]
call fcn.00401c80
push ebx
push esi
lea ecx, [ebp - 0x284]
call fcn.00401c80
push ebx
push esi
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 5
call fcn.00401c80
cmp byte [ebp - 0xd], bl
jne 0x4286f9
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.00401c80
jmp 0x428668
xor esi, esi
inc esi
push ebx
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00401c80
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
jb 0x428299
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4923e0
lea ecx, [ebp - 0xf4]
call fcn.00401790
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xa0]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.00428194
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x1a
call fcn.00401c80
push 0x491b46
lea ecx, [ebp - 0xa0]
call fcn.00403fd0
test eax, eax
je 0x428729
mov ecx, dword [ebp + 8]
or byte [esi + 0x40], 2
lea eax, [ebp - 0xa0]
push eax
call fcn.00408e30
jmp 0x4287f4
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
call fcn.00408e30
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.00401c80
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.00401c80
push ebx
push esi
jmp 0x428803
and byte [esi + 0x40], 0xfd
cmp dword [ebp - 0x24], ebx
mov al, byte [esi + 0x40]
je 0x42874a
cmp byte [ebp - 0x15], 1
jne 0x42874a
or al, 1
mov byte [esi + 0x40], al
push str.TESTDEV0
jmp 0x4287ec
push str.WT::Application::CRuntimeAttribute::FindSKU
lea ecx, [ebp - 0x68]
call fcn.00401790
push str..SourceWtApplicationRuntimeAttribute.cpp
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x1b
call fcn.00401790
push str.CRuntimeAttribute::FindSKU___Could_not_find_SKU_info_about_this_product.
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x1c
call fcn.00401790
lea eax, [ebp - 0x68]
push eax
push 0x125
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x1d
call fcn.00433ed1
push ebx
push edi
lea ecx, [ebp - 0xd8]
call fcn.00401c80
push ebx
push edi
lea ecx, [ebp - 0xbc]
call fcn.00401c80
push ebx
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1f
call fcn.00401c80
lea ecx, [ebp - 0x32c]
call fcn.0043403a
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x1a
call fcn.00433e26
push str.NOSKU
mov ecx, dword [ebp + 8]
call fcn.00401790
push ebx
lea ecx, [ebp - 0xa0]
push edi
call fcn.00401c80
push ebx
push edi
lea ecx, [ebp - 0x84]
call fcn.00401c80
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4