Function at 0xd4aac
Capabilities:
Delete file
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0xd4ab4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xd4dd8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.000142a8
xor eax, eax
push ebp
push 0xd4d44
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x400
call fcn.0007b580
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0xd4d33
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0xfb1e0]
mov eax, dword [eax]
add eax, 0x20019
push eax
push 0
push 0xd4de8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0xd4cd9
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0xd4e2c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
call fcn.0007ac5c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0xd4ca7
cmp dword [ebp - 0x10], 1
jne 0xd4ca7
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x20]
call fcn.0007ac20
mov eax, dword [ebp - 0xc]
call fcn.0006b29c
test al, al
je 0xd4c63
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0006b234
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xd4e68
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.000145ac
mov eax, dword [ebp - 0xc]
call fcn.0006b2d4
test al, al
je 0xd4c1c
mov eax, dword [ebp - 0xc]
call fcn.000144cc
push eax
call sub.kernel32.dll_DeleteFileW
test eax, eax
jne 0xd4c0a
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x2c]
mov eax, 0xd4e74
call fcn.0007a2b0
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x18]
call fcn.000766dc
mov edx, dword [ebp - 0x30]
pop eax
call fcn.00013f00
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.00014458
jmp 0xd4d09
mov eax, dword [ebp - 8]
mov edx, 0xd4e84
call fcn.000142e4
jmp 0xd4d09
lea edx, [ebp - 0x38]
mov eax, 0xd4ea0
call fcn.0007a2b0
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x3c]
mov eax, 2
call fcn.000766dc
mov edx, dword [ebp - 0x3c]
pop eax
call fcn.00013f00
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
call fcn.00014458
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
mov edx, 0xd4ea8
call fcn.00014548
jmp 0xd4d09
lea edx, [ebp - 0x44]
mov eax, 0xd4ea0
call fcn.0007a2b0
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x48]
mov eax, 2
call fcn.000766dc
mov edx, dword [ebp - 0x48]
pop eax
call fcn.00013f00
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.00014458
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 8]
mov edx, 0xd4ec4
call fcn.00014548
jmp 0xd4d09
lea edx, [ebp - 0x4c]
mov eax, 0xd4edc
call fcn.0007a2b0
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x18]
call fcn.000766dc
mov edx, dword [ebp - 0x50]
pop eax
call fcn.00013f00
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
call fcn.00014458
jmp 0xd4d09
lea edx, [ebp - 0x54]
mov eax, 0xd4ee8
call fcn.0007a2b0
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x18]
call fcn.000766dc
mov edx, dword [ebp - 0x58]
pop eax
call fcn.00013f00
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.00014458
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xd4d3a
cmp dword [ebp - 0x14], 0
je 0xd4d25
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
call fcn.0007b5a4
ret