Function at 0x422f4f
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 0x422f6d
push 1
call fcn.0041d57f
mov ecx, esi
call fcn.00423257
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 0x422fbb
push dword [ebp - 8]
call fcn.004240c1
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.004241da
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
cmp dword [esi + 4], 0xa
pop ecx
jne 0x42301a
push dword [esi + 0x48]
push 1
call fcn.0042a424
pop ecx
pop ecx
mov ecx, esi
call fcn.004234d4
cmp dword [0x469928], edi
je 0x42315a
cmp dword [0x469914], edi
je 0x42315a
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 [0x466054]
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 0x423158
lea eax, [ebp - 0x254]
push eax
call fcn.00427004
test eax, eax
pop ecx
je 0x423158
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x423158
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 0x42316a
mov ecx, esi
call fcn.00423317
cmp dword [esi + 0x1518], edi
jne 0x42319a
cmp dword [esi + 0x151c], edi
je 0x42319a
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 0x4231d1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4231d1
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