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

Disassembly:
push 0x730
mov eax, 0x478c74
call fcn.0045e88a
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
xor edi, edi
push eax
mov dword [ebp - 0x6bc], eax
mov dword [ebp - 0x6b4], ecx
mov esi, edx
mov dword [ebp - 0x6b8], ebx
mov dword [ebp - 0x6b0], edi
call fcn.0041d910
test eax, eax
je 0x41e2b8
or eax, 0xffffffff
call fcn.0045e90d
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [ebp + 0xc]
xor edx, edx
inc edx
shl edx, cl
test edx, eax
jne 0x41e2ad
push 0x2e0
lea eax, [ebp - 0x6ac]
push edi
push eax
call fcn.0045f510
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x3d4], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x438], 1
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x42c], edi
cmp esi, edi
je 0x41e329
push 0x12
pop ecx
lea edi, [ebp - 0x494]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
jmp 0x41e32f
mov dword [ebp - 0x494], edi
mov eax, dword [ebx]
cmp eax, edi
jne 0x41e356
cmp dword [ebx + 8], edi
je 0x41e356
push 0x12
lea esi, [ebx + 0x14]
pop ecx
lea edi, [ebp - 0x41c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x420], 1
xor edi, edi
jmp 0x41e35c
mov dword [ebp - 0x420], edi
push dword [ebp - 0x6b4]
mov dword [ebp - 0x440], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x43c], eax
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x340]
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x434], 1
call fcn.00402c6a
push 0x480f34
lea eax, [ebp - 0x340]
push eax
mov dword [ebp - 4], edi
call fcn.0041bcff
test eax, eax
jne 0x41e40a
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x340]
push eax
lea esi, [ebp - 0x700]
call fcn.00407b24
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 1
call fcn.00402f6d
push edi
push 1
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00403022
cmp dword [ebp - 0x328], 0x10
mov eax, dword [ebp - 0x33c]
jae 0x41e3f3
lea eax, [ebp - 0x33c]
push eax
mov edi, 0x104
push edi
push dword [ebp - 0x6b4]
call fcn.0045ff35
add esp, 0xc
jmp 0x41e40f
mov edi, 0x104
push str.Volume
lea eax, [ebp - 0x340]
push eax
call fcn.0041bcff
test eax, eax
jne 0x41e6f7
push 2
lea eax, [ebp - 0x340]
call fcn.0041ee9d
mov ecx, dword [ebp - 0x32c]
lea edx, [ecx - 2]
cmp eax, edx
jne 0x41e6f7
dec ecx
push ecx
push 0
lea eax, [ebp - 0x340]
push eax
lea esi, [ebp - 0x700]
call fcn.00407b24
cmp dword [eax + 0x18], 0x10
jb 0x41e467
mov eax, dword [eax + 4]
jmp 0x41e46a
add eax, 4
push edi
push dword [ebp - 0x6b4]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push 0
test eax, eax
push 1
lea ecx, [ebp - 0x700]
setne bl
call fcn.00403022
test bl, bl
je 0x41e6cc
mov ecx, dword [ebp - 0x6bc]
lea eax, [ebp - 0x6e4]
push eax
call fcn.0041db6a
mov byte [ebp - 4], 2
push dword [ebp - 0x6d8]
lea edi, [ebp - 0x6e4]
lea esi, [ebp - 0x6c4]
call fcn.00420502
push dword [ebp - 0x6d4]
lea esi, [ebp - 0x6cc]
call fcn.00420502
mov esi, dword [ebp - 0x6c4]
test esi, esi
je 0x41e4e4
cmp esi, dword [ebp - 0x6cc]
je 0x41e4e9
call fcn.0045dcc3
mov edi, dword [ebp - 0x6c0]
cmp edi, dword [ebp - 0x6c8]
je 0x41e6b5
test esi, esi
jne 0x41e558
call fcn.0045dcc3
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x41e510
call fcn.0045dcc3
push edi
lea eax, [ebp - 0x3cc]
push eax
call fcn.0041e8cd
mov byte [ebp - 4], 3
cmp byte [ebp - 0x3ca], 0
jne 0x41e644
lea eax, [ebp - 0x38c]
push eax
lea ecx, [ebp - 0x73c]
call fcn.0041e02f
xor edi, edi
inc edi
mov byte [ebp - 4], 4
or dword [ebp - 0x6b0], edi
cmp dword [eax + 0x18], 8
jb 0x41e55c
mov eax, dword [eax + 4]
jmp 0x41e55f
mov eax, dword [esi]
jmp 0x41e506
add eax, 4
lea ecx, [ebp - 0x324]
push ecx
push dword [ebp - 0x6bc]
mov ecx, eax
call fcn.0041d9e0
test eax, eax
je 0x41e5cb
push dword [ebp - 0x6b4]
lea ecx, [ebp - 0x700]
call fcn.00402c6a
lea eax, [ebp - 0x700]
mov dword [ebp - 4], 5
or dword [ebp - 0x6b0], 2
push eax
lea ecx, [ebp - 0x720]
call fcn.0041e02f
lea ecx, [ebp - 0x324]
mov dword [ebp - 4], 6
or dword [ebp - 0x6b0], 4
push ecx
call fcn.0040f2b2
pop ecx
test al, al
je 0x41e5cb
mov bl, 1
jmp 0x41e5cd
xor bl, bl
test byte [ebp - 0x6b0], 4
je 0x41e5f1
and dword [ebp - 0x6b0], 0xfffffffb
push 0
push edi
lea esi, [ebp - 0x720]
call fcn.0040144b
mov esi, dword [ebp - 0x6c4]
test byte [ebp - 0x6b0], 2
je 0x41e60f
and dword [ebp - 0x6b0], 0xfffffffd
push 0
push edi
lea ecx, [ebp - 0x700]
call fcn.00403022
mov dword [ebp - 4], 3
test byte [ebp - 0x6b0], 1
je 0x41e63a
and dword [ebp - 0x6b0], 0xfffffffe
push 0
push edi
lea esi, [ebp - 0x73c]
call fcn.0040144b
mov esi, dword [ebp - 0x6c4]
test bl, bl
jne 0x41e67d
mov edi, dword [ebp - 0x6c0]
lea ecx, [ebp - 0x3cc]
mov byte [ebp - 4], 2
call fcn.0041d6cb
test esi, esi
jne 0x41e679
call fcn.0045dcc3
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x41e668
call fcn.0045dcc3
add edi, 0x88
mov dword [ebp - 0x6c0], edi
jmp 0x41e4d2
mov eax, dword [esi]
jmp 0x41e65e
cmp dword [ebp - 0x374], 0x10
mov eax, dword [ebp - 0x388]
jae 0x41e692
lea eax, [ebp - 0x388]
push eax
push 0x104
push dword [ebp - 0x6b4]
call fcn.0045ff35
add esp, 0xc
lea ecx, [ebp - 0x3cc]
mov byte [ebp - 4], 2
call fcn.0041d6cb
lea eax, [ebp - 0x6e4]
push eax
mov byte [ebp - 4], 0
call fcn.0041ec96
mov edi, 0x104
jmp 0x41e6f1
cmp dword [ebp - 0x328], 0x10
mov eax, dword [ebp - 0x33c]
jae 0x41e6e1
lea eax, [ebp - 0x33c]
push eax
push edi
push dword [ebp - 0x6b4]
call fcn.0045ff35
add esp, 0xc
mov ebx, dword [ebp - 0x6b8]
lea eax, [ebp - 0x6b8]
push eax
push dword [ebp - 0x6b4]
lea eax, [ebp - 0x69c]
push eax
call fcn.0041e0b7
xor esi, esi
cmp dword [ebp - 0x6b8], esi
jne 0x41e82e
push 0x480730
lea eax, [ebp - 0x340]
push eax
call fcn.0041bcff
test eax, eax
jne 0x41e7a1
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x340]
push eax
lea esi, [ebp - 0x720]
call fcn.00407b24
push eax
lea eax, [ebp - 0x73c]
push 0x480f48
push eax
mov byte [ebp - 4], 7
call fcn.0041693a
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x41e76d
mov eax, dword [eax + 4]
jmp 0x41e770
add eax, 4
push eax
lea eax, [ebp - 0x69c]
push edi
push eax
call fcn.0045ff35
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x73c]
call fcn.00403022
push 0
push 1
lea ecx, [ebp - 0x720]
call fcn.00403022
xor esi, esi
push 0x103
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x6b4]
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
test eax, eax
je 0x41e82e
lea eax, [ebp - 0x6b4]
push eax
push eax
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x6b4]
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x41e7f0
mov eax, dword [ebp - 0x6b8]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x440], esi
jne 0x41e82e
push esi
push esi
lea eax, [ebp - 0x6b0]
push eax
lea eax, [ebp - 0x6b4]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x41e82e
mov eax, dword [ebp - 0x6b0]
shr eax, 0x13
and eax, 1
mov dword [ebp - 0x440], eax
lea edi, [ebp - 0x69c]
call fcn.0041d8b9
xor edi, edi
cmp dword [ebx + 0x10], edi
je 0x41e86a
push 4
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x69c]
push 0x480f4c
push eax
call fcn.0046a4e7
xor ecx, ecx
inc ecx
add esp, 0x10
cmp eax, ecx
jne 0x41e8b5
mov dword [ebp - 0x42c], ecx
push edi
lea eax, [ebp - 0x704]
push eax
mov eax, 0x2e0
push eax
lea ecx, [ebp - 0x6ac]
push ecx
push eax
mov eax, ecx
push eax
push 0x22200c
push dword [ebp - 0x6bc]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41e8b5
cmp dword [ebp - 0x6ac], edi
jne 0x41e8ad
push dword [ebp + 0xc]
push 0x8000
call fcn.0041e122
mov esi, dword [ebp - 0x6ac]
jmp 0x41e8b8
or esi, 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x340]
call fcn.00403022
mov eax, esi
jmp 0x41e2b0