Function at 0x14004cab0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd0
mov rax, qword [0x1400cd038]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r9, rdx
mov qword [rbp - 0x69], rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor r14d, r14d
mov qword [rbp - 0x71], r14
mov eax, 0xf
mov word [rbp - 0x49], ax
mov qword [rbp - 0x41], r14
mov dword [rbp - 0x39], 1
mov dword [rbp - 0x35], 0xffffffff
mov dword [rbp - 0x31], 1
mov rax, qword [rdx]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
mov rcx, r9
call qword [rax + 0x18]
test eax, eax
jne 0x14004cd9c
mov rbx, qword [rbp - 0x21]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov dword [rsp + 0x20], eax
mov r12d, r14d
test eax, eax
je 0x14004cd6a
nop dword [rax + rax]
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
lea r13d, [rax + 1]
mov esi, r13d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
mov r15, r14
mov qword [rbp - 0x51], r14
mov rbx, r14
test r13d, r13d
je 0x14004cbf7
add rsi, rsi
cmp rsi, 0x1000
jb 0x14004cbc5
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x14004cddc
call fcn.14004f120
test rax, rax
je 0x14004cdd6
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14004cbd5
test rsi, rsi
je 0x14004cbd5
mov rcx, rsi
call fcn.14004f120
mov rbx, rax
mov rdi, rbx
mov qword [rbp - 0x61], rbx
lea r15, [rsi + rbx]
mov qword [rbp - 0x51], r15
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.140051600
mov qword [rbp - 0x59], r15
jmp 0x14004cbfb
mov rdi, qword [rbp - 0x61]
mov r9d, r13d
mov r8, rdi
mov edx, r12d
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x14004cd1a
mov qword [rbp - 0x11], r14
mov qword [rbp - 1], r14
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r14w
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14004cc40
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.14001b410
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
mov rax, qword [rbp - 1]
lea rax, [rcx + rax*2]
lea rcx, [rbp - 0x11]
cmovae rcx, qword [rbp - 0x11]
cmp rcx, rax
je 0x14004cc97
mov r14d, 0x5c
cmp word [rcx], 0x2f
jne 0x14004cc8b
mov word [rcx], r14w
add rcx, 2
cmp rcx, rax
jne 0x14004cc81
xor r14d, r14d
mov rax, qword [rbp - 0x79]
cmp rax, qword [rbp - 0x71]
je 0x14004ccc7
mov qword [rax], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdx, [rbp - 0x11]
mov rcx, rax
call fcn.14001ac00
add qword [rbp - 0x79], 0x20
jmp 0x14004ccd9
lea r8, [rbp - 0x11]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140020270
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14004cd1a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cd14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004cde2
call fcn.14004f3ac
nop
test rdi, rdi
je 0x14004cd56
sub r15, rdi
sar r15, 1
lea rdx, [r15 + r15]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004cd4e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004cdd6
mov rcx, rdi
call fcn.14004f3ac
inc r12d
cmp r12d, dword [rsp + 0x20]
jae 0x14004cd6a
mov rbx, qword [rsp + 0x28]
jmp 0x14004cb60
lea rcx, [rbp - 0x29]
call qword [sym.imp.ole32.dll_ReleaseStgMedium]
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax + 0x10]
mov dword [rsp + 0x20], 0x36
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
call fcn.140029ef0
jmp 0x14004cda2
mov r14d, 0x80004005
lea rcx, [rsp + 0x30]
call fcn.14001b150
mov eax, r14d
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14004f100
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140055d18
nop
call fcn.140007c10
nop
call fcn.140055d18
int3