Function at 0x492f8b
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x4e0
lea ebp, [esp - 4]
mov eax, dword [0x551bd0]
xor eax, ebp
mov dword [ebp + 0x4e0], eax
push 0x70
mov eax, 0x50cd1f
call fcn.0049dfed
mov esi, ecx
lea ecx, [esi + 0x18]
mov dword [ebp - 0x18], esi
mov dword [esi], vtable.CAdbManager.0
call fcn.0040a717
xor ebx, ebx
lea ecx, [esi + 0x34]
mov dword [ebp - 4], ebx
call fcn.0040a717
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 1
call fcn.0048120c
lea ecx, [esi + 0xa4]
call fcn.00401670
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x50]
push eax
mov byte [ebp - 4], 3
call edi
lea eax, [esi + 0x68]
push eax
call edi
push 0x522be4
lea ecx, [ebp]
mov byte [esi + 0x80], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.00401685
push 0x522bdc
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.00401685
push 0x522bd4
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 5
call fcn.00401685
push 0x522bcc
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 6
call fcn.00401685
push 0x522bc4
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 7
call fcn.00401685
push 0x522bbc
lea ecx, [ebp + 0x8c]
mov byte [ebp - 4], 8
call fcn.00401685
push 0x522bb4
lea ecx, [ebp + 0xa8]
mov byte [ebp - 4], 9
call fcn.00401685
push 0x522bac
lea ecx, [ebp + 0xc4]
mov byte [ebp - 4], 0xa
call fcn.00401685
push 0x522ba4
lea ecx, [ebp + 0xe0]
mov byte [ebp - 4], 0xb
call fcn.00401685
push 0x522b9c
lea ecx, [ebp + 0xfc]
mov byte [ebp - 4], 0xc
call fcn.00401685
mov byte [ebp - 4], 0xd
push 0x522b94
lea ecx, [ebp + 0x118]
call fcn.00401685
push 0x522b8c
lea ecx, [ebp + 0x134]
mov byte [ebp - 4], 0xe
call fcn.00401685
push 0x522b84
lea ecx, [ebp + 0x150]
mov byte [ebp - 4], 0xf
call fcn.00401685
push 0x522b7c
lea ecx, [ebp + 0x16c]
mov byte [ebp - 4], 0x10
call fcn.00401685
push 0x522b74
lea ecx, [ebp + 0x188]
mov byte [ebp - 4], 0x11
call fcn.00401685
push 0x522b6c
lea ecx, [ebp + 0x1a4]
mov byte [ebp - 4], 0x12
call fcn.00401685
push 0x522b64
lea ecx, [ebp + 0x1c0]
mov byte [ebp - 4], 0x13
call fcn.00401685
push 0x522b5c
lea ecx, [ebp + 0x1dc]
mov byte [ebp - 4], 0x14
call fcn.00401685
push 0x522b54
lea ecx, [ebp + 0x1f8]
mov byte [ebp - 4], 0x15
call fcn.00401685
push 0x522b4c
lea ecx, [ebp + 0x214]
mov byte [ebp - 4], 0x16
call fcn.00401685
push 0x522b44
lea ecx, [ebp + 0x230]
mov byte [ebp - 4], 0x17
call fcn.00401685
push 0x522b3c
lea ecx, [ebp + 0x24c]
mov byte [ebp - 4], 0x18
call fcn.00401685
push 0x522b34
lea ecx, [ebp + 0x268]
mov byte [ebp - 4], 0x19
call fcn.00401685
push 0x522b2c
lea ecx, [ebp + 0x284]
mov byte [ebp - 4], 0x1a
call fcn.00401685
push 0x522b24
lea ecx, [ebp + 0x2a0]
mov byte [ebp - 4], 0x1b
call fcn.00401685
push 0x522b1c
lea ecx, [ebp + 0x2bc]
mov byte [ebp - 4], 0x1c
call fcn.00401685
mov byte [ebp - 4], 0x1d
lea edi, [ebp + 4]
mov dword [ebp - 0x10], 0x1a
cmp dword [edi + 0x14], 8
jb 0x49321e
mov eax, dword [edi]
jmp 0x493220
mov eax, edi
push 0x104
lea ecx, [ebp + 0x2d8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x493296
lea eax, [ebp + 0x2d8]
push eax
sub esp, 0x1c
lea eax, [edi - 4]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00403757
lea eax, [ebp - 0x44]
push eax
call fcn.0049178d
add esp, 0x24
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1e
call fcn.00492937
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 0x1f
call fcn.00480d77
lea ecx, [ebp - 0x7c]
call fcn.004805c7
push ebx
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1d
call fcn.0040184d
add edi, 0x1c
dec dword [ebp - 0x10]
jne 0x493214
push 0x4016a7
push 0x1a
push 0x1c
lea eax, [ebp]
push eax
mov dword [esi + 4], ebx
mov byte [ebp - 4], 3
call fcn.0049a6f4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4e0]
xor ecx, ebp
call fcn.0049a49b
add ebp, 0x4e4
leave
ret