Function at 0x140007140
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 [0x140017018]
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 0x1400071b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140007411
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140007411
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 0x1400071ed
mov al, byte [r8 + rcx]
test al, al
je 0x1400071ed
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x1400071ce
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 0x140007411
lea r8, str.IDC
mov rdx, r14
lea rcx, [rbp + 0x80]
call fcn.140009a78
mov ebx, eax
test eax, eax
js 0x140007411
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 0x14000718f
lea rdx, [0x14001433c]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
nop dword [rax + rax]
test eax, eax
je 0x1400073ba
lea rdx, [0x140014340]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
nop dword [rax + rax]
test eax, eax
je 0x1400073ba
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.140009b2c
mov ebx, eax
test eax, eax
js 0x140007402
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, [0x1400143b4]
mov qword [rsp + 0x20], rax
call fcn.140009b2c
mov ebx, eax
test eax, eax
js 0x140007402
mov rcx, qword [rsp + 0x38]
lea rax, [rcx - 1]
cmp rax, 0x7ffffffe
ja 0x140007377
mov rdx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000735a
mov r8d, 0x7ffffffe
lea r9, [rsp + 0x6c]
sub r8, rcx
sub r9, rdx
lea rax, [r8 + rcx]
test rax, rax
je 0x14000735a
mov al, byte [r9 + rdx]
test al, al
je 0x14000735a
mov byte [rdx], al
inc rdx
sub rcx, 1
jne 0x14000733e
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 0x140007385
mov ebx, 0x80070057
test rcx, rcx
jne 0x14000743c
test ebx, ebx
js 0x140007402
test byte [rsp + 0x40], 0x10
je 0x1400073ba
mov edx, 0x90
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop dword [rax + rax]
lea rcx, [rbp + 0x80]
call fcn.140008f34
mov ebx, eax
test eax, eax
js 0x140007402
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
nop dword [rax + rax]
test eax, eax
jne 0x140007259
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
je 0x140007402
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140007402
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.140001560
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 0x140007402