Function at 0x454c50
Capabilities:
Get disk size

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60317d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x6a3000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebx + 8]
mov eax, dword [edi]
cmp dword [eax + 0x16c], 0
ja 0x454cb0
jb 0x454ca9
cmp dword [eax + 0x168], 0
ja 0x454cb0
xor al, al
jmp 0x454ef8
cmp byte [esi + 0x48], 0
jne 0x454e68
push 1
mov edx, 0x645d58
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
call fcn.00476b10
add esp, 4
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
mov edx, eax
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
lea ecx, [edx + 2]
mov dword [ebp - 0x50], ecx
nop word [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x454d00
sub edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x68]
sar edx, 1
push edx
push eax
call fcn.0040e290
mov byte [ebp - 4], 1
lea eax, [ebp - 0x68]
mov ecx, 3
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x58], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
cmovb ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x54], 7
push ecx
cmova eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x30]
push eax
mov dword [ebp - 0x1c], 0
call fcn.0040e290
lea ecx, [ebp - 0x68]
call fcn.004114d0
cmp dword [ebp - 0x1c], 7
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x454e27
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x70]
sub esp, 8
mov dword [ebp - 0x70], 0x20000000
mov eax, esp
mov byte [ebp - 4], 3
push 0x1a
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x68]
push str.DISK_SPACE_CHECK_FAILED_
mov dword [eax], 1
call fcn.00459bc0
add esp, 0x10
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 5
push eax
push edi
mov ecx, esi
call fcn.0044d1d0
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x454dfd
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x454df3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454f18
push ecx
push edx
call fcn.005cacdd
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.004114d0
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454e20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x454ef8
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
shrd eax, ecx, 0x14
mov byte [esi + 0x48], 1
shr ecx, 0x14
mov dword [esi + 0x44], ecx
lea ecx, [ebp - 0x30]
mov dword [esi + 0x40], eax
call fcn.004114d0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454e68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi]
mov eax, dword [esi + 0x44]
cmp eax, dword [ecx + 0x16c]
ja 0x454ca9
jb 0x454e8a
mov eax, dword [esi + 0x40]
cmp eax, dword [ecx + 0x168]
jae 0x454ca9
push 0x15
xorps xmm0, xmm0
mov byte [ebp - 0x49], 1
push str.NOT_ENOUGH_DISK_SPACE
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call fcn.004134c0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 6
push eax
push edi
mov ecx, esi
call fcn.0044d1d0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x454ef5
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x454eeb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454f1d
push ecx
push edx
call fcn.005cacdd
add esp, 8
mov al, byte [ebp - 0x49]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005ca888
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.005dd52a
call fcn.005dd52a
int3