Function at 0x453bd0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x44
mov eax, dword [0x496028]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [0x47d684]
push ebx
push ebp
mov bp, word [esp + 0x50]
push esi
push edi
mov esi, ecx
mov ecx, dword [0x47d680]
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], ecx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x40], edx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x44]
xor edi, edi
push ecx
mov dword [esp + 0x24], edi
mov word [esp + 0x48], bp
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x453dfc
mov eax, dword [esp + 0x1c]
cmp esi, edi
je 0x453c41
mov dword [esi], eax
shr eax, 3
add eax, 0x19
mov ebx, eax
push ebx
call fcn.00472d56
mov esi, eax
add esp, 4
cmp esi, edi
je 0x453de4
mov eax, dword [0x4851a4]
mov edx, dword [str..C:]
mov ecx, dword [0x4851a8]
push edi
push edi
push 3
push edi
push 3
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
mov dx, word [0x4851ac]
push SysReAllocString
lea eax, [esp + 0x54]
mov dword [esp + 0x5c], ecx
push eax
mov word [esp + 0x64], dx
mov word [esp + 0x60], bp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x453dcb
push edi
lea ecx, [esp + 0x18]
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
push 8
lea edx, [esp + 0x34]
push edx
push 0x9006f
push ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], edi
call ebx
test eax, eax
jne 0x453db1
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xea
jne 0x453d84
mov esi, dword [esi + 8]
push esi
call fcn.00472d56
add esp, 4
push 0
mov edi, eax
lea eax, [esp + 0x18]
push eax
push esi
push edi
push 8
lea ecx, [esp + 0x34]
push ecx
push 0x9006f
push ebp
call ebx
test eax, eax
jne 0x453d4b
push edi
call fcn.00472d5c
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004734e6
add esp, 0x44
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x453d81
mov edx, dword [esp + 0x14]
add edi, 0x10
add edx, 0xfffffff0
push ebp
mov dword [eax], edi
mov dword [esp + 0x14], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004734e6
add esp, 0x44
ret
push edi
jmp 0x453d8b
call edi
mov dword [esp + 0x10], eax
push esi
call fcn.00472d5c
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004734e6
add esp, 0x44
ret
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x453d8a
add esi, 0x10
mov dword [eax], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x10], eax
jmp 0x453d93
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004734e6
add esp, 0x44
ret
mov eax, 0xfffffffd
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004734e6
add esp, 0x44
ret
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0xfffffffe
call fcn.004734e6
add esp, 0x44
ret