Function at 0x44b450
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4820
call fcn.0047a5c0
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov ebx, ecx
push ebp
mov dword [esp + 0x20], ebx
call dword [sym.imp.MSVCRT.dll_time]
mov ecx, dword [esp + 0x483c]
add esp, 4
and ecx, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
je 0x44b492
mov dword [ebx + 0x233b4], eax
mov dword [ebx + 0x1a528], eax
jmp 0x44b4ce
cmp dword [ebx + 0x1a528], ebp
je 0x44b4ce
mov eax, dword [0x4fa100]
or ecx, 0xffffffff
mov edx, dword [eax + 0x43d4]
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x4838]
push edx
push ecx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x44b4ce
mov dword [ebx + 0x1a528], ebp
mov edx, dword [esp + 0x4834]
push 0x4000
lea eax, [esp + 0x834]
push edx
push eax
call fcn.004625f0
mov al, byte [esp + 0x83c]
add esp, 0xc
test al, al
mov dword [esp + 0x14], ebp
je 0x44b8bb
cmp byte [esp + ebp + 0x830], 0x3a
jne 0x44b537
movsx ecx, byte [esp + ebp + 0x82f]
push ecx
call dword [sym.imp.MSVCRT.dll_isalpha]
add esp, 4
test eax, eax
je 0x44b537
cmp byte [esp + ebp + 0x831], 0x5c
jne 0x44b537
mov al, byte [esp + ebp + 0x832]
test al, al
je 0x44b537
mov bl, 1
jmp 0x44b539
xor bl, bl
cmp byte [esp + ebp + 0x830], 0x5c
jne 0x44b580
cmp byte [esp + ebp + 0x82f], 0x5c
jne 0x44b580
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
lea edx, [esp + ebp + 0x831]
push 0x5c
push edx
call esi
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x44b580
inc eax
push 0x5c
push eax
call esi
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x13], 1
jne 0x44b585
mov byte [esp + 0x13], 0
test bl, bl
jne 0x44b59d
mov al, byte [esp + 0x13]
test al, al
je 0x44b8a3
test bl, bl
je 0x44b625
lea esi, [esp + ebp + 0x82f]
push 4
lea eax, [esp + 0x430]
push esi
push eax
call fcn.004625f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
movsx ecx, byte [esp + 0x42c]
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCRT.dll_toupper]
mov ecx, eax
mov ebx, 1
sub ecx, 0x41
add esp, 4
shl ebx, cl
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
test eax, ebx
je 0x44b8a3
push 0x400
lea edx, [esp + 0x30]
push esi
push edx
call fcn.004625f0
mov cl, byte [esp + edi + 0x38]
lea eax, [esp + edi + 0x38]
add esp, 0xc
mov esi, edi
test cl, cl
je 0x44b685
mov al, byte [eax]
cmp al, 0x5c
jne 0x44b664
cmp byte [esp + esi + 0x2d], 0x5c
je 0x44b680
jmp 0x44b671
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x830]
sub ecx, ebp
lea esi, [esp + ebp + 0x82f]
sub ecx, edx
lea eax, [esp + 0x42c]
add ecx, 3
push ecx
push esi
push eax
call fcn.004625f0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], ecx
mov edi, ecx
jmp 0x44b5f5
push eax
call fcn.004637f0
add esp, 4
test al, al
je 0x44b680
inc esi
mov cl, byte [esp + esi + 0x2c]
lea eax, [esp + esi + 0x2c]
test cl, cl
jne 0x44b616
jmp 0x44b685
mov byte [esp + esi + 0x2c], 0
mov ebx, dword [sym.imp.MSVCRT.dll_strrchr]
lea eax, [esp + 0x2c]
push 0x5c
push eax
call ebx
add esp, 8
test eax, eax
je 0x44b8b7
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [eax], 0
call ebp
lea ecx, [esp + 0x2c]
mov esi, eax
push ecx
call fcn.004674c0
add esp, 4
test al, al
jne 0x44b722
push 0xffffffffffffffff
push esi
call fcn.0046c290
add esp, 8
cmp eax, 0x1f4
ja 0x44b89f
lea edx, [esp + 0x2c]
push 0x5c
push edx
call ebx
add esp, 8
test eax, eax
je 0x44b89f
mov byte [eax], 0
mov al, byte [esp + 0x13]
test al, al
je 0x44b70d
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
dec eax
cmp ecx, eax
jl 0x44b89f
call ebp
lea ecx, [esp + 0x2c]
mov esi, eax
push ecx
call fcn.004674c0
add esp, 4
test al, al
je 0x44b6bd
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
mov ebp, dword [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ecx + ebp]
movsx edx, byte [esp + edi + 0x830]
mov ebx, dword [sym.imp.MSVCRT.dll_isalnum]
push edx
call ebx
add esp, 4
test eax, eax
jne 0x44b759
cmp byte [esp + edi + 0x830], 0x5f
jne 0x44b75c
inc edi
jmp 0x44b737
mov al, byte [esp + edi + 0x830]
mov esi, edi
push eax
call fcn.004637f0
add esp, 4
test al, al
je 0x44b787
mov cl, byte [esp + esi + 0x831]
inc esi
push ecx
call fcn.004637f0
add esp, 4
test al, al
jne 0x44b772
lea eax, [ebp - 1]
sub esi, eax
sub edi, eax
lea ebp, [esp + eax + 0x830]
lea eax, [esp + 0x2c]
lea edx, [esi + 1]
push edx
push ebp
push eax
call fcn.004625f0
push eax
call fcn.004674e0
add esp, 0x10
test al, al
jne 0x44b7f8
dec esi
cmp esi, edi
jle 0x44b7ee
movsx ecx, byte [esp + esi + 0x2c]
push ecx
call ebx
add esp, 4
test eax, eax
je 0x44b7cc
dec esi
cmp esi, edi
jle 0x44b7ee
jmp 0x44b7b6
cmp esi, edi
jle 0x44b7ee
lea edx, [esi + 1]
lea eax, [esp + 0x2c]
push edx
push ebp
push eax
call fcn.004625f0
push eax
call fcn.004674e0
add esp, 0x10
test al, al
jne 0x44b7f8
jmp 0x44b7b1
mov byte [esp + 0x2c], 0
jmp 0x44b89f
mov al, byte [esp + 0x2c]
test al, al
je 0x44b89f
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
dec esi
js 0x44b832
movsx ecx, byte [esp + esi + 0x2c]
push ecx
call dword [sym.imp.MSVCRT.dll_isspace]
add esp, 4
test eax, eax
je 0x44b832
mov byte [esp + esi + 0x2c], 0
dec esi
jns 0x44b817
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x44b89f
mov edx, dword [esp + 0x14]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
lea eax, [edx - 1]
not ecx
push ecx
lea eax, [esp + eax + 0x838]
push ebp
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
and ecx, 0x3ff
mov edx, ecx
mov eax, ecx
and edx, 0x3f80
and eax, 0x7f
or edx, 0xffe64040
shl edx, 1
or edx, eax
mov dword [ebp], edx
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx + 2]
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x14]
mov al, byte [esp + ebp + 0x831]
inc ebp
test al, al
mov dword [esp + 0x14], ebp
jne 0x44b4fe
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4838]
lea edx, [esp + 0x830]
shr ecx, 4
and cl, 1
push ecx
push edx
lea ecx, [ebx + 0x1dc40]
call fcn.0044ba30
mov al, byte [ebx + 0x1dc28]
test al, al
je 0x44b8f2
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44ba1f
mov ecx, ebx
call fcn.0044bc00
test eax, eax
je 0x44ba1f
mov ebp, dword [sym.imp.MSVCRT.dll_fopen]
lea edi, [ebx + 0x1d819]
push 0x4d31e8
push edi
call ebp
mov esi, eax
add esp, 8
test esi, esi
jne 0x44b94e
lea eax, [esp + 0x830]
push edi
push eax
call fcn.00463740
lea ecx, [esp + 0x838]
push ecx
call fcn.00467500
push 0x4d31e8
push edi
call ebp
mov esi, eax
add esp, 0x14
test esi, esi
je 0x44ba1f
mov eax, dword [esp + 0x24]
test eax, eax
mov eax, 0x4d31e4
jne 0x44b960
mov eax, 0x4d31e0
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
lea edx, [esp + 0x830]
push eax
push edx
call ebp
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.MSVCRT.dll_localtime]
push eax
lea edi, [esp + 0x840]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x4d31d0
push 0x100
lea ecx, [esp + ecx + 0x848]
push ecx
call dword [sym.imp.MSVCRT.dll_strftime]
mov eax, dword [ebx + 0x1dc24]
add esp, 0x1c
cmp eax, 3
jne 0x44b9de
lea edi, [esp + 0x830]
or ecx, 0xffffffff
xor eax, eax
add ebx, 0x19eb8
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
push str.__s:
lea edx, [esp + ecx + 0x838]
push edx
call ebp
add esp, 0xc
mov eax, dword [esp + 0x4834]
lea edi, [esp + 0x830]
push eax
or ecx, 0xffffffff
xor eax, eax
push str.__s_n
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [esp + ecx + 0x838]
push ecx
call ebp
lea edx, [esp + 0x83c]
push esi
push edx
call dword [sym.imp.MSVCRT.dll_fputs]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4820
ret 8