Function at 0x422ca7
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 + 0x14ec], edi
jne 0x422cc5
push 1
call fcn.0041d57f
mov ecx, esi
call fcn.00422faf
mov ecx, esi
call fcn.0041df17
mov ecx, esi
call fcn.0041ce7b
mov ecx, esi
call fcn.0041cf9a
mov ecx, esi
call fcn.0041d3ad
lea eax, [esi + 0x44]
push str._apps_
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 8]
push eax
call fcn.00418311
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422d13
push dword [ebp - 8]
call fcn.00423e0d
pop ecx
lea eax, [ebp - 8]
push str.BankMode
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418311
push dword [eax]
call fcn.00423f26
pop ecx
lea ecx, [ebp - 4]
call fcn.00404beb
lea eax, [ebp - 8]
push str.appsi.dll
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418311
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 4]
call fcn.00404beb
push dword [esi + 0x4c]
call fcn.004071c4
pop ecx
mov ecx, esi
call fcn.0042322c
cmp dword [esi + 4], 0xa
jne 0x422d79
push dword [esi + 0x48]
push 1
call fcn.00429f0c
pop ecx
pop ecx
cmp dword [0x4692f8], edi
je 0x422eb2
cmp dword [0x4692e4], edi
je 0x422eb2
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 [0x465a24]
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 0x422eb0
lea eax, [ebp - 0x254]
push eax
call fcn.00426d50
test eax, eax
pop ecx
je 0x422eb0
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x422eb0
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 + 0x150c], 1
jne 0x422ec2
mov ecx, esi
call fcn.0042306f
cmp dword [esi + 0x1518], edi
jne 0x422ef2
cmp dword [esi + 0x151c], edi
je 0x422ef2
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.00418311
push dword [ebp - 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422f29
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x422f29
push 4
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0xc]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
pop edi
pop esi
leave
ret