Function at 0x140175570
Capabilities:
Empty the recycle bin
Get file system object information
Get session user name

Disassembly:
sub rsp, 0x448
movzx eax, word [section..data]
cmp eax, 0xf42
jl 0x1401755ec
mov dword [rsp + 0x6c], 0x7bc6
cmp dword [rsp + 0x6c], 0xf7a8
je 0x1401755cc
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x70], eax
mov eax, 0x5ff
mov word [rsp + 0x54], ax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x78], rax
movabs rax, 0x7d11feff7a2603
mov qword [rsp + 0x88], rax
mov byte [rsp + 0x50], 0xa0
jmp 0x1401755ec
movabs rax, 0x79d656502b1573
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
movzx eax, word [section..data]
cmp eax, 0x6a1
je 0x140175c3f
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0xc8], al
cmp byte [rsp + 0xc8], 0x71
je 0x140175616
jmp 0x140175634
movzx eax, byte [rsp + 0x50]
add eax, 0x96
mov byte [rsp + 0x50], al
movzx ecx, word [rsp + 0x54]
call fcn.140174fb0
nop
jmp 0x1401756d5
mov rax, qword [rsp + 0x78]
movsx eax, word [rax]
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0x73b
je 0x140175652
jmp 0x14017569d
lea rcx, [rsp + 0x54]
call qword [sym.imp.SHELL32.dll_SHGetInstanceExplorer]
mov dword [rsp + 0xfc], eax
mov rax, qword [rsp + 0x78]
movsx eax, word [rax]
and eax, 0x1e4
mov word [rsp + 0x54], ax
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x20], al
movzx r9d, byte [rsp + 0x50]
movzx r8d, byte [rsp + 0x50]
movzx edx, byte [rsp + 0x50]
movzx ecx, byte [rsp + 0x50]
call fcn.140175db0
nop
jmp 0x1401756d5
lea rax, [rsp + 0x50]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0xa8], rax
movzx eax, word [section..data]
mov word [rsp + 0x60], ax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
mov byte [rsp + 0x51], al
movzx eax, word [rsp + 0x60]
mov word [rsp + 0x5c], ax
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x6c]
jbe 0x140175782
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x51]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov byte [rcx], al
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0xa6
lea r8, [rsp + 0x60]
mov edx, ILGetNext
mov rcx, qword [rsp + 0x140]
call sub.WINSPOOL.DRV_EnumFormsW
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
movabs rcx, 0x7e4b39cea7ecf5
sub rax, rcx
mov qword [rsp + 0x88], rax
movzx eax, byte [rsp + 0x50]
movzx ecx, byte [rsp + 0x51]
add eax, ecx
mov rcx, qword [rsp + 0x80]
mov byte [rcx], al
mov dword [rsp + 0x94], 0x757f
movzx eax, byte [rsp + 0x51]
mov byte [rsp + 0xb4], al
cmp byte [rsp + 0xb4], 0xa0
je 0x1401757a8
jmp 0x140175af3
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
mov byte [rsp + 0x64], al
movzx eax, word [rsp + 0x5c]
mov word [rsp + 0x68], ax
movzx eax, word [rsp + 0x54]
mov word [rsp + 0x90], ax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x64]
imul eax, ecx
movzx ecx, byte [rsp + 0x50]
movzx edx, byte [rsp + 0x51]
add ecx, edx
cmp eax, ecx
jl 0x140175875
mov byte [rsp + 0x58], 0x5d
movabs rax, 0x7dfd2997dcfcbc
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x94]
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x6c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
movsx eax, byte [rsp + 0x58]
cmp eax, 0x10
jge 0x140175856
xor r8d, r8d
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0xb8]
call qword [sym.imp.SHELL32.dll_ILIsParent]
mov dword [rsp + 0xf8], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0xd8], rax
jmp 0x1401758ba
lea rax, [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov r9d, reloc.SHELL32.dll_ILGetNext
mov r8, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x148]
call sub.WINSPOOL.DRV_EnumPrinterKeyW
mov dword [rsp + 0x70], eax
movzx eax, word [rsp + 0x68]
movzx ecx, word [rsp + 0x5c]
add eax, ecx
mov word [rsp + 0x60], ax
movzx eax, word [rsp + 0x60]
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 0x10
je 0x1401759fe
cmp dword [rsp + 0x9c], 0x1052
je 0x1401758e6
jmp 0x140175abe
lea rax, [rsp + 0x70]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov eax, dword [rax]
imul eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x98]
mov edx, dword [rsp + 0x6c]
add edx, ecx
mov ecx, edx
cmp eax, ecx
ja 0x14017592a
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.SHELL32.dll_SHChangeNotification_Unlock]
mov dword [rsp + 0xa0], eax
movzx eax, word [rsp + 0x68]
mov dword [rsp + 0xc4], eax
cmp dword [rsp + 0xc4], 0xdb3
je 0x140175948
jmp 0x1401759e8
mov rax, qword [rsp + 0xd8]
movsx eax, byte [rax]
add eax, 0x1b
mov byte [rsp + 0x58], al
mov r8d, SHUpdateImageW
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.SHELL32.dll_SHEmptyRecycleBinW]
mov dword [rsp + 0x104], eax
movzx eax, word [rsp + 0x68]
movzx ecx, word [rsp + 0x5c]
sub eax, ecx
mov word [rsp + 0x60], ax
lea rax, [rsp + 0x168]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], SHUpdateImageW
lea r9, [rsp + 0x54]
mov r8d, 0x23
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0xf0]
call sub.WINSPOOL.DRV_GetFormW
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x64]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov byte [rcx], al
jmp 0x1401759f9
movzx eax, word [rsp + 0x68]
movzx ecx, word [rsp + 0x60]
and eax, ecx
mov word [rsp + 0x5c], ax
jmp 0x140175abe
movabs rax, 0x7681217640caa1
cmp qword [rsp + 0xd0], rax
jl 0x140175abe
mov rax, qword [rsp + 0x78]
movsx eax, word [rax]
movsx ecx, word [rsp + 0x90]
or eax, ecx
mov rcx, qword [rsp + 0x78]
mov word [rcx], ax
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov dword [rsp + 0x100], eax
movabs rax, 0x74acadea8de2dc
mov rcx, qword [rsp + 0xd0]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x94]
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0x118], rcx
movzx ecx, al
mov rax, qword [rsp + 0x118]
mov eax, dword [rax]
shl eax, cl
mov rcx, qword [rsp + 0xe0]
mov dword [rcx], eax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x120]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x78]
movsx eax, word [rax]
movsx ecx, word [rsp + 0x90]
sub eax, ecx
mov rcx, qword [rsp + 0x78]
mov word [rcx], ax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x50]
sar eax, cl
mov byte [rsp + 0x51], al
jmp 0x140175b8d
mov r8d, 0x5d
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.SHELL32.dll_ExtractIconW]
mov qword [rsp + 0x130], rax
movzx eax, byte [rsp + 0x51]
movzx ecx, byte [rsp + 0x50]
add eax, ecx
mov rcx, qword [rsp + 0x80]
mov byte [rcx], al
mov eax, dword [rsp + 0x94]
sub eax, 0x69c0
mov dword [rsp + 0x94], eax
mov dword [rsp + 0x20], 0x35
mov r9d, SHSetInstanceExplorer
lea r8, [rsp + 0x180]
mov edx, 0x6d
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0xa8]
movabs rcx, 0x7b03e845f5e07b
mov rax, qword [rax]
and rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
shl rax, 0xeb
mov rcx, qword [rsp + 0xa8]
cmp rax, qword [rcx]
ja 0x140175bcb
movzx eax, word [rsp + 0x5c]
movzx ecx, word [section..data]
or eax, ecx
mov word [rsp + 0x60], ax
movsx eax, word [rsp + 0x54]
sar eax, 2
mov rcx, qword [rsp + 0x78]
mov word [rcx], ax
jmp 0x140175c3a
lea r8, [rsp + 0x94]
lea rdx, [rsp + 0x168]
mov ecx, 0xb9
call qword [sym.imp.SHELL32.dll_SHGetImageList]
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x50]
and eax, ecx
mov byte [rsp + 0x51], al
movzx eax, byte [rsp + 0x51]
movzx ecx, byte [rsp + 0x50]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov byte [rcx], al
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x78]
movzx ecx, word [rax]
call fcn.140174fb0
nop
jmp 0x140175cbf
imul eax, dword [rsp + 0x6c], 0x4e7f
cmp eax, dword [rsp + 0x70]
jae 0x140175cbf
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x42
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, PathMakeUniqueName
mov r8, qword [rsp + 0x138]
mov edx, 0x28
mov rcx, qword [rsp + 0x140]
call sub.WINSPOOL.DRV_EnumPrinterDataW
mov dword [rsp + 0x98], eax
movsx eax, word [rsp + 0x54]
sub eax, 0x355
mov rcx, qword [rsp + 0x78]
mov word [rcx], ax
movsx eax, word [rsp + 0x54]
and eax, 0x23f
mov rcx, qword [rsp + 0x78]
mov word [rcx], ax
movzx eax, byte [rsp + 0x50]
or eax, 6
mov byte [rsp + 0x50], al
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0xbc], eax
cmp dword [rsp + 0xbc], 0xfae3
je 0x140175cf7
jmp 0x140175d25
mov dl, 0x70
movzx ecx, word [rsp + 0x54]
call fcn.140174720
movabs rax, 0x7b33115c4c3082
mov rcx, qword [rsp + 0x88]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
jmp 0x140175d6c
mov rax, qword [rsp + 0x78]
movsx eax, word [rax]
movsx ecx, word [rsp + 0x54]
sar eax, cl
mov rcx, qword [rsp + 0x78]
mov word [rcx], ax
movzx eax, byte [rsp + 0x50]
shl eax, 4
mov byte [rsp + 0x50], al
mov r9d, 0x8d
lea r8, [rsp + 0x54]
mov edx, 0x2a
mov rcx, qword [rsp + 0x148]
call sub.WINSPOOL.DRV_SetPrinterW
mov dword [rsp + 0x108], eax
mov dword [rsp + 0x20], 0xc7
lea r9, [rsp + 0x6c]
mov r8d, 0x41
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0xf0]
call sub.WINSPOOL.DRV_FlushPrinter
mov dword [rsp + 0xc0], eax
mov eax, 4
add rsp, 0x448
ret