Function at 0x140007180
Capabilities:
Enumerate files on windows
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
push rbp
lea rbp, [rax - 0x2b8]
sub rsp, 0x3b0
mov rax, qword [0x140018018]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov r14d, 0x104
lea rdx, [rbp + 0x190]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetTempPath2A]
nop dword [rax + rax]
test eax, eax
jne 0x1400071f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140007451
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140007451
lea r8, [rbp + 0x190]
mov rdx, r14
lea rax, [rbp + 0x80]
sub r8, rax
lea rcx, [rbp + 0x80]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x14000722d
mov al, byte [r8 + rcx]
test al, al
je 0x14000722d
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14000720e
test rdx, rdx
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], 0
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
test rdx, rdx
je 0x140007451
lea r8, str.IDC
mov rdx, r14
lea rcx, [rbp + 0x80]
call fcn.140009c18
mov ebx, eax
test eax, eax
js 0x140007451
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400071cf
lea rdx, [0x140014378]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
nop dword [rax + rax]
test eax, eax
je 0x1400073fa
lea rdx, [0x14001437c]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
nop dword [rax + rax]
test eax, eax
je 0x1400073fa
and dword [rsp + 0x28], 0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x38], r14
lea r8, [rbp + 0x190]
mov qword [rsp + 0x20], rax
mov rdx, r14
lea rcx, [rbp + 0x80]
call fcn.140009cdc
mov ebx, eax
test eax, eax
js 0x140007442
and dword [rsp + 0x28], 0
lea rax, [rsp + 0x38]
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
lea r8, [0x1400143ec]
mov qword [rsp + 0x20], rax
call fcn.140009cdc
mov ebx, eax
test eax, eax
js 0x140007442
mov rcx, qword [rsp + 0x38]
lea rax, [rcx - 1]
cmp rax, 0x7ffffffe
ja 0x1400073b7
mov rdx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000739a
mov r8d, 0x7ffffffe
lea r9, [rsp + 0x6c]
sub r8, rcx
sub r9, rdx
lea rax, [r8 + rcx]
test rax, rax
je 0x14000739a
mov al, byte [r9 + rdx]
test al, al
je 0x14000739a
mov byte [rdx], al
inc rdx
sub rcx, 1
jne 0x14000737e
test rcx, rcx
lea rax, [rdx - 1]
cmovne rax, rdx
neg rcx
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
mov byte [rax], 0
jmp 0x1400073c5
mov ebx, 0x80070057
test rcx, rcx
jne 0x14000747c
test ebx, ebx
js 0x140007442
test byte [rsp + 0x40], 0x10
je 0x1400073fa
mov edx, 0x90
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop dword [rax + rax]
lea rcx, [rbp + 0x80]
call fcn.1400090d4
mov ebx, eax
test eax, eax
js 0x140007442
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
nop dword [rax + rax]
test eax, eax
jne 0x140007299
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
je 0x140007442
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140007442
movzx ebx, ax
or ebx, 0x80070000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.140001580
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov rax, qword [rsp + 0x30]
mov byte [rax], 0
jmp 0x140007442