Function at 0x41c540
Capabilities:
Get disk information

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x30c
mov ecx, dword [esp + 0x320]
lea ebp, [esp + 0x2c0]
mov edi, ebp
mov dword [esp], ecx
call fcn.0041d6f0
mov dword [esp + 0x20], eax
mov ecx, 0xd
lea edx, [esp + 0x290]
cld
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esp + 4], edx
mov edx, dword [esp + 0x20]
mov dword [esp], edx
call fcn.0041b7a0
test eax, eax
mov edx, 0xffffffff
jne 0x41c5a0
add esp, 0x30c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0x290]
mov edx, dword [esp + 0x294]
mov ebx, dword [esp + 0x298]
mov dword [esp + 0x2c0], edi
mov ecx, dword [esp + 0x29c]
mov esi, dword [esp + 0x2a0]
mov dword [esp + 0x2c4], edx
mov edi, dword [esp + 0x2a4]
mov edx, dword [esp + 0x2ac]
mov dword [esp + 0x2c8], ebx
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x2a8]
mov dword [esp + 0x2cc], ecx
mov ecx, dword [esp + 0x2b0]
mov dword [esp + 0x2d0], esi
mov esi, 1
mov dword [esp + 0x2e0], edx
mov dword [esp + 0x2e4], ecx
mov dword [esp + 0x2d4], edi
lea edi, [esp + 0x70]
mov dword [esp + 0x2d8], ebx
lea ebx, [esp + 0x2c]
mov dword [esp + 0x2e8], esi
mov dword [esp], eax
call fcn.0041ddb0
mov dword [esp], eax
call fcn.0041e560
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x28]
lea edi, [esp + 0x180]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 4], edi
mov dword [esp + 0x1c], 0x103
mov dword [esp + 8], 0x103
mov dword [esp], eax
call sub.KERNEL32.dll_GetVolumeInformationA
sub esp, 0x20
test eax, eax
lea edi, [esp + 0x30]
sete bl
mov dword [esp], esi
mov esi, ebp
movzx edx, bl
dec edx
xor ebx, ebx
and dword [esp + 0x24], edx
call sub.msvcrt.dll_free
cld
mov ecx, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x2dc], ecx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x4c]
or ebp, ebx
mov ebx, dword [esp + 0x30]
or esi, edi
mov edi, dword [esp + 0x324]
test bl, 0x10
sete dl
mov dword [edi + 0x10], eax
mov dword [edi + 8], ebp
mov dword [edi + 0xc], esi
dec edx
and edx, 0xffffc000
mov dword [edi + 0x14], 0
add edx, 0x8000
or edx, 0x124
test bl, 1
movzx eax, dx
jne 0x41c70b
or eax, 0x92
mov ebp, dword [esp + 0x50]
xor esi, esi
xor ebx, ebx
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
or esi, ebp
mov ebp, dword [esp + 0x324]
mov ecx, dword [esp + 0x324]
or edx, ebx
xor ebx, ebx
mov dword [ebp + 0x18], edi
mov edi, dword [esp + 0x3c]
mov dword [ebp + 0x34], esi
mov esi, dword [esp + 0x40]
or edi, ebx
or dword [ecx], eax
mov dword [ebp + 0x30], edx
xor ebp, ebp
mov edx, edi
mov dword [esp + 8], 0x989680
or ebp, esi
mov esi, ebp
mov dword [esp + 0xc], 0
sub edx, 0xd53e8000
sbb esi, 0x19db1de
mov dword [esp + 4], esi
mov dword [esp], edx
call fcn.00422170
mov ebx, eax
mov ecx, dword [esp + 0x324]
shr eax, 0x1f
dec eax
and ebx, eax
mov dword [ecx + 0x38], ebx
xor ebx, ebx
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], 0x989680
mov dword [esp + 0xc], 0
call fcn.00422290
lea edx, [eax + eax*4]
lea esi, [edx + edx*4]
mov eax, dword [esp + 0x324]
shl esi, 2
mov edi, esi
shr edi, 0x1f
dec edi
and edi, esi
mov dword [eax + 0x3c], edi
mov esi, dword [esp + 0x34]
xor edi, edi
mov dword [esp + 8], 0x989680
mov ebp, dword [esp + 0x38]
mov dword [esp + 0xc], 0
or esi, ebx
or edi, ebp
mov edx, esi
mov ebp, edi
sub edx, 0xd53e8000
sbb ebp, 0x19db1de
mov dword [esp + 4], ebp
mov dword [esp], edx
call fcn.00422170
mov ebx, eax
mov ecx, dword [esp + 0x324]
shr eax, 0x1f
dec eax
and ebx, eax
mov dword [ecx + 0x48], ebx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], 0x989680
mov dword [esp + 0xc], 0
call fcn.00422290
lea edx, [eax + eax*4]
xor ecx, ecx
lea ebp, [edx + edx*4]
shl ebp, 2
mov eax, dword [esp + 0x324]
mov edi, ebp
shr edi, 0x1f
dec edi
and edi, ebp
mov dword [eax + 0x4c], edi
mov ebp, dword [esp + 0x44]
xor edi, edi
mov dword [esp + 8], 0x989680
mov ebx, dword [esp + 0x48]
mov dword [esp + 0xc], 0
or ebp, ecx
or edi, ebx
mov edx, ebp
mov ebx, edi
sub edx, 0xd53e8000
sbb ebx, 0x19db1de
mov dword [esp + 4], ebx
mov dword [esp], edx
call fcn.00422170
mov ecx, eax
mov esi, dword [esp + 0x324]
shr eax, 0x1f
dec eax
and ecx, eax
mov dword [esi + 0x40], ecx
mov dword [esp], ebp
mov dword [esp + 8], 0x989680
mov dword [esp + 0xc], 0
mov dword [esp + 4], edi
call fcn.00422290
lea ebx, [eax + eax*4]
mov ebp, dword [esp + 0x20]
lea ecx, [ebx + ebx*4]
shl ecx, 2
mov eax, dword [esp + 0x324]
mov esi, ecx
shr esi, 0x1f
dec esi
and esi, ecx
mov dword [eax + 0x44], esi
mov dword [eax + 0x50], 0x200
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.0041c2b0
mov dword [esp], ebp
call sub.msvcrt.dll_free
xor edx, edx
jmp 0x41c590