Function at 0x411170
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4719bc
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x48d000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x47fc60]
mov edx, dword [0x47fc68]
push 0x1fc
mov dword [ebp - 0x218], eax
xor edi, edi
mov esi, ecx
mov ecx, dword [0x47fc64]
lea eax, [ebp - 0x20c]
push edi
push eax
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], edx
call fcn.00457050
mov ecx, dword [0x4905c8]
add esp, 0xc
lea ebx, [ebp - 0x2ac]
call fcn.004132c0
push eax
lea ecx, [ebp - 0x2a4]
push ecx
mov ebx, 0x47fc38
mov dword [ebp - 4], edi
call fcn.00413550
mov eax, dword [eax]
add esp, 8
push 0x104
lea edx, [ebp - 0x20e]
push edx
push edi
push edi
push edi
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [ebp - 0x2a4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41123f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2ac]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411268
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x3f0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [ebp - 0x218]
push eax
call edx
mov ecx, dword [0x4905c8]
lea ebx, [ebp - 0x2a4]
call fcn.004132c0
push eax
lea eax, [ebp - 0x2ac]
push eax
mov ebx, 0x47fc38
mov dword [ebp - 4], 1
call fcn.00413550
mov eax, dword [eax]
add esp, 8
push edi
lea ecx, [ebp - 0x2b8]
push ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x2ac]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4112dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2a4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411306
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b0], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x2ac], eax
fild qword [ebp - 0x2b0]
and ecx, 0x80000000
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x2b0], edi
fild qword [ebp - 0x2b0]
sub esp, 8
lea edi, [ebp - 0x2a4]
fchs
faddp st(1)
fmul qword [0x481bd8]
fstp qword [esp]
push 0x47fc6c
call fcn.004019a0
mov ecx, dword [esi + 0x3ec]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2a4]
mov edx, dword [edx + 0x2c]
add esp, 0xc
push eax
call edx
mov ecx, dword [esi + 0x3dc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x2a0]
push edx
call eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0041f019
test eax, eax
jne 0x4113c1
xor ecx, ecx
jmp 0x4113d5
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4113c6
sub ecx, edi
sar ecx, 1
push eax
lea edx, [ebp - 0x2a4]
push edx
mov ebx, ecx
call fcn.00401e80
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 2
call fcn.0041efff
movzx eax, word [0x4905c8]
push eax
lea ebx, [ebp - 0x2a4]
call fcn.004134b0
mov ecx, dword [esi + 0x3dc]
mov edx, dword [ecx]
mov edi, dword [ebp - 0x2a4]
mov eax, dword [edx + 0x2c]
push edi
call eax
mov ecx, dword [esi + 0x3e4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push 0x4907e4
call eax
mov esi, dword [esi + 0x384]
mov edx, dword [esi]
mov eax, dword [edx + 0x1b4]
push 1
mov ecx, esi
call eax
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411463
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00454d73
mov esp, ebp
pop ebp
ret