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

Disassembly:
push 0x730
mov eax, 0x47a089
call fcn.0045fd3a
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.0041e687
test eax, eax
je 0x41f02f
push 0xfffffffffffffffe
pop eax
call fcn.0045fdbd
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
je 0x41f045
push 0xfffffffffffffffd
jmp 0x41f026
push 0x2e0
lea eax, [ebp - 0x6ac]
push edi
push eax
call fcn.00460930
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 0x41f0a4
push 0x12
pop ecx
lea edi, [ebp - 0x494]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
jmp 0x41f0aa
mov dword [ebp - 0x494], edi
mov eax, dword [ebx]
cmp eax, edi
jne 0x41f0d1
cmp dword [ebx + 8], edi
je 0x41f0d1
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 0x41f0d7
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.00402c69
push 0x4838ac
lea eax, [ebp - 0x340]
push eax
mov dword [ebp - 4], edi
call fcn.0041c99e
test eax, eax
jne 0x41f185
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x340]
push eax
lea esi, [ebp - 0x700]
call fcn.004083c0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 1
call fcn.00402f6c
push edi
push 1
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00403021
cmp dword [ebp - 0x328], 0x10
mov eax, dword [ebp - 0x33c]
jae 0x41f16e
lea eax, [ebp - 0x33c]
push eax
mov edi, 0x104
push edi
push dword [ebp - 0x6b4]
call fcn.00461235
add esp, 0xc
jmp 0x41f18a
mov edi, 0x104
push str.Volume
lea eax, [ebp - 0x340]
push eax
call fcn.0041c99e
test eax, eax
jne 0x41f472
push 2
lea eax, [ebp - 0x340]
call fcn.0041fd09
mov ecx, dword [ebp - 0x32c]
lea edx, [ecx - 2]
cmp eax, edx
jne 0x41f472
dec ecx
push ecx
push 0
lea eax, [ebp - 0x340]
push eax
lea esi, [ebp - 0x700]
call fcn.004083c0
cmp dword [eax + 0x18], 0x10
jb 0x41f1e2
mov eax, dword [eax + 4]
jmp 0x41f1e5
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.00403021
test bl, bl
je 0x41f447
mov ecx, dword [ebp - 0x6bc]
lea eax, [ebp - 0x6e4]
push eax
call fcn.0041e8e1
mov byte [ebp - 4], 2
push dword [ebp - 0x6d8]
lea edi, [ebp - 0x6e4]
lea esi, [ebp - 0x6c4]
call fcn.004213bf
push dword [ebp - 0x6d4]
lea esi, [ebp - 0x6cc]
call fcn.004213bf
mov esi, dword [ebp - 0x6c4]
test esi, esi
je 0x41f25f
cmp esi, dword [ebp - 0x6cc]
je 0x41f264
call fcn.0045efd1
mov edi, dword [ebp - 0x6c0]
cmp edi, dword [ebp - 0x6c8]
je 0x41f430
test esi, esi
jne 0x41f2d3
call fcn.0045efd1
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x41f28b
call fcn.0045efd1
push edi
lea eax, [ebp - 0x3cc]
push eax
call fcn.0041f648
mov byte [ebp - 4], 3
cmp byte [ebp - 0x3ca], 0
jne 0x41f3bf
lea eax, [ebp - 0x38c]
push eax
lea ecx, [ebp - 0x73c]
call fcn.0041eda6
xor edi, edi
inc edi
mov byte [ebp - 4], 4
or dword [ebp - 0x6b0], edi
cmp dword [eax + 0x18], 8
jb 0x41f2d7
mov eax, dword [eax + 4]
jmp 0x41f2da
mov eax, dword [esi]
jmp 0x41f281
add eax, 4
lea ecx, [ebp - 0x324]
push ecx
push dword [ebp - 0x6bc]
mov ecx, eax
call fcn.0041e757
test eax, eax
je 0x41f346
push dword [ebp - 0x6b4]
lea ecx, [ebp - 0x700]
call fcn.00402c69
lea eax, [ebp - 0x700]
mov dword [ebp - 4], 5
or dword [ebp - 0x6b0], 2
push eax
lea ecx, [ebp - 0x720]
call fcn.0041eda6
lea ecx, [ebp - 0x324]
mov dword [ebp - 4], 6
or dword [ebp - 0x6b0], 4
push ecx
call fcn.0040fe35
pop ecx
test al, al
je 0x41f346
mov bl, 1
jmp 0x41f348
xor bl, bl
test byte [ebp - 0x6b0], 4
je 0x41f36c
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 0x41f38a
and dword [ebp - 0x6b0], 0xfffffffd
push 0
push edi
lea ecx, [ebp - 0x700]
call fcn.00403021
mov dword [ebp - 4], 3
test byte [ebp - 0x6b0], 1
je 0x41f3b5
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 0x41f3f8
mov edi, dword [ebp - 0x6c0]
lea ecx, [ebp - 0x3cc]
mov byte [ebp - 4], 2
call fcn.0041e3e3
test esi, esi
jne 0x41f3f4
call fcn.0045efd1
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x41f3e3
call fcn.0045efd1
add edi, 0x88
mov dword [ebp - 0x6c0], edi
jmp 0x41f24d
mov eax, dword [esi]
jmp 0x41f3d9
cmp dword [ebp - 0x374], 0x10
mov eax, dword [ebp - 0x388]
jae 0x41f40d
lea eax, [ebp - 0x388]
push eax
push 0x104
push dword [ebp - 0x6b4]
call fcn.00461235
add esp, 0xc
lea ecx, [ebp - 0x3cc]
mov byte [ebp - 4], 2
call fcn.0041e3e3
lea eax, [ebp - 0x6e4]
push eax
mov byte [ebp - 4], 0
call fcn.0041fb02
mov edi, 0x104
jmp 0x41f46c
cmp dword [ebp - 0x328], 0x10
mov eax, dword [ebp - 0x33c]
jae 0x41f45c
lea eax, [ebp - 0x33c]
push eax
push edi
push dword [ebp - 0x6b4]
call fcn.00461235
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.0041ee2e
xor esi, esi
cmp dword [ebp - 0x6b8], esi
jne 0x41f5a9
push 0x4830e8
lea eax, [ebp - 0x340]
push eax
call fcn.0041c99e
test eax, eax
jne 0x41f51c
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x340]
push eax
lea esi, [ebp - 0x720]
call fcn.004083c0
push eax
lea eax, [ebp - 0x73c]
push 0x4838c0
push eax
mov byte [ebp - 4], 7
call fcn.00417446
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x41f4e8
mov eax, dword [eax + 4]
jmp 0x41f4eb
add eax, 4
push eax
lea eax, [ebp - 0x69c]
push edi
push eax
call fcn.00461235
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x73c]
call fcn.00403021
push 0
push 1
lea ecx, [ebp - 0x720]
call fcn.00403021
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 0x41f5a9
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 0x41f56b
mov eax, dword [ebp - 0x6b8]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x440], esi
jne 0x41f5a9
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 0x41f5a9
mov eax, dword [ebp - 0x6b0]
shr eax, 0x13
and eax, 1
mov dword [ebp - 0x440], eax
lea edi, [ebp - 0x69c]
call fcn.0041e630
xor edi, edi
cmp dword [ebx + 0x10], edi
je 0x41f5e5
push 4
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x69c]
push 0x4838c4
push eax
call fcn.0046b7e7
xor ecx, ecx
inc ecx
add esp, 0x10
cmp eax, ecx
jne 0x41f630
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 0x41f630
cmp dword [ebp - 0x6ac], edi
jne 0x41f628
push dword [ebp + 0xc]
push 0x8000
call fcn.0041ee99
mov esi, dword [ebp - 0x6ac]
jmp 0x41f633
or esi, 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x340]
call fcn.00403021
mov eax, esi
jmp 0x41f027