Function at 0x1401df4f0
Capabilities:
Get file attributes

Disassembly:
sub rsp, 0x48
mov eax, dword [0x140462100]
cmp dword [0x1404621bc], eax
jne 0x1401df8e4
cmp qword [0x1404620f8], 0
je 0x1401df8e4
cmp qword [0x140462018], 0
je 0x1401df8e4
cmp dword [0x140461fcc], 0
je 0x1401df8e4
movsxd rax, dword [0x14046a4c0]
cmp dword [0x140462124], eax
jne 0x1401df8e4
mov rcx, rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov r13d, 1
mov edx, r13d
shl rcx, 2
call fcn.140032b90
mov r12, rax
test rax, rax
je 0x1401df8da
mov qword [rsp + 0x28], r14
xor r14d, r14d
cmp dword [0x14046a4c0], r14d
mov edx, r14d
jle 0x1401df5b2
mov r8d, r14d
mov r9, rax
nop word [rax + rax]
mov rcx, qword [0x14046a4d0]
lea r8, [r8 + 0x10]
inc edx
lea r9, [r9 + 4]
mov eax, dword [r8 + rcx - 8]
mov dword [r9 - 4], eax
cmp edx, dword [0x14046a4c0]
jl 0x1401df590
lea rcx, [0x14046a4c0]
call fcn.1400367c0
mov eax, dword [0x14046a4c4]
sub eax, dword [0x14046a4c0]
mov ecx, dword [0x140461fcc]
cmp eax, ecx
jge 0x1401df5f0
mov edx, ecx
lea rcx, [0x14046a4c0]
call fcn.1400326e0
test eax, eax
je 0x1401df8d5
mov ecx, dword [0x140461fcc]
mov qword [rsp + 0x58], rbx
test ecx, ecx
jle 0x1401df7dd
mov qword [rsp + 0x20], r15
mov r15, r14
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x40], rdi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [0x140462018]
xor edx, edx
mov rcx, qword [0x1404620f8]
movsxd r8, dword [r15 + rax]
mov rcx, qword [rcx + r8*8]
call fcn.140321f80
mov rbx, rax
test rax, rax
je 0x1401df7b5
cmp dword [0x140462104], 0
mov esi, dword [0x140462024]
je 0x1401df75d
xor edx, edx
mov rcx, rax
call fcn.140321bb0
mov rbp, rax
test rax, rax
je 0x1401df75d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [0x14045b3f8], 0
mov edi, eax
jne 0x1401df68e
mov rcx, rbp
call fcn.140005660
cmp edi, 0xffffffff
je 0x1401df75d
shr edi, 4
test r13d, edi
je 0x1401df75d
cmp dword [0x14046a4c0], 0
jle 0x1401df75d
mov rdi, qword [0x14046a4d0]
mov ecx, dword [rdi + 8]
call fcn.14004c820
test rax, rax
je 0x1401df6d0
mov rcx, qword [rax + 0x90]
test rcx, rcx
jne 0x1401df6d3
mov rcx, qword [rdi]
xor edx, edx
call fcn.140321bb0
mov rbp, rax
test rax, rax
je 0x1401df70b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [0x14045b3f8], 0
mov edi, eax
jne 0x1401df6fe
mov rcx, rbp
call fcn.140005660
cmp edi, 0xffffffff
je 0x1401df70b
shr edi, 4
test r13d, edi
jne 0x1401df75d
mov rdi, qword [0x14046a4d0]
mov ecx, dword [rdi + 8]
call fcn.14004c820
test rax, rax
je 0x1401df72b
mov rcx, qword [rax + 0x90]
test rcx, rcx
jne 0x1401df72e
mov rcx, qword [rdi]
call fcn.140111730
mov rdx, rax
mov r8d, r13d
mov rcx, rbx
call fcn.14010a1c0
mov rdi, rax
test rax, rax
je 0x1401df75d
cmp dword [0x14045b3f8], 0
jne 0x1401df75a
mov rcx, rbx
call fcn.140005660
mov rbx, rdi
cmp dword [0x140462024], 0
je 0x1401df772
mov ecx, dword [r15 + r12]
mov rdx, rbx
call fcn.14004c6d0
test esi, esi
jne 0x1401df79d
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1401df780
cmp rax, 2
jbe 0x1401df79d
cmp byte [rbx], 0x60
jne 0x1401df79d
cmp byte [rax + rbx - 1], 0x60
cmove esi, r13d
neg esi
lea rcx, [0x14046a4c0]
mov rdx, rbx
sbb r8d, r8d
and r8d, 2
call fcn.140036280
inc r14d
add r15, 4
cmp r14d, dword [0x140461fcc]
jl 0x1401df620
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
cmp dword [0x140462024], 0
jne 0x1401df850
mov r9d, recv
lea rcx, str.:legacy_let_g:SaVe_ISF__isfset_isf___
xor r8d, r8d
xor edx, edx
call fcn.1400f0250
mov r9d, recv
lea rcx, str.:legacy_let_g:SaVe_WIG__wigset_wig
xor r8d, r8d
xor edx, edx
call fcn.1400f0250
mov edx, dword [0x140462124]
mov rcx, r12
call fcn.140036510
mov r9d, recv
lea rcx, str.:legacy_let_isf__g:SaVe_ISFunlet_g:SaVe_ISF
xor r8d, r8d
xor edx, edx
call fcn.1400f0250
mov r9d, recv
lea rcx, str.:legacy_let_wig__g:SaVe_WIGunlet_g:SaVe_WIG
xor r8d, r8d
xor edx, edx
call fcn.1400f0250
mov rax, qword [0x14046a618]
cmp dword [rax + 0x380], 0
jne 0x1401df8c4
mov rax, qword [0x14045b410]
cmp qword [rax + 0x90], 0
jne 0x1401df8c4
mov r9d, recv
lea rcx, str.:rewind
xor r8d, r8d
xor edx, edx
call fcn.1400f0250
cmp dword [0x14046a4c0], r13d
jne 0x1401df8c4
cmp dword [0x140462258], 0
je 0x1401df8c4
mov rcx, qword [0x14046a4d0]
call fcn.1400344e0
lea rbx, str.drop
mov rcx, rax
mov rdx, rbx
call fcn.14018f7f0
cmp eax, r13d
jne 0x1401df8c4
mov qword [0x14045b520], rbx
mov eax, dword [0x14046a4c0]
mov rbx, qword [rsp + 0x58]
mov dword [0x140462124], eax
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x38]
mov r13, qword [rsp + 0x30]
add rsp, 0x48
ret