Function at 0x424ca0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x57ee68
mov eax, dword fs:[0]
push eax
sub esp, 0xa8c
mov eax, dword [0x6531f0]
xor eax, esp
mov dword [esp + 0xa88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0xaa0]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x24], esi
cmp dword [esi + 0xc], ebx
jbe 0x424cee
call fcn.004fe843
mov edi, dword [esi + 0xc]
mov ebp, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x424cfd
call fcn.004fe843
mov eax, dword [esi]
push ebx
push ebp
push edi
push eax
lea edi, [esp + 0x38]
call fcn.0042d0b0
lea eax, [esp + 0x29c]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [esp + 0x29c], 0
lea esi, [esp + 0x29c]
je 0x424f34
mov ebx, 1
lea ebx, [ebx]
mov edx, dword [0x669e38]
mov eax, dword [edx + 0xc]
mov ecx, 0x669e38
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0xaa8], ebx
push esi
push 0x632c04
lea edi, [esp + 0x20]
call fcn.0042e800
mov ebp, dword [esp + 0x20]
add esp, 8
cmp dword [ebp - 4], ebx
jle 0x424d89
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, edi
push edx
call fcn.00402a30
mov ebp, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x424ee4
xor edi, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c8], 0x10
mov dword [esp + 0x1cc], ebx
xor eax, eax
jmp 0x424dc0
movzx ecx, word [eax + 0x630230]
mov word [esp + eax + 0x38], cx
add eax, 2
cmp cx, di
jne 0x424dc0
push 0xc6
lea ecx, [esp + 0x1da]
xor eax, eax
push edi
push ecx
mov word [esp + 0x1e0], ax
call fcn.00501e30
add esp, 0xc
push edi
push edi
push edi
push edi
lea edx, [esp + 0x2c]
push edx
push 0x64
lea eax, [esp + 0x1ec]
push eax
push ebp
mov dword [esp + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x424ee4
mov eax, dword [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1d0], edi
mov edi, esp
lea eax, [ebp - 0x10]
mov dword [esp + 0x38], esp
mov dword [esp + 0x30], edi
call fcn.00410000
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0xab0], 3
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push ecx
lea ecx, [esp + 0x1e4]
call fcn.004026a0
mov byte [esp + 0xab4], 4
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0xab8], bl
call fcn.00424f60
add esp, 0x10
mov edi, eax
mov byte [esp + 0xaa8], 5
mov eax, dword [edi]
sub eax, 0x10
cmp dword [eax + 0xc], ebx
jle 0x424e98
mov eax, dword [eax + 4]
push eax
push edi
call fcn.00402a30
mov eax, dword [edi]
lea edx, [esp + 0x38]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x424ea0
mov byte [esp + 0xaa8], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424ed6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x34]
push ecx
call fcn.0042bd00
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424ef0
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
mov dword [esp + 0xaa8], 0xffffffff
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424f2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp word [esi], 0
jne 0x424d40
mov ecx, dword [esp + 0xaa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa88]
xor ecx, esp
call fcn.004fdb4a
add esp, 0xa98
ret