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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9212
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x63b070]
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 0x466131
push 0x5fd548
lea ecx, [ebp - 0x248]
call fcn.00418610
mov dword [ebp - 4], 0
push 0x5fd5a4
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 0x465eef
push 0x104
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.00577360
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 0x465eef
mov edx, dword [ebp - 0x2c8]
cmp edx, dword [ebp + 0x10]
ja 0x465eef
jb 0x465d51
mov eax, dword [ebp - 0x2cc]
cmp eax, dword [ebp + 0xc]
ja 0x465eef
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 0x5fd550
push 0xaba
push 0x5fd5c0
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 0x5fd5f8
lea eax, [ebp - 0x2cc]
push eax
push str._PC_space_not_enough1:
mov ecx, dword [0x63c128]
push ecx
push 1
mov edx, dword [ebp - 0x2e0]
push edx
call fcn.004226f0
add esp, 0xc
mov ecx, eax
call fcn.0043a870
mov ecx, eax
call fcn.00454d30
mov ecx, eax
call fcn.0043a870
mov ecx, eax
call fcn.0043aa30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x354]
call fcn.00422690
push 0
push str.DL008
push 0x5fd604
push 0x5fd5fc
call fcn.0048abf0
mov ecx, eax
call fcn.0048ac90
mov eax, dword [ebp - 0x2c8]
push eax
mov ecx, dword [ebp - 0x2cc]
push ecx
lea edx, [ebp - 0x290]
push edx
call fcn.00455d50
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.00472f00
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 0x5fd69c
call fcn.0048abf0
mov ecx, eax
call fcn.0048ac90
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 0x466136
mov dword [ebp - 0x2d4], 2
lea ecx, [ebp - 0x248]
push ecx
mov ecx, dword [ebp - 0x2f8]
call fcn.00459640
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.004734a0
add esp, 8
mov byte [ebp - 0x2c1], al
lea ecx, [ebp - 0x2a8]
call fcn.00413710
movzx edx, byte [ebp - 0x2c1]
test edx, edx
je 0x465f63
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 0x466110
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.004a4330
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x310], edx
mov edx, dword [ebp - 0x2c8]
cmp edx, dword [ebp - 0x310]
ja 0x466110
jb 0x466014
mov eax, dword [ebp - 0x2cc]
cmp eax, dword [ebp - 0x314]
ja 0x466110
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.004a4330
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 0xaca
push 0x5fd6a4
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 0x5fd6d4
lea edx, [ebp - 0x2cc]
push edx
push str._PC_space_not_enough2:
mov eax, dword [0x63c128]
push eax
push 1
mov ecx, dword [ebp - 0x308]
push ecx
call fcn.004226f0
add esp, 0xc
mov ecx, eax
call fcn.0043a870
mov ecx, eax
call fcn.00454d30
mov ecx, eax
call fcn.0043a870
mov ecx, eax
call fcn.0043aa30
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 0x466136
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.004a39ef
mov esp, ebp
pop ebp
ret 0x10