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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce7b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [str.DeleteVolumeFlag__]
mov ecx, dword [0x4e8470]
mov edx, dword [0x4e8474]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x4e8478]
push ebx
push esi
mov dword [ebp - 0x58], ecx
mov cx, word [0x4e847c]
mov dword [ebp - 0x54], edx
mov dl, byte [0x4e847e]
mov dword [ebp - 0x50], eax
mov al, byte [ebp - 0xd]
xor esi, esi
push edi
mov word [ebp - 0x4c], cx
mov byte [ebp - 0x4a], dl
mov byte [ebp - 0x38], al
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
push ecx
push 0xf003f
push esi
push str.SYSTEMMountedDevices
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4524fe
push 0x4e845c
push 0xfff
push 0x4f93e8
call fcn.00466ca7
mov eax, dword [0x4d2de4]
lea edx, [ebp - 0x5c]
push 0x831
push edx
push eax
call fcn.0044fa60
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
add esp, 0x18
cmp edi, ebx
mov dword [ebp - 4], 0xffffffff
je 0x452573
push esi
mov ecx, edi
call fcn.00420ba0
add edi, 0x10
cmp edi, ebx
jne 0x4524e6
mov edi, dword [ebp - 0x34]
push edi
jmp 0x4526c4
push esi
push esi
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x14]
push esi
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp eax, esi
je 0x452579
push 0x4e8448
push 0xfff
push 0x4f93e8
call fcn.00466ca7
mov ecx, dword [0x4d2de4]
lea eax, [ebp - 0x5c]
push 0x838
push eax
push ecx
call fcn.0044fa60
mov edx, dword [ebp - 0x14]
add esp, 0x18
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
cmp edi, ebx
mov dword [ebp - 4], 0xffffffff
je 0x452573
push esi
mov ecx, edi
call fcn.00420ba0
add edi, 0x10
cmp edi, ebx
jne 0x452561
mov edi, dword [ebp - 0x34]
push edi
jmp 0x4526c4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], esi
lea edi, [eax + 1]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00467540
mov eax, dword [ebp - 0x14]
mov ebx, esp
push esi
lea ecx, [ebp - 0x28]
push esi
push ecx
lea edx, [ebp - 0x18]
push esi
push edx
push ebx
push esi
push eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, esi
jne 0x452663
push 0x23
push ebx
call fcn.004683c0
add esp, 8
test eax, eax
je 0x452636
mov cl, byte [ebp - 0xd]
push esi
mov byte [ebp - 0x48], cl
lea ecx, [ebp - 0x48]
call fcn.00403b70
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [ebp - 0x48]
push edi
mov dword [ebp - 0x24], edi
call fcn.00404fd0
test al, al
je 0x452612
mov ecx, edi
mov edi, dword [ebp - 0x44]
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x48]
call fcn.00404fb0
xor esi, esi
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x48]
push ecx
push 1
push edx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004571c0
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.00403b70
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc eax
inc ecx
push esi
lea edx, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
push esi
push edx
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push esi
push ecx
push ebx
push eax
push edx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, esi
je 0x4525b2
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
je 0x452695
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea edi, [eax + 4]
mov eax, dword [edi]
cmp eax, esi
jne 0x452681
mov eax, 0x4d1750
push eax
mov eax, dword [ebp - 0x14]
push eax
call ebx
mov eax, dword [ebp - 0x30]
add edi, 0x10
lea ecx, [edi - 4]
cmp ecx, eax
jne 0x452676
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
cmp esi, edi
mov dword [ebp - 4], 0xffffffff
je 0x4526c3
push 1
mov ecx, esi
call fcn.00403b70
add esi, 0x10
cmp esi, edi
jne 0x4526b0
mov esi, dword [ebp - 0x34]
push esi
call fcn.00463c78
mov ecx, dword [ebp - 0xc]
add esp, 4
lea esp, [ebp - 0x68]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret