Function at 0x14000a290
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xac0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140022218]
xor rax, rsp
mov qword [rsp + 0xab0], rax
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rbp, [0x140024670]
mov ecx, dword [0x140023468]
cmp ecx, 0xffffffff
je 0x14000a2f7
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
je 0x14000a2f7
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14000a302
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, rbp
mov r9d, 0x41
mov r8, rsi
lea rdx, [0x14001d5a8]
mov rcx, rdi
call fcn.140007350
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140023468]
cmp ecx, 0xffffffff
je 0x14000a345
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
je 0x14000a345
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14000a350
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, rbp
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], 0xff
mov ecx, dword [0x14002346c]
cmp ecx, 0xffffffff
je 0x14000a3c2
cmp dword [0x140023470], 0xffffffff
je 0x14000a3c2
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x140023470]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x38], rax
lea rdx, str.DeleteFolder
mov ecx, dword [0x14002346c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rdx, [rsp + 0x30]
mov ecx, dword [0x140023470]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x14000a3d0
mov rcx, rdi
call fcn.140005d90
nop
mov r9, rsi
lea r8, str._s
mov edx, 0x400
lea rcx, [rsp + 0x2b0]
call fcn.140009410
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000a483
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140023468]
cmp ecx, 0xffffffff
je 0x14000a433
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
je 0x14000a433
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14000a43e
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, rbp
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov dword [rsp + 0x28], 0x4c
lea rax, [0x14001d4b8]
mov qword [rsp + 0x20], rax
lea r9, str.Cannot_find_any_file.
lea rdx, [0x14001d5a8]
mov rcx, rdi
call fcn.140007770
nop
lea rcx, [rsp + 0x30]
call fcn.1400044b0
xor eax, eax
jmp 0x14000a559
cmp word [rsp + 0x8c], 0x2e
je 0x14000a4c5
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, str._s_s
mov edx, 0x400
lea rcx, [rsp + 0x6b0]
call fcn.140009410
lea rcx, [rsp + 0x6b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000a483
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140023468]
cmp ecx, 0xffffffff
je 0x14000a514
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
je 0x14000a514
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14000a51f
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, rbp
mov dword [rsp + 0x28], 0x62
lea rax, [0x14001d4b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [0x14001d5a8]
mov rcx, rdi
call fcn.140007770
nop
lea rcx, [rsp + 0x30]
call fcn.1400044b0
mov eax, 1
mov rcx, qword [rsp + 0xab0]
xor rcx, rsp
call fcn.14000c410
lea r11, [rsp + 0xac0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret