Function at 0x428268
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x47a9aa
call fcn.0045381c
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.00433627
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 0x4286e0
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 0x4286d7
mov dword [ebp - 0x2c], ebx
jbe 0x4286d7
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.00403ff0
test eax, eax
jne 0x42833c
mov byte [ebp - 0x15], 1
cmp dword [ebp - 0x1c], ebx
jne 0x4286b5
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.00403f70
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.0042810f
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.0042d7ee
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.0042d7ee
push dword [ebp - 0x1c]
or dword [ebp - 0x14], 2
mov ecx, eax
mov dword [ebp - 4], 8
call fcn.0040ddc0
test eax, eax
je 0x428450
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x188]
call fcn.0042d7ee
or dword [ebp - 0x14], 4
push 0x491bb4
push eax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 4], 9
call fcn.00409560
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.0042d7ee
push dword [ebp - 0x1c]
or dword [ebp - 0x14], 0x10
mov ecx, eax
mov dword [ebp - 4], 0xb
call fcn.0040ddc0
test eax, eax
mov byte [ebp - 0xd], bl
jne 0x428454
mov byte [ebp - 0xd], 1
test byte [ebp - 0x14], 0x10
je 0x42846b
and dword [ebp - 0x14], 0xffffffef
push ebx
push esi
lea ecx, [ebp - 0x150]
call fcn.00401c80
test byte [ebp - 0x14], 8
je 0x428482
and dword [ebp - 0x14], 0xfffffff7
push ebx
push esi
lea ecx, [ebp - 0x230]
call fcn.00401c80
test byte [ebp - 0x14], 4
je 0x428499
and dword [ebp - 0x14], 0xfffffffb
push ebx
push esi
lea ecx, [ebp - 0x188]
call fcn.00401c80
test byte [ebp - 0x14], 2
je 0x4284b0
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 0x4284ce
and dword [ebp - 0x14], 0xfffffffe
push ebx
push esi
lea ecx, [ebp - 0x1c0]
call fcn.00401c80
cmp byte [ebp - 0xd], bl
je 0x4286a9
push str.RuntimeExeName
lea ecx, [ebp - 0xd8]
call fcn.00401790
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0xc
call fcn.00433902
mov edx, eax
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xd
call fcn.0042d7ee
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.00403f70
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.0042810f
mov edx, eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x10
call fcn.0042d7ee
push dword [ebp - 0x1c]
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.0040ddc0
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 0x428749
push str.ExeName
lea ecx, [ebp - 0xf4]
call fcn.00401790
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x12
call fcn.00433902
mov edx, eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x13
call fcn.0042d7ee
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.00403f70
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.0042810f
mov edx, eax
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x16
call fcn.0042d7ee
push dword [ebp - 0x1c]
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.0040ddc0
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 0x428749
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.00401c80
jmp 0x4286b8
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 0x4282e9
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x492450
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.004281e4
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x1a
call fcn.00401c80
push 0x491bb6
lea ecx, [ebp - 0xa0]
call fcn.00403ff0
test eax, eax
je 0x428779
mov ecx, dword [ebp + 8]
or byte [esi + 0x40], 2
lea eax, [ebp - 0xa0]
push eax
call fcn.00408e50
jmp 0x428844
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
call fcn.00408e50
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 0x428853
and byte [esi + 0x40], 0xfd
cmp dword [ebp - 0x24], ebx
mov al, byte [esi + 0x40]
je 0x42879a
cmp byte [ebp - 0x15], 1
jne 0x42879a
or al, 1
mov byte [esi + 0x40], al
push str.TESTDEV0
jmp 0x42883c
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.00433f21
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.0043408a
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x1a
call fcn.00433e76
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