Function at 0x4eb7d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575714
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x5b1074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00516180
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
mov dword [ebp - 0x228], esi
test esi, esi
je 0x4ebb73
mov ecx, edi
call fcn.00424b80
cmp word [ebp - 0x218], 0
lea ebx, [ebp - 0x218]
mov dword [ebp - 0x224], ebx
je 0x4ebb6e
nop dword [eax]
mov eax, ebx
lea ecx, [ebp - 0x218]
sub eax, ecx
sar eax, 1
cmp eax, esi
jae 0x4ebb6e
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5db268]
cmp eax, dword [ecx + 4]
jle 0x4eb927
push 0x5db268
call fcn.0050f5f6
add esp, 4
cmp dword [0x5db268], 0xffffffff
jne 0x4eb927
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x578710
mov dword [0x5db28c], 0x588478
mov dword [0x5db290], eax
mov byte [0x5db294], 0
call fcn.0050f44b
xor eax, eax
mov dword [0x5db270], 0x588490
push 0x57871a
mov dword [0x5db274], 0x5db28c
mov dword [0x5db284], 2
mov dword [0x5db27c], 0
mov dword [0x5db280], 0
mov dword [0x5db288], eax
mov dword [0x5db278], 0x5db270
call fcn.0050f44b
push 0x5db268
call fcn.0050f5b7
add esp, 0xc
mov eax, dword [0x5db270]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4eb944
lock inc dword [0x5db284]
mov eax, 0x5db278
jmp 0x4eb94b
mov ecx, 0x5db270
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 0
test ebx, 0xffff0000
jne 0x4eba24
movzx ebx, bx
mov ecx, ebx
call fcn.00408f5a
mov dword [ebp - 0x220], eax
test eax, eax
je 0x4eba52
mov ecx, ebx
shr ecx, 4
inc ecx
push 6
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4eba52
mov ecx, dword [ebp - 0x220]
mov edx, eax
push ebx
call fcn.00408f9e
mov edx, eax
add esp, 4
mov dword [ebp - 0x220], edx
test edx, edx
je 0x4eba52
movzx ebx, word [edx]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x4eb9e7
push ebx
lea ecx, [ebp - 0x21c]
call fcn.00409225
mov esi, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x220]
movzx ecx, word [edx]
lea eax, [edx + 2]
push ecx
push eax
push ebx
push esi
call fcn.0051d6f6
add esp, 0x10
cmp eax, 0x50
ja case.0x4eba09.1
movzx eax, byte [eax + 0x4ebba0]
jmp dword [eax*4 + 0x4ebb90]
cmp ebx, dword [esi - 8]
jg case.0x4eba09.20
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
jmp 0x4eba52
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4eba30
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x21c]
call fcn.00409323
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x21c]
mov eax, dword [edi + 4]
cmp ecx, eax
jae 0x4ebabd
mov ecx, dword [edi]
lea edx, [ebp - 0x21c]
cmp ecx, edx
ja 0x4ebabd
mov ebx, edx
sub ebx, ecx
sar ebx, 2
cmp eax, dword [edi + 8]
jne 0x4eba86
push ecx
mov ecx, edi
call fcn.004256d0
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x230], ecx
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4ebaee
mov ecx, dword [eax + ebx*4]
sub ecx, 0x10
call fcn.00408e8d
mov ecx, dword [ebp - 0x220]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4ebaee
cmp eax, dword [edi + 8]
jne 0x4ebaca
push ecx
mov ecx, edi
call fcn.004256d0
mov ebx, dword [edi + 4]
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov byte [ebp - 4], 3
test ebx, ebx
je 0x4ebaee
lea ecx, [esi - 0x10]
call fcn.00408e8d
add eax, 0x10
mov dword [ebx], eax
add dword [edi + 4], 4
mov eax, dword [esi - 0xc]
add esi, 0xfffffff0
mov ebx, dword [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
lea ebx, [ebx + eax*2]
or eax, 0xffffffff
add ebx, 2
mov dword [ebp - 0x224], ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4ebb3f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4ebb3d
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4ebb3f
call edx
cmp word [ebx], 0
je 0x4ebb6e
mov esi, dword [ebp - 0x228]
jmp 0x4eb860
push 0x80070057
call fcn.0040b4a2
push 0x8007000e
call fcn.0040b4a2
push 0x80004005
call fcn.0040b4a2
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050eff9
mov esp, ebp
pop ebp
ret