Function at 0x14008f780
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x320
mov rax, qword [0x140a7a0a8]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov ebx, edx
mov rdi, rcx
mov r13, 0xffffffffffffffff
mov r9d, r13d
xor esi, esi
mov ecx, esi
movzx edx, word [r8]
test dx, dx
je 0x14008f7e9
nop word [rax + rax]
mov eax, ecx
cmp dx, 0x2e
cmovne eax, r9d
mov r9d, eax
inc ecx
movzx edx, word [r8 + rcx*2]
test dx, dx
jne 0x14008f7d0
test bl, 0x10
jne 0x14008fa17
test r9d, r9d
js 0x14008fa17
movsxd rax, r9d
lea r14, [r8 + rax*2]
mov qword [rsp + 0x30], r14
lea r15, [r14 + 2]
mov ebp, esi
mov r12d, dword [rdi + 0x18]
test r12d, r12d
je 0x14008f86c
nop word [rax + rax]
lea r14d, [r12 + rbp]
shr r14d, 1
lea r13, [r14*8]
mov rax, qword [rdi + 0x10]
mov rdx, qword [rax + r13]
mov rdx, qword [rdx]
mov rcx, r15
call fcn.140068b10
test eax, eax
je 0x14008f8e3
mov ecx, r14d
cmovns ecx, r12d
mov r12d, ecx
lea ecx, [r14 + 1]
cmovns ebp, ecx
cmp ebp, r12d
jne 0x14008f820
mov r14, qword [rsp + 0x30]
mov r13, 0xffffffffffffffff
mov ecx, esi
movzx eax, word [r15]
test ax, ax
je 0x14008f8f3
nop word [rax + rax]
sub ax, 0x30
cmp ax, 9
ja 0x14008f896
inc ecx
movzx eax, word [r15 + rcx*2]
test ax, ax
jne 0x14008f880
test ecx, ecx
je 0x14008f8f3
mov eax, ecx
cmp word [r15 + rax*2], si
jne 0x14008f8f3
cmp dword [rdi + 0x24], esi
jne 0x14008f8db
mov dword [rsp + 0x20], 0x4010
mov r9d, 0x2b8
lea r8, [rsp + 0x50]
mov edx, 0x80
lea rcx, str.__FILE__.001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x58]
mov dword [rdi + 0x20], eax
mov dword [rdi + 0x24], 1
mov eax, dword [rdi + 0x20]
jmp 0x14008fb12
mov rax, qword [rdi + 0x10]
mov rax, qword [rax + r13]
mov eax, dword [rax + 0x10]
jmp 0x14008fb12
lea rcx, [rsp + 0x38]
call fcn.140067f70
nop
mov rdx, r15
lea rcx, [rsp + 0x38]
call fcn.1400681e0
bts ebx, 7
mov dword [rsp + 0x20], 0x4010
mov r9d, 0x2b8
lea r8, [rsp + 0x50]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x48], eax
mov ecx, dword [rdi + 0x1c]
cmp dword [rdi + 0x18], ecx
jne 0x14008f99d
mov ebx, 0x7fffffff
cmp ecx, ebx
jae 0x14008fb5c
sub ebx, ecx
mov eax, ecx
shr eax, 2
inc eax
cmp eax, ebx
cmovbe ebx, eax
add ebx, ecx
mov ecx, ebx
mov eax, 8
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1400e3e10
mov r14, rax
mov eax, dword [rdi + 0x18]
test eax, eax
je 0x14008f98d
mov r8d, eax
shl r8, 3
mov rdx, qword [rdi + 0x10]
mov rcx, r14
call fcn.1408af920
mov rcx, qword [rdi + 0x10]
call fcn.1408acb9c
mov qword [rdi + 0x10], r14
mov dword [rdi + 0x1c], ebx
mov ecx, Ordinal_27
call fcn.1408acb60
mov r14, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14008f9cb
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.140067c90
mov ecx, dword [rsp + 0x48]
mov dword [r14 + 0x10], ecx
jmp 0x14008f9ce
mov r14, rsi
mov eax, ebp
lea rbx, [rax*8]
mov r9, qword [rdi + 0x10]
mov r8d, dword [rdi + 0x18]
sub r8d, ebp
shl r8, 3
lea rdx, [r9 + rbx]
lea eax, [rbp + 1]
lea rcx, [r9 + rax*8]
call fcn.1408af920
mov rax, qword [rdi + 0x10]
mov qword [rbx + rax], r14
inc dword [rdi + 0x18]
mov ebx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.1408acb9c
mov eax, ebx
jmp 0x14008fb12
mov edx, dword [rdi + 8]
test edx, edx
je 0x14008fa43
mov r9, qword [rdi]
lea ecx, [rdx + rsi]
shr ecx, 1
lea rax, [r9 + rcx*8]
cmp ebx, dword [rax]
je 0x14008fb3d
mov eax, ecx
cmovae eax, edx
mov edx, eax
lea eax, [rcx + 1]
cmovae esi, eax
cmp esi, edx
jne 0x14008fa21
mov edx, ebx
bts edx, 7
mov dword [rsp + 0x20], 0x4010
mov r9d, 0x2b8
lea r8, [rsp + 0x50]
lea rcx, str.__DIR__
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov r15d, dword [rsp + 0x58]
mov r14d, r15d
shl r14, 0x20
or r14, rbx
mov ecx, dword [rdi + 0xc]
cmp dword [rdi + 8], ecx
jne 0x14008fadd
mov ebx, 0x7fffffff
cmp ecx, ebx
jae 0x14008fb42
sub ebx, ecx
mov eax, ecx
shr eax, 2
inc eax
cmp eax, ebx
cmovbe ebx, eax
add ebx, ecx
mov ecx, ebx
mov eax, 8
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1400e3e10
mov rbp, rax
mov eax, dword [rdi + 8]
test eax, eax
je 0x14008facf
mov r8d, eax
shl r8, 3
mov rdx, qword [rdi]
mov rcx, rbp
call fcn.1408af920
mov rcx, qword [rdi]
call fcn.1408acb9c
mov qword [rdi], rbp
mov dword [rdi + 0xc], ebx
mov eax, esi
lea rbx, [rax*8]
mov r10, qword [rdi]
mov r8d, dword [rdi + 8]
sub r8d, esi
shl r8, 3
lea rdx, [rbx + r10]
lea ecx, [rsi + 1]
lea rcx, [r10 + rcx*8]
call fcn.1408af920
mov rcx, qword [rdi]
mov qword [rbx + rcx], r14
inc dword [rdi + 8]
mov eax, r15d
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1408ac9a0
mov rbx, qword [rsp + 0x378]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rax + 4]
jmp 0x14008fb12
mov dword [rsp + 0x30], 0x7e5
lea rdx, [0x140a77770]
lea rcx, [rsp + 0x30]
call fcn.1408b06a4
nop
mov dword [rsp + 0x30], 0x7e5
lea rdx, [0x140a77770]
lea rcx, [rsp + 0x30]
call fcn.1408b06a4
int3