Function at 0x41f84a
Capabilities:
Check if file exists
Create process on windows
Delete file
Get common file path
Move file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x14e8], edi
jne 0x41f868
push 1
call fcn.0041cb1f
mov ecx, esi
call fcn.0041d352
mov ecx, esi
call fcn.0041c5c6
mov ecx, esi
call fcn.0041c6e5
mov ecx, esi
call fcn.0041ca9a
lea eax, [esi + 0x40]
push str._apps_
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 8]
push eax
call fcn.004178e4
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41f8af
push dword [ebp - 8]
call fcn.00420705
pop ecx
lea eax, [ebp - 8]
push str.BankMode
push eax
lea eax, [ebp - 4]
push eax
call fcn.004178e4
push dword [eax]
call fcn.0042081e
pop ecx
lea ecx, [ebp - 4]
call fcn.00404bf2
lea eax, [ebp - 8]
push str.appsi.dll
push eax
lea eax, [ebp - 4]
push eax
call fcn.004178e4
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 4]
call fcn.00404bf2
push dword [esi + 0x48]
call fcn.004071cb
pop ecx
mov ecx, esi
call fcn.0041fb3b
cmp dword [esi + 4], 0xa
jne 0x41f915
push dword [esi + 0x44]
push 1
call fcn.00426716
pop ecx
pop ecx
cmp dword [0x443180], edi
je 0x41fa4e
cmp dword [0x44316c], edi
je 0x41fa4e
push ebx
mov ebx, 0x81
mov word [ebp - 0x45c], di
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x45a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
lea eax, [ebp - 0x45c]
push edi
push 0x25
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov word [ebp - 0x254], di
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x252]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x45c]
push eax
push str._smsxml3.dll
lea eax, [ebp - 0x254]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ax, word [0x43fcc4]
mov ecx, ebx
mov word [ebp - 0x664], ax
xor eax, eax
lea edi, [ebp - 0x662]
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x254]
push eax
push str._s__s
lea eax, [ebp - 0x664]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x3c
xor ebx, ebx
pop edi
lea eax, [ebp - 0x4c]
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x664]
add esp, 0x1c
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x254]
push eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], 0x40
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], str.open
mov dword [ebp - 0x3c], str.RegSvr32.exe
mov dword [ebp - 0x30], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
pop ebx
je 0x41fa4c
lea eax, [ebp - 0x254]
push eax
call fcn.00423648
test eax, eax
pop ecx
je 0x41fa4c
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41fa4c
push 0x4e20
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp dword [esi + 0x1510], edi
jne 0x41fa7e
cmp dword [esi + 0x1514], edi
je 0x41fa7e
lea eax, [ebp - 4]
push 4
push eax
push 4
push str.LastCheckUpdate
push str.Software360360se5defaultMain
push SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.dataie8core.dll
lea eax, [ebp - 0xc]
push dword [ebp - 0x10]
push eax
call fcn.004178e4
push dword [ebp - 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41fab5
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41fab5
push 4
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0xc]
call fcn.00404bf2
lea ecx, [ebp - 8]
call fcn.00404bf2
pop edi
pop esi
leave
ret