Function at 0x4497a0
Capabilities:
Get disk information
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b836
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x583384]
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
mov dword [ebp - 0x178], ecx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x170]
push 0x160
push 0
push eax
call fcn.00517590
mov esi, dword [ebx + 0x30]
add esp, 0xc
mov dword [ebp - 0x180], esi
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x44980b
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x174], edi
mov dword [ebp - 4], 0
test esi, esi
je 0x449a0b
cmp byte [esi], 0
jne 0x449a0b
mov eax, dword [esi + 8]
cmp dword [eax - 0xc], 0
jle 0x449a0b
push 0x4200
push 0x160
lea ecx, [ebp - 0x170]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test byte [ebx + 0xc], 1
je 0x44991e
lea ecx, [ebp - 0x164]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x449870
sub ecx, edx
test ecx, ecx
jle 0x44989d
cmp ecx, dword [ebx + 0x20]
jge 0x44989d
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x164]
push eax
push dword [ebx + 0x1c]
call fcn.00517010
add esp, 0xc
jmp 0x44991e
push dword [esi + 8]
lea ecx, [ebp - 0x174]
call fcn.00423d10
mov edi, dword [ebp - 0x174]
mov eax, dword [edi - 0xc]
test eax, eax
jle 0x44990e
dec eax
lea ecx, [ebp - 0x174]
push eax
call fcn.00446d30
cmp al, 0x5c
jne 0x4498e1
mov eax, dword [edi - 0xc]
lea ecx, [ebp - 0x174]
push 0
dec eax
push eax
call fcn.0044b150
mov edi, dword [ebp - 0x174]
push 0x5c
push edi
call fcn.00516a90
add esp, 8
mov edx, edi
test eax, eax
lea ecx, [eax + 1]
cmovne edx, ecx
mov dword [ebx + 0x1c], edx
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x449900
sub edx, ecx
lea eax, [edx + 1]
jmp 0x44991b
mov eax, dword [esi + 8]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 8]
mov eax, dword [eax - 0xc]
inc eax
mov dword [ebx + 0x20], eax
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x16c]
test dl, 2
je 0x449944
test ecx, ecx
jle 0x449935
mov dword [ebx + 0x24], ecx
jmp 0x449944
mov eax, dword [ebp - 0x178]
mov eax, dword [eax + 0x2fc]
mov dword [ebx + 0x24], eax
test dl, 0x20
je 0x449961
test ecx, ecx
jle 0x449952
mov dword [ebx + 0x28], ecx
jmp 0x449961
mov eax, dword [ebp - 0x178]
mov eax, dword [eax + 0x2fc]
mov dword [ebx + 0x28], eax
test dl, 0x40
je 0x449a07
mov eax, dword [esi + 8]
cmp dword [eax - 0xc], 3
jl 0x449a00
push 3
lea eax, [ebp - 0x178]
mov dword [ebp - 0x17c], 0
push eax
lea ecx, [esi + 8]
call fcn.00419860
mov esi, dword [ebp - 0x178]
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push 0
push 0
lea eax, [ebp - 0x17c]
push eax
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x4499ea
mov eax, dword [ebp - 0x180]
push dword [eax + 8]
call fcn.0044d460
add esp, 4
lea ecx, [ebp - 0x178]
neg eax
sbb eax, eax
neg eax
mov dword [ebx + 0x2c], eax
call fcn.00406240
xor esi, esi
jmp 0x449a0e
lea ecx, [ebp - 0x178]
mov dword [ebx + 0x2c], 0
call fcn.00406240
xor esi, esi
jmp 0x449a0e
mov dword [ebx + 0x2c], 0
xor esi, esi
jmp 0x449a0e
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x449a2d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
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.00513512
mov esp, ebp
pop ebp
ret 0xc