Function at 0x14004347c
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x40
mov r14, rdx
mov rdi, rcx
call sub.msvcrt.dll_wcslen
lea rbx, [rdi + rax*2]
jmp 0x1400434ac
cmp word [rbx], 0x2e
je 0x1400434b1
sub rbx, 2
cmp rbx, rdi
jae 0x1400434a2
lea rcx, [rbx + 2]
call sub.msvcrt.dll_wcslen
mov esi, 4
cmp rax, rsi
ja 0x14004375a
lea rdx, [rbx + 2]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_wcscpy
lea rax, [rsp + 0x30]
cmp word [rax], 0x61
movzx ecx, word [rax]
jb 0x1400434e7
sub ecx, 0x20
mov word [rax], cx
add rax, 2
dec rsi
jne 0x1400434db
lea rdx, [0x14012e170]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14004375a
lea rdx, [0x14012e178]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14004375a
lea rdx, [0x14012e180]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14004375a
lea rdx, [0x14012e188]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14004375a
mov edx, dword [0x1403d8f3c]
xor ebx, ebx
test edx, edx
jle 0x14004358b
movsxd rdx, ebx
lea rcx, [rsp + 0x30]
shl rdx, 4
add rdx, qword [0x1403d9410]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400435dc
mov edx, dword [0x1403d8f3c]
inc ebx
cmp ebx, edx
jl 0x140043563
movsxd r8, dword [0x1403d8f38]
lea eax, [rdx + 1]
mov esi, 8
movsxd rcx, eax
shl rcx, 4
cmp rcx, r8
jbe 0x140043606
mov rcx, qword [0x1403d5880]
add r8d, 0x640
mov edx, esi
mov dword [0x1403d8f38], r8d
movsxd r9, r8d
mov r8, qword [0x1403d9410]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, dword [0x1403d8f3c]
mov qword [0x1403d9410], rax
jmp 0x14004360d
mov rdx, qword [0x1403d9410]
mov rax, qword [0x1403d9408]
movsxd r8, ebx
add r8, r8
movsxd rcx, dword [rdx + r8*8 + 8]
lea rcx, [rax + rcx*2]
mov qword [r14], rcx
movsxd rax, dword [rdx + r8*8 + 0xc]
jmp 0x1400437ad
mov rax, qword [0x1403d9410]
movsxd rcx, edx
lea rdx, [rsp + 0x30]
mov r8, rsi
shl rcx, 4
add rcx, rax
call sub.msvcrt.dll_memcpy
mov ebx, 0x2b8
lea rcx, [0x1403d9150]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
lea r8, [0x1403d9150]
mov r9d, ebx
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], 0x4401
call qword [sym.imp.SHELL32.DLL_SHGetFileInfoW]
mov ecx, dword [0x1403d9158]
movsxd rdx, dword [0x1403d8f3c]
mov rax, qword [0x1403d9410]
add rdx, rdx
lea rbx, [0x1403d9368]
mov dword [rax + rdx*8 + 0xc], ecx
mov rcx, rbx
call sub.msvcrt.dll_wcslen
test rax, rax
jne 0x1400436a4
movsxd rdx, dword [0x1403d8f3c]
mov rax, qword [0x1403d9410]
mov rcx, rdx
add rcx, rcx
and dword [rax + rcx*8 + 8], 0
jmp 0x140043750
mov rcx, rbx
call sub.msvcrt.dll_wcslen
mov r9d, dword [0x1403d8f34]
movsxd r10, dword [0x1403d9148]
lea ecx, [r9 - 1]
add rax, r10
movsxd r8, ecx
cmp rax, r8
jbe 0x140043706
mov r8, qword [0x1403d9408]
mov rcx, qword [0x1403d5880]
add r9d, 0x1f4
mov dword [0x1403d8f34], r9d
movsxd r9, r9d
mov edx, esi
add r9, r9
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov r10d, dword [0x1403d9148]
mov rdx, rax
mov qword [0x1403d9408], rax
jmp 0x14004370d
mov rdx, qword [0x1403d9408]
mov rax, qword [0x1403d9410]
movsxd rcx, dword [0x1403d8f3c]
add rcx, rcx
mov dword [rax + rcx*8 + 8], r10d
movsxd rax, r10d
lea rcx, [rdx + rax*2]
mov rdx, rbx
call sub.msvcrt.dll_wcscpy
mov rcx, rbx
call sub.msvcrt.dll_wcslen
mov ecx, dword [0x1403d9148]
mov edx, dword [0x1403d8f3c]
inc ecx
add eax, ecx
mov dword [0x1403d9148], eax
inc edx
mov dword [0x1403d8f3c], edx
jmp 0x1400437a3
mov ebx, 0x2b8
lea rcx, [0x1403d9150]
xor edx, edx
mov r8d, ebx
call sub.msvcrt.dll_memset
lea r8, [0x1403d9150]
mov r9d, ebx
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], 0x4401
call qword [sym.imp.SHELL32.DLL_SHGetFileInfoW]
lea rbx, [0x1403d8f40]
lea rdx, [0x1403d9368]
mov rcx, rbx
call sub.msvcrt.dll_wcscpy
mov qword [r14], rbx
movsxd rax, dword [0x1403d9158]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret