Function at 0x455eda
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a1a49
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push edi
mov eax, dword [0x4d4684]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor edi, edi
inc edi
push edi
mov ecx, esi
call fcn.004690c5
fld qword [0x4bb558]
xor ebx, ebx
fstp qword [esp + 0x2c]
push 3
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x94]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.004013d0
mov dword [esp + 0x58], ebx
push str.KERNEL32.DLL
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x455fd5
push str.GetDiskFreeSpaceExA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x455fc8
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push dword [esp + 0x1c]
call eax
test eax, eax
je 0x455fc8
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [esp + 0x30], eax
and eax, 0x7fffffff
and dword [esp + 0x30], 0x80000000
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], eax
fild qword [esp + 0x14]
mov dword [esp + 0x14], ebx
fild qword [esp + 0x2c]
fchs
faddp st(1)
fstp qword [esp + 0x2c]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x14], ebx
je 0x456041
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x456041
mov eax, dword [esp + 0x1c]
fild dword [esp + 0x1c]
test eax, eax
jge 0x456009
fadd qword [0x4bb550]
mov eax, dword [esp + 0x20]
fild dword [esp + 0x20]
test eax, eax
jge 0x45601b
fadd qword [0x4bb550]
fld qword [0x4bb540]
mov eax, dword [esp + 0x24]
test eax, eax
fmul st(1), st(0)
fxch st(1)
fmulp st(2)
fild dword [esp + 0x24]
jge 0x456039
fadd qword [0x4bb550]
fmulp st(2)
fmulp st(1)
fstp qword [esp + 0x2c]
fld qword [0x4bb558]
mov edi, str._.1fMB
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 0x44
jp 0x456069
lea ecx, [esi + 0xf0]
push str.___._MB
call fcn.00403370
jmp 0x456082
fld qword [esp + 0x2c]
push ecx
push ecx
fstp qword [esp]
lea eax, [esi + 0xf0]
push edi
push eax
call fcn.00401a35
add esp, 0x10
lea eax, [esp + 0x14]
push 0x78
push eax
call fcn.0045f91d
pop ecx
pop ecx
lea ecx, [esi + 0xec]
push eax
mov byte [esp + 0x5c], 1
call fcn.004018c1
mov byte [esp + 0x58], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x84]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x456121
or eax, ecx
je 0x456121
lea eax, [esp + 0x14]
push 0x7b
push eax
call fcn.0045f91d
pop ecx
pop ecx
lea ecx, [esi + 0xf4]
push eax
mov byte [esp + 0x5c], 2
call fcn.004018c1
mov byte [esp + 0x58], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
fild qword [esi + 0x80]
push ecx
push ecx
fmul qword [0x4bb538]
lea eax, [esi + 0xf8]
fstp qword [esp]
push edi
push eax
call fcn.00401a35
add esp, 0x10
mov edi, 0x4b377c
jmp 0x45613e
mov edi, 0x4b377c
lea ecx, [esi + 0xf4]
push edi
call fcn.00403370
lea ecx, [esi + 0xf8]
push edi
call fcn.00403370
mov eax, dword [esi + 0x84]
cmp eax, ebx
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jl 0x4561a0
jg 0x45615c
cmp ecx, ebx
jbe 0x4561a0
fild qword [esp + 0x14]
fmul qword [0x4bb538]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4561a0
lea eax, [esp + 0x14]
push 0x7c
push eax
call fcn.0045f91d
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 3
call fcn.004018c1
mov byte [esp + 0x58], bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
jmp 0x4561aa
push edi
lea ecx, [esp + 0x14]
call fcn.00403370
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x264]
call fcn.004018c1
push ebx
mov ecx, esi
call fcn.004690c5
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret