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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520f5b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5640a8]
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 ebx, ecx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x64], ebx
mov ecx, dword [0x56e99c]
mov eax, 0x38e38e39
sub ecx, dword [0x56e998]
imul ecx
mov dword [ebp - 0x78], 0
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x41bf49
push ecx
mov ecx, ebx
call fcn.0041c530
jmp 0x41c142
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
push eax
call fcn.0041c160
mov byte [ebp - 4], 1
push dword [ebp - 0x6c]
mov edx, dword [0x56e99c]
push ecx
mov ecx, dword [0x56e998]
call fcn.0041c890
mov eax, dword [0x56e998]
mov esi, 0x41
mov ebx, dword [ebp - 0x64]
add esp, 8
mov dword [0x56e99c], eax
mov edx, 1
lea edi, [esi - 0x27]
lea ecx, [esi - 0x41]
mov eax, edx
shl eax, cl
test ebx, eax
je 0x41c0e3
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov byte [ebp - 0x24], al
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
xorps xmm0, xmm0
push esi
mov word [ebp - 0x20], ax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x20]
push 0x53dcc4
push eax
movq qword [ebp - 0x1e], xmm0
call fcn.0041c870
add esp, 0xc
cmp word [ebp - 0x20], 0
jne 0x41c010
xor ecx, ecx
jmp 0x41c025
lea ecx, [ebp - 0x20]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c016
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x44]
call fcn.00402570
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
je 0x41c0c5
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
call fcn.004e2bf0
mulsd xmm0, qword [0x548ee0]
call fcn.004e2ac1
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x2c], eax
call fcn.004e2bf0
mulsd xmm0, qword [0x548ee0]
call fcn.004e2ac1
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ecx
push dword [ebp - 0x34]
push eax
call fcn.00403590
movzx ecx, byte [ebp - 0x24]
add esp, 0x10
test eax, eax
mov eax, 1
cmove ecx, eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 0x24], cl
call fcn.0041c3d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x41c0de
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00402f10
mov edx, 1
inc esi
sub edi, 1
jne 0x41bfb0
mov esi, dword [0x56e99c]
lea edx, [ebp - 0x60]
mov ecx, dword [0x56e998]
mov eax, 0x38e38e39
push edx
sub esi, ecx
mov byte [ebp - 0x60], 0
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x56e99c]
push eax
call fcn.0041c910
mov ebx, dword [ebp - 0x6c]
add esp, 4
mov ecx, ebx
call fcn.0041c530
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x41c142
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00402f10
mov eax, ebx
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.004e1bb1
mov esp, ebp
pop ebp
ret