Function at 0x44954d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
call fcn.0040c376
lea eax, [ebp + 8]
push eax
call fcn.00430961
mov esi, dword [ebp + 8]
pop ecx
push 0x2c
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
xor ebx, ebx
cmp eax, ebx
mov byte [ebp - 1], 0
je 0x4495be
mov word [eax], bx
inc eax
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00430961
mov eax, dword [ebp - 0x10]
mov ax, word [eax]
and ax, 0xffdf
cmp ax, 0x52
pop ecx
jne 0x4495a3
mov byte [ebp - 1], 2
jmp 0x4495be
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0xc], ebx
call fcn.00438b8e
cmp dword [ebp - 0xc], ebx
pop ecx
pop ecx
je 0x4495be
mov byte [ebp - 1], 1
mov ax, word [esi]
or dword [ebp - 8], 0xffffffff
cmp ax, 0x43
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
jne 0x4495e1
cmp word [esi + 2], 0x2d
jne 0x4495e1
mov dword [ebp - 0x10], 1
jmp 0x449620
cmp ax, 0x55
jne 0x4495f7
cmp word [esi + 2], 0x2d
jne 0x4495f7
mov dword [ebp - 0xc], 1
jmp 0x449620
cmp ax, bx
je 0x449620
cmp word [esi + 2], 0x3a
jne 0x449605
mov ebx, eax
cmp ax, 0x30
jb 0x449620
cmp ax, 0x39
ja 0x449620
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00438b8e
pop ecx
pop ecx
push 5
pop ecx
mov esi, 0x49bafc
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4961cc
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
cmp dword [ebp - 8], edi
jl 0x44978b
push dword [ebp - 8]
mov esi, ebx
call fcn.004494d0
pop ecx
cmp word [ebp - 0x10], di
jne 0x449662
cmp word [ebp - 0xc], di
je 0x44980b
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov dword [ebp - 0x14], eax
push 6
xor eax, eax
and dword [ebp - 8], 0
mov byte [ebp - 0x70], 0
pop ecx
lea edi, [ebp - 0x6f]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov byte [ebp + 0xb], 0
mov ecx, dword [ebp - 8]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [ebp - 0x14]
test ecx, eax
je 0x44974c
movsx ax, byte [ebp + 0xb]
push 5
pop ebx
mov ecx, ebx
mov esi, 0x49bafc
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4961cc
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0x41
movsd dword es:[edi], dword [esi]
mov word [ebp - 0x4c], ax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp byte [ebp + 0xb], 2
mov esi, eax
jge 0x4496d6
cmp esi, 2
je 0x44974c
cmp word [ebp - 0xc], 0
je 0x4496e7
cmp esi, ebx
jne 0x4496eb
cmp byte [ebp - 1], 2
jne 0x44974c
cmp esi, ebx
je 0x4496f5
cmp esi, 2
je 0x4496f5
cmp esi, 3
jne 0x44974c
cmp word [ebp - 0x10], 0
je 0x449700
cmp esi, ebx
jne 0x44974c
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.00437883
cmp word [ebp - 0xc], 0
pop ecx
pop ecx
je 0x44972b
cmp eax, 7
jne 0x44974c
cmp esi, ebx
jne 0x449723
cmp byte [ebp - 1], 2
jne 0x44974c
mov ecx, dword [ebp - 8]
mov byte [ebp + ecx - 0x70], 0x45
cmp word [ebp - 0x10], 0
je 0x44974c
cmp esi, ebx
jne 0x44974c
cmp byte [ebp - 1], 2
jne 0x449743
cmp eax, 7
mov al, 0x45
je 0x449745
mov al, 0x43
mov ecx, dword [ebp - 8]
mov byte [ebp + ecx - 0x70], al
inc byte [ebp + 0xb]
inc dword [ebp - 8]
cmp byte [ebp + 0xb], 0x1a
jl 0x449682
xor bl, bl
lea edi, [ebp - 0x70]
mov al, byte [edi]
cmp al, 0x43
jne 0x4497ec
movsx ax, bl
add eax, 0x41
mov word [ebp - 0x38], ax
xor eax, eax
cmp byte [ebp - 1], 1
setne al
push eax
push dword [ebp - 0x38]
call fcn.0043f345
pop ecx
jmp 0x4497fe
cmp bx, di
je 0x44964e
movsx ax, bl
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x20]
push eax
mov word [ebp - 0x20], bx
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
mov esi, eax
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00437883
cmp esi, 5
pop ecx
pop ecx
jne 0x4497df
cmp byte [ebp - 1], 2
jne 0x4497cc
cmp eax, 7
jne 0x4497cc
push 0xffffffffffffffff
jmp 0x4497e2
xor eax, eax
cmp byte [ebp - 1], 1
setne al
push eax
push ebx
call fcn.0043f345
pop ecx
jmp 0x4497e9
push dword [ebp - 8]
mov esi, ebx
call fcn.004494d0
pop ecx
jmp 0x44980b
cmp al, 0x45
jne 0x4497ff
movsx si, bl
push 0xffffffffffffffff
add esi, 0x41
call fcn.004494d0
pop ecx
inc bl
inc edi
cmp bl, 0x1a
jl 0x449761
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4