Function at 0x50e6b0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5dbb30
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x66d4f4]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66d4f4]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
mov esi, dword [esp + 0x200]
mov ebp, dword [esp + 0x204]
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov eax, 0xf
mov dword [esp + 0x18], esi
mov dword [esp + 0xc8], eax
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
cmp ebp, ebx
mov edi, 1
mov dword [esp + 0x1f8], edi
je 0x50f06d
cmp byte [ebp], bl
je 0x50f06d
lea ecx, [esp + 0x1c]
call fcn.00466e60
mov dword [esp + 0x20], eax
mov byte [eax + 0x45], 1
mov eax, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x20]
mov dword [eax], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 8], eax
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x208], edi
mov byte [esp + 0x1f8], 2
jne 0x50e8fc
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov dword [esp + 0x28], 0x61
jmp 0x50e790
push 0x104
lea eax, [esp + 0xec]
push ebx
push eax
call fcn.005c0cf0
mov cl, byte [esp + 0x34]
add esp, 0xc
push 0x104
lea edx, [esp + 0xec]
push edx
lea eax, [esp + 0x1c]
mov word [esp + 0x1c], bx
push eax
mov byte [esp + 0x22], bl
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], 0x3a
call edi
test eax, eax
je 0x50e8e8
mov esi, 0xf
lea eax, [esp + 0x14]
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x50e800
sub eax, edx
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x9c]
call fcn.00408ea0
lea eax, [esp + 0xe8]
mov byte [esp + 0x1f8], 3
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
lea edx, [eax + 1]
jmp 0x50e840
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x50e840
sub eax, edx
push eax
lea edx, [esp + 0xec]
push edx
lea ecx, [esp + 0x38]
call fcn.00408ea0
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x200], 4
call fcn.00412d60
push eax
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x200], 5
call fcn.004d3ab0
lea ecx, [esp + 0x5c]
call fcn.004d16a0
mov esi, 0x10
cmp dword [esp + 0x48], esi
jb 0x50e8b3
mov eax, dword [esp + 0x34]
push eax
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0xac], esi
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x1f8], 2
jb 0x50e8e4
mov ecx, dword [esp + 0x98]
push ecx
call fcn.005a1b1d
add esp, 4
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, 0x7a
mov dword [esp + 0x28], eax
jl 0x50e790
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x50e901
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0xb8]
call fcn.00408ea0
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
push 4
push ebx
push 0x6018f0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x204], 6
call fcn.00425830
cmp eax, 0xffffffff
je 0x50e9bc
cmp eax, ebx
jne 0x50e9bc
mov edx, dword [esp + 0xc4]
add edx, 0xfffffffc
push edx
push 4
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0xbc]
call fcn.00425380
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x204], 7
call fcn.00407630
cmp dword [esp + 0xac], 0x10
mov byte [esp + 0x1f8], 6
jb 0x50eb2c
mov ecx, dword [esp + 0x98]
push ecx
call fcn.005a1b1d
add esp, 4
jmp 0x50eb2c
push 0xc
push ebx
push str.SystemRoot_
lea ecx, [esp + 0xbc]
call fcn.00425830
cmp eax, 0xffffffff
je 0x50ebe0
cmp eax, ebx
jne 0x50ebe0
mov edx, dword [esp + 0xc4]
add edx, 0xfffffff4
push edx
push 0xc
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0xbc]
call fcn.00425380
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x204], 8
call fcn.00407630
mov esi, 0x10
cmp dword [esp + 0xac], esi
mov byte [esp + 0x1f8], 6
jb 0x50ea40
mov ecx, dword [esp + 0x98]
push ecx
call fcn.005a1b1d
add esp, 4
lea edx, [esp + 0x94]
push 0x24
push edx
call fcn.005302d0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x204], 9
call fcn.00407630
cmp dword [esp + 0xac], esi
mov byte [esp + 0x1f8], 6
jb 0x50ea8b
mov eax, dword [esp + 0x98]
push eax
call fcn.005a1b1d
add esp, 4
push 0x60114c
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.004041b0
lea ecx, [esp + 0xbc]
push ecx
push eax
lea edx, [esp + 0xa8]
push edx
mov byte [esp + 0x210], 0xa
call fcn.0041ecb0
add esp, 0x18
mov byte [esp + 0x1f8], 0xb
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xbc]
call fcn.00407630
cmp dword [esp + 0xac], esi
jb 0x50eaf4
mov eax, dword [esp + 0x98]
push eax
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x48], esi
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
mov byte [esp + 0x1f8], 6
jb 0x50eb28
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005a1b1d
add esp, 4
mov esi, dword [esp + 0x18]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xb8]
mov ebp, 0xf
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00407630
mov edi, 0x10
cmp dword [esp + 0xe4], edi
mov dword [esp + 0x4c], 1
jb 0x50eb72
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.005a1b1d
add esp, 4
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0xec], ebp
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x20c], 1
call fcn.00413280
mov eax, dword [esp + 0x20]
push eax
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0xc8], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jb 0x50ebd7
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.005a1b1d
add esp, 4
mov eax, dword [esp + 0x18]
jmp 0x50f0a4
push 9
push ebx
push str.WINDOWS_
lea ecx, [esp + 0xbc]
call fcn.00425830
cmp eax, 0xffffffff
je 0x50ecf4
cmp eax, ebx
jne 0x50ecf4
mov edx, dword [esp + 0xc4]
add edx, 0xfffffff7
push edx
push 9
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0xbc]
call fcn.00425380
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x204], 0xc
call fcn.00407630
mov esi, 0x10
cmp dword [esp + 0xac], esi
mov byte [esp + 0x1f8], 6
jb 0x50ec64
mov ecx, dword [esp + 0x98]
push ecx
call fcn.005a1b1d
add esp, 4
lea edx, [esp + 0x94]
push 0x24
push edx
call fcn.005302d0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x204], 0xd
call fcn.00407630
cmp dword [esp + 0xac], esi
mov byte [esp + 0x1f8], 6
jb 0x50ecaf
mov eax, dword [esp + 0x98]
push eax
call fcn.005a1b1d
add esp, 4
push 0x60114c
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.004041b0
lea ecx, [esp + 0xbc]
push ecx
push eax
lea edx, [esp + 0xa8]
push edx
mov byte [esp + 0x210], 0xe
call fcn.0041ecb0
add esp, 0x18
mov byte [esp + 0x1f8], 0xf
jmp 0x50eacb
push 9
push ebx
push str.Windows_
lea ecx, [esp + 0xbc]
call fcn.00425830
cmp eax, 0xffffffff
je 0x50ee16
cmp eax, ebx
jne 0x50ee16
mov edx, dword [esp + 0xc4]
add edx, 0xfffffff7
push edx
push 9
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0xbc]
call fcn.00425380
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x204], 0x10
call fcn.00407630
lea ecx, [esp + 0x94]
mov byte [esp + 0x1f8], 6
call fcn.0040b640
lea ecx, [esp + 0x94]
push 0x24
push ecx
call fcn.005302d0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x204], 0x11
call fcn.00407630
lea ecx, [esp + 0x94]
mov byte [esp + 0x1f8], 6
call fcn.0040b640
push 0x60114c
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004041b0
lea ecx, [esp + 0xbc]
push ecx
push eax
lea edx, [esp + 0xa8]
push edx
mov byte [esp + 0x210], 0x12
call fcn.0041ecb0
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x204], 0x13
call fcn.00407630
lea ecx, [esp + 0x94]
call fcn.0040b640
lea ecx, [esp + 0x30]
mov byte [esp + 0x1f8], 6
call fcn.0040b640
jmp 0x50eb2c
push 0xf
push ebx
push str.Program_Files_
lea ecx, [esp + 0xbc]
call fcn.00425830
cmp eax, 0xffffffff
je 0x50ef38
cmp eax, ebx
jne 0x50ef38
mov eax, dword [esp + 0xc4]
add eax, 0xfffffff1
push eax
push 0xf
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0xbc]
call fcn.00425380
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x204], 0x14
call fcn.00407630
lea ecx, [esp + 0x94]
mov byte [esp + 0x1f8], 6
call fcn.0040b640
lea edx, [esp + 0x94]
push 0x26
push edx
call fcn.005302d0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x204], 0x15
call fcn.00407630
lea ecx, [esp + 0x94]
mov byte [esp + 0x1f8], 6
call fcn.0040b640
push 0x60114c
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004041b0
lea edx, [esp + 0xbc]
push edx
push eax
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x210], 0x16
call fcn.0041ecb0
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x204], 0x17
call fcn.00407630
lea ecx, [esp + 0x94]
call fcn.0040b640
lea ecx, [esp + 0x30]
mov byte [esp + 0x1f8], 6
call fcn.0040b640
jmp 0x50eb2c
push 0x16
push ebx
push str.DeviceHarddiskVolume
lea ecx, [esp + 0xbc]
call fcn.00425830
cmp eax, 0xffffffff
je 0x50eb2c
cmp eax, ebx
jne 0x50eb2c
cmp dword [esp + 0xc4], 2
jbe 0x50eb2c
push 0x16
push ebx
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0xbc]
call fcn.00425380
push 0x16
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1fc], 0x18
call fcn.004024e0
mov dl, byte [eax]
mov byte [esp + 0x28], dl
mov eax, dword [esp + 0x28]
push eax
push 1
lea ecx, [esp + 0x9c]
call fcn.00406640
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x24]
call fcn.004d33f0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], ecx
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x30], eax
call fcn.004a2c30
test al, al
je 0x50f054
mov eax, dword [esp + 0xc4]
add eax, 0xffffffe9
push eax
push 0x17
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0xbc]
call fcn.00425380
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x1fc], 0x19
call fcn.004835e0
add eax, 0x1c
push eax
lea edx, [esp + 0x38]
push edx
call fcn.0041ecb0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x204], 0x1a
call fcn.00407630
lea ecx, [esp + 0x30]
call fcn.0040b640
lea ecx, [esp + 0x5c]
call fcn.0040b640
lea ecx, [esp + 0x94]
mov byte [esp + 0x1f8], 6
call fcn.0040b640
jmp 0x50eb2c
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb8]
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00407630
cmp dword [esp + 0xc8], 0x10
jb 0x50f0a2
mov eax, dword [esp + 0xb4]
push eax
call fcn.005a1b1d
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.005bd2d7
add esp, 0x1e8
ret