Function at 0x49b5ec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
xor eax, eax
push ebp
push 0x49b835
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
add edx, 0x61
call fcn.00404d2c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
mov ecx, 0x49b84c
call fcn.00404e5c
mov eax, dword [ebp - 4]
call fcn.00404fd4
push eax
call sub.kernel32.dll_GetDriveTypeA
dec eax
je 0x49b7fd
mov edx, 0x49b850
lea eax, [ebp - 0x2c]
call fcn.00403420
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
add edx, 0x41
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x34]
call fcn.00403420
mov edx, 0x49b860
lea eax, [ebp - 0x34]
mov cl, 2
call fcn.004033f0
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x2c]
mov cl, 0xe
call fcn.004033f0
lea edx, [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.00404da8
mov dl, 1
mov eax, dword [0x426608]
call fcn.004266d8
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x49b7f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x14]
call fcn.00426778
mov edx, 0x49b86c
mov eax, dword [ebp - 0x14]
call fcn.00426904
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00426f64
test al, al
je 0x49b7d8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00426dec
mov ebx, eax
lea eax, [ebx + 0xa]
call fcn.00402e88
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x49b7d1
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00426e8c
mov ebx, eax
test ebx, ebx
jle 0x49b7bb
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x18]
call fcn.00496420
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
test eax, eax
jge 0x49b75e
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 4]
call fcn.00404b44
cmp ebx, 0xc
jne 0x49b7bb
xor ebx, ebx
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
add eax, ebx
movzx eax, byte [eax]
mov edx, 2
call fcn.004091a0
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408a40
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00404e5c
inc ebx
cmp ebx, 4
jne 0x49b76d
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
test eax, eax
jge 0x49b7bb
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b7d8
mov eax, dword [ebp - 0x18]
call fcn.00402ea4
ret
mov eax, dword [ebp - 0x14]
call fcn.00426748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b7fd
mov eax, dword [ebp - 0x14]
call fcn.00403c1c
ret
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x1a
jne 0x49b62a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b83c
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00404b68
lea eax, [ebp - 0x1c]
call fcn.00404b44
lea eax, [ebp - 4]
call fcn.00404b44
ret