Function at 0x140027b70
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 [0x1400cf070]
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.1400242c0
test al, al
jne 0x140027e35
mov rbp, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x140027bea
mov r15, qword [rsi]
add rbp, r15
mov rbx, r15
jmp 0x140027bf3
add rbp, rsi
mov rbx, rsi
mov r15, rsi
cmp rbx, rbp
je 0x140027c15
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 0x140027c00
mov rbp, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x140027c2b
mov r15, qword [r14]
add rbp, r15
mov rbx, r15
jmp 0x140027c34
add rbp, r14
mov rbx, r14
mov r15, r14
cmp rbx, rbp
je 0x140027c55
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 0x140027c40
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140026480
nop
cmp qword [rsp + 0x40], 0
jbe 0x140027df4
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140027c7f
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 [0x1400c1cd4]
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.14000c150
lea rbx, [0x1400d0280]
mov r9, rbx
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r9, qword [0x1400d0280]
lea r8, [rsp + 0x60]
lea rdx, str._homePagelock_
lea rcx, str._s_
call fcn.140023fc0
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 [0x1400d0280]
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 0x140027d8d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027d88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027d88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073b54
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 0x140027dd7
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140027dd2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140027ded
mov rcx, r8
call fcn.140073b54
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov al, 1
jmp 0x140027e7d
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 0x140027e35
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027e2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027e2f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073b54
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140027e6b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140027e66
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140027ea8
mov rcx, r8
call fcn.140073b54
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.140073640
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