Function at 0x403640
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4775b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ac
mov eax, dword [0x4bb344]
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.00402c10
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x2d0], 3
call fcn.00401500
mov eax, dword [esp + 0x3c]
mov ebp, 0x10
cmp eax, ebp
mov byte [esp + 0x2c4], 2
jb 0x403713
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004687f8
add esp, 4
lea edx, [esp + 0x24]
push edx
call fcn.00402cb0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x188]
mov byte [esp + 0x2d0], 4
call fcn.00401500
cmp dword [esp + 0x3c], ebp
mov byte [esp + 0x2c4], 2
jb 0x403753
mov eax, dword [esp + 0x28]
push eax
call fcn.004687f8
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 0x403e76
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.004015f0
mov eax, dword [esp + 0xec]
cmp eax, ebp
mov esi, dword [esp + 0xd8]
mov byte [esp + 0x2c4], 5
mov ecx, esi
jae 0x4037d3
lea ecx, [esp + 0xd8]
mov edx, dword [esp + 0xe8]
add ecx, edx
cmp eax, ebp
mov edx, esi
jae 0x4037eb
lea edx, [esp + 0xd8]
mov esi, edx
cmp edx, ebx
jne 0x4037f3
xor eax, eax
jmp 0x4037f7
mov eax, edx
sub eax, esi
cmp ecx, ebx
jne 0x4037ff
xor ecx, ecx
jmp 0x403801
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 0x403c20
mov eax, dword [str.TESTDEV0]
lea edx, [esp + 0x1b4]
push edx
push eax
call fcn.0045e534
add esp, 8
test eax, eax
jne 0x40385e
mov byte [esp + 0x12], 1
push 1
push 0x496b2c
lea ecx, [esp + 0x130]
call fcn.00402040
lea eax, [esp + 0x1b4]
lea edx, [eax + 1]
jmp 0x403880
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403880
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 0x4038a8
sub eax, esi
push eax
lea edx, [esp + 0x1b8]
push edx
lea ecx, [esp + 0xdc]
call fcn.004015f0
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.004015f0
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.004029e0
push eax
lea eax, [esp + 0x164]
push eax
mov byte [esp + 0x2cc], 7
call fcn.004027e0
add esp, 8
cmp dword [esp + 0xc8], ebp
jb 0x403939
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.004687f8
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 0x403969
mov edx, dword [esp + 0x44]
push edx
call fcn.004687f8
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.004015f0
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.004029e0
push eax
lea eax, [esp + 0x148]
push eax
mov byte [esp + 0x2cc], 0xc
call fcn.004027e0
add esp, 8
cmp dword [esp + 0xac], ebp
jb 0x4039f8
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004687f8
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 0x403a2e
mov edx, dword [esp + 0xf4]
push edx
call fcn.004687f8
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.004028a0
lea edx, [esp + 0x150]
push edx
push eax
lea eax, [esp + 0x120]
push eax
mov byte [esp + 0x2dc], 0x10
call fcn.00402940
add esp, 0x18
cmp dword [esp + 0x90], ebp
mov byte [esp + 0x2c4], 0x12
jb 0x403a99
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004687f8
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.004028a0
lea ecx, [esp + 0x188]
push ecx
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x2dc], 0x13
call fcn.00402940
mov ecx, dword [esp + 0x13c]
add esp, 0x18
cmp ecx, ebp
mov ecx, dword [esp + 0x110]
jae 0x403af9
lea ecx, [esp + 0x110]
cmp dword [eax + 0x18], ebp
jb 0x403b03
mov eax, dword [eax + 4]
jmp 0x403b06
add eax, 4
push ecx
push eax
call fcn.0045e534
mov ecx, dword [esp + 0x7c]
add esp, 8
neg eax
sbb al, al
inc al
cmp ecx, ebp
mov byte [esp + 0x13], al
jb 0x403b33
mov eax, dword [esp + 0x60]
push eax
call fcn.004687f8
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 0x403b56
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004687f8
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 0x403c42
cmp eax, ebp
jb 0x403b85
mov edx, dword [esp + 0x110]
push edx
call fcn.004687f8
add esp, 4
cmp dword [esp + 0x15c], ebp
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jb 0x403bb3
mov eax, dword [esp + 0x148]
push eax
call fcn.004687f8
add esp, 4
cmp dword [esp + 0x178], ebp
mov dword [esp + 0x15c], edi
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
jb 0x403be1
mov ecx, dword [esp + 0x164]
push ecx
call fcn.004687f8
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 0x403c17
mov edx, dword [esp + 0x12c]
push edx
call fcn.004687f8
add esp, 4
inc dword [esp + 0x20]
jmp 0x403780
cmp dword [esp + 0x140], ebp
mov byte [esp + 0x2c4], 2
jb 0x403ce8
mov eax, dword [esp + 0x12c]
push eax
jmp 0x403ce0
cmp eax, ebp
jb 0x403c56
mov ecx, dword [esp + 0x110]
push ecx
call fcn.004687f8
add esp, 4
cmp dword [esp + 0x15c], ebp
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jb 0x403c84
mov edx, dword [esp + 0x148]
push edx
call fcn.004687f8
add esp, 4
cmp dword [esp + 0x178], ebp
mov dword [esp + 0x15c], edi
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
jb 0x403cb2
mov eax, dword [esp + 0x164]
push eax
call fcn.004687f8
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 0x403ce8
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.004687f8
add esp, 4
cmp dword [esp + 0xe8], ebx
jne 0x403e76
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
mov edx, dword [0x4b9160]
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 0x403d30
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x48]
call fcn.004015f0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x2cc], 0x15
call fcn.00402b30
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xfc]
mov byte [esp + 0x2d0], 0x16
call fcn.00401500
cmp dword [esp + 0x3c], ebp
jb 0x403d8a
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004687f8
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 0x403db1
mov edx, dword [esp + 0x44]
push edx
call fcn.004687f8
add esp, 4
cmp dword [esp + 0x104], ebx
je 0x403ddb
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0xe0]
call fcn.00401500
mov eax, dword [esp + 0x14]
or byte [eax + 0x3c], 2
jmp 0x403e55
cmp byte [esp + 0x12], bl
je 0x403e11
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 0x403df0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0xdc]
call fcn.004015f0
mov eax, dword [esp + 0x14]
or byte [eax + 0x3c], 1
jmp 0x403e55
mov ecx, dword [esp + 0xec]
cmp ecx, ebp
mov edx, dword [esp + 0xd8]
mov eax, edx
jae 0x403e2c
lea eax, [esp + 0xd8]
mov esi, dword [esp + 0xe8]
add eax, esi
cmp ecx, ebp
mov ecx, edx
jae 0x403e42
lea ecx, [esp + 0xd8]
push eax
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xe0]
call fcn.004013a0
cmp dword [esp + 0x108], ebp
mov byte [esp + 0x2c4], 2
jb 0x403e76
mov edx, dword [esp + 0xf4]
push edx
call fcn.004687f8
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x403e89
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.00401500
cmp dword [esp + 0xec], ebp
jb 0x403ec4
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.004687f8
add esp, 4
cmp dword [esp + 0x194], ebp
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
jb 0x403ef2
mov edx, dword [esp + 0x180]
push edx
call fcn.004687f8
add esp, 4
cmp dword [esp + 0x1b0], ebp
mov dword [esp + 0x194], edi
mov dword [esp + 0x190], ebx
mov byte [esp + 0x180], bl
jb 0x403f20
mov eax, dword [esp + 0x19c]
push eax
call fcn.004687f8
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.0044de14
add esp, 0x2b8
ret 4