Function at 0x552630
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x50
push 0
push 0
dec ecx
jne 0x552639
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
call fcn.00404690
xor eax, eax
push ebp
push 0x552b1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x417bc0]
call fcn.0040337c
mov esi, eax
mov eax, dword [0x5597ec]
cmp byte [eax], 0
je 0x552693
mov ecx, 0xf013f
mov dl, 1
mov eax, dword [0x4a71f4]
call fcn.004a73c8
mov dword [ebp - 0x38], eax
jmp 0x5526a2
mov dl, 1
mov eax, dword [0x4a71f4]
call fcn.004a7384
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x38]
call fcn.004a7478
push 1
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x38]
call fcn.004a74e0
test al, al
je 0x552930
mov edx, esi
mov eax, dword [ebp - 0x38]
call fcn.004a7b28
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x552930
inc eax
mov dword [ebp - 0x40], eax
xor ebx, ebx
mov eax, dword [ebp - 0x3c]
mov edx, 0x552b34
call fcn.004045ec
je 0x552926
lea ecx, [ebp - 0x244]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x38]
call fcn.004a7c68
cmp al, 2
je 0x55273d
lea ecx, [ebp - 0x248]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x38]
call fcn.004a7c68
cmp al, 1
jne 0x5527df
lea ecx, [ebp - 0x24c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x24c]
push 0x552b40
lea ecx, [ebp - 0x254]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x254]
lea ecx, [ebp - 0x250]
mov eax, dword [ebp - 0x38]
call fcn.004a7cb8
push dword [ebp - 0x250]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404560
lea edx, [ebp - 0x258]
mov eax, dword [ebp - 0x3c]
call fcn.0040888c
mov eax, dword [ebp - 0x258]
mov edx, 0x552b40
call fcn.004045ec
je 0x552926
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp + 8]
call fcn.0044cf38
mov edi, eax
mov edx, 1
mov eax, edi
call fcn.0044be94
mov edx, 1
mov eax, edi
call fcn.0044bf94
lea ecx, [ebp - 0x25c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x38]
call fcn.004a7c68
cmp al, 3
jne 0x5528ab
lea ecx, [ebp - 0x260]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x260]
push 0x552b40
lea ecx, [ebp - 0x268]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x38]
call fcn.004a7d44
lea edx, [ebp - 0x264]
call fcn.00408d80
push dword [ebp - 0x264]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404560
lea edx, [ebp - 0x26c]
mov eax, dword [ebp - 0x3c]
call fcn.0040888c
mov eax, dword [ebp - 0x26c]
mov edx, 0x552b40
call fcn.004045ec
je 0x552926
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp + 8]
call fcn.0044cf38
mov edi, eax
mov edx, 2
mov eax, edi
call fcn.0044be94
mov edx, 1
mov eax, edi
call fcn.0044bf94
lea ecx, [ebp - 0x270]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x270]
mov eax, dword [ebp - 0x38]
call fcn.004a7c68
cmp al, 4
jne 0x552926
lea ecx, [ebp - 0x3c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x274]
mov eax, dword [ebp - 0x3c]
call fcn.0040888c
mov eax, dword [ebp - 0x274]
mov edx, 0x552b40
call fcn.004045ec
je 0x552926
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp + 8]
call fcn.0044cf38
mov edi, eax
mov edx, 2
mov eax, edi
call fcn.0044be94
mov edx, 1
mov eax, edi
call fcn.0044bf94
inc ebx
dec dword [ebp - 0x40]
jne 0x5526e4
mov eax, dword [0x5597ec]
cmp byte [eax], 0
je 0x552941
mov ebx, 0x20119
jmp 0x552946
mov ebx, 0x20019
lea eax, [ebp - 0x10]
push eax
push ebx
push 0
mov eax, dword [ebp + 0xc]
call fcn.004046a0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x552ac5
push 0
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
mov dword [ebp - 0x14], 0x3e8
mov eax, dword [ebp - 0x1c]
dec eax
test eax, eax
jl 0x552ac5
inc eax
mov dword [ebp - 0x40], eax
xor ebx, ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x240]
push eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyExA
cmp dword [ebp + 0xc], 0
jne 0x552a00
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x27c], eax
mov byte [ebp - 0x278], 6
lea edx, [ebp - 0x27c]
xor ecx, ecx
mov eax, 0x552b4c
call fcn.00409e28
jmp 0x552a47
push dword [ebp + 0xc]
push 0x552b58
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x27c], eax
mov byte [ebp - 0x278], 6
lea edx, [ebp - 0x27c]
xor ecx, ecx
mov eax, 0x552b4c
call fcn.00409e28
push dword [ebp - 0x280]
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404560
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x27c], eax
mov byte [ebp - 0x278], 6
lea edx, [ebp - 0x27c]
xor ecx, ecx
mov eax, 0x552b4c
call fcn.00409e28
mov ecx, dword [ebp - 0x284]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26c]
mov edx, dword [ebp + 8]
call fcn.0044cf38
mov edi, eax
xor edx, edx
mov eax, edi
call fcn.0044be94
mov edx, 1
mov eax, edi
call fcn.0044bf94
mov eax, dword [ebp - 0x34]
push eax
push edi
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00552630
mov dword [ebp - 0x14], 0x3e8
inc ebx
dec dword [ebp - 0x40]
jne 0x5529b2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, esi
call fcn.004033ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x552b22
lea eax, [ebp - 0x284]
mov edx, 2
call fcn.00404204
lea eax, [ebp - 0x274]
mov edx, 0xd
call fcn.00404204
lea eax, [ebp - 0x3c]
call fcn.004041e0
lea eax, [ebp - 0x34]
call fcn.004041e0
lea eax, [ebp + 0xc]
call fcn.004041e0
ret