Function at 0x4035a0
Capabilities:
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x475d56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b0
mov eax, dword [0x4b9314]
xor eax, esp
push ebx
push ebp
xor ebx, ebx
push esi
mov dword [esp + 0x2b8], eax
mov eax, dword [esp + 0x2cc]
push edi
mov dword [esp + 0x1c], ebx
mov edi, 0xf
mov dword [esp + 0x14], ecx
mov dword [esp + 0x5c], eax
mov byte [esp + 0x12], bl
mov dword [esp + 0x1b4], edi
mov dword [esp + 0x1b0], ebx
mov byte [esp + 0x1a0], bl
mov dword [esp + 0x2c8], ebx
mov dword [esp + 0x198], edi
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], bl
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x2cc], 2
call fcn.00402bf0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1a8]
mov byte [esp + 0x2d4], 3
call fcn.004014b0
mov eax, dword [esp + 0x3c]
mov ebp, 0x10
cmp eax, ebp
mov byte [esp + 0x2c8], 2
jb 0x403680
mov edx, dword [esp + 0x28]
push edx
call fcn.00466c9d
add esp, 4
lea eax, [esp + 0x24]
push eax
call fcn.00402c90
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x18c]
mov byte [esp + 0x2d4], 4
call fcn.004014b0
cmp dword [esp + 0x3c], ebp
mov byte [esp + 0x2c8], 2
jb 0x4036c0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00466c9d
add esp, 4
lea edx, [esp + 0x20]
push edx
push 0x20019
push ebx
push str.SOFTWAREWildTangentInstalledSKUs
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x403de6
mov dword [esp + 0x18], ebx
jmp 0x4036f0
push 0x22
push str.SOFTWAREWildTangentInstalledSKUs
lea ecx, [esp + 0x118]
mov dword [esp + 0x24], 0x104
mov dword [esp + 0x130], edi
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
call fcn.004015a0
mov eax, dword [esp + 0xf0]
cmp eax, ebp
mov esi, dword [esp + 0xdc]
mov byte [esp + 0x2c8], 5
mov ecx, esi
jae 0x403743
lea ecx, [esp + 0xdc]
mov edx, dword [esp + 0xec]
add ecx, edx
cmp eax, ebp
mov edx, esi
jae 0x40375b
lea edx, [esp + 0xdc]
mov esi, edx
cmp edx, ebx
jne 0x403763
xor eax, eax
jmp 0x403767
mov eax, edx
sub eax, esi
cmp ecx, ebx
jne 0x40376f
xor ecx, ecx
jmp 0x403771
sub ecx, edx
push ecx
push eax
lea ecx, [esp + 0xe0]
call fcn.00401170
lea eax, [esp + 0xd0]
push eax
mov eax, dword [esp + 0x1c]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x1cc]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x403b93
mov eax, dword [str.TESTDEV0]
lea edx, [esp + 0x1b8]
push edx
push eax
call fcn.0045c864
add esp, 8
test eax, eax
jne 0x4037ce
mov byte [esp + 0x12], 1
push 1
push 0x494a30
lea ecx, [esp + 0x118]
call fcn.00401fe0
lea eax, [esp + 0x1b8]
lea edx, [eax + 1]
jmp 0x4037f0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4037f0
sub eax, edx
push eax
lea ecx, [esp + 0x1bc]
push ecx
lea ecx, [esp + 0x118]
call fcn.00401fe0
lea eax, [esp + 0x1b8]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403818
sub eax, esi
push eax
lea edx, [esp + 0x1bc]
push edx
lea ecx, [esp + 0xe0]
call fcn.004015a0
push ebp
push str.InstallDirectory
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.004015a0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x114]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x2d4], 6
call fcn.004029a0
push eax
lea eax, [esp + 0x168]
push eax
mov byte [esp + 0x2d0], 7
call fcn.004027a0
add esp, 8
cmp dword [esp + 0x78], ebp
jb 0x4038a0
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x58], ebp
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov byte [esp + 0x2c8], 9
jb 0x4038c7
mov edx, dword [esp + 0x44]
push edx
call fcn.00466c9d
add esp, 4
push 7
push str.ExeName
lea ecx, [esp + 0xfc]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
call fcn.004015a0
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x114]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xbc]
push edx
mov byte [esp + 0x2d4], 0xb
call fcn.004029a0
push eax
lea eax, [esp + 0x14c]
push eax
mov byte [esp + 0x2d0], 0xc
call fcn.004027a0
add esp, 8
cmp dword [esp + 0xcc], ebp
jb 0x403956
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x10c], ebp
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
mov byte [esp + 0x2c8], 0xe
jb 0x40398c
mov edx, dword [esp + 0xf8]
push edx
call fcn.00466c9d
add esp, 4
push 0x5c
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0xa0]
push ecx
mov dword [esp + 0x118], edi
mov dword [esp + 0x114], ebx
mov byte [esp + 0x104], bl
call fcn.00402860
lea edx, [esp + 0x154]
push edx
push eax
lea eax, [esp + 0x140]
push eax
mov byte [esp + 0x2e0], 0x10
call fcn.00402900
add esp, 0x18
cmp dword [esp + 0xb0], ebp
mov byte [esp + 0x2c8], 0x12
jb 0x4039fa
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.00466c9d
add esp, 4
push 0x5c
lea edx, [esp + 0x1a0]
push edx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.00402860
lea ecx, [esp + 0x18c]
push ecx
push eax
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0x2e0], 0x13
call fcn.00402900
mov ecx, dword [esp + 0x15c]
add esp, 0x18
cmp ecx, ebp
mov ecx, dword [esp + 0x130]
jae 0x403a5d
lea ecx, [esp + 0x130]
cmp dword [eax + 0x18], ebp
jb 0x403a67
mov eax, dword [eax + 4]
jmp 0x403a6a
add eax, 4
push ecx
push eax
call fcn.0045c864
mov ecx, dword [esp + 0x9c]
add esp, 8
neg eax
sbb al, al
inc al
cmp ecx, ebp
mov byte [esp + 0x13], al
jb 0x403a9d
mov eax, dword [esp + 0x80]
push eax
call fcn.00466c9d
mov al, byte [esp + 0x17]
add esp, 4
cmp dword [esp + 0x3c], ebp
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
jb 0x403ac9
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00466c9d
mov al, byte [esp + 0x17]
add esp, 4
cmp al, bl
mov eax, dword [esp + 0x144]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
jne 0x403bb5
cmp eax, ebp
jb 0x403af8
mov edx, dword [esp + 0x130]
push edx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x160], ebp
mov dword [esp + 0x144], edi
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
jb 0x403b26
mov eax, dword [esp + 0x14c]
push eax
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x17c], ebp
mov dword [esp + 0x160], edi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
jb 0x403b54
mov ecx, dword [esp + 0x168]
push ecx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x128], ebp
mov dword [esp + 0x17c], edi
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
mov byte [esp + 0x2c8], 2
jb 0x403b8a
mov edx, dword [esp + 0x114]
push edx
call fcn.00466c9d
add esp, 4
inc dword [esp + 0x18]
jmp 0x4036f0
cmp dword [esp + 0x128], ebp
mov byte [esp + 0x2c8], 2
jb 0x403c5b
mov eax, dword [esp + 0x114]
push eax
jmp 0x403c53
cmp eax, ebp
jb 0x403bc9
mov ecx, dword [esp + 0x130]
push ecx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x160], ebp
mov dword [esp + 0x144], edi
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
jb 0x403bf7
mov edx, dword [esp + 0x14c]
push edx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x17c], ebp
mov dword [esp + 0x160], edi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
jb 0x403c25
mov eax, dword [esp + 0x168]
push eax
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x128], ebp
mov dword [esp + 0x17c], edi
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
mov byte [esp + 0x2c8], 2
jb 0x403c5b
mov ecx, dword [esp + 0x114]
push ecx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0xec], ebx
jne 0x403de6
mov dword [esp + 0x10c], edi
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
mov edx, dword [0x4b7160]
mov eax, edx
mov byte [esp + 0x2c8], 0x14
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403ca0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x48]
call fcn.004015a0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x2d0], 0x15
call fcn.00402b00
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x2d4], 0x16
call fcn.004014b0
cmp dword [esp + 0x3c], ebp
jb 0x403cfa
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x58], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x2c8], 0x14
jb 0x403d21
mov edx, dword [esp + 0x44]
push edx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x108], ebx
je 0x403d4b
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0xe4]
call fcn.004014b0
mov eax, dword [esp + 0x14]
or byte [eax + 0x3c], 2
jmp 0x403dc5
cmp byte [esp + 0x12], bl
je 0x403d81
mov edx, dword [str.TESTDEV0]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403d60
sub eax, esi
push eax
push edx
lea ecx, [esp + 0xe0]
call fcn.004015a0
mov eax, dword [esp + 0x14]
or byte [eax + 0x3c], 1
jmp 0x403dc5
mov ecx, dword [esp + 0xf0]
cmp ecx, ebp
mov edx, dword [esp + 0xdc]
mov eax, edx
jae 0x403d9c
lea eax, [esp + 0xdc]
mov esi, dword [esp + 0xec]
add eax, esi
cmp ecx, ebp
mov ecx, edx
jae 0x403db2
lea ecx, [esp + 0xdc]
push eax
push ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xe4]
call fcn.00401350
cmp dword [esp + 0x10c], ebp
mov byte [esp + 0x2c8], 2
jb 0x403de6
mov edx, dword [esp + 0xf8]
push edx
call fcn.00466c9d
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x403df9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x5c]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xe0]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004014b0
cmp dword [esp + 0xf0], ebp
jb 0x403e31
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x198], ebp
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
jb 0x403e5f
mov edx, dword [esp + 0x184]
push edx
call fcn.00466c9d
add esp, 4
cmp dword [esp + 0x1b4], ebp
mov dword [esp + 0x198], edi
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], bl
jb 0x403e8d
mov eax, dword [esp + 0x1a0]
push eax
call fcn.00466c9d
add esp, 4
mov ecx, dword [esp + 0x2c0]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2b0]
pop ebx
xor ecx, esp
call fcn.0044c1c4
add esp, 0x2bc
ret 4