Function at 0x42823c
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x49089d
call fcn.004691dc
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.0043576a
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 0x4286b4
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 0x4286ab
mov dword [ebp - 0x2c], ebx
jbe 0x4286ab
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.00401790
push str.TESTDEV0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00404010
test eax, eax
jne 0x428310
mov byte [ebp - 0x15], 1
cmp dword [ebp - 0x1c], ebx
jne 0x428689
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.00403f90
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.004280e3
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x118]
call fcn.00401c90
push ebx
push esi
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 5
call fcn.00401c90
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x2a0]
call fcn.0042fb37
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.0042fb37
push dword [ebp - 0x1c]
or dword [ebp - 0x14], 2
mov ecx, eax
mov dword [ebp - 4], 8
call fcn.0040df70
test eax, eax
je 0x428424
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x24c]
call fcn.0042fb37
or dword [ebp - 0x14], 4
push 0x4aaa7c
push eax
lea eax, [ebp - 0x16c]
push eax
mov dword [ebp - 4], 9
call fcn.00409460
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.0042fb37
push dword [ebp - 0x1c]
or dword [ebp - 0x14], 0x10
mov ecx, eax
mov dword [ebp - 4], 0xb
call fcn.0040df70
test eax, eax
mov byte [ebp - 0xd], bl
jne 0x428428
mov byte [ebp - 0xd], 1
test byte [ebp - 0x14], 0x10
je 0x42843f
and dword [ebp - 0x14], 0xffffffef
push ebx
push esi
lea ecx, [ebp - 0x2bc]
call fcn.00401c90
test byte [ebp - 0x14], 8
je 0x428456
and dword [ebp - 0x14], 0xfffffff7
push ebx
push esi
lea ecx, [ebp - 0x16c]
call fcn.00401c90
test byte [ebp - 0x14], 4
je 0x42846d
and dword [ebp - 0x14], 0xfffffffb
push ebx
push esi
lea ecx, [ebp - 0x24c]
call fcn.00401c90
test byte [ebp - 0x14], 2
je 0x428484
and dword [ebp - 0x14], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x1a4]
call fcn.00401c90
test byte [ebp - 0x14], 1
mov dword [ebp - 4], 5
je 0x4284a2
and dword [ebp - 0x14], 0xfffffffe
push ebx
push esi
lea ecx, [ebp - 0x2a0]
call fcn.00401c90
cmp byte [ebp - 0xd], bl
je 0x42867d
push str.RuntimeExeName
lea ecx, [ebp - 0xd8]
call fcn.00401790
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0xc
call fcn.00435a45
mov edx, eax
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xd
call fcn.0042fb37
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.00403f90
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.004280e3
mov edx, eax
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x10
call fcn.0042fb37
push dword [ebp - 0x1c]
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.0040df70
neg eax
sbb al, al
push ebx
inc al
push esi
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 0xd], al
call fcn.00401c90
push ebx
push esi
lea ecx, [ebp - 0x284]
call fcn.00401c90
push ebx
push esi
lea ecx, [ebp - 0x214]
call fcn.00401c90
push ebx
push esi
lea ecx, [ebp - 0x134]
call fcn.00401c90
push ebx
push esi
lea ecx, [ebp - 0x150]
call fcn.00401c90
push ebx
push esi
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 5
call fcn.00401c90
cmp byte [ebp - 0xd], bl
jne 0x42871a
push str.ExeName
lea ecx, [ebp - 0xa0]
call fcn.00401790
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x12
call fcn.00435a45
mov edx, eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x13
call fcn.0042fb37
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.00403f90
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.004280e3
mov edx, eax
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0x16
call fcn.0042fb37
push dword [ebp - 0x1c]
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.0040df70
neg eax
sbb al, al
push ebx
inc al
push esi
lea ecx, [ebp - 0x188]
mov byte [ebp - 0xd], al
call fcn.00401c90
push ebx
push esi
lea ecx, [ebp - 0x1c0]
call fcn.00401c90
push ebx
push esi
lea ecx, [ebp - 0x1f8]
call fcn.00401c90
push ebx
push esi
lea ecx, [ebp - 0x230]
call fcn.00401c90
push ebx
push esi
lea ecx, [ebp - 0x268]
call fcn.00401c90
push ebx
push esi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 5
call fcn.00401c90
cmp byte [ebp - 0xd], bl
jne 0x42871a
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.00401c90
jmp 0x42868c
xor esi, esi
inc esi
push ebx
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00401c90
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
jb 0x4282bd
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4ab340
lea ecx, [ebp - 0xa0]
call fcn.00401790
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xf4]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.004281b8
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1a
call fcn.00401c90
push 0x4aaa7e
lea ecx, [ebp - 0xf4]
call fcn.00404010
test eax, eax
je 0x428764
mov ecx, dword [ebp + 8]
or byte [esi + 0x40], 2
lea eax, [ebp - 0xf4]
push eax
call fcn.00408e70
jmp 0x428788
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
call fcn.00408e70
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.00401c90
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.00401c90
push ebx
push esi
lea ecx, [ebp - 0x84]
call fcn.00401c90
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 0x428799
cmp byte [ebp - 0x15], 1
jne 0x428799
mov ecx, dword [ebp + 8]
or al, 1
push str.TESTDEV0
mov byte [esi + 0x40], al
call fcn.00401790
push ebx
push edi
lea ecx, [ebp - 0xf4]
call fcn.00401c90
push ebx
push edi
jmp 0x428745
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 - 0x328]
mov byte [ebp - 4], 0x1d
call fcn.00435fd7
push ebx
push edi
lea ecx, [ebp - 0xd8]
call fcn.00401c90
push ebx
push edi
lea ecx, [ebp - 0xbc]
call fcn.00401c90
push ebx
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1f
call fcn.00401c90
lea ecx, [ebp - 0x328]
call fcn.0045c95f
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x394]
call fcn.00427ef9
push 0x4c2b20
lea eax, [ebp - 0x394]
push eax
call fcn.004666db
int3