Function at 0x5666b0
Capabilities:
Get file system object information

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x490
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rbx, rcx
xor edi, edi
mov dword [rax + 0x10], edi
mov rax, qword [0x00862cb8]
cmp byte [rax + 0x30f6], dil
jne 0x5666ff
mov rcx, qword [rax + 0xb8]
test rcx, rcx
je 0x5666ff
mov edx, 0x276
call fcn.0041024c
jmp 0x566705
mov al, byte [rax + 0x2d17]
test al, al
jne 0x566713
mov eax, 2
jmp 0x5669cf
xor edx, edx
mov r8d, 0x2b8
lea rcx, [rsp + 0x1d0]
call fcn.006aba40
mov rdx, rbx
lea rcx, [rsp + 0x130]
call fcn.00466144
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.00420f08
nop
lea rax, [rsp + 0x130]
mov esi, 0x100
mov rcx, qword [rsp + 0x178]
cmp rcx, rax
je 0x566788
test rcx, rcx
je 0x566788
mov rax, qword [rsp + 0x130]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rsi
jbe 0x566783
call fcn.006a4944
jmp 0x566788
call fcn.006a3610
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x4a8]
lea rcx, [0x0085e670]
call fcn.0056b350
mov r11, qword [rsp + 0x4a8]
test r11, r11
je 0x5667ec
mov ebx, dword [r11 + 0x58]
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x5667e5
test rcx, rcx
je 0x5667e5
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, rsi
jbe 0x5667e0
call fcn.006a4944
jmp 0x5667e5
call fcn.006a3610
mov eax, ebx
jmp 0x5669cf
mov r8b, 0x5c
mov rdx, rbx
lea rcx, [rsp + 0x180]
call fcn.00447328
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.00420f08
nop
lea rax, [rsp + 0x180]
mov rcx, qword [rsp + 0x1c8]
cmp rcx, rax
je 0x56684d
test rcx, rcx
je 0x56684d
mov rax, qword [rsp + 0x180]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rsi
jbe 0x566848
call fcn.006a4944
jmp 0x56684d
call fcn.006a3610
mov dword [rsp + 0x20], 0x111
mov r9d, 0x2b8
lea r8, [rsp + 0x1d0]
mov edx, 0x80
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov r8, qword [rsp + 0x1d0]
or edx, 0xffffffff
mov rcx, qword [0x00867d70]
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.USER32.dll_DestroyIcon]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x4a8]
lea rcx, [0x0085e670]
call fcn.0056b350
mov rax, qword [rsp + 0x4a8]
test rax, rax
jne 0x566902
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x88]
call fcn.004021f8
and dword [rsp + 0xd8], 0
mov edi, 1
mov dword [rsp + 0x4a8], edi
lea rdx, [rsp + 0x88]
lea rcx, [0x0085e670]
call fcn.0056b008
lea rbx, [rax + 0x50]
jmp 0x566906
lea rbx, [rax + 0x58]
test dil, 1
je 0x566949
lea rax, [rsp + 0x88]
mov rcx, qword [rsp + 0xd0]
cmp rcx, rax
je 0x566949
test rcx, rcx
je 0x566949
mov rax, qword [rsp + 0x88]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rsi
jbe 0x566944
call fcn.006a4944
jmp 0x566949
call fcn.006a3610
mov eax, dword [0x008654d0]
mov dword [rbx], eax
inc eax
mov dword [0x008654d0], eax
lea ebx, [rax - 1]
lea rax, [rsp + 0xe0]
mov rcx, qword [rsp + 0x128]
cmp rcx, rax
je 0x56699a
test rcx, rcx
je 0x56699a
mov rax, qword [rsp + 0xe0]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rsi
jbe 0x566994
call fcn.006a4944
jmp 0x56699a
call fcn.006a3610
nop
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x5669cd
test rcx, rcx
je 0x5669cd
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, rsi
jbe 0x5669c8
call fcn.006a4944
jmp 0x5669cd
call fcn.006a3610
mov eax, ebx
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret