Function at 0x472ac0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c6bd0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4fad60]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x4fad60]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x20], eax
xor ecx, ecx
push edi
mov eax, 0x4ddda0
lea esi, [esp + 0x5c]
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], edi
mov word [esp + 0x5c], cx
call fcn.00403e70
mov dword [esp + 0xa0], edi
cmp dword [ebx + 0x10], 3
jbe 0x472bd4
push 4
xor ecx, ecx
lea esi, [esp + 0x78]
mov edx, ebx
call fcn.004070a0
mov edi, eax
lea esi, [esp + 0x58]
mov byte [esp + 0xa0], 1
call fcn.00409010
mov byte [esp + 0xa0], 0
cmp dword [esp + 0x88], 8
jb 0x472b7f
mov edx, dword [esp + 0x74]
push edx
call fcn.00490a16
add esp, 4
mov eax, dword [esp + 0x68]
push 0x4e70b4
mov edi, 4
lea ecx, [esp + 0x5c]
call fcn.00408eb0
test eax, eax
jne 0x472bd4
mov eax, dword [ebx + 0x10]
dec eax
push eax
mov ecx, edi
lea esi, [esp + 0x78]
mov edx, ebx
call fcn.004070a0
mov edi, eax
mov esi, ebx
mov byte [esp + 0xa0], 2
call fcn.00409010
cmp dword [esp + 0x88], 8
jb 0x472bd4
mov eax, dword [esp + 0x74]
push eax
call fcn.00490a16
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0xa4], 3
call fcn.0044dbd0
add esp, 4
test al, al
je 0x472c2f
mov eax, dword [esp + 0x3c]
mov esi, 8
cmp dword [esp + 0x50], esi
jae 0x472c17
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
jmp 0x472c4b
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov esi, 8
test eax, eax
setne al
test al, al
jne 0x472c8b
cmp dword [esp + 0x50], esi
jb 0x472c67
mov edx, dword [esp + 0x3c]
push edx
call fcn.00490a16
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
cmp dword [esp + 0x6c], esi
jb 0x472cf1
mov ecx, dword [esp + 0x58]
push ecx
jmp 0x472ce9
mov edx, dword [esp + 0x18]
cmp edx, dword [ebp + 0xc]
jb 0x472cb8
ja 0x472c9f
mov eax, dword [esp + 0x14]
cmp eax, dword [ebp + 8]
jbe 0x472cb8
mov edi, dword [ebp + 0x14]
mov esi, dword [esp + 0x20]
push edi
push ebx
mov ecx, esi
call fcn.00472910
test eax, eax
jne 0x472d19
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x472ccb
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00490a16
add esp, 4
xor edx, edx
mov word [esp + 0x3c], dx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], 7
cmp dword [esp + 0x6c], esi
jb 0x472cf1
mov eax, dword [esp + 0x58]
push eax
call fcn.00490a16
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00490a21
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x14], 8
jb 0x472d23
mov eax, dword [esi]
jmp 0x472d25
mov eax, esi
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 7
push 0xc0000000
push eax
call dword [0x505fec]
mov esi, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
cmp edi, ebx
je 0x472d58
add dword [ebp + 8], 0x200
adc dword [ebp + 0xc], ebx
jmp 0x472d63
add dword [ebp + 8], 0xfffffe00
adc dword [ebp + 0xc], 0xffffffff
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
push esi
call dword [0x506014]
push esi
call dword [0x506034]
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x472d97
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00490a16
add esp, 4
xor edx, edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
cmp dword [esp + 0x6c], esi
jb 0x472dbd
mov eax, dword [esp + 0x58]
push eax
call fcn.00490a16
add esp, 4
mov eax, 1
jmp 0x472cf3