Function at 0xffd0cd5
Capabilities:
Copy file
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0xffebc20]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x114]
push eax
xor ebx, ebx
push 0x20006
push ebx
push 0xffb280c
push 0x80000002
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x110], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xffd0f9b
lea eax, [ebp - 0x10c]
push eax
push edi
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0xffd0f9b
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xffd0d54
sub eax, edi
inc eax
push eax
push esi
push 1
push ebx
push dword [ebp - 0x118]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x114]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10c]
call esi
cmp dword [0xffeb264], ebx
jne 0xffd0dac
push 0xf
push 0xffeb208
push 0xffb2140
call fcn.0ffbf6b6
test eax, eax
je 0xffd0fc1
push 6
pop ecx
push 0x15
xor eax, eax
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x18c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x138]
push eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 1
push ebx
push ebx
call dword [0xffeb264]
test eax, eax
je 0xffd0fc1
mov esi, 0xffb2800
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.0ffd0b71
cmp eax, ebx
mov dword [ebp - 0x124], eax
je 0xffd0f73
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.0ffd0b71
cmp eax, ebx
mov dword [ebp - 0x128], eax
je 0xffd0f5c
push esi
push dword [0xffed2ac]
call fcn.0ffd0b71
mov edi, eax
cmp edi, ebx
je 0xffd0f5c
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
push dword [ebp - 0x128]
push edi
call esi
mov ecx, edi
call fcn.0ffb622b
mov edi, 0xffb27f0
push edi
lea eax, [ebp - 0x108]
push eax
call fcn.0ffd0b71
push edi
push dword [0xffed2ac]
mov dword [ebp - 0x120], eax
call fcn.0ffd0b71
mov edi, eax
cmp edi, ebx
je 0xffd0f5c
push ebx
push dword [ebp - 0x120]
push edi
call esi
mov ecx, edi
call fcn.0ffb622b
push 0xd
lea eax, [ebp - 0x134]
mov esi, 0xffb27cc
push eax
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x130], esi
call fcn.0ffd0c40
cmp eax, ebx
jne 0xffd0ed0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
sub edi, 0x703
neg edi
sbb edi, edi
inc edi
je 0xffd0f62
push 0x15
pop ecx
xor eax, eax
lea edi, [ebp - 0x18c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x188], eax
mov eax, 0xffb27c4
push 0x104
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x108]
push eax
push 0x10a
push dword [0xffed3e8]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x11c]
push eax
push 1
push ebx
call dword [0xffeb27c]
push 0xc
lea eax, [ebp - 0x18c]
push eax
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x168], 0xffb27b8
mov dword [ebp - 0x164], 0xffb2150
call fcn.0ffd0c40
mov dword [ebp - 0x110], eax
mov edi, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x124]
cmp ecx, ebx
je 0xffd0f79
call fcn.0ffb622b
jmp 0xffd0f79
mov edi, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x128]
cmp ecx, ebx
je 0xffd0f88
call fcn.0ffb622b
mov ecx, dword [ebp - 0x120]
cmp ecx, ebx
je 0xffd0f97
call fcn.0ffb622b
mov eax, edi
jmp 0xffd0fc3
cmp dword [ebp - 0x114], ebx
je 0xffd0fc1
push dword [ebp - 0x114]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
cmp dword [ebp - 0x10c], ebx
je 0xffd0fc1
push dword [ebp - 0x10c]
call esi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0ffe11f0
leave
ret 0xc