Function at 0x140027470
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x1400cd070]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r12, r9
mov r13, r8
mov rdi, rdx
mov qword [rsp + 0x28], rdx
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x20], rax
mov r14, qword [rsp + 0x1d8]
mov rsi, qword [rsp + 0x1e0]
mov rcx, rsi
call fcn.140023bc0
test al, al
jne 0x140027735
mov rbp, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x1400274ea
mov r15, qword [rsi]
add rbp, r15
mov rbx, r15
jmp 0x1400274f3
add rbp, rsi
mov rbx, rsi
mov r15, rsi
cmp rbx, rbp
je 0x140027515
sub r15, rbx
nop dword [rax + rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [r15 + rbx], al
inc rbx
cmp rbx, rbp
jne 0x140027500
mov rbp, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x14002752b
mov r15, qword [r14]
add rbp, r15
mov rbx, r15
jmp 0x140027534
add rbp, r14
mov rbx, r14
mov r15, r14
cmp rbx, rbp
je 0x140027555
sub r15, rbx
nop dword [rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [r15 + rbx], al
inc rbx
cmp rbx, rbp
jne 0x140027540
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140025d80
nop
cmp qword [rsp + 0x40], 0
jbe 0x1400276f4
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14002757f
mov rcx, qword [rdi]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [str.__s_]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x1400bf3dc]
mov byte [rsp + 0x54], al
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r9, qword [rsp + 0x30]
lea r8, [rsp + 0x50]
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.14000bb20
lea rbx, [0x1400ce260]
mov r9, rbx
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r9, qword [0x1400ce260]
lea r8, [rsp + 0x60]
lea rdx, str._homePagelock_
lea rcx, str._s_
call fcn.1400238c0
mov rax, qword [r12]
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [rax + 0xa0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rbx, qword [0x1400ce260]
mov rax, qword [r12]
mov rdx, rbx
mov rcx, r12
call qword [rax + 0x58]
mov rax, qword [r13]
mov r8d, 1
mov rdx, qword [rsp + 0x20]
mov rcx, r13
call qword [rax + 0x30]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14002768d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027688
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027688
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073454
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], bl
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400276d7
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400276d2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400276ed
mov rcx, r8
call fcn.140073454
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov al, 1
jmp 0x14002777d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140027735
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002772f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002772f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073454
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14002776b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140027766
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400277a8
mov rcx, r8
call fcn.140073454
xor ebx, ebx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], bl
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140072f40
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3