Function at 0x403660
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x478316
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ac
mov eax, dword [0x4bc364]
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.00402c30
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x2d0], 3
call fcn.004014e0
mov eax, dword [esp + 0x3c]
mov ebp, 0x10
cmp eax, ebp
mov byte [esp + 0x2c4], 2
jb 0x403733
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00469560
add esp, 4
lea edx, [esp + 0x24]
push edx
call fcn.00402cd0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x188]
mov byte [esp + 0x2d0], 4
call fcn.004014e0
cmp dword [esp + 0x3c], ebp
mov byte [esp + 0x2c4], 2
jb 0x403773
mov eax, dword [esp + 0x28]
push eax
call fcn.00469560
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 0x403e96
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.004015d0
mov eax, dword [esp + 0xec]
cmp eax, ebp
mov esi, dword [esp + 0xd8]
mov byte [esp + 0x2c4], 5
mov ecx, esi
jae 0x4037f3
lea ecx, [esp + 0xd8]
mov edx, dword [esp + 0xe8]
add ecx, edx
cmp eax, ebp
mov edx, esi
jae 0x40380b
lea edx, [esp + 0xd8]
mov esi, edx
cmp edx, ebx
jne 0x403813
xor eax, eax
jmp 0x403817
mov eax, edx
sub eax, esi
cmp ecx, ebx
jne 0x40381f
xor ecx, ecx
jmp 0x403821
sub ecx, edx
push ecx
push eax
lea ecx, [esp + 0xdc]
call fcn.004011a0
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 0x403c40
mov eax, dword [str.TESTDEV0]
lea edx, [esp + 0x1b4]
push edx
push eax
call fcn.0045f224
add esp, 8
test eax, eax
jne 0x40387e
mov byte [esp + 0x12], 1
push 1
push 0x497b4c
lea ecx, [esp + 0x130]
call fcn.00402040
lea eax, [esp + 0x1b4]
lea edx, [eax + 1]
jmp 0x4038a0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4038a0
sub eax, edx
push eax
lea ecx, [esp + 0x1b8]
push ecx
lea ecx, [esp + 0x130]
call fcn.00402040
lea eax, [esp + 0x1b4]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4038c8
sub eax, esi
push eax
lea edx, [esp + 0x1b8]
push edx
lea ecx, [esp + 0xdc]
call fcn.004015d0
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.004015d0
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.00402a00
push eax
lea eax, [esp + 0x164]
push eax
mov byte [esp + 0x2cc], 7
call fcn.00402800
add esp, 8
cmp dword [esp + 0xc8], ebp
jb 0x403959
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00469560
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 0x403989
mov edx, dword [esp + 0x44]
push edx
call fcn.00469560
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.004015d0
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.00402a00
push eax
lea eax, [esp + 0x148]
push eax
mov byte [esp + 0x2cc], 0xc
call fcn.00402800
add esp, 8
cmp dword [esp + 0xac], ebp
jb 0x403a18
mov ecx, dword [esp + 0x98]
push ecx
call fcn.00469560
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 0x403a4e
mov edx, dword [esp + 0xf4]
push edx
call fcn.00469560
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.004028c0
lea edx, [esp + 0x150]
push edx
push eax
lea eax, [esp + 0x120]
push eax
mov byte [esp + 0x2dc], 0x10
call fcn.00402960
add esp, 0x18
cmp dword [esp + 0x90], ebp
mov byte [esp + 0x2c4], 0x12
jb 0x403ab9
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00469560
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.004028c0
lea ecx, [esp + 0x188]
push ecx
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x2dc], 0x13
call fcn.00402960
mov ecx, dword [esp + 0x13c]
add esp, 0x18
cmp ecx, ebp
mov ecx, dword [esp + 0x110]
jae 0x403b19
lea ecx, [esp + 0x110]
cmp dword [eax + 0x18], ebp
jb 0x403b23
mov eax, dword [eax + 4]
jmp 0x403b26
add eax, 4
push ecx
push eax
call fcn.0045f224
mov ecx, dword [esp + 0x7c]
add esp, 8
neg eax
sbb al, al
inc al
cmp ecx, ebp
mov byte [esp + 0x13], al
jb 0x403b53
mov eax, dword [esp + 0x60]
push eax
call fcn.00469560
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 0x403b76
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00469560
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 0x403c62
cmp eax, ebp
jb 0x403ba5
mov edx, dword [esp + 0x110]
push edx
call fcn.00469560
add esp, 4
cmp dword [esp + 0x15c], ebp
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jb 0x403bd3
mov eax, dword [esp + 0x148]
push eax
call fcn.00469560
add esp, 4
cmp dword [esp + 0x178], ebp
mov dword [esp + 0x15c], edi
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
jb 0x403c01
mov ecx, dword [esp + 0x164]
push ecx
call fcn.00469560
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 0x403c37
mov edx, dword [esp + 0x12c]
push edx
call fcn.00469560
add esp, 4
inc dword [esp + 0x20]
jmp 0x4037a0
cmp dword [esp + 0x140], ebp
mov byte [esp + 0x2c4], 2
jb 0x403d08
mov eax, dword [esp + 0x12c]
push eax
jmp 0x403d00
cmp eax, ebp
jb 0x403c76
mov ecx, dword [esp + 0x110]
push ecx
call fcn.00469560
add esp, 4
cmp dword [esp + 0x15c], ebp
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jb 0x403ca4
mov edx, dword [esp + 0x148]
push edx
call fcn.00469560
add esp, 4
cmp dword [esp + 0x178], ebp
mov dword [esp + 0x15c], edi
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
jb 0x403cd2
mov eax, dword [esp + 0x164]
push eax
call fcn.00469560
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 0x403d08
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.00469560
add esp, 4
cmp dword [esp + 0xe8], ebx
jne 0x403e96
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
mov edx, dword [0x4ba160]
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 0x403d50
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x48]
call fcn.004015d0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x2cc], 0x15
call fcn.00402b50
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xfc]
mov byte [esp + 0x2d0], 0x16
call fcn.004014e0
cmp dword [esp + 0x3c], ebp
jb 0x403daa
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00469560
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 0x403dd1
mov edx, dword [esp + 0x44]
push edx
call fcn.00469560
add esp, 4
cmp dword [esp + 0x104], ebx
je 0x403dfb
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0xe0]
call fcn.004014e0
mov eax, dword [esp + 0x14]
or byte [eax + 0x3c], 2
jmp 0x403e75
cmp byte [esp + 0x12], bl
je 0x403e31
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 0x403e10
sub eax, esi
push eax
push edx
lea ecx, [esp + 0xdc]
call fcn.004015d0
mov eax, dword [esp + 0x14]
or byte [eax + 0x3c], 1
jmp 0x403e75
mov ecx, dword [esp + 0xec]
cmp ecx, ebp
mov edx, dword [esp + 0xd8]
mov eax, edx
jae 0x403e4c
lea eax, [esp + 0xd8]
mov esi, dword [esp + 0xe8]
add eax, esi
cmp ecx, ebp
mov ecx, edx
jae 0x403e62
lea ecx, [esp + 0xd8]
push eax
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xe0]
call fcn.00401380
cmp dword [esp + 0x108], ebp
mov byte [esp + 0x2c4], 2
jb 0x403e96
mov edx, dword [esp + 0xf4]
push edx
call fcn.00469560
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x403ea9
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.004014e0
cmp dword [esp + 0xec], ebp
jb 0x403ee4
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.00469560
add esp, 4
cmp dword [esp + 0x194], ebp
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
jb 0x403f12
mov edx, dword [esp + 0x180]
push edx
call fcn.00469560
add esp, 4
cmp dword [esp + 0x1b0], ebp
mov dword [esp + 0x194], edi
mov dword [esp + 0x190], ebx
mov byte [esp + 0x180], bl
jb 0x403f40
mov eax, dword [esp + 0x19c]
push eax
call fcn.00469560
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.0044ead4
add esp, 0x2b8
ret 4