Function at 0x466590
Capabilities:
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac8b2
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2f8], ecx
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 0x10]
je 0x466ab1
push 0x60174c
lea ecx, [ebp - 0x248]
call fcn.00418610
mov dword [ebp - 4], 0
push 0x601754
lea ecx, [ebp - 0x230]
call fcn.00418610
mov byte [ebp - 4], 1
mov dword [ebp - 0x2d0], 0
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x46686f
push 0x104
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.0057a870
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00413680
push 2
push 0
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x248]
call fcn.004135c0
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00413760
lea ecx, [ebp - 0x260]
call fcn.00413710
push 0
push 0
lea ecx, [ebp - 0x2cc]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00413640
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x2d0], 0
je 0x46686f
mov edx, dword [ebp - 0x2c8]
cmp edx, dword [ebp + 0x10]
ja 0x46686f
jb 0x4666d1
mov eax, dword [ebp - 0x2cc]
cmp eax, dword [ebp + 0xc]
ja 0x46686f
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x2cc]
mov dword [ecx], edx
mov eax, dword [ebp - 0x2c8]
mov dword [ecx + 4], eax
push 0
push 2
push 0x601758
push 0xac3
push 0x6017c4
push 0x80
lea ecx, [ebp - 0x354]
call fcn.00422610
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2e0], ecx
mov byte [ebp - 4], 2
lea edx, [ebp + 0xc]
push edx
push 0x6017fc
lea eax, [ebp - 0x2cc]
push eax
push str._PC_space_not_enough1:
mov ecx, dword [0x640128]
push ecx
push 1
mov edx, dword [ebp - 0x2e0]
push edx
call fcn.004226f0
add esp, 0xc
mov ecx, eax
call fcn.0043ac80
mov ecx, eax
call fcn.00455160
mov ecx, eax
call fcn.0043ac80
mov ecx, eax
call fcn.0043ae10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x354]
call fcn.00422690
push 0
push str.DL008
push 0x601808
push 0x601800
call fcn.0048be70
mov ecx, eax
call fcn.0048bf10
mov eax, dword [ebp - 0x2c8]
push eax
mov ecx, dword [ebp - 0x2cc]
push ecx
lea edx, [ebp - 0x290]
push edx
call fcn.00456180
add esp, 0xc
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x2e8], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2e8]
push ecx
push str.download_
lea edx, [ebp - 0x278]
push edx
call fcn.00473c20
add esp, 0xc
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x2f0], eax
mov byte [ebp - 4], 4
push 0
mov ecx, dword [ebp - 0x2f0]
call fcn.00411740
push eax
push str.NoEnoughSpace
push 0x601884
call fcn.0048be70
mov ecx, eax
call fcn.0048bf10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x278]
call fcn.00411780
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x290]
call fcn.00411780
mov dword [ebp - 0x2f4], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00413710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00413710
mov eax, dword [ebp - 0x2f4]
jmp 0x466ab6
mov dword [ebp - 0x2d4], 2
lea ecx, [ebp - 0x248]
push ecx
mov ecx, dword [ebp - 0x2f8]
call fcn.00459af0
push 2
push 0
lea edx, [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x248]
call fcn.004135c0
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.00474190
add esp, 8
mov byte [ebp - 0x2c1], al
lea ecx, [ebp - 0x2a8]
call fcn.00413710
movzx edx, byte [ebp - 0x2c1]
test edx, edx
je 0x4668e3
mov dword [ebp - 0x2d4], 3
push 2
push 0
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x248]
call fcn.004135c0
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp - 0x300]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00413760
lea ecx, [ebp - 0x2c0]
call fcn.00413710
push 0
push 0
lea edx, [ebp - 0x2cc]
push edx
lea ecx, [ebp - 0x230]
call fcn.00413640
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x2d0], 0
je 0x466a90
mov eax, dword [ebp - 0x2d4]
cdq
push edx
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004a7810
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x310], edx
mov edx, dword [ebp - 0x2c8]
cmp edx, dword [ebp - 0x310]
ja 0x466a90
jb 0x466994
mov eax, dword [ebp - 0x2cc]
cmp eax, dword [ebp - 0x314]
ja 0x466a90
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x2cc]
mov dword [ecx], edx
mov eax, dword [ebp - 0x2c8]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x2d4]
cdq
push edx
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004a7810
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x318], edx
push 0
push 2
push str.int___thiscall_InstallUIMainWnd::EnoughFreeSpace_bool___int64_unsigned___int64__
push 0xad3
push 0x6018a4
push 0x80
lea ecx, [ebp - 0x38c]
call fcn.00422610
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x308], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x31c]
push ecx
push 0x6018d8
lea edx, [ebp - 0x2cc]
push edx
push str._PC_space_not_enough2:
mov eax, dword [0x640128]
push eax
push 1
mov ecx, dword [ebp - 0x308]
push ecx
call fcn.004226f0
add esp, 0xc
mov ecx, eax
call fcn.0043ac80
mov ecx, eax
call fcn.00455160
mov ecx, eax
call fcn.0043ac80
mov ecx, eax
call fcn.0043ae10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38c]
call fcn.00422690
mov dword [ebp - 0x30c], 0xfffffffe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00413710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00413710
mov eax, dword [ebp - 0x30c]
jmp 0x466ab6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00413710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00413710
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6edb
mov esp, ebp
pop ebp
ret 0x10