Function at 0x453f00
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 0x45412f
mov eax, dword [esp + 0x1c]
cmp esi, edi
je 0x453f74
mov dword [esi], eax
mov dword [esi + 4], edi
shr eax, 3
add eax, 0x19
mov ebx, eax
push ebx
call sub.mfc90u.dll_new__
mov esi, eax
add esp, 4
cmp esi, edi
je 0x454117
mov eax, dword [0x4851f4]
mov edx, dword [str..C:]
mov ecx, dword [0x4851f8]
push edi
push edi
push 3
push edi
push 3
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
mov dx, word [0x4851fc]
push Ordinal_3
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 0x4540fe
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 0x4540e4
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xea
jne 0x4540b7
mov esi, dword [esi + 8]
push esi
call sub.mfc90u.dll_new__
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 0x45407e
push edi
call sub.mfc90u.dll_delete__
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.0047397a
add esp, 0x44
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4540b4
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.0047397a
add esp, 0x44
ret
push edi
jmp 0x4540be
call edi
mov dword [esp + 0x10], eax
push esi
call sub.mfc90u.dll_delete__
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.0047397a
add esp, 0x44
ret
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4540bd
add esi, 0x10
mov dword [eax], esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x10], eax
jmp 0x4540c6
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.0047397a
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.0047397a
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.0047397a
add esp, 0x44
ret