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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5211bb
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 [0x56ea48]
mov eax, 0x38e38e39
sub ecx, dword [0x56ea44]
imul ecx
mov dword [ebp - 0x78], 0
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x41c1e9
push ecx
mov ecx, ebx
call fcn.0041c7d0
jmp 0x41c3e2
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.0041c400
mov byte [ebp - 4], 1
push dword [ebp - 0x6c]
mov edx, dword [0x56ea48]
push ecx
mov ecx, dword [0x56ea44]
call fcn.0041cb30
mov eax, dword [0x56ea44]
mov esi, 0x41
mov ebx, dword [ebp - 0x64]
add esp, 8
mov dword [0x56ea48], eax
mov edx, 1
lea edi, [esi - 0x27]
lea ecx, [esi - 0x41]
mov eax, edx
shl eax, cl
test ebx, eax
je 0x41c383
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 0x53dcfc
push eax
movq qword [ebp - 0x1e], xmm0
call fcn.0041cb10
add esp, 0xc
cmp word [ebp - 0x20], 0
jne 0x41c2b0
xor ecx, ecx
jmp 0x41c2c5
lea ecx, [ebp - 0x20]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c2b6
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 0x41c365
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
call fcn.004e2e40
mulsd xmm0, qword [0x548f10]
call fcn.004e2d11
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x2c], eax
call fcn.004e2e40
mulsd xmm0, qword [0x548f10]
call fcn.004e2d11
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.0041c670
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x41c37e
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00402f10
mov edx, 1
inc esi
sub edi, 1
jne 0x41c250
mov esi, dword [0x56ea48]
lea edx, [ebp - 0x60]
mov ecx, dword [0x56ea44]
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 [0x56ea48]
push eax
call fcn.0041cbb0
mov ebx, dword [ebp - 0x6c]
add esp, 4
mov ecx, ebx
call fcn.0041c7d0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x41c3e2
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.004e1de4
mov esp, ebp
pop ebp
ret