Function at 0x140057b98
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14016ca60]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, rdx
mov rdi, rcx
call fcn.1400255dc
lea rbx, [rdi + rax*2]
jmp 0x140057bcf
cmp word [rbx], 0x2e
je 0x140057bd4
sub rbx, 2
cmp rbx, rdi
jae 0x140057bc5
lea rcx, [rbx + 2]
call fcn.1400255dc
cmp rax, 4
ja 0x140057e7c
lea rdx, [rbx + 2]
lea rcx, [rsp + 0x30]
call fcn.1400c9b38
lea rdx, [rsp + 0x30]
movzx ecx, word [rdx]
cmp ecx, 0x61
lea eax, [rcx - 0x20]
cmovb ax, cx
mov word [rdx], ax
add rdx, 2
lea rax, [rsp + 0x36]
cmp rdx, rax
jbe 0x140057bfa
lea rdx, [0x1401131a8]
lea rcx, [rsp + 0x30]
call fcn.14002c984
test eax, eax
je 0x140057e7c
lea rdx, [0x1401131b0]
lea rcx, [rsp + 0x30]
call fcn.14002c984
test eax, eax
je 0x140057e7c
lea rdx, [0x1401131b8]
lea rcx, [rsp + 0x30]
call fcn.14002c984
test eax, eax
je 0x140057e7c
lea rdx, [0x1401131c0]
lea rcx, [rsp + 0x30]
call fcn.14002c984
test eax, eax
je 0x140057e7c
mov edx, dword [0x14017438c]
xor esi, esi
test edx, edx
jle 0x140057cb3
mov rdx, qword [0x140174860]
lea rcx, [rsp + 0x30]
movsxd rbx, esi
shl rbx, 4
add rdx, rbx
call fcn.14002c984
test eax, eax
je 0x140057d04
mov edx, dword [0x14017438c]
inc esi
cmp esi, edx
jl 0x140057c88
movsxd r8, dword [0x140174388]
lea eax, [rdx + 1]
movsxd rcx, eax
mov esi, 8
shl rcx, 4
cmp rcx, r8
jbe 0x140057d28
mov rcx, qword [0x14017044c]
add r8d, 0x640
mov dword [0x140174388], r8d
mov edx, esi
movsxd r9, r8d
mov r8, qword [0x140174860]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, dword [0x14017438c]
mov qword [0x140174860], rax
jmp 0x140057d2f
mov rdx, qword [0x140174860]
mov rax, qword [0x140174858]
movsxd rcx, dword [rbx + rdx + 8]
lea rcx, [rax + rcx*2]
mov qword [r14], rcx
movsxd rax, dword [rbx + rdx + 0xc]
jmp 0x140057ecf
mov rax, qword [0x140174860]
movsxd rcx, edx
mov r8, rsi
shl rcx, 4
lea rdx, [rsp + 0x30]
add rcx, rax
call fcn.1400358d0
mov ebx, 0x2b8
lea rcx, [0x1401745a0]
mov r8d, ebx
xor edx, edx
call fcn.140033ea0
mov r9d, ebx
mov dword [rsp + 0x20], 0x4401
lea r8, [0x1401745a0]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [0x1401745a8]
lea rbx, [0x1401747b8]
movsxd rdx, dword [0x14017438c]
mov rax, qword [0x140174860]
add rdx, rdx
mov dword [rax + rdx*8 + 0xc], ecx
mov rcx, rbx
call fcn.1400255dc
test rax, rax
jne 0x140057dc6
movsxd rdx, dword [0x14017438c]
mov rax, qword [0x140174860]
mov rcx, rdx
add rcx, rcx
and dword [rax + rcx*8 + 8], 0
jmp 0x140057e72
mov rcx, rbx
call fcn.1400255dc
mov r9d, dword [0x140174384]
movsxd r10, dword [0x140174598]
add rax, r10
lea ecx, [r9 - 1]
movsxd r8, ecx
cmp rax, r8
jbe 0x140057e28
mov r8, qword [0x140174858]
add r9d, 0x1f4
mov rcx, qword [0x14017044c]
mov edx, esi
mov dword [0x140174384], r9d
movsxd r9, r9d
add r9, r9
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov r10d, dword [0x140174598]
mov rdx, rax
mov qword [0x140174858], rax
jmp 0x140057e2f
mov rdx, qword [0x140174858]
mov rax, qword [0x140174860]
movsxd rcx, dword [0x14017438c]
add rcx, rcx
mov dword [rax + rcx*8 + 8], r10d
movsxd rax, r10d
lea rcx, [rdx + rax*2]
mov rdx, rbx
call fcn.1400c9b38
mov rcx, rbx
call fcn.1400255dc
mov ecx, dword [0x140174598]
mov edx, dword [0x14017438c]
inc ecx
add eax, ecx
mov dword [0x140174598], eax
inc edx
mov dword [0x14017438c], edx
jmp 0x140057ec5
mov ebx, 0x2b8
lea rcx, [0x1401745a0]
mov r8d, ebx
xor edx, edx
call fcn.140033ea0
mov r9d, ebx
mov dword [rsp + 0x20], 0x4401
lea r8, [0x1401745a0]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea rbx, [0x140174390]
mov rcx, rbx
lea rdx, [0x1401747b8]
call fcn.1400c9b38
mov qword [r14], rbx
movsxd rax, dword [0x1401745a8]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a9c10
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret