Function at 0x140009f90
Capabilities:
Create process on windows
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x510
mov qword [rsp + 0x88], 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 + 0x500], 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 0x140009ffa
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
je 0x140009ffa
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14000a005
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, rbp
mov r9d, 0x24
xor r8d, r8d
lea rdx, [0x14001d4d8]
mov rcx, rdi
call fcn.140007350
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140023468]
cmp ecx, 0xffffffff
je 0x14000a048
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
je 0x14000a048
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14000a053
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, rbp
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], 0xff
mov ecx, dword [0x14002346c]
cmp ecx, 0xffffffff
je 0x14000a0c5
cmp dword [0x140023470], 0xffffffff
je 0x14000a0c5
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x50], rax
mov ecx, dword [0x140023470]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x58], rax
lea rdx, str.ExecuteQuarantineInstall
mov ecx, dword [0x14002346c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rdx, [rsp + 0x50]
mov ecx, dword [0x140023470]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14000a0d3
mov rcx, rdi
call fcn.140005d90
nop
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
xor edx, edx
lea r8d, [rax + 0x68]
lea rcx, [rsp + 0x90]
call fcn.140010250
mov dword [rsp + 0x90], 0x68
mov dword [rsp + 0xcc], 1
mov eax, 5
mov word [rsp + 0xd0], ax
lea rax, str._remove
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, str.__sqrts_vseqrts.exe___s
mov edx, 0x400
lea rcx, [rsp + 0x100]
call fcn.140009410
lea r11, [rsp + 0x70]
mov qword [rsp + 0x48], r11
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x100]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000a1f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140023468]
cmp ecx, 0xffffffff
je 0x14000a1bb
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
je 0x14000a1bb
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14000a1c6
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, rbp
mov dword [rsp + 0x28], 0x35
lea rax, [0x14001d4b8]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, str.CreateProcess_failed
lea rdx, [0x14001d4d8]
mov rcx, rdi
call fcn.140007d00
jmp 0x14000a203
or edx, 0xffffffff
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140023468]
cmp ecx, 0xffffffff
je 0x14000a22e
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
je 0x14000a22e
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14000a239
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, rbp
mov r8d, 0x3c
lea rdx, [0x14001d4d8]
mov rcx, rdi
call fcn.1400078e0
nop
lea rcx, [rsp + 0x50]
call fcn.1400044b0
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.14000c410
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret