Function at 0x4a7d8c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x4c
push 0
push 0
dec ecx
jne 0x4a7d95
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4a7dae
add esp, 0xfffffff0
call fcn.0040381c
mov ebx, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a8246
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x23d], bl
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x248], edx
mov dword [eax + 0x24c], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x268], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x270], 0
mov dword [eax + 0x274], 0
lea edx, [ebp - 0x220]
mov al, 1
call fcn.0049c0c0
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x21c]
call fcn.00408928
mov eax, dword [ebp - 0x21c]
mov al, byte [eax]
mov edx, dword [ebp - 4]
mov byte [edx + 0x26c], al
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x26c]
mov byte [ebp - 0x238], al
mov byte [ebp - 0x234], 2
mov eax, 0x4a8278
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0xb
lea edx, [ebp - 0x238]
mov ecx, 1
mov eax, 0x4a828c
call fcn.00409f68
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x224]
call fcn.00408928
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 4]
add eax, 0x25c
call fcn.00404320
lea eax, [ebp - 0x240]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
mov dword [ebp - 0x238], eax
mov byte [ebp - 0x234], 0xb
mov eax, 0x4a829c
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0xb
lea edx, [ebp - 0x238]
mov ecx, 1
mov eax, 0x4a82b0
call fcn.00409f68
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
call fcn.00408928
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 4]
add eax, 0x260
call fcn.00404320
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
mov dword [ebp - 0x238], eax
mov byte [ebp - 0x234], 0xb
mov eax, 0x4a829c
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0xb
lea edx, [ebp - 0x238]
mov ecx, 1
mov eax, 0x4a82c4
call fcn.00409f68
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.00408928
mov edx, dword [ebp - 0x244]
mov eax, dword [ebp - 4]
add eax, 0x264
call fcn.00404320
lea eax, [ebp - 0x250]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
mov dword [ebp - 0x238], eax
mov byte [ebp - 0x234], 0xb
mov eax, 0x4a829c
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0xb
lea edx, [ebp - 0x238]
mov ecx, 1
mov eax, 0x4a82d8
call fcn.00409f68
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x24c]
call fcn.00408928
mov edx, dword [ebp - 0x24c]
mov eax, dword [ebp - 4]
add eax, 0x258
call fcn.00404320
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x240], edx
mov dword [eax + 0x244], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x26d], 0
push 0xff
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0xff
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x254]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x26c]
call fcn.004044b4
lea eax, [ebp - 0x254]
mov edx, 0x4a82ec
call fcn.004045a4
mov eax, dword [ebp - 0x254]
call fcn.0040479c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4a808e
lea edx, [ebp - 0x258]
lea eax, [ebp - 0x118]
call fcn.00409a78
mov eax, dword [ebp - 0x258]
mov edx, 0x4a82f8
call fcn.004089f0
test eax, eax
jne 0x4a8084
mov eax, dword [ebp - 4]
mov byte [eax + 0x26d], 2
jmp 0x4a808e
mov eax, dword [ebp - 4]
mov byte [eax + 0x26d], 1
mov eax, dword [ebp - 4]
lea edx, [eax + 0x22c]
mov eax, 0x4a8308
inc eax
mov ecx, 0xf
call fcn.004029f0
lea edx, [ebp - 0x25c]
mov eax, 9
call fcn.00408e00
mov eax, dword [ebp - 0x25c]
mov al, byte [eax]
mov edx, dword [ebp - 4]
mov byte [edx + 0x23b], al
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004a8390
lea eax, [ebp - 0xc]
call fcn.004047f4
mov edx, dword [ebp - 4]
add edx, 0x20c
mov ecx, 0x10
call fcn.004029f0
lea ecx, [ebp - 0x260]
mov eax, dword [ebp - 4]
add eax, 0x20c
mov edx, 0x10
call fcn.004a37ac
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 4]
add eax, 0x254
call fcn.00404320
lea edx, [ebp - 0x264]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
call fcn.00408928
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0xc]
mov edx, 0x4a8338
call fcn.004045e8
mov eax, dword [ebp - 4]
add eax, 4
xor ecx, ecx
mov edx, 0x208
call fcn.00402eb0
mov eax, dword [ebp - 0xc]
call fcn.0040459c
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
call fcn.0040479c
push eax
push 0
push 0
call sub.kernel32.dll_MultiByteToWideChar_1
xor eax, eax
push ebp
push 0x4a8196
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004a3e30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a81a0
xor eax, eax
push ebp
push 0x4a81bd
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004a52e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a81c7
call fcn.0049b6c0
test al, al
je 0x4a8200
xor eax, eax
push ebp
push 0x4a81f6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
call fcn.004a7958
xor eax, eax
call fcn.004a782c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a8200
mov eax, dword [ebp - 4]
call fcn.004a880c
mov eax, dword [ebp - 4]
call fcn.004a97a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a824d
lea eax, [ebp - 0x264]
mov edx, 0xb
call fcn.004042f0
lea eax, [ebp - 0x228]
mov edx, 4
call fcn.004042f0
lea eax, [ebp - 0xc]
call fcn.004042cc
ret