Function at 0x552410
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1044]
mov eax, 0x1044
call fcn.005e00d0
push 0xfffffffffffffffe
push 0x674d40
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x1040], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 0x104c]
mov esi, dword [ebp + 0x1050]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp + 0xb2c], bl
push 0x103
push ebx
lea eax, [ebp + 0xb2d]
push eax
call fcn.005dfd60
mov byte [ebp + 0x820], bl
push 0x103
push ebx
lea ecx, [ebp + 0x821]
push ecx
call fcn.005dfd60
mov byte [ebp + 0x618], bl
push 0x207
push ebx
lea edx, [ebp + 0x619]
push edx
call fcn.005dfd60
mov byte [ebp + 0x924], bl
push 0x207
push ebx
lea eax, [ebp + 0x925]
push eax
call fcn.005dfd60
add esp, 0x30
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x5528cc
cmp byte [edi], bl
je 0x5528cc
cmp esi, ebx
je 0x5528cc
cmp byte [esi], bl
je 0x5528cc
push 0x5c
push esi
call fcn.005e0a00
add esp, 8
lea edx, [ebp + 0xb2c]
cmp eax, ebx
je 0x552562
lea ecx, [eax + 1]
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x552510
mov ecx, esi
lea edx, [ebp + 0xe38]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x552522
lea ecx, [ebp + 0xe38]
push ecx
call fcn.004ebde0
push 0x5c
lea edx, [ebp + 0xe38]
push edx
call fcn.005e0a00
add esp, 0xc
cmp eax, ebx
je 0x552574
lea ecx, [eax + 1]
lea edx, [ebp + 0x820]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x552556
jmp 0x552574
mov ecx, esi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x552564
mov byte [ebp + 0xe38], bl
lea eax, [ebp - 0x1c]
push eax
push 0xf003f
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004dc0a0
add esp, 0x14
test eax, eax
jne 0x5528aa
xor edi, edi
mov dword [ebp - 0x28], edi
mov byte [ebp + 0x924], bl
push 0x208
lea ecx, [ebp + 0x924]
push ecx
push edi
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x55289d
mov byte [ebp + 0x618], bl
push ebx
lea eax, [ebp + 0x618]
push eax
lea ecx, [ebp + 0x924]
push ecx
call fcn.004f2680
add esp, 0xc
cmp byte [ebp + 0x618], bl
je 0x5528c6
lea edx, [ebp + 0xb2c]
push edx
lea eax, [ebp + 0x618]
push eax
call fcn.005f095a
add esp, 8
test eax, eax
je 0x55261f
lea ecx, [ebp + 0x820]
push ecx
lea edx, [ebp + 0x618]
push edx
call fcn.005f095a
add esp, 8
test eax, eax
jne 0x5528c6
push 1
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x924]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004dc050
add esp, 0x10
test eax, eax
jne 0x5528c6
mov byte [ebp + 0x410], bl
push 0x207
push ebx
lea eax, [ebp + 0x411]
push eax
call fcn.005dfd60
mov byte [ebp + 0xc30], bl
push 0x207
push ebx
lea ecx, [ebp + 0xc31]
push ecx
call fcn.005dfd60
add esp, 0x18
mov dword [ebp - 0x30], 0x208
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp + 0x410]
push eax
push ebx
push ebx
push str.Prop4
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [ebp + 0x410], bl
je 0x5528b9
cmp byte [ebp + 0xe38], bl
je 0x5528b9
xor esi, esi
mov dword [ebp - 0x2c], esi
push ebx
lea edx, [ebp + 0xc30]
push edx
lea eax, [ebp + 0x410]
push eax
call fcn.004f2680
add esp, 0xc
cmp byte [ebp + 0xc30], bl
je 0x5528b9
cmp byte [ebp + 0xc31], 0x3a
jne 0x552702
cmp byte [ebp + 0xe39], 0x3a
jne 0x552702
lea ecx, [ebp + 0xe39]
push ecx
lea edx, [ebp + 0xc31]
push edx
call fcn.005f095a
add esp, 8
test eax, eax
je 0x55271c
lea eax, [ebp + 0xe38]
push eax
lea ecx, [ebp + 0xc30]
push ecx
call fcn.005f095a
add esp, 8
test eax, eax
jne 0x552750
mov dword [ebp - 0x20], 1
cmp dword [ebp + 0x1054], ebx
je 0x55289d
lea edx, [ebp + 0x924]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x552750
mov esi, 1
mov dword [ebp - 0x2c], esi
dec edi
mov dword [ebp - 0x28], edi
cmp esi, ebx
jne 0x5528b9
lea ecx, [ebp + 0xc30]
push ecx
call fcn.004ebde0
add esp, 4
cmp byte [ebp + 0xc31], 0x3a
jne 0x552793
cmp byte [ebp + 0xe39], 0x3a
jne 0x552793
lea edx, [ebp + 0xe39]
push edx
lea eax, [ebp + 0xc31]
push eax
call fcn.005f095a
add esp, 8
test eax, eax
je 0x5527ad
lea ecx, [ebp + 0xe38]
push ecx
lea edx, [ebp + 0xc30]
push edx
call fcn.005f095a
add esp, 8
test eax, eax
jne 0x5527e3
mov dword [ebp - 0x20], 1
cmp dword [ebp + 0x1054], ebx
je 0x55289d
lea eax, [ebp + 0x924]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x5527e6
mov esi, 1
mov dword [ebp - 0x2c], esi
dec edi
mov dword [ebp - 0x28], edi
jmp 0x5527e6
mov dword [ebp - 0x20], ebx
cmp esi, ebx
jne 0x5528b9
push 0x208
lea edx, [ebp]
push edx
lea eax, [ebp + 0xc30]
push eax
call fcn.004d8160
push 0x208
lea ecx, [ebp + 0x208]
push ecx
lea edx, [ebp + 0xe38]
push edx
call fcn.004d8160
add esp, 0x18
cmp byte [ebp + 1], 0x3a
jne 0x552844
cmp byte [ebp + 0x209], 0x3a
jne 0x552844
lea eax, [ebp + 0x209]
push eax
lea ecx, [ebp + 1]
push ecx
call fcn.005f095a
add esp, 8
test eax, eax
je 0x55285b
lea edx, [ebp + 0x208]
push edx
lea eax, [ebp]
push eax
call fcn.005f095a
add esp, 8
test eax, eax
jne 0x5528b6
mov dword [ebp - 0x20], 1
cmp dword [ebp + 0x1054], ebx
je 0x55289d
lea ecx, [ebp + 0x924]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x5528b9
mov dword [ebp - 0x2c], 1
dec edi
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x24], ebx
inc edi
jmp 0x552596
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
jmp 0x552908
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x24], ebx
inc edi
jmp 0x552596
mov dword [ebp - 4], 0xfffffffe
jmp 0x552906
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1040]
xor ecx, ebp
call fcn.005dfbbe
add ebp, 0x1044
mov esp, ebp
pop ebp
ret