Function at 0x49cc6f
Capabilities:
Get disk information

Disassembly:
mov eax, 0x56fbc0
call fcn.00524444
sub esp, 0xd0
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
lea esi, [ecx + 0x24bc]
je 0x49cd8b
push 0xffff0000
push ebx
push 0x1101
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0xdc]
push eax
push 0x6a
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x49cd7a
cmp byte [ebp - 0xdc], bl
lea edi, [ebp - 0xdc]
je 0x49cd7a
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
sub eax, ebx
je 0x49cd0d
dec eax
dec eax
je 0x49cd04
dec eax
dec eax
je 0x49ccfb
dec eax
je 0x49ccf2
mov dword [ebp + 8], 5
jmp 0x49cd14
mov dword [ebp + 8], 6
jmp 0x49cd14
mov dword [ebp + 8], 7
jmp 0x49cd14
mov dword [ebp + 8], 4
jmp 0x49cd14
mov dword [ebp + 8], 8
push 0x34
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.00524810
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x70]
mov byte [edi + 2], bl
push eax
push ebx
push 0x1100
mov dword [ebp - 0x6c], 0xffff0002
push dword [esi + 0x1c]
mov dword [ebp - 0x70], 0xffff0000
mov dword [ebp - 0x68], 0x67
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x48], 1
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov byte [edi + 2], 0x5c
call fcn.00525390
cmp byte [edi + eax + 1], bl
lea edi, [edi + eax + 1]
pop ecx
jne 0x49ccd3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x110a
push dword [esi + 0x1c]
call edi
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x49cd7a
push eax
push 4
push 0x110a
push dword [esi + 0x1c]
call edi
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x49cfb3
mov dword [ebp - 0x58], method.CCommandLineInfo.virtual_0
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 0xa
mov eax, dword [ebp - 0x20]
or dword [ebp - 0x24], 0xffffffff
push 1
push 0x5bc994
mov eax, dword [eax + 0x3670]
mov ecx, esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push dword [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
call fcn.0040cda0
push dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0049c6a3
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], bl
call fcn.0053eb4f
cmp dword [ebp - 0x10], ebx
je 0x49cf71
mov dword [ebp - 0x1c], ebx
mov eax, dword [0x61d784]
mov dword [ebp - 0x2c], eax
push dword [ebp + 8]
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
mov byte [ebp - 4], 2
call fcn.0053bfca
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0053ec88
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.0053eb4f
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.0053c06a
mov eax, dword [ebp - 0x54]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x49ceae
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x2c]
mov eax, dword [eax + 8]
push eax
call fcn.00524e9f
pop ecx
test eax, eax
pop ecx
je 0x49cea9
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x49ce88
cmp dword [ebp - 0x14], ebx
jne 0x49ced3
push dword [ebp + 8]
push 1
push 0x110a
push dword [esi + 0x1c]
call edi
push dword [ebp + 8]
mov dword [ebp - 0x14], eax
push ebx
push 0x1101
push dword [esi + 0x1c]
call edi
mov eax, dword [ebp - 0x14]
jmp 0x49ceed
push dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
call fcn.004a674c
push dword [ebp + 8]
push 1
push 0x110a
push dword [esi + 0x1c]
call edi
lea ecx, [ebp - 0x2c]
mov dword [ebp + 8], eax
mov byte [ebp - 4], bl
call fcn.0053eb4f
cmp dword [ebp + 8], ebx
jne 0x49ce35
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x49cf99
jmp 0x49cf14
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add eax, 8
mov dword [ebp + 8], ecx
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x10], eax
call fcn.0053e8c4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
push dword [ebp - 0x18]
push eax
push esi
call fcn.0049cb8f
test eax, eax
je 0x49cf4f
inc dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.0053eb4f
cmp dword [ebp + 8], ebx
jne 0x49cf11
cmp dword [ebp - 0x1c], ebx
je 0x49cf99
push dword [ebp - 0x18]
push esi
call fcn.0049cab1
pop ecx
pop ecx
jmp 0x49cf99
push dword [ebp + 8]
push ebx
push 0x1101
push dword [esi + 0x1c]
call edi
cmp eax, ebx
je 0x49cf99
push dword [ebp - 0x18]
push 4
push 0x110a
push dword [esi + 0x1c]
call edi
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x49cf71
mov dword [ebp - 0x58], method.CCommandLineInfo.virtual_0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 5
call fcn.004a5c41
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x18]
push 6
push 0x110a
push dword [esi + 0x1c]
jmp 0x49cd9b