Function at 0x44f690
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a10d6
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x627294]
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
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push 0x104
mov dword [ebp - 0x49c], esi
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
mov dword [ebp - 0x4a8], eax
test eax, eax
je 0x44f9ac
xor edi, edi
test eax, eax
je 0x44f9ac
xor eax, eax
mov dword [ebp - 0x230], 0
mov edx, 7
mov dword [ebp - 0x220], eax
xor ecx, ecx
mov dword [ebp - 0x21c], edx
mov word [ebp - 0x230], cx
mov dword [ebp - 4], ecx
lea ebx, [eax + 3]
nop dword [eax]
movzx esi, word [ebp + edi*2 - 0x218]
cmp eax, edx
jae 0x44f752
lea ecx, [eax + 1]
cmp edx, 8
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
xor edx, edx
mov word [ecx + eax*2], si
mov word [ecx + eax*2 + 2], dx
jmp 0x44f76c
push esi
mov byte [ebp - 0x4a0], 0
push dword [ebp - 0x4a0]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00453420
mov edx, dword [ebp - 0x21c]
inc edi
sub ebx, 1
je 0x44f780
mov eax, dword [ebp - 0x220]
jmp 0x44f720
mov ecx, dword [ebp - 0x220]
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x44f7b1
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov dword [eax + ecx*2], 0x2a
jmp 0x44f7d2
push 1
push 0x62131c
mov byte [ebp - 0x4a4], 0
lea ecx, [ebp - 0x230]
push dword [ebp - 0x4a4]
push 1
call fcn.00453820
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x498]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
je 0x44f956
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x248]
call fcn.00452220
mov byte [ebp - 4], 1
lea eax, [ebp - 0x248]
mov ecx, dword [ebp - 0x238]
dec ecx
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x238], ecx
cmovae eax, dword [ebp - 0x248]
xor edx, edx
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 2
je 0x44f86d
cmp eax, 3
je 0x44f86d
cmp eax, 4
je 0x44f86d
cmp eax, 6
jne 0x44f912
push 0x62f60c
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
sub esp, 0x18
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
call fcn.00452220
call fcn.0044f4a0
mov ebx, dword [0x62f640]
add esp, 0x18
cmp dword [0x62f644], 0x7ffffff
je 0x44f9ca
mov dword [ebp - 0x4b0], 0x62f640
mov byte [ebp - 4], 2
push 0x20
mov dword [ebp - 0x4ac], 0
call fcn.0057856c
mov esi, eax
add esp, 4
lea eax, [ebp - 0x230]
mov dword [ebp - 0x4ac], esi
lea ecx, [esi + 8]
push eax
call fcn.00452220
inc dword [0x62f644]
mov eax, dword [ebx + 4]
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [ebx + 4], esi
push 0x62f60c
mov dword [ebp - 0x4ac], 0
mov dword [eax], esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov dword [ebp - 0x49c], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x234]
cmp ecx, 8
jb 0x44f956
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44f94c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f9d4
push ecx
push edx
call fcn.005787ed
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x44f999
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44f98f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f9d4
push ecx
push edx
call fcn.005787ed
add esp, 8
inc edi
cmp edi, dword [ebp - 0x4a8]
jb 0x44f6f0
mov esi, dword [ebp - 0x49c]
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 - 0x10]
xor ecx, ebp
call fcn.00578494
mov esp, ebp
pop ebp
ret
push str.list_too_long
call fcn.0057741c
call fcn.0057fc31
int3