Function at 0x446640
Capabilities:
Check if file exists
Create directory
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49e8bb
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x480], eax
push ebx
push esi
push edi
mov eax, dword [0x4c1bd8]
xor eax, esp
push eax
lea eax, [esp + 0x498]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x28e]
push ecx
mov dword [esp + 0x24], 0
mov word [esp + 0x290], ax
call fcn.00454ce0
xor eax, eax
add esp, 0xc
xor edx, edx
mov dword [esp + 0x6a], eax
mov dword [esp + 0x6e], eax
mov dword [esp + 0x72], eax
mov dword [esp + 0x76], eax
mov word [esp + 0x7a], ax
lea eax, [esp + 0x284]
push eax
push edx
push edx
push 0x23
push edx
mov word [esp + 0x7c], dx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x4466e9
push 0x4a6cb0
jmp 0x446a97
mov cx, word [esp + 0x284]
xor eax, eax
push eax
mov word [esp + 0x6c], cx
mov edx, 0x3a
push eax
lea ecx, [esp + 0x34]
mov word [esp + 0x72], dx
push ecx
lea edx, [esp + 0x74]
push edx
mov word [esp + 0x7c], ax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x446a92
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
shrd eax, ecx, 0x14
shr ecx, 0x14
cmp eax, 0x12c
jae 0x44674f
push 0x12c
push eax
push 0x4a6c68
call fcn.0040cd20
add esp, 0xc
jmp 0x446a9f
lea edx, [esp + 0x284]
push edx
lea edi, [esi + 0x40]
push str._s360SDTemp
push edi
call fcn.0040e7e0
mov eax, dword [edi]
push eax
lea ebx, [esi + 0x3c]
push str._sSetupBin
push ebx
call fcn.0040e7e0
mov eax, dword [edi]
add esp, 0x18
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4467c7
mov ecx, dword [edi]
push ecx
push 0x4a6c0c
call fcn.0040cd20
mov eax, dword [edi]
mov ecx, dword [esi]
add esp, 8
push eax
call fcn.004348c0
test eax, eax
je 0x4467c7
mov edx, dword [edi]
push edx
push 0x4a6bd0
call fcn.0040cd20
add esp, 8
mov ecx, edi
call fcn.0040d3b0
mov ecx, ebx
call fcn.0040d3b0
jmp 0x446a9f
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4467e0
mov eax, dword [edi]
push eax
push 0x4a6ba0
jmp 0x4467ac
mov ecx, dword [edi]
push ecx
push 0x4a6b80
call fcn.0040cd20
mov eax, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 8
push 0
push eax
call edi
test eax, eax
jne 0x44681d
mov edx, dword [ebx]
push edx
push 0x4a6b4c
call fcn.0040cd20
add esp, 8
mov ecx, ebx
call fcn.0040d3b0
jmp 0x446a9f
mov eax, dword [ebx]
push eax
push 0x4a6b80
call fcn.0040cd20
add esp, 8
mov ecx, esi
call fcn.00444760
test eax, eax
je 0x446a9f
lea ecx, [esp + 0x38]
mov dword [esi + 0x118], 1
call fcn.00436e80
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esi]
xor ebx, ebx
mov dword [esp + 0x4a4], ebx
call fcn.0043c210
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x38]
push 0x4a6b2c
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
call fcn.0040cd20
mov ecx, dword [esi]
add esp, 4
call fcn.004346f0
fstp dword [esp + 0x1c]
mov edi, edi
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
call fcn.00435bd0
test al, al
je 0x446a62
mov edx, dword [esi + 0x80]
test edx, edx
jne 0x446a2b
mov eax, dword [esi + 0xb4]
test eax, eax
jne 0x446a3a
lea ecx, [esp + 0x10]
call fcn.0043e990
lea ecx, [esp + 0x10]
cmp dword [eax + 4], ebx
jne 0x44690a
call fcn.0043e990
mov ecx, dword [eax]
push ecx
push 0x4a6afc
call fcn.0040cd20
add esp, 8
push ebx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
call fcn.0043e090
jmp 0x446890
call fcn.0043e990
mov edx, dword [eax + 0x14]
push edx
lea ecx, [esp + 0x14]
call fcn.0043e990
fld dword [eax + 0x10]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.0043c280
add esp, 0xc
test al, al
jne 0x446966
lea ecx, [esp + 0x10]
call fcn.0043e990
mov eax, dword [eax]
push eax
push 0x4a6ac0
call fcn.0040cd20
add esp, 8
push ebx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
call fcn.0043e090
jmp 0x446890
push 0x206
lea edx, [esp + 0x82]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x88], cx
call fcn.00454ce0
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.0043e990
mov edx, dword [eax]
lea ecx, [esp + 0x7c]
push ecx
push 0x104
push edx
mov ecx, esi
call fcn.0043de20
push ebx
lea eax, [esp + 0x80]
push eax
call edi
lea ecx, [esp + 0x10]
call fcn.0043e990
mov edx, dword [eax]
mov eax, dword [esi + 0x88]
lea ecx, [esp + 0x7c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0043edf0
lea ecx, [esp + 0x10]
test eax, eax
jne 0x446a49
call fcn.0043e990
mov edx, dword [eax]
lea ecx, [esp + 0x7c]
push ecx
push edx
push str._Setup__d_s
call fcn.0040cd20
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.0043e990
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x60]
push edx
lea ecx, [esi + 0xbc]
mov dword [esp + 0x28], eax
call fcn.00440ee0
inc dword [esp + 0x18]
push ebx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
call fcn.0043e090
jmp 0x446890
push 0x4a6a5c
call fcn.0040cd20
add esp, 4
jmp 0x446a62
push 0x4a6a30
call fcn.0040cd20
add esp, 4
jmp 0x446a62
call fcn.0043e990
mov ecx, dword [eax]
push ecx
push 0x4a6a00
call fcn.0040cd20
add esp, 8
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x38]
mov dword [esi + 0x118], ebx
call fcn.00439c40
mov edx, dword [esp + 0x4c]
push edx
call fcn.00453aa7
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x54], ebx
call fcn.00453aa7
mov eax, dword [esp + 0x20]
add esp, 8
jmp 0x446aa1
push 0x4a69c8
call fcn.0040cd20
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x498]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x480]
xor ecx, esp
call fcn.00454cc7
mov esp, ebp
pop ebp
ret