Function at 0x416bb6
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4601fb
call fcn.004367f8
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.0041fb07
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 0x417022
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 0x417019
mov dword [ebp - 0x30], ebx
jbe 0x417019
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.004015b0
push str.TESTDEV0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.0040280c
test eax, eax
jne 0x416c78
mov byte [ebp - 0x19], 1
cmp esi, ebx
jne 0x416ff7
push str.InstallDirectory
lea ecx, [ebp - 0xe8]
call fcn.004015b0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x1c8]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.0040532d
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.004166f3
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x1c8]
call fcn.0040117c
push ebx
push esi
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 5
call fcn.0040117c
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x238]
call fcn.0041da4e
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.0041da4e
push dword [ebp - 0x20]
or dword [ebp - 0x18], 2
mov ecx, eax
mov dword [ebp - 4], 8
call fcn.00405750
test eax, eax
je 0x416d8f
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x270]
call fcn.0041da4e
or dword [ebp - 0x18], 4
push 0x471238
push eax
lea eax, [ebp - 0x158]
push eax
mov dword [ebp - 4], 9
call fcn.0040519a
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.0041da4e
push dword [ebp - 0x20]
or dword [ebp - 0x18], 0x10
mov ecx, eax
mov dword [ebp - 4], 0xb
call fcn.00405750
test eax, eax
mov byte [ebp - 0x11], bl
jne 0x416d93
mov byte [ebp - 0x11], 1
test byte [ebp - 0x18], 0x10
je 0x416daa
and dword [ebp - 0x18], 0xffffffef
push ebx
push esi
lea ecx, [ebp - 0x200]
call fcn.0040117c
test byte [ebp - 0x18], 8
je 0x416dc1
and dword [ebp - 0x18], 0xfffffff7
push ebx
push esi
lea ecx, [ebp - 0x158]
call fcn.0040117c
test byte [ebp - 0x18], 4
je 0x416dd8
and dword [ebp - 0x18], 0xfffffffb
push ebx
push esi
lea ecx, [ebp - 0x270]
call fcn.0040117c
test byte [ebp - 0x18], 2
je 0x416def
and dword [ebp - 0x18], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x190]
call fcn.0040117c
test byte [ebp - 0x18], 1
mov dword [ebp - 4], 5
je 0x416e0d
and dword [ebp - 0x18], 0xfffffffe
push ebx
push esi
lea ecx, [ebp - 0x238]
call fcn.0040117c
cmp byte [ebp - 0x11], bl
je 0x416fe8
push str.RuntimeExeName
lea ecx, [ebp - 0xc4]
call fcn.004015b0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0xc
call fcn.0041fb71
mov edx, eax
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0xd
call fcn.0041da4e
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.0040532d
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.00416829
mov edx, eax
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x10
call fcn.0041da4e
push dword [ebp - 0x20]
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.00405750
neg eax
sbb al, al
push ebx
inc al
push esi
lea ecx, [ebp - 0x104]
mov byte [ebp - 0x11], al
call fcn.0040117c
push ebx
push esi
lea ecx, [ebp - 0x2a8]
call fcn.0040117c
push ebx
push esi
lea ecx, [ebp - 0x120]
call fcn.0040117c
push ebx
push esi
lea ecx, [ebp - 0x13c]
call fcn.0040117c
push ebx
push esi
lea ecx, [ebp - 0x174]
call fcn.0040117c
push ebx
push esi
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 5
call fcn.0040117c
cmp byte [ebp - 0x11], bl
jne 0x417084
push str.ExeName
lea ecx, [ebp - 0x8c]
call fcn.004015b0
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x12
call fcn.0041fb71
mov edx, eax
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x13
call fcn.0041da4e
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.0040532d
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.004166f3
mov edx, eax
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0x16
call fcn.0041da4e
push dword [ebp - 0x20]
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.00405750
neg eax
sbb al, al
push ebx
inc al
push esi
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 0x11], al
call fcn.0040117c
push ebx
push esi
lea ecx, [ebp - 0x1e4]
call fcn.0040117c
push ebx
push esi
lea ecx, [ebp - 0x21c]
call fcn.0040117c
push ebx
push esi
lea ecx, [ebp - 0x254]
call fcn.0040117c
push ebx
push esi
lea ecx, [ebp - 0x28c]
call fcn.0040117c
push ebx
push esi
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 5
call fcn.0040117c
cmp byte [ebp - 0x11], bl
jne 0x417084
push ebx
push esi
lea ecx, [ebp - 0xa8]
call fcn.0040117c
jmp 0x416ffa
xor esi, esi
inc esi
push ebx
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0040117c
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x28]
jb 0x416c26
mov esi, dword [ebp - 0x24]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x476e74
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x18
call fcn.004015b0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xc4]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x19
call fcn.004168fe
push ebx
push 1
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x1b
call fcn.0040117c
mov ecx, dword [ebp + 8]
or byte [esi + 0x40], 2
lea eax, [ebp - 0xc4]
push eax
call fcn.00404ec1
push ebx
push 1
lea ecx, [ebp - 0xc4]
call fcn.0040117c
jmp 0x4170ff
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x54]
push eax
call fcn.00404ec1
push ebx
push esi
lea ecx, [ebp - 0xa8]
call fcn.0040117c
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.0040117c
push ebx
push esi
lea ecx, [ebp - 0x70]
call fcn.0040117c
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 0x4170b2