Function at 0x407c40
Capabilities:
Check if file exists
Create directory
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x433268
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43f090]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x74]
xor ebp, ebp
cmp eax, ebp
jne 0x407c7c
push 0x80004003
call fcn.0041e480
lea ecx, [esp + 0x20]
call fcn.0040b570
mov dword [esp + 0x50], ebp
mov eax, dword [eax]
cmp eax, ebp
je 0x407c93
mov eax, dword [eax]
jmp 0x407c95
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00404c80
mov byte [esp + 0x50], 2
mov edi, dword [esp + 0x20]
cmp edi, ebp
je 0x407cea
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x407ce6
cmp edi, ebp
je 0x407ce6
mov eax, dword [edi]
cmp eax, ebp
je 0x407ccd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x407cdd
push eax
call fcn.0041f1c4
add esp, 4
push edi
call fcn.0041e5b0
add esp, 4
mov dword [esp + 0x20], ebp
lea ebx, [esp + 0x18]
call fcn.0040a840
call fcn.0040a7c0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
cmp eax, 2
jl 0x408031
cmp eax, 1
jge 0x407d17
push 0x80070057
call fcn.00402b50
movzx eax, word [ecx + 2]
cmp ax, 0x3a
jne 0x408031
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp eax, ebp
je 0x407d87
cmp dword [esp + 0x30], ebp
ja 0x407d87
jb 0x407d51
cmp dword [esp + 0x2c], 0xc800000
jae 0x407d87
mov ecx, dword [esi + 0x30]
push ebp
push str.360_
push str.S_MR_b_t
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x408062
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004030b0
add esp, 4
lea ebx, [esp + 0x18]
call fcn.00403d40
mov edx, dword [esp + 0x18]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x407de2
mov eax, dword [esp + 0x18]
push 0
push eax
call edi
test eax, eax
jne 0x407de2
mov ecx, dword [esi + 0x30]
push eax
push str.360_
push 0x4389b8
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, ebx
call fcn.00402a80
jmp 0x40806e
push 0xf
push str.360CleanMaster
lea edx, [esp + 0x20]
push edx
call fcn.00404850
mov eax, dword [esp + 0x18]
push eax
call ebp
test eax, eax
jne 0x407e2d
mov ecx, dword [esp + 0x18]
push eax
push ecx
call edi
test eax, eax
jne 0x407e2d
mov edx, dword [esi + 0x30]
push eax
push str.360_
push 0x4389b8
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x18]
call fcn.00402a80
jmp 0x40806e
lea edi, [esi + 0xb4]
lea eax, [esp + 0x18]
call fcn.00403de0
lea ecx, [esp + 0x1c]
xor edi, edi
call fcn.00402d40
mov bl, 3
mov byte [esp + 0x50], bl
mov eax, dword [esp + 0x1c]
push eax
call ebp
test eax, eax
je 0x407e6f
mov ecx, dword [esp + 0x1c]
push edi
push 1
push 1
call fcn.00402450
test eax, eax
je 0x407e6f
mov edi, 1
mov eax, dword [esi + 0x68]
test eax, eax
jne 0x407e80
push 0x80004003
call fcn.0041e480
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
push 0x10000000
push 0
push eax
call edx
test edi, edi
je 0x407f8c
lea eax, [esp + 0x24]
push eax
mov ecx, 0x43649c
call fcn.00404c80
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x438a18
mov byte [esp + 0x54], 4
call fcn.00404c80
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 5
call fcn.00403920
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00402a80
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], bl
call fcn.00402a80
lea eax, [esp + 0x20]
push eax
mov ecx, 0x43649c
call fcn.00404c80
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x438a20
mov byte [esp + 0x54], 6
call fcn.00404c80
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 7
call fcn.00403920
add esp, 4
lea ecx, [esp + 0x24]
call fcn.00402a80
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], bl
call fcn.00402a80
mov eax, dword [esi + 0x70]
test eax, eax
jne 0x407f46
push 0x80004003
call fcn.0041e480
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
push 0x10000000
push 0
push eax
call edx
mov esi, dword [esi + 0x6c]
test esi, esi
jne 0x407f66
push 0x80004003
call fcn.0041e480
mov eax, dword [esi]
mov ecx, dword [eax + 0x5c]
push 0
push 0x10000000
push esi
call ecx
lea ecx, [esp + 0x1c]
call fcn.00402a80
lea ecx, [esp + 0x18]
call fcn.00402a80
jmp 0x40806e
mov eax, dword [esi + 0x6c]
test eax, eax
jne 0x407f9d
push 0x80004003
call fcn.0041e480
mov edx, dword [eax]
push 0x10000000
push 0
push eax
mov eax, dword [edx + 0x5c]
call eax
mov eax, dword [esi + 0x70]
test eax, eax
jne 0x407fbd
push 0x80004003
call fcn.0041e480
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
push 0
push 0x10000000
push eax
call edx
lea eax, [esp + 0x28]
push eax
mov ecx, 0x43649c
mov dword [esi + 0xb8], 1
call fcn.00404c80
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x438a18
mov byte [esp + 0x54], 8
call fcn.00404c80
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 9
call fcn.00403920
add esp, 4
lea ecx, [esp + 0x24]
call fcn.00402a80
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], bl
call fcn.00402a80
mov eax, esi
call fcn.00409740
jmp 0x407f75
mov eax, dword [esi + 0x30]
push ebp
push str.360_
push 0x4389b8
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40806e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret