Function at 0x140021d80
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x460]
sub rsp, 0x560
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rbp + 0x450], rax
sub rdx, 0x8000
mov rsi, r8
mov rdi, rcx
je 0x140021fce
dec rdx
je 0x140021f1b
dec rdx
je 0x1400220e2
cmp rdx, 2
jne 0x1400220e2
mov eax, dword [r8 + 4]
cmp eax, edx
je 0x140021dfc
cmp eax, 6
jne 0x140021f11
mov rcx, qword [r8 + 0x18]
call qword [sym.imp.USER32.dll_UnregisterDeviceNotification]
mov eax, 1
jmp 0x1400220e4
mov eax, dword [r8 + 0xc]
xor ebx, ebx
mov ecx, ebx
test al, 1
jne 0x140021e10
shr eax, 1
inc ecx
test al, 1
je 0x140021e08
add cx, 0x41
lea r8, str._c:_
mov edx, 4
movzx r9d, cx
lea rcx, [rbp + 0x230]
call section..text
test byte [rsi + 0x10], 1
lea rdx, [rbp + 0x230]
mov rcx, rdi
je 0x140021ee4
call fcn.1400215a0
mov rsi, rax
test rax, rax
je 0x140021f11
lea r8, [rsp + 0x70]
lea rcx, [rbp + 0x230]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4000
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x230]
mov qword [rsp + 0x30], rbx
call fcn.140094590
test eax, eax
js 0x140021ea8
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp + 0x240]
mov r8d, 1
call fcn.140092ff0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x38], 0x33
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], eax
lea rax, [rbp + 0x240]
mov qword [rsp + 0x40], rsi
lea r9, [rsp + 0x38]
mov edx, 0x113f
mov qword [rsp + 0x50], rax
jmp 0x140021f04
call fcn.1400211f0
mov rbx, rax
test rax, rax
je 0x140021f11
mov rdx, rax
mov rcx, rdi
call fcn.140021c70
mov r9, rbx
mov edx, 0x1101
mov rcx, qword [rdi + 0x18]
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x1400220e4
cmp dword [r8 + 4], 6
jne 0x140021fc4
mov rax, qword [rcx + 0x520]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140021fc4
mov rax, qword [r8 + 0x10]
nop dword [rax]
cmp qword [rbx + 0x218], rax
je 0x140021f5f
mov rbx, qword [rbx]
cmp rbx, qword [rcx + 0x520]
jne 0x140021f40
mov eax, 1
jmp 0x1400220e4
mov rcx, qword [rcx + 0x30]
mov edx, dword [rbx + 0x220]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov dword [rdi + 0x538], 1
add rbx, 0x10
mov edx, 0x104
lea rcx, [rdi + 0x53c]
nop dword [rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140021fb6
movzx eax, word [rbx]
test ax, ax
je 0x140021fb6
mov word [rcx], ax
add rcx, 2
add rbx, 2
dec rdx
jne 0x140021f90
jmp 0x140021fbb
test rdx, rdx
jne 0x140021fbf
sub rcx, 2
xor ebx, ebx
mov word [rcx], bx
mov eax, 1
jmp 0x1400220e4
cmp dword [r8 + 4], 2
jne 0x1400220e2
mov eax, dword [r8 + 0xc]
xor ebx, ebx
mov ecx, ebx
test al, 1
jne 0x140021fed
shr eax, 1
inc ecx
test al, 1
je 0x140021fe5
add cx, 0x41
lea r8, str._c:_
mov edx, 4
movzx r9d, cx
lea rcx, [rbp + 0x230]
call section..text
test byte [rsi + 0x10], 1
lea rdx, [rbp + 0x230]
mov rcx, rdi
je 0x1400220ce
call fcn.1400215a0
mov rsi, rax
test rax, rax
je 0x1400220e2
lea r8, [rsp + 0x70]
lea rcx, [rbp + 0x230]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4000
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x230]
mov qword [rsp + 0x30], rbx
call fcn.140094590
test eax, eax
js 0x140022085
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp + 0x240]
mov r8d, 1
call fcn.140092ff0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [rsp + 0x78]
mov rcx, qword [rdi + 0x18]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], eax
lea rax, [rbp + 0x240]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x113f
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x38], 0x33
mov qword [rsp + 0x40], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400220e2
call fcn.140023960
lea rdx, [rbp + 0x230]
mov rcx, rdi
call fcn.1400221b0
xor eax, eax
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.14004ae00
mov rbx, qword [rsp + 0x588]
add rsp, 0x560
pop rdi
pop rsi
pop rbp
ret