Function at 0x416d1a
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x46030b
call fcn.00437048
sub esp, 0x3a0
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], ebx
call fcn.0041fc0b
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 0x417197
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 0x41718e
mov dword [ebp - 0x30], ebx
jbe 0x41718e
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 esi, eax
lea eax, [ebp - 0x3ac]
push eax
lea ecx, [ebp - 0x54]
call fcn.00401496
push str.TESTDEV0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.004026d2
test eax, eax
jne 0x416ded
mov byte [ebp - 0x19], 1
cmp esi, ebx
jne 0x41716c
push str.InstallDirectory
lea ecx, [ebp - 0xe8]
call fcn.00401496
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x1c8]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.0040520d
add esp, 0xc
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 3
call fcn.00416868
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x1c8]
call fcn.00401050
push ebx
push esi
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 5
call fcn.00401050
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x238]
call fcn.0041db7f
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.0041db7f
push dword [ebp - 0x20]
or dword [ebp - 0x18], 2
mov ecx, eax
mov dword [ebp - 4], 8
call fcn.00405651
test eax, eax
je 0x416f04
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x270]
call fcn.0041db7f
or dword [ebp - 0x18], 4
push 0x4710e4
push eax
lea eax, [ebp - 0x158]
push eax
mov dword [ebp - 4], 9
call fcn.0040507a
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.0041db7f
push dword [ebp - 0x20]
or dword [ebp - 0x18], 0x10
mov ecx, eax
mov dword [ebp - 4], 0xb
call fcn.00405651
test eax, eax
mov byte [ebp - 0x11], bl
jne 0x416f08
mov byte [ebp - 0x11], 1
test byte [ebp - 0x18], 0x10
je 0x416f1f
and dword [ebp - 0x18], 0xffffffef
push ebx
push esi
lea ecx, [ebp - 0x200]
call fcn.00401050
test byte [ebp - 0x18], 8
je 0x416f36
and dword [ebp - 0x18], 0xfffffff7
push ebx
push esi
lea ecx, [ebp - 0x158]
call fcn.00401050
test byte [ebp - 0x18], 4
je 0x416f4d
and dword [ebp - 0x18], 0xfffffffb
push ebx
push esi
lea ecx, [ebp - 0x270]
call fcn.00401050
test byte [ebp - 0x18], 2
je 0x416f64
and dword [ebp - 0x18], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x190]
call fcn.00401050
test byte [ebp - 0x18], 1
mov dword [ebp - 4], 5
je 0x416f82
and dword [ebp - 0x18], 0xfffffffe
push ebx
push esi
lea ecx, [ebp - 0x238]
call fcn.00401050
cmp byte [ebp - 0x11], bl
je 0x41715d
push str.RuntimeExeName
lea ecx, [ebp - 0xc4]
call fcn.00401496
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0xc
call fcn.0041fc75
mov edx, eax
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0xd
call fcn.0041db7f
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.0040520d
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.0041699e
mov edx, eax
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x10
call fcn.0041db7f
push dword [ebp - 0x20]
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.00405651
neg eax
sbb al, al
push ebx
inc al
push esi
lea ecx, [ebp - 0x104]
mov byte [ebp - 0x11], al
call fcn.00401050
push ebx
push esi
lea ecx, [ebp - 0x2a8]
call fcn.00401050
push ebx
push esi
lea ecx, [ebp - 0x120]
call fcn.00401050
push ebx
push esi
lea ecx, [ebp - 0x13c]
call fcn.00401050
push ebx
push esi
lea ecx, [ebp - 0x174]
call fcn.00401050
push ebx
push esi
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 5
call fcn.00401050
cmp byte [ebp - 0x11], bl
jne 0x4171f9
push str.ExeName
lea ecx, [ebp - 0x8c]
call fcn.00401496
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x12
call fcn.0041fc75
mov edx, eax
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x13
call fcn.0041db7f
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.0040520d
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.00416868
mov edx, eax
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0x16
call fcn.0041db7f
push dword [ebp - 0x20]
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.00405651
neg eax
sbb al, al
push ebx
inc al
push esi
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 0x11], al
call fcn.00401050
push ebx
push esi
lea ecx, [ebp - 0x1e4]
call fcn.00401050
push ebx
push esi
lea ecx, [ebp - 0x21c]
call fcn.00401050
push ebx
push esi
lea ecx, [ebp - 0x254]
call fcn.00401050
push ebx
push esi
lea ecx, [ebp - 0x28c]
call fcn.00401050
push ebx
push esi
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 5
call fcn.00401050
cmp byte [ebp - 0x11], bl
jne 0x4171f9
push ebx
push esi
lea ecx, [ebp - 0xa8]
call fcn.00401050
jmp 0x41716f
xor esi, esi
inc esi
push ebx
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00401050
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x28]
jb 0x416d9b
mov esi, dword [ebp - 0x24]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x476dcc
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x18
call fcn.00401496
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xc4]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x19
call fcn.00416a73
push ebx
push 1
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x1b
call fcn.00401050
mov ecx, dword [ebp + 8]
or byte [esi + 0x40], 2
lea eax, [ebp - 0xc4]
push eax
call fcn.00404da1
push ebx
push 1
lea ecx, [ebp - 0xc4]
call fcn.00401050
jmp 0x417274
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x54]
push eax
call fcn.00404da1
push ebx
push esi
lea ecx, [ebp - 0xa8]
call fcn.00401050
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.00401050
push ebx
push esi
lea ecx, [ebp - 0x70]
call fcn.00401050
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 0x417227