Function at 0x4035f0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x477186
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ac
mov eax, dword [0x4b9314]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x18], ebx
mov edi, 0xf
mov dword [esp + 0x2b8], eax
mov dword [esp + 0x14], ecx
mov byte [esp + 0x12], bl
mov dword [esp + 0x1b0], edi
mov dword [esp + 0x1ac], ebx
mov byte [esp + 0x19c], bl
mov dword [esp + 0x2c4], ebx
mov dword [esp + 0x194], edi
mov dword [esp + 0x190], ebx
mov byte [esp + 0x180], bl
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x2c8], 2
call fcn.00402bc0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x2d0], 3
call fcn.004014d0
mov eax, dword [esp + 0x3c]
mov ebp, 0x10
cmp eax, ebp
mov byte [esp + 0x2c4], 2
jb 0x4036c3
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004683c8
add esp, 4
lea edx, [esp + 0x24]
push edx
call fcn.00402c60
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x188]
mov byte [esp + 0x2d0], 4
call fcn.004014d0
cmp dword [esp + 0x3c], ebp
mov byte [esp + 0x2c4], 2
jb 0x403703
mov eax, dword [esp + 0x28]
push eax
call fcn.004683c8
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push ebx
push str.SOFTWAREWildTangentInstalledSKUs
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x403e26
mov dword [esp + 0x20], ebx
lea ebx, [ebx]
push 0x22
push str.SOFTWAREWildTangentInstalledSKUs
lea ecx, [esp + 0x130]
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x148], edi
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
call fcn.004015c0
mov eax, dword [esp + 0xec]
cmp eax, ebp
mov esi, dword [esp + 0xd8]
mov byte [esp + 0x2c4], 5
mov ecx, esi
jae 0x403783
lea ecx, [esp + 0xd8]
mov edx, dword [esp + 0xe8]
add ecx, edx
cmp eax, ebp
mov edx, esi
jae 0x40379b
lea edx, [esp + 0xd8]
mov esi, edx
cmp edx, ebx
jne 0x4037a3
xor eax, eax
jmp 0x4037a7
mov eax, edx
sub eax, esi
cmp ecx, ebx
jne 0x4037af
xor ecx, ecx
jmp 0x4037b1
sub ecx, edx
push ecx
push eax
lea ecx, [esp + 0xdc]
call fcn.00401190
lea eax, [esp + 0xcc]
push eax
mov eax, dword [esp + 0x24]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c8]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x403bd0
mov eax, dword [str.TESTDEV0]
lea edx, [esp + 0x1b4]
push edx
push eax
call fcn.0045e134
add esp, 8
test eax, eax
jne 0x40380e
mov byte [esp + 0x12], 1
push 1
push 0x494a70
lea ecx, [esp + 0x130]
call fcn.00401fd0
lea eax, [esp + 0x1b4]
lea edx, [eax + 1]
jmp 0x403830
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403830
sub eax, edx
push eax
lea ecx, [esp + 0x1b8]
push ecx
lea ecx, [esp + 0x130]
call fcn.00401fd0
lea eax, [esp + 0x1b4]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403858
sub eax, esi
push eax
lea edx, [esp + 0x1b8]
push edx
lea ecx, [esp + 0xdc]
call fcn.004015c0
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.004015c0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x12c]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xb8]
push edx
mov byte [esp + 0x2d0], 6
call fcn.00402990
push eax
lea eax, [esp + 0x164]
push eax
mov byte [esp + 0x2cc], 7
call fcn.00402790
add esp, 8
cmp dword [esp + 0xc8], ebp
jb 0x4038e9
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.004683c8
add esp, 4
cmp dword [esp + 0x58], ebp
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
mov byte [esp + 0x2c4], 9
jb 0x403919
mov edx, dword [esp + 0x44]
push edx
call fcn.004683c8
add esp, 4
push 7
push str.ExeName
lea ecx, [esp + 0xf8]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
call fcn.004015c0
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x12c]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x9c]
push edx
mov byte [esp + 0x2d0], 0xb
call fcn.00402990
push eax
lea eax, [esp + 0x148]
push eax
mov byte [esp + 0x2cc], 0xc
call fcn.00402790
add esp, 8
cmp dword [esp + 0xac], ebp
jb 0x4039a8
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004683c8
add esp, 4
cmp dword [esp + 0x108], ebp
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
mov byte [esp + 0x2c4], 0xe
jb 0x4039de
mov edx, dword [esp + 0xf4]
push edx
call fcn.004683c8
add esp, 4
push 0x5c
lea eax, [esp + 0x164]
push eax
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
call fcn.00402850
lea edx, [esp + 0x150]
push edx
push eax
lea eax, [esp + 0x120]
push eax
mov byte [esp + 0x2dc], 0x10
call fcn.004028f0
add esp, 0x18
cmp dword [esp + 0x90], ebp
mov byte [esp + 0x2c4], 0x12
jb 0x403a49
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004683c8
add esp, 4
push 0x5c
lea edx, [esp + 0x19c]
push edx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.00402850
lea ecx, [esp + 0x188]
push ecx
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x2dc], 0x13
call fcn.004028f0
mov ecx, dword [esp + 0x13c]
add esp, 0x18
cmp ecx, ebp
mov ecx, dword [esp + 0x110]
jae 0x403aa9
lea ecx, [esp + 0x110]
cmp dword [eax + 0x18], ebp
jb 0x403ab3
mov eax, dword [eax + 4]
jmp 0x403ab6
add eax, 4
push ecx
push eax
call fcn.0045e134
mov ecx, dword [esp + 0x7c]
add esp, 8
neg eax
sbb al, al
inc al
cmp ecx, ebp
mov byte [esp + 0x13], al
jb 0x403ae3
mov eax, dword [esp + 0x60]
push eax
call fcn.004683c8
mov al, byte [esp + 0x17]
add esp, 4
cmp dword [esp + 0x3c], ebp
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x403b06
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004683c8
mov al, byte [esp + 0x17]
add esp, 4
cmp al, bl
mov eax, dword [esp + 0x124]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
jne 0x403bf2
cmp eax, ebp
jb 0x403b35
mov edx, dword [esp + 0x110]
push edx
call fcn.004683c8
add esp, 4
cmp dword [esp + 0x15c], ebp
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jb 0x403b63
mov eax, dword [esp + 0x148]
push eax
call fcn.004683c8
add esp, 4
cmp dword [esp + 0x178], ebp
mov dword [esp + 0x15c], edi
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
jb 0x403b91
mov ecx, dword [esp + 0x164]
push ecx
call fcn.004683c8
add esp, 4
cmp dword [esp + 0x140], ebp
mov dword [esp + 0x178], edi
mov dword [esp + 0x174], ebx
mov byte [esp + 0x164], bl
mov byte [esp + 0x2c4], 2
jb 0x403bc7
mov edx, dword [esp + 0x12c]
push edx
call fcn.004683c8
add esp, 4
inc dword [esp + 0x20]
jmp 0x403730
cmp dword [esp + 0x140], ebp
mov byte [esp + 0x2c4], 2
jb 0x403c98
mov eax, dword [esp + 0x12c]
push eax
jmp 0x403c90
cmp eax, ebp
jb 0x403c06
mov ecx, dword [esp + 0x110]
push ecx
call fcn.004683c8
add esp, 4
cmp dword [esp + 0x15c], ebp
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jb 0x403c34
mov edx, dword [esp + 0x148]
push edx
call fcn.004683c8
add esp, 4
cmp dword [esp + 0x178], ebp
mov dword [esp + 0x15c], edi
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
jb 0x403c62
mov eax, dword [esp + 0x164]
push eax
call fcn.004683c8
add esp, 4
cmp dword [esp + 0x140], ebp
mov dword [esp + 0x178], edi
mov dword [esp + 0x174], ebx
mov byte [esp + 0x164], bl
mov byte [esp + 0x2c4], 2
jb 0x403c98
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.004683c8
add esp, 4
cmp dword [esp + 0xe8], ebx
jne 0x403e26
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
mov edx, dword [0x4b7160]
mov eax, edx
mov byte [esp + 0x2c4], 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 0x403ce0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x48]
call fcn.004015c0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x2cc], 0x15
call fcn.00402ae0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xfc]
mov byte [esp + 0x2d0], 0x16
call fcn.004014d0
cmp dword [esp + 0x3c], ebp
jb 0x403d3a
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004683c8
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 + 0x2c4], 0x14
jb 0x403d61
mov edx, dword [esp + 0x44]
push edx
call fcn.004683c8
add esp, 4
cmp dword [esp + 0x104], ebx
je 0x403d8b
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0xe0]
call fcn.004014d0
mov eax, dword [esp + 0x14]
or byte [eax + 0x3c], 2
jmp 0x403e05
cmp byte [esp + 0x12], bl
je 0x403dc1
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 0x403da0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0xdc]
call fcn.004015c0
mov eax, dword [esp + 0x14]
or byte [eax + 0x3c], 1
jmp 0x403e05
mov ecx, dword [esp + 0xec]
cmp ecx, ebp
mov edx, dword [esp + 0xd8]
mov eax, edx
jae 0x403ddc
lea eax, [esp + 0xd8]
mov esi, dword [esp + 0xe8]
add eax, esi
cmp ecx, ebp
mov ecx, edx
jae 0x403df2
lea ecx, [esp + 0xd8]
push eax
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xe0]
call fcn.00401370
cmp dword [esp + 0x108], ebp
mov byte [esp + 0x2c4], 2
jb 0x403e26
mov edx, dword [esp + 0xf4]
push edx
call fcn.004683c8
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x403e39
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x2cc]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xdc]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004014d0
cmp dword [esp + 0xec], ebp
jb 0x403e74
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.004683c8
add esp, 4
cmp dword [esp + 0x194], ebp
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
jb 0x403ea2
mov edx, dword [esp + 0x180]
push edx
call fcn.004683c8
add esp, 4
cmp dword [esp + 0x1b0], ebp
mov dword [esp + 0x194], edi
mov dword [esp + 0x190], ebx
mov byte [esp + 0x180], bl
jb 0x403ed0
mov eax, dword [esp + 0x19c]
push eax
call fcn.004683c8
add esp, 4
mov ecx, dword [esp + 0x2bc]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2ac]
pop ebx
call fcn.0044da14
add esp, 0x2b8
ret 4