Function at 0x4276c3
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x48fc3d
call fcn.0046862c
sub esp, 0x48c
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.00434b43
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 0x427b2a
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 0x427b21
mov dword [ebp - 0x2c], ebx
jbe 0x427b21
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 - 0x498]
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 - 0x498]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401820
push str.TESTDEV0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00404040
test eax, eax
jne 0x427786
mov byte [ebp - 0x15], 1
cmp dword [ebp - 0x1c], ebx
jne 0x427aff
push str.InstallDirectory
lea ecx, [ebp - 0xbc]
call fcn.00401820
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x118]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.00403fc0
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.00427559
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x118]
call fcn.00401cb0
push ebx
push esi
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 5
call fcn.00401cb0
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x2a0]
call fcn.0042ef8f
mov dword [ebp - 0x1c], eax
or dword [ebp - 0x14], esi
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 7
call fcn.0042ef8f
push dword [ebp - 0x1c]
or dword [ebp - 0x14], 2
mov ecx, eax
mov dword [ebp - 4], 8
call fcn.0040deb0
test eax, eax
je 0x42789a
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x24c]
call fcn.0042ef8f
or dword [ebp - 0x14], 4
push 0x4a9a24
push eax
lea eax, [ebp - 0x16c]
push eax
mov dword [ebp - 4], 9
call fcn.00409480
add esp, 0xc
mov dword [ebp - 0x1c], eax
or dword [ebp - 0x14], 8
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 4], 0xa
call fcn.0042ef8f
push dword [ebp - 0x1c]
or dword [ebp - 0x14], 0x10
mov ecx, eax
mov dword [ebp - 4], 0xb
call fcn.0040deb0
test eax, eax
mov byte [ebp - 0xd], bl
jne 0x42789e
mov byte [ebp - 0xd], 1
test byte [ebp - 0x14], 0x10
je 0x4278b5
and dword [ebp - 0x14], 0xffffffef
push ebx
push esi
lea ecx, [ebp - 0x2bc]
call fcn.00401cb0
test byte [ebp - 0x14], 8
je 0x4278cc
and dword [ebp - 0x14], 0xfffffff7
push ebx
push esi
lea ecx, [ebp - 0x16c]
call fcn.00401cb0
test byte [ebp - 0x14], 4
je 0x4278e3
and dword [ebp - 0x14], 0xfffffffb
push ebx
push esi
lea ecx, [ebp - 0x24c]
call fcn.00401cb0
test byte [ebp - 0x14], 2
je 0x4278fa
and dword [ebp - 0x14], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x1a4]
call fcn.00401cb0
test byte [ebp - 0x14], 1
mov dword [ebp - 4], 5
je 0x427918
and dword [ebp - 0x14], 0xfffffffe
push ebx
push esi
lea ecx, [ebp - 0x2a0]
call fcn.00401cb0
cmp byte [ebp - 0xd], bl
je 0x427af3
push str.RuntimeExeName
lea ecx, [ebp - 0xd8]
call fcn.00401820
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0xc
call fcn.00434e1e
mov edx, eax
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xd
call fcn.0042ef8f
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x214]
push edi
push eax
mov byte [ebp - 4], 0xe
call fcn.00403fc0
add esp, 0xc
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x284]
push eax
mov byte [ebp - 4], 0xf
call fcn.00427559
mov edx, eax
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x10
call fcn.0042ef8f
push dword [ebp - 0x1c]
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.0040deb0
neg eax
sbb al, al
push ebx
inc al
push esi
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 0xd], al
call fcn.00401cb0
push ebx
push esi
lea ecx, [ebp - 0x284]
call fcn.00401cb0
push ebx
push esi
lea ecx, [ebp - 0x214]
call fcn.00401cb0
push ebx
push esi
lea ecx, [ebp - 0x134]
call fcn.00401cb0
push ebx
push esi
lea ecx, [ebp - 0x150]
call fcn.00401cb0
push ebx
push esi
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 5
call fcn.00401cb0
cmp byte [ebp - 0xd], bl
jne 0x427b90
push str.ExeName
lea ecx, [ebp - 0xa0]
call fcn.00401820
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x12
call fcn.00434e1e
mov edx, eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x13
call fcn.0042ef8f
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x1f8]
push edi
push eax
mov byte [ebp - 4], 0x14
call fcn.00403fc0
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c0]
push eax
mov byte [ebp - 4], 0x15
call fcn.00427559
mov edx, eax
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0x16
call fcn.0042ef8f
push dword [ebp - 0x1c]
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.0040deb0
neg eax
sbb al, al
push ebx
inc al
push esi
lea ecx, [ebp - 0x188]
mov byte [ebp - 0xd], al
call fcn.00401cb0
push ebx
push esi
lea ecx, [ebp - 0x1c0]
call fcn.00401cb0
push ebx
push esi
lea ecx, [ebp - 0x1f8]
call fcn.00401cb0
push ebx
push esi
lea ecx, [ebp - 0x230]
call fcn.00401cb0
push ebx
push esi
lea ecx, [ebp - 0x268]
call fcn.00401cb0
push ebx
push esi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 5
call fcn.00401cb0
cmp byte [ebp - 0xd], bl
jne 0x427b90
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.00401cb0
jmp 0x427b02
xor esi, esi
inc esi
push ebx
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00401cb0
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
jb 0x427733
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4aa2e8
lea ecx, [ebp - 0xa0]
call fcn.00401820
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xf4]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.0042762e
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1a
call fcn.00401cb0
push 0x4a9a26
lea ecx, [ebp - 0xf4]
call fcn.00404040
test eax, eax
je 0x427bda
mov ecx, dword [ebp + 8]
or byte [esi + 0x40], 2
lea eax, [ebp - 0xf4]
push eax
call fcn.00408e90
jmp 0x427bfe
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
call fcn.00408e90
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.00401cb0
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.00401cb0
push ebx
push esi
lea ecx, [ebp - 0x84]
call fcn.00401cb0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
and byte [esi + 0x40], 0xfd
cmp dword [ebp - 0x24], ebx
mov al, byte [esi + 0x40]
je 0x427c0f
cmp byte [ebp - 0x15], 1
jne 0x427c0f
mov ecx, dword [ebp + 8]
or al, 1
push str.TESTDEV0
mov byte [esi + 0x40], al
call fcn.00401820
push ebx
push edi
lea ecx, [ebp - 0xf4]
call fcn.00401cb0
push ebx
push edi
jmp 0x427bbb
push str.WT::Application::CRuntimeAttribute::FindSKU
lea ecx, [ebp - 0x68]
call fcn.00401820
push str..SourceWtApplicationRuntimeAttribute.cpp
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x1b
call fcn.00401820
push str.CRuntimeAttribute::FindSKU___Could_not_find_SKU_info_about_this_product.
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x1c
call fcn.00401820
lea eax, [ebp - 0x68]
push eax
push 0x125
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 0x1d
call fcn.004353d5
push ebx
push edi
lea ecx, [ebp - 0xd8]
call fcn.00401cb0
push ebx
push edi
lea ecx, [ebp - 0xbc]
call fcn.00401cb0
push ebx
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1f
call fcn.00401cb0
lea ecx, [ebp - 0x328]
call fcn.0043535d
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x394]
call fcn.0042736f
push 0x4c1984
lea eax, [ebp - 0x394]
push eax
call fcn.00465b2b
int3