Function at 0x465060
Capabilities:
Get disk size

Disassembly:
sub esp, 0x24
movzx ecx, word [esp + 0x2c]
xor edx, edx
cmp word [esp + 0x2c], 3
xorps xmm0, xmm0
push ebx
push esi
mov esi, dword [esp + 0x30]
cmovbe edx, ecx
movsd qword [esp + 0x24], xmm0
movzx ebx, dx
push edi
test esi, esi
jne 0x465091
mov word [esp + 0x38], 0x5c
test esi, esi
lea eax, [esp + 0x38]
cmovne eax, esi
push eax
call fcn.00457d80
add esp, 4
mov edi, eax
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [0x8b7d74], 0
mov dword [esp + 0x24], eax
jne 0x465107
call fcn.004f7e50
test eax, eax
mov edx, str.kernel32.dll
mov ecx, str.unicows.dll
cmove ecx, edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4650f6
push str.GetDiskFreeSpaceExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x8b7d70], eax
mov dword [0x8b7d74], 1
jmp 0x46510c
mov eax, dword [0x8b7d70]
mov dword [0x8b7d74], 1
jmp 0x46510c
mov eax, dword [0x8b7d70]
test eax, eax
jne 0x465246
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
xor ecx, ecx
mov esi, eax
test esi, esi
push 0
setne cl
push ecx
call fcn.00461550
add esp, 8
test esi, esi
je case.default.0x465278
mov eax, ebx
cmp eax, 3
ja case.default.0x465278
jmp dword [eax*4 + 0x4653f4]
mov eax, dword [esp + 0x34]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x67b4e0]
mov eax, dword [esp + 0x14]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x67b4e0]
mov eax, dword [esp + 0xc]
mulsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x67b4e0]
mulsd xmm1, xmm0
movsd qword [esp + 0x28], xmm1
jmp case.default.0x465278
mov eax, dword [esp + 0x34]
movd xmm2, eax
shr eax, 0x1f
cvtdq2pd xmm2, xmm2
addsd xmm2, qword [eax*8 + 0x67b4e0]
mov eax, dword [esp + 0xc]
movd xmm3, eax
cvtdq2pd xmm3, xmm3
shr eax, 0x1f
addsd xmm3, qword [eax*8 + 0x67b4e0]
mov eax, dword [esp + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x67b4e0]
mulsd xmm1, xmm2
mulsd xmm1, xmm3
movsd qword [esp + 0x28], xmm1
cmp ebx, 2
jne case.default.0x465278
mov eax, dword [esp + 0x14]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x67b4e0]
mulsd xmm0, xmm2
mulsd xmm0, xmm3
subsd xmm1, xmm0
movsd qword [esp + 0x28], xmm1
jmp case.default.0x465278
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
push ecx
push edi
call eax
mov esi, eax
push 0
push esi
call fcn.00461550
add esp, 8
test esi, esi
je case.default.0x465278
mov eax, ebx
cmp eax, 3
ja case.default.0x465278
jmp dword [eax*4 + 0x465404]
mov eax, dword [esp + 0x10]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x67b4e0]
mov eax, dword [esp + 0xc]
mulsd xmm1, qword [0x74f8c8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x67b4e0]
addsd xmm1, xmm0
movsd qword [esp + 0x28], xmm1
jmp case.default.0x465278
mov eax, dword [esp + 0x18]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x67b4e0]
mov eax, dword [esp + 0x14]
mulsd xmm1, qword [0x74f8c8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x67b4e0]
addsd xmm1, xmm0
movsd qword [esp + 0x28], xmm1
jmp case.default.0x465278
mov eax, dword [esp + 0x20]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x67b4e0]
mov eax, dword [esp + 0x1c]
mulsd xmm1, qword [0x74f8c8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x67b4e0]
addsd xmm1, xmm0
movsd qword [esp + 0x28], xmm1
jmp case.default.0x465278
mov eax, dword [esp + 0x20]
xorps xmm3, xmm3
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm3, eax
shr eax, 0x1f
addsd xmm3, qword [eax*8 + 0x67b4e0]
mov eax, dword [esp + 0x1c]
mulsd xmm3, qword [0x74f8c8]
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x67b4e0]
mov eax, dword [esp + 0x18]
cvtsi2sd xmm1, eax
shr eax, 0x1f
addsd xmm3, xmm0
xorps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x67b4e0]
mov eax, dword [esp + 0x14]
mulsd xmm1, qword [0x74f8c8]
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x67b4e0]
addsd xmm1, xmm0
subsd xmm3, xmm1
movsd qword [esp + 0x28], xmm3
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
test edi, edi
je 0x4653e6
push edi
call fcn.0048bed0
add esp, 4
fld qword [esp + 0x28]
pop edi
pop esi
pop ebx
add esp, 0x24
ret