Function at 0x4e4b30
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5d5dd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x3c], 2
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x3c], 4
mov edi, dword [0x652bdc]
push 0
push 0
call edi
mov esi, eax
mov eax, dword [ebp - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [ebp - 8]
lea edx, [esi + 1]
sub eax, edx
or eax, ecx
jge 0x4e4bbf
push edx
lea ecx, [esp + 0x18]
call fcn.00402690
mov ebp, dword [esp + 0x14]
push ebp
push esi
mov ebx, ebp
call edi
xor esi, esi
push ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.00406630
mov byte [esp + 0x3c], 5
cmp word [ebp], si
je 0x4e4cd3
lea esp, [esp]
push ebx
call fcn.0057a0fd
add esp, 4
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.004053c0
mov eax, dword [esp + 0x10]
push eax
call dword [0x652bc4]
cmp eax, 3
jne 0x4e4cb8
mov esi, dword [esp + 0x10]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
add esi, 0xfffffff0
mov dword [esp + 0x2c], esp
mov dword [esp + 0x24], esp
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x4e4c4b
cmp eax, dword [esi]
jne 0x4e4c4b
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4e4c7f
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x4e4dac
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
add eax, 0x10
mov dword [ecx], eax
mov byte [esp + 0x40], 5
call fcn.004e3270
mov ecx, eax
and ecx, edx
add esp, 4
cmp ecx, 0xffffffff
je 0x4e4cb8
cmp edx, dword [esp + 0x30]
jb 0x4e4cb8
ja 0x4e4cac
cmp eax, dword [esp + 0x2c]
jbe 0x4e4cb8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
cmp word [ebx + eax*2 + 2], 0
lea ebx, [ebx + eax*2 + 2]
jne 0x4e4bf0
mov esi, dword [esp + 0x18]
push ebp
call fcn.0057a0fd
add esp, 4
test eax, eax
jl 0x4e4db1
cmp eax, dword [ebp - 8]
jg 0x4e4db1
test esi, esi
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2], 0
je 0x4e4d0f
push esi
call fcn.0057a0fd
add esp, 4
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.004053c0
mov esi, dword [esp + 0x1c]
add esi, 0xfffffff0
push esi
call fcn.004026e0
mov edi, dword [esp + 0x48]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x3c], 5
mov dword [esp + 0x24], 1
mov byte [esp + 0x3c], 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e4d58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x3c], 2
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e4d74
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [esp + 0x3c], 0
add ebp, 0xfffffff0
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e4d97
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x34]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret
jmp fcn.00401360
push 0x80070057
call fcn.00401180
int3