Function at 0x49ea14
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x49ea1c
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x49ef57
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x3c], eax
mov esi, 1
lea eax, [ebp - 0x40]
lea edx, [esi + 0x42]
call fcn.00403d68
lea eax, [ebp - 0x40]
mov edx, 0x49ef70
call fcn.00403e48
mov eax, dword [ebp - 0x40]
call fcn.00404004
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x49ea74
inc dword [ebp - 0x3c]
inc esi
cmp esi, 0x15
jne 0x49ea40
lea eax, [ebp - 0x44]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebx + 0x4fa90]
call fcn.00404048
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x38]
call fcn.00408d54
lea ecx, [ebp - 0x10]
lea edx, [ebp - 8]
mov eax, 0x49ef74
call fcn.0049c2b8
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x49ef74
call sub.kernel32.dll_GetVolumeInformationA
mov edi, dword [ebp - 0x14]
add edi, 0x3039
mov eax, edi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x48]
call fcn.004090dc
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0x4faac]
call fcn.00403c14
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x49ef78
call sub.kernel32.dll_GetVolumeInformationA
mov edi, dword [ebp - 0x14]
sub edi, 0x3039
test edi, edi
jae 0x49eb29
lea eax, [ebx + 0x4fab4]
mov edx, dword [ebx + 0x4faac]
call fcn.00403c14
jmp 0x49eb45
mov eax, edi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4c]
call fcn.004090dc
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0x4fab4]
call fcn.00403c14
xor edi, edi
lea eax, [ebx + 0x4faa8]
mov edx, dword [ebx + 0x4fab4]
call fcn.00403c14
mov eax, dword [ebp - 0x38]
mov edx, 0x49ef84
call fcn.00403f50
jne 0x49eb77
lea eax, [ebp - 0x30]
mov edx, dword [ebx + 0x4faa8]
call fcn.00403c58
jmp 0x49eb85
lea eax, [ebp - 0x30]
mov edx, dword [ebx + 0x4faac]
call fcn.00403c58
mov eax, dword [ebx + 0x4fab4]
call fcn.00403e40
test eax, eax
jle 0x49ebad
mov esi, 1
mov edx, dword [ebx + 0x4fab4]
movzx edx, byte [edx + esi - 1]
add edi, edx
sub edi, 0x30
inc esi
dec eax
jne 0x49eb99
mov eax, dword [ebx + 0x4fab4]
call fcn.00403e40
lea edx, [ebp - 0x20]
call fcn.004090ac
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403e40
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404048
mov eax, edi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x50]
call fcn.004090dc
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x34]
mov edx, 0x49ef90
call fcn.00403e8c
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x34]
call fcn.00403e40
mov edx, eax
dec edx
mov ecx, 2
mov eax, dword [ebp - 0x34]
call fcn.00404048
lea eax, [ebp - 0x54]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebx + 0x4fab4]
call fcn.00404048
push dword [ebp - 0x54]
push dword [ebp - 0x20]
push dword [ebp - 0x34]
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebx + 0x4fab4]
call fcn.00403e40
mov edx, eax
mov ecx, 1
mov eax, dword [ebx + 0x4fab4]
call fcn.00404048
push dword [ebp - 0x58]
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403f00
lea eax, [ebp - 0x5c]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebx + 0x4fab4]
call fcn.00404048
push dword [ebp - 0x5c]
push dword [ebp - 0x34]
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebx + 0x4fab4]
call fcn.00403e40
mov edx, eax
dec edx
mov ecx, 1
mov eax, dword [ebx + 0x4fab4]
call fcn.00404048
push dword [ebp - 0x60]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00403f00
fild qword [ebp - 8]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x64]
call fcn.00409dbc
mov edx, dword [ebp - 0x64]
lea eax, [ebx + 0x4fab4]
call fcn.00403c14
xor edi, edi
mov eax, dword [ebx + 0x4fab4]
call fcn.00403e40
test eax, eax
jle 0x49ed03
mov esi, 1
mov edx, dword [ebx + 0x4fab4]
movzx edx, byte [edx + esi - 1]
add edi, edx
sub edi, 0x30
inc esi
dec eax
jne 0x49ecef
mov eax, dword [ebx + 0x4fab4]
call fcn.00403e40
lea edx, [ebp - 0x20]
call fcn.004090ac
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403e40
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404048
mov eax, edi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x68]
call fcn.004090dc
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x34]
mov edx, 0x49ef90
call fcn.00403e8c
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x34]
call fcn.00403e40
mov edx, eax
dec edx
mov ecx, 2
mov eax, dword [ebp - 0x34]
call fcn.00404048
lea eax, [ebp - 0x6c]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebx + 0x4fab4]
call fcn.00404048
push dword [ebp - 0x6c]
push dword [ebp - 0x20]
push dword [ebp - 0x34]
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebx + 0x4fab4]
call fcn.00403e40
mov edx, eax
mov ecx, 1
mov eax, dword [ebx + 0x4fab4]
call fcn.00404048
push dword [ebp - 0x70]
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00403f00
lea eax, [ebx + 0x4fab4]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00403e8c
lea eax, [ebx + 0x4faac]
mov ecx, dword [ebx + 0x4faac]
mov edx, 0x49ef9c
call fcn.00403e8c
lea eax, [ebx + 0x4faa8]
mov ecx, dword [ebx + 0x4faa8]
mov edx, 0x49ef9c
call fcn.00403e8c
lea eax, [ebx + 0x4fab0]
mov ecx, dword [ebx + 0x4fab4]
mov edx, 0x49efa8
call fcn.00403e8c
push dword [ebp - 0x38]
push 0x49efb4
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
lea eax, [ebx + 0x4fab8]
mov edx, 4
call fcn.00403f00
mov edi, 5
mov eax, dword [ebp - 0x30]
call fcn.00403e40
test eax, eax
jle 0x49ee56
mov esi, 1
mov edx, dword [ebp - 0x30]
movzx edx, byte [edx + esi - 1]
add edi, edx
sub edi, 0x30
inc esi
dec eax
jne 0x49ee45
mov eax, dword [ebp - 0x30]
call fcn.00403e40
lea edx, [ebp - 0x20]
call fcn.004090ac
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403e40
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404048
mov eax, edi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x74]
call fcn.004090dc
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x34]
mov edx, 0x49ef90
call fcn.00403e8c
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x34]
call fcn.00403e40
mov edx, eax
dec edx
mov ecx, 2
mov eax, dword [ebp - 0x34]
call fcn.00404048
lea eax, [ebp - 0x78]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x30]
call fcn.00404048
push dword [ebp - 0x78]
push dword [ebp - 0x34]
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x30]
call fcn.00403e40
mov edx, eax
dec edx
mov ecx, 1
mov eax, dword [ebp - 0x30]
call fcn.00404048
push dword [ebp - 0x7c]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00403f00
push dword [ebp - 0x38]
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x3c]
call fcn.004090ac
push dword [ebp - 0x80]
push 0x49efc0
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
lea eax, [ebx + 0x4fab4]
mov edx, 5
call fcn.00403f00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ef5e
lea eax, [ebp - 0x80]
mov edx, 0x11
call fcn.00403be4
lea eax, [ebp - 0x38]
mov edx, 7
call fcn.00403be4
ret