Function at 0x41209a
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x457dde
call fcn.00430898
sub esp, 0x3a0
push ebx
push esi
push edi
lea eax, [ebp - 0x70]
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], ebx
call fcn.00411e2f
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push ebx
push str.SOFTWAREWildTangentInstalledSKUs
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
mov byte [ebp - 0x19], bl
mov dword [ebp - 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412521
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x28], ebx
je 0x412518
mov dword [ebp - 0x30], ebx
jbe 0x412518
mov edi, str.SOFTWAREWildTangentInstalledSKUs_
lea eax, [ebp - 0xcc]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3ac]
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x38], 0x104
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3ac]
push eax
lea ecx, [ebp - 0x54]
call fcn.00404d2a
push str.TESTDEV0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00401f29
test eax, eax
jne 0x41216f
mov byte [ebp - 0x19], 1
cmp dword [ebp - 0x20], ebx
jne 0x4124f6
push str.InstallDirectory
lea ecx, [ebp - 0xe8]
call fcn.00404d2a
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x1c8]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.00404d6c
add esp, 0xc
lea ecx, [ebp - 0xe8]
push ecx
push eax
lea eax, [ebp - 0xa8]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00411b25
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x1c8]
call fcn.00401df9
push ebx
push esi
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 5
call fcn.00401df9
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x238]
call fcn.0041808e
mov dword [ebp - 0x20], eax
or dword [ebp - 0x18], esi
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 7
call fcn.0041808e
push dword [ebp - 0x20]
or dword [ebp - 0x18], 2
mov ecx, eax
mov dword [ebp - 4], 8
call fcn.00407a31
test eax, eax
je 0x412286
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x270]
call fcn.0041808e
or dword [ebp - 0x18], 4
push 0x4680bc
push eax
lea eax, [ebp - 0x158]
push eax
mov dword [ebp - 4], 9
call fcn.00404bb7
add esp, 0xc
mov dword [ebp - 0x20], eax
or dword [ebp - 0x18], 8
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x200]
mov dword [ebp - 4], 0xa
call fcn.0041808e
push dword [ebp - 0x20]
or dword [ebp - 0x18], 0x10
mov ecx, eax
mov dword [ebp - 4], 0xb
call fcn.00407a31
test eax, eax
mov byte [ebp - 0x11], bl
jne 0x41228a
mov byte [ebp - 0x11], 1
test byte [ebp - 0x18], 0x10
je 0x4122a1
and dword [ebp - 0x18], 0xffffffef
push ebx
push esi
lea ecx, [ebp - 0x200]
call fcn.00401df9
test byte [ebp - 0x18], 8
je 0x4122b8
and dword [ebp - 0x18], 0xfffffff7
push ebx
push esi
lea ecx, [ebp - 0x158]
call fcn.00401df9
test byte [ebp - 0x18], 4
je 0x4122cf
and dword [ebp - 0x18], 0xfffffffb
push ebx
push esi
lea ecx, [ebp - 0x270]
call fcn.00401df9
test byte [ebp - 0x18], 2
je 0x4122e6
and dword [ebp - 0x18], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x190]
call fcn.00401df9
test byte [ebp - 0x18], 1
mov dword [ebp - 4], 5
je 0x412304
and dword [ebp - 0x18], 0xfffffffe
push ebx
push esi
lea ecx, [ebp - 0x238]
call fcn.00401df9
cmp byte [ebp - 0x11], bl
je 0x4124e7
push str.RuntimeExeName
lea ecx, [ebp - 0xc4]
call fcn.00404d2a
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x174]
push eax
mov byte [ebp - 4], 0xc
call fcn.00411e80
mov edx, eax
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0xd
call fcn.0041808e
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x120]
push edi
push eax
mov byte [ebp - 4], 0xe
call fcn.00404d6c
add esp, 0xc
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x2a8]
push eax
mov byte [ebp - 4], 0xf
call fcn.00411c5b
mov edx, eax
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x10
call fcn.0041808e
push dword [ebp - 0x20]
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.00407a31
neg eax
sbb al, al
push ebx
inc al
push esi
lea ecx, [ebp - 0x104]
mov byte [ebp - 0x11], al
call fcn.00401df9
push ebx
push esi
lea ecx, [ebp - 0x2a8]
call fcn.00401df9
push ebx
push esi
lea ecx, [ebp - 0x120]
call fcn.00401df9
push ebx
push esi
lea ecx, [ebp - 0x13c]
call fcn.00401df9
push ebx
push esi
lea ecx, [ebp - 0x174]
call fcn.00401df9
push ebx
push esi
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 5
call fcn.00401df9
cmp byte [ebp - 0x11], bl
jne 0x412583
push str.ExeName
lea ecx, [ebp - 0x8c]
call fcn.00404d2a
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x28c]
push eax
mov byte [ebp - 4], 0x12
call fcn.00411e80
mov edx, eax
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x13
call fcn.0041808e
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x21c]
push edi
push eax
mov byte [ebp - 4], 0x14
call fcn.00404d6c
add esp, 0xc
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x1e4]
push eax
mov byte [ebp - 4], 0x15
call fcn.00411b25
mov edx, eax
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0x16
call fcn.0041808e
push dword [ebp - 0x20]
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.00407a31
neg eax
sbb al, al
push ebx
inc al
push esi
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 0x11], al
call fcn.00401df9
push ebx
push esi
lea ecx, [ebp - 0x1e4]
call fcn.00401df9
push ebx
push esi
lea ecx, [ebp - 0x21c]
call fcn.00401df9
push ebx
push esi
lea ecx, [ebp - 0x254]
call fcn.00401df9
push ebx
push esi
lea ecx, [ebp - 0x28c]
call fcn.00401df9
push ebx
push esi
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 5
call fcn.00401df9
cmp byte [ebp - 0x11], bl
jne 0x412583
push ebx
push esi
lea ecx, [ebp - 0xa8]
call fcn.00401df9
jmp 0x4124f9
xor esi, esi
inc esi
push ebx
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00401df9
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
jb 0x41211c
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x46d7cc
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x18
call fcn.00404d2a
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xc4]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x19
call fcn.00411d30
push ebx
push 1
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x1b
call fcn.00401df9
mov ecx, dword [ebp + 8]
or byte [esi + 0x40], 2
lea eax, [ebp - 0xc4]
push eax
call fcn.00404852
push ebx
push 1
lea ecx, [ebp - 0xc4]
call fcn.00401df9
jmp 0x4125fe
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x54]
push eax
call fcn.00404852
push ebx
push esi
lea ecx, [ebp - 0xa8]
call fcn.00401df9
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.00401df9
push ebx
push esi
lea ecx, [ebp - 0x70]
call fcn.00401df9
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
push ebx
push 1
jmp 0x4125b1