Function at 0x42c9c9
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x4f4500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push eax
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x254], edi
call fcn.00407290
lea eax, [ebp - 0x24c]
push eax
call fcn.0042c46a
pop ecx
test al, al
je 0x42ca21
mov bl, 1
push edi
push 1
lea ecx, [ebp - 0x24c]
call fcn.004081e0
mov al, bl
jmp 0x42cc75
push edi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x218], 7
call fcn.00408de0
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.0042c505
pop ecx
pop ecx
test al, al
jne 0x42ca5c
push edi
push 1
lea ecx, [ebp - 0x230]
call fcn.004081e0
xor bl, bl
jmp 0x42ca0c
mov eax, dword [ebp - 0x238]
dec eax
push eax
lea ecx, [ebp - 0x24c]
call fcn.00407360
cmp word [eax], 0x5c
jne 0x42cabe
lea eax, [ebp - 0x24d]
push eax
mov eax, dword [ebp - 0x238]
dec eax
push eax
push edi
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x270]
call fcn.00407bd0
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00407d30
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0x270]
call fcn.004081e0
jmp 0x42cac1
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x234], 8
mov ecx, dword [ebp - 0x248]
jae 0x42cad6
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x42caeb
lea eax, [ebp - 0x22c]
push ecx
push eax
call fcn.00444aca
pop ecx
pop ecx
test eax, eax
jne 0x42cb0a
push edi
push ebx
lea ecx, [ebp - 0x230]
call fcn.004081e0
jmp 0x42ca0a
push ebx
push edi
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x254], 0x3a
call fcn.00408060
mov esi, eax
cmp esi, edi
je 0x42cc59
cmp esi, 0xffffffff
je 0x42cc59
cmp esi, ebx
jbe 0x42cb5b
lea eax, [esi - 2]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00407360
cmp word [eax], 0x5c
je 0x42cb5b
push edi
push ebx
jmp 0x42ca4d
xor eax, eax
mov word [ebp - 0xc], ax
lea edi, [ebp - 0xa]
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi - 1]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00407360
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov edi, 0x104
push edi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x42cc41
cmp eax, edi
je 0x42cc41
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x42cbac
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [ebp - 0x238]
sub eax, esi
lea eax, [eax + edi - 1]
cmp eax, dword [ebp - 0x21c]
jne 0x42cc41
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x42cbe5
lea eax, [ebp - 0x22c]
push edi
lea ecx, [ebp - 0x214]
push ecx
push eax
call fcn.00444913
add esp, 0xc
test eax, eax
jne 0x42cc41
inc esi
push esi
lea ecx, [ebp - 0x24c]
call fcn.00407360
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.00407360
push eax
call fcn.00444aca
pop ecx
pop ecx
test eax, eax
jne 0x42cc41
push eax
push 1
lea ecx, [ebp - 0x230]
call fcn.004081e0
push 0
push 1
lea ecx, [ebp - 0x24c]
call fcn.004081e0
mov al, 1
jmp 0x42cc75
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004081e0
xor bl, bl
xor edi, edi
jmp 0x42ca0c
push edi
push ebx
lea ecx, [ebp - 0x230]
call fcn.004081e0
push edi
push ebx
lea ecx, [ebp - 0x24c]
call fcn.004081e0
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004436fd
leave
ret