Function at 0x4a3c00
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x4a3c08
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4a42e2
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.00403d8c
lea eax, [ebp - 0x40]
mov edx, 0x4a42f8
call fcn.00403e6c
mov eax, dword [ebp - 0x40]
call fcn.00404028
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x4a3c61
inc dword [ebp - 0x3c]
inc esi
cmp esi, 0x15
jne 0x4a3c2d
lea eax, [ebp - 0x44]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebx + 0x4ffac]
call fcn.0040406c
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x38]
call fcn.00408eac
lea ecx, [ebp - 0x10]
lea edx, [ebp - 8]
mov eax, 0x4a42fc
call fcn.004a0b14
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 0x4a42fc
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.00409268
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0x4ffbc]
call fcn.00403c38
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 0x4a4300
call sub.kernel32.dll_GetVolumeInformationA
mov edi, dword [ebp - 0x14]
sub edi, 0x3039
test edi, edi
jae 0x4a3d16
lea eax, [ebx + 0x4ffc4]
mov edx, dword [ebx + 0x4ffbc]
call fcn.00403c38
jmp 0x4a3d32
mov eax, edi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4c]
call fcn.00409268
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0x4ffc4]
call fcn.00403c38
xor edi, edi
lea eax, [ebx + 0x4ffb8]
mov edx, dword [ebx + 0x4ffc4]
call fcn.00403c38
mov eax, dword [ebp - 0x38]
mov edx, 0x4a430c
call fcn.00403f74
jne 0x4a3d64
lea eax, [ebp - 0x30]
mov edx, dword [ebx + 0x4ffb8]
call fcn.00403c7c
jmp 0x4a3d72
lea eax, [ebp - 0x30]
mov edx, dword [ebx + 0x4ffbc]
call fcn.00403c7c
mov eax, dword [ebx + 0x4ffc4]
call fcn.00403e64
test eax, eax
jle 0x4a3d9a
mov esi, 1
mov edx, dword [ebx + 0x4ffc4]
movzx edx, byte [edx + esi - 1]
add edi, edx
sub edi, 0x30
inc esi
dec eax
jne 0x4a3d86
mov eax, dword [ebx + 0x4ffc4]
call fcn.00403e64
lea edx, [ebp - 0x20]
call fcn.00409238
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403e64
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x20]
call fcn.0040406c
mov eax, edi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x50]
call fcn.00409268
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x34]
mov edx, 0x4a4318
call fcn.00403eb0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x34]
call fcn.00403e64
mov edx, eax
dec edx
mov ecx, 2
mov eax, dword [ebp - 0x34]
call fcn.0040406c
lea eax, [ebp - 0x54]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebx + 0x4ffc4]
call fcn.0040406c
push dword [ebp - 0x54]
push dword [ebp - 0x20]
push dword [ebp - 0x34]
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebx + 0x4ffc4]
call fcn.00403e64
mov edx, eax
mov ecx, 1
mov eax, dword [ebx + 0x4ffc4]
call fcn.0040406c
push dword [ebp - 0x58]
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403f24
lea eax, [ebp - 0x5c]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebx + 0x4ffc4]
call fcn.0040406c
push dword [ebp - 0x5c]
push dword [ebp - 0x34]
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebx + 0x4ffc4]
call fcn.00403e64
mov edx, eax
dec edx
mov ecx, 1
mov eax, dword [ebx + 0x4ffc4]
call fcn.0040406c
push dword [ebp - 0x60]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00403f24
fild qword [ebp - 8]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x64]
call fcn.00409f70
mov edx, dword [ebp - 0x64]
lea eax, [ebx + 0x4ffc4]
call fcn.00403c38
xor edi, edi
mov eax, dword [ebx + 0x4ffc4]
call fcn.00403e64
test eax, eax
jle 0x4a3ef0
mov esi, 1
mov edx, dword [ebx + 0x4ffc4]
movzx edx, byte [edx + esi - 1]
add edi, edx
sub edi, 0x30
inc esi
dec eax
jne 0x4a3edc
mov eax, dword [ebx + 0x4ffc4]
call fcn.00403e64
lea edx, [ebp - 0x20]
call fcn.00409238
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403e64
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x20]
call fcn.0040406c
mov eax, edi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x68]
call fcn.00409268
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x34]
mov edx, 0x4a4318
call fcn.00403eb0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x34]
call fcn.00403e64
mov edx, eax
dec edx
mov ecx, 2
mov eax, dword [ebp - 0x34]
call fcn.0040406c
lea eax, [ebp - 0x6c]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebx + 0x4ffc4]
call fcn.0040406c
push dword [ebp - 0x6c]
push dword [ebp - 0x20]
push dword [ebp - 0x34]
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebx + 0x4ffc4]
call fcn.00403e64
mov edx, eax
mov ecx, 1
mov eax, dword [ebx + 0x4ffc4]
call fcn.0040406c
push dword [ebp - 0x70]
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00403f24
lea eax, [ebx + 0x4ffc4]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00403eb0
lea eax, [ebx + 0x4ffbc]
mov ecx, dword [ebx + 0x4ffbc]
mov edx, 0x4a4324
call fcn.00403eb0
lea eax, [ebx + 0x4ffb8]
mov ecx, dword [ebx + 0x4ffb8]
mov edx, 0x4a4324
call fcn.00403eb0
lea eax, [ebx + 0x4ffc0]
mov ecx, dword [ebx + 0x4ffc4]
mov edx, 0x4a4330
call fcn.00403eb0
push dword [ebp - 0x38]
push 0x4a433c
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
lea eax, [ebx + 0x4ffc8]
mov edx, 4
call fcn.00403f24
mov edi, 5
mov eax, dword [ebp - 0x30]
call fcn.00403e64
test eax, eax
jle 0x4a4043
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 0x4a4032
mov eax, dword [ebp - 0x30]
call fcn.00403e64
lea edx, [ebp - 0x20]
call fcn.00409238
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403e64
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x20]
call fcn.0040406c
mov eax, edi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x74]
call fcn.00409268
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x34]
mov edx, 0x4a4318
call fcn.00403eb0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x34]
call fcn.00403e64
mov edx, eax
dec edx
mov ecx, 2
mov eax, dword [ebp - 0x34]
call fcn.0040406c
lea eax, [ebp - 0x78]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x30]
call fcn.0040406c
push dword [ebp - 0x78]
push dword [ebp - 0x34]
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x30]
call fcn.00403e64
mov edx, eax
dec edx
mov ecx, 1
mov eax, dword [ebp - 0x30]
call fcn.0040406c
push dword [ebp - 0x7c]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00403f24
push dword [ebp - 0x38]
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x3c]
call fcn.00409238
push dword [ebp - 0x80]
push 0x4a4348
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
lea eax, [ebx + 0x4ffcc]
mov edx, 5
call fcn.00403f24
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
add eax, 0x4e51ac0
adc edx, 0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
fild qword [ebp - 0x8c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x84]
call fcn.00409f70
mov edx, dword [ebp - 0x84]
lea eax, [ebx + 0x4ffc4]
call fcn.00403c38
xor edi, edi
mov eax, dword [ebx + 0x4ffc4]
call fcn.00403e64
test eax, eax
jle 0x4a4189
mov esi, 1
mov edx, dword [ebx + 0x4ffc4]
movzx edx, byte [edx + esi - 1]
add edi, edx
sub edi, 0x30
inc esi
dec eax
jne 0x4a4175
mov eax, dword [ebx + 0x4ffc4]
call fcn.00403e64
lea edx, [ebp - 0x20]
call fcn.00409238
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403e64
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x20]
call fcn.0040406c
mov eax, edi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x90]
call fcn.00409268
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x34]
mov edx, 0x4a4318
call fcn.00403eb0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x34]
call fcn.00403e64
mov edx, eax
dec edx
mov ecx, 2
mov eax, dword [ebp - 0x34]
call fcn.0040406c
lea eax, [ebp - 0x94]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebx + 0x4ffc4]
call fcn.0040406c
push dword [ebp - 0x94]
push dword [ebp - 0x20]
push dword [ebp - 0x34]
lea eax, [ebp - 0x98]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebx + 0x4ffc4]
call fcn.0040406c
push dword [ebp - 0x98]
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00403f24
push dword [ebp - 0x38]
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x3c]
call fcn.00409238
push dword [ebp - 0x9c]
push 0x4a4354
push dword [ebp - 0x28]
lea eax, [ebx + 0x4ffd0]
mov edx, 4
call fcn.00403f24
cmp dword [ebp - 0x3c], 1
jle 0x4a4296
lea eax, [ebx + 0x4ffc4]
mov edx, dword [ebx + 0x4ffcc]
call fcn.00403c38
jmp 0x4a42a7
lea eax, [ebx + 0x4ffc4]
mov edx, dword [ebx + 0x4ffd0]
call fcn.00403c38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a42e9
lea eax, [ebp - 0x9c]
mov edx, 4
call fcn.00403c08
lea eax, [ebp - 0x84]
mov edx, 0x12
call fcn.00403c08
lea eax, [ebp - 0x38]
mov edx, 7
call fcn.00403c08
ret