Function at 0x4550a0
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 0x4550d1
mov word [esp + 0x38], 0x5c
test esi, esi
lea eax, [esp + 0x38]
cmovne eax, esi
push eax
call fcn.0044fa00
add esp, 4
mov edi, eax
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [0x4d496c], 0
mov dword [esp + 0x24], eax
jne 0x455147
call fcn.00464170
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 0x455136
push str.GetDiskFreeSpaceExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4d4968], eax
mov dword [0x4d496c], 1
jmp 0x45514c
mov eax, dword [0x4d4968]
mov dword [0x4d496c], 1
jmp 0x45514c
mov eax, dword [0x4d4968]
test eax, eax
jne 0x455286
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.00450740
add esp, 8
test esi, esi
je case.default.0x4552b8
mov eax, ebx
cmp eax, 3
ja case.default.0x4552b8
jmp dword [eax*4 + 0x455434]
mov eax, dword [esp + 0x34]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4bbc50]
mov eax, dword [esp + 0x14]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4bbc50]
mov eax, dword [esp + 0xc]
mulsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4bbc50]
mulsd xmm1, xmm0
movsd qword [esp + 0x28], xmm1
jmp case.default.0x4552b8
mov eax, dword [esp + 0x34]
movd xmm2, eax
shr eax, 0x1f
cvtdq2pd xmm2, xmm2
addsd xmm2, qword [eax*8 + 0x4bbc50]
mov eax, dword [esp + 0xc]
movd xmm3, eax
cvtdq2pd xmm3, xmm3
shr eax, 0x1f
addsd xmm3, qword [eax*8 + 0x4bbc50]
mov eax, dword [esp + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4bbc50]
mulsd xmm1, xmm2
mulsd xmm1, xmm3
movsd qword [esp + 0x28], xmm1
cmp ebx, 2
jne case.default.0x4552b8
mov eax, dword [esp + 0x14]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4bbc50]
mulsd xmm0, xmm2
mulsd xmm0, xmm3
subsd xmm1, xmm0
movsd qword [esp + 0x28], xmm1
jmp case.default.0x4552b8
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.00450740
add esp, 8
test esi, esi
je case.default.0x4552b8
mov eax, ebx
cmp eax, 3
ja case.default.0x4552b8
jmp dword [eax*4 + 0x455444]
mov eax, dword [esp + 0x10]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4bbc50]
mov eax, dword [esp + 0xc]
mulsd xmm1, qword [0x4bbc48]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4bbc50]
addsd xmm1, xmm0
movsd qword [esp + 0x28], xmm1
jmp case.default.0x4552b8
mov eax, dword [esp + 0x18]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4bbc50]
mov eax, dword [esp + 0x14]
mulsd xmm1, qword [0x4bbc48]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4bbc50]
addsd xmm1, xmm0
movsd qword [esp + 0x28], xmm1
jmp case.default.0x4552b8
mov eax, dword [esp + 0x20]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4bbc50]
mov eax, dword [esp + 0x1c]
mulsd xmm1, qword [0x4bbc48]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4bbc50]
addsd xmm1, xmm0
movsd qword [esp + 0x28], xmm1
jmp case.default.0x4552b8
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 + 0x4bbc50]
mov eax, dword [esp + 0x1c]
mulsd xmm3, qword [0x4bbc48]
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4bbc50]
mov eax, dword [esp + 0x18]
cvtsi2sd xmm1, eax
shr eax, 0x1f
addsd xmm3, xmm0
xorps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x4bbc50]
mov eax, dword [esp + 0x14]
mulsd xmm1, qword [0x4bbc48]
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4bbc50]
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 0x455426
push edi
call fcn.00434080
add esp, 4
fld qword [esp + 0x28]
pop edi
pop esi
pop ebx
add esp, 0x24
ret