Function at 0x18003e070
Capabilities:
Set file attributes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x258]
sub rsp, 0x350
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp + 0x240], rax
xor edi, edi
mov ebx, edi
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rcx
lea rcx, [rsp + 0x68]
call fcn.180005330
nop
lea edx, [rdi + 0x10]
lea rcx, [rsp + 0x68]
call fcn.1800265f0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rdi
mov word [rbp - 0x48], di
lea ecx, [rdi + 8]
call fcn.180139f6c
mov rsi, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x18003e132
mov qword [rax], 0xffffffffffffffff
jmp 0x18003e135
mov rsi, rdi
mov qword [rbp - 0x20], rsi
lea r8, [0x1801ab410]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.18000e720
nop
lea r8, [rbp - 0x70]
mov rdx, rax
mov rcx, rsi
call fcn.180068eb0
movzx edi, al
cmp qword [rsp + 0x60], 8
jb 0x18003e174
mov rcx, qword [rsp + 0x48]
call fcn.180139b7c
mov qword [rsp + 0x60], 7
xor r10d, r10d
mov qword [rsp + 0x58], r10
mov word [rsp + 0x48], r10w
test dil, dil
je 0x18003e359
movzx ecx, byte [rbp - 0x50]
shr cl, 4
and cl, 1
je 0x18003e1e2
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x18003e1e2
lea rax, [rbp - 0x48]
mov r8, qword [rbp - 0x48]
mov r9, qword [rbp - 0x30]
cmp r9, 8
cmovae rax, r8
cmp word [rax], 0x2e
jne 0x18003e1e2
cmp rdx, 1
je 0x18003e243
lea rax, [rbp - 0x48]
cmp r9, 8
cmovae rax, r8
cmp word [rax + 2], 0x2e
jne 0x18003e1e2
cmp rdx, 2
je 0x18003e243
lea r8, [rbp - 0x48]
lea rdx, [rsp + 0x68]
test cl, cl
lea rcx, [rsp + 0x48]
je 0x18003e207
call fcn.180027800
nop
mov rcx, rax
call fcn.18003e070
mov rbx, rax
jmp 0x18003e21a
call fcn.180027800
nop
lea rcx, [rsp + 0x48]
call fcn.180067810
movzx ebx, al
cmp qword [rsp + 0x60], 8
jb 0x18003e22c
mov rcx, qword [rsp + 0x48]
call fcn.180139b7c
xor r10d, r10d
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r10
mov word [rsp + 0x48], r10w
mov rdi, qword [rsi]
cmp rdi, 0xffffffffffffffff
je 0x18003e359
mov dword [rbp - 0x10], r10d
xor edx, edx
mov r8d, 0x24c
lea rcx, [rbp - 0xc]
call fcn.180140c00
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne al
test al, al
je 0x18003e359
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x10]
call fcn.1800690e0
movzx ecx, byte [rbp - 0x50]
shr cl, 4
and cl, 1
je 0x18003e2e8
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x18003e2e8
lea rax, [rbp - 0x48]
mov r8, qword [rbp - 0x48]
mov r9, qword [rbp - 0x30]
cmp r9, 8
cmovae rax, r8
cmp word [rax], 0x2e
jne 0x18003e2e8
cmp rdx, 1
mov r10d, 0
je 0x18003e243
lea rax, [rbp - 0x48]
cmp r9, 8
cmovae rax, r8
cmp word [rax + 2], 0x2e
jne 0x18003e2e8
cmp rdx, 2
je 0x18003e243
lea r8, [rbp - 0x48]
lea rdx, [rsp + 0x68]
test cl, cl
je 0x18003e339
lea rcx, [rsp + 0x20]
call fcn.180027800
nop
mov rcx, rax
call fcn.18003e070
add rbx, rax
cmp qword [rsp + 0x38], 8
jb 0x18003e31d
mov rcx, qword [rsp + 0x20]
call fcn.180139b7c
mov qword [rsp + 0x38], 7
xor r10d, r10d
mov qword [rsp + 0x30], r10
mov word [rsp + 0x20], r10w
jmp 0x18003e243
lea rcx, [rsp + 0x48]
call fcn.180027800
nop
lea rcx, [rsp + 0x48]
call fcn.180067810
movzx eax, al
add rbx, rax
jmp 0x18003e21a
mov rcx, qword [rsi]
cmp rcx, 0xffffffffffffffff
je 0x18003e373
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x18003e373
mov qword [rsi], 0xffffffffffffffff
lea rcx, [rsp + 0x68]
call fcn.180067650
test al, al
je 0x18003e389
inc rbx
jmp 0x18003e44d
lea rcx, [rsp + 0x68]
call fcn.180066f10
mov edi, eax
cmp eax, 0xffffffff
je 0x18003e44d
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x18003e42d
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rax
mov word [rsp + 0x48], ax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.180068900
test al, al
je 0x18003e406
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
cmp qword [rsp + 0x60], 8
jb 0x18003e418
mov rcx, qword [rsp + 0x48]
call fcn.180139b7c
xor eax, eax
mov word [rsp + 0x48], ax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 7
lea rcx, [rsp + 0x68]
call fcn.180067650
test al, al
je 0x18003e440
inc rbx
jmp 0x18003e44d
mov edx, edi
lea rcx, [rsp + 0x68]
call fcn.180066e20
nop
mov rcx, qword [rsi]
cmp rcx, 0xffffffffffffffff
je 0x18003e467
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x18003e467
mov qword [rsi], 0xffffffffffffffff
mov rcx, rsi
call fcn.180139b7c
xor edi, edi
mov qword [rbp - 0x20], rdi
cmp qword [rbp - 0x30], 8
jb 0x18003e485
mov rcx, qword [rbp - 0x48]
call fcn.180139b7c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rdi
mov word [rbp - 0x48], di
cmp qword [rbp - 0x80], 8
jb 0x18003e4a6
mov rcx, qword [rsp + 0x68]
call fcn.180139b7c
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
mov rax, rbx
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.180139310
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret