Function at 0x408e20
Capabilities:
Access peb ldr_data
Check if file exists
Create directory
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x433170
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push edi
mov eax, dword [0x43f090]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esi + 0x74]
xor edi, edi
cmp eax, edi
jne 0x408e5e
push 0x80004003
call fcn.0041e480
lea ecx, [esp + 0x10]
call fcn.0040b570
mov dword [esp + 0x40], edi
mov eax, dword [eax]
cmp eax, edi
je 0x408e75
mov eax, dword [eax]
jmp 0x408e77
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.00404c80
mov byte [esp + 0x40], 2
mov ebx, dword [esp + 0x10]
cmp ebx, edi
je 0x408ecc
lea edx, [ebx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, edi
jne 0x408ec8
cmp ebx, edi
je 0x408ec8
mov eax, dword [ebx]
cmp eax, edi
je 0x408eaf
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x408ebf
push eax
call fcn.0041f1c4
add esp, 4
push ebx
call fcn.0041e5b0
add esp, 4
mov dword [esp + 0x10], edi
lea ebx, [esp + 0xc]
call fcn.0040a840
call fcn.0040a7c0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
cmp eax, 2
jl 0x409114
cmp eax, 1
jge 0x408ef9
push 0x80070057
call fcn.00402b50
movzx eax, word [ecx + 2]
cmp ax, 0x3a
jne 0x409114
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp eax, edi
je 0x408f3b
cmp dword [esp + 0x20], edi
ja 0x408f3b
jb 0x409114
cmp dword [esp + 0x1c], 0xc800000
jb 0x409114
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004030b0
add esp, 4
lea ebx, [esp + 0xc]
call fcn.00403d40
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x408fa0
mov eax, dword [esp + 0xc]
push 0
push eax
call ebx
test eax, eax
jne 0x408fa0
mov ecx, dword [esi + 0x30]
push eax
push eax
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esp + 0xc]
call fcn.00402a80
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xf
push str.360CleanMaster
lea edx, [esp + 0x14]
push edx
call fcn.00404850
mov eax, dword [esp + 0xc]
push eax
call edi
test eax, eax
jne 0x408ff3
mov ecx, dword [esp + 0xc]
push eax
push ecx
call ebx
test eax, eax
jne 0x408ff3
mov edx, dword [esi + 0x30]
push eax
push eax
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esp + 0xc]
call fcn.00402a80
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
lea edi, [esi + 0xb4]
lea eax, [esp + 0xc]
call fcn.00403de0
mov eax, dword [esi + 0x68]
test eax, eax
jne 0x409013
push 0x80004003
call fcn.0041e480
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
push 0x10000000
push 0
push eax
call edx
mov eax, dword [esi + 0x6c]
test eax, eax
jne 0x409033
push 0x80004003
call fcn.0041e480
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
push 0x10000000
push 0
push eax
call edx
mov eax, dword [esi + 0x70]
test eax, eax
jne 0x409053
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 + 0x18]
push eax
mov ecx, 0x43649c
mov dword [esi + 0xb8], 1
call fcn.00404c80
lea ecx, [esp + 0x14]
push ecx
mov bl, 3
mov ecx, 0x438a18
mov byte [esp + 0x44], bl
call fcn.00404c80
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 4
call fcn.00403920
mov byte [esp + 0x44], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4090ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 2
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 0x4090ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
call fcn.00409740
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40913e
mov ecx, dword [esi + 0x30]
push edi
push edi
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40914a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret