Function at 0x1400092c8
Capabilities:
Get thread local storage value
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2f0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14001f288]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rbx, qword [rsp + 0x358]
xor edi, edi
mov r13d, edi
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
movups xmm0, xmmword [0x140016e00]
mov ecx, dword [0x140016e10]
xor edx, edx
mov dword [rsp + 0xd0], ecx
mov r8d, 0x1f4
lea rcx, [rsp + 0xd4]
movaps xmmword [rsp + 0xc0], xmm0
mov dword [rsp + 0xb0], eax
call sub.msvcrt.dll_memset
cmp qword [0x140020020], rdi
mov ebp, edi
mov r15d, edi
je 0x1400095df
test rsi, rsi
je 0x1400095df
or dword [rsi + 4], 0x90000
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r12d, [rdi + 1]
mov r14, rax
test rax, rax
je 0x1400093b2
lea r9, [0x140016aac]
mov edx, r12d
lea r8, [0x140016ab0]
mov rcx, rax
call fcn.140006e10
test eax, eax
jns 0x1400093af
mov word [r14], di
mov r13, r14
test rbx, rbx
je 0x14000940b
mov rcx, rbx
call fcn.140008204
test rax, rax
je 0x140009403
mov rcx, rax
lea rdx, [rsp + 0xc0]
mov rax, qword [0x140020060]
mov r8d, 0x104
call qword [0x140015d30]
mov edx, 0x5c
lea rcx, [rsp + 0xc0]
call qword [sym.imp.msvcrt.dll_wcsrchr]
mov rbp, rax
test rax, rax
je 0x140009403
add rbp, 2
jmp 0x14000940b
lea rbp, [rsp + 0xc0]
mov r8d, 0x65000000
cmp dword [rsi], r8d
je 0x14000941a
cmp dword [rsi], edi
jne 0x140009440
mov ecx, dword [0x140020018]
bt ecx, 0x13
jae 0x140009438
cmp dword [rsi], r8d
mov eax, 0x2000000
mov edx, 0x6b000000
cmove eax, edx
mov dword [rsi], eax
bt ecx, 0x12
cmovb r15d, r12d
mov ecx, dword [0x14001f2a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140009492
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140009492
mov rax, qword [rax]
mov rax, qword [rax + rcx*8 - 8]
test rax, rax
je 0x140009492
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140009492
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + rcx*8 - 8]
test rdx, rdx
je 0x140009492
cmp qword [rdx], 0
lea rdi, [0x140016ab8]
mov r12, rdi
cmovne r12, qword [rdx]
jmp 0x14000949c
lea rdi, [0x140016ab8]
mov r12, rdi
mov ecx, dword [0x14001f2a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400094cb
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400094cb
mov rax, qword [rax]
mov rdx, qword [rax + rcx*8 - 8]
test rdx, rdx
je 0x1400094cb
cmp qword [rdx], 0
cmovne rdi, qword [rdx]
mov rax, qword [0x140020020]
mov rbx, qword [rax]
call fcn.140009254
movaps xmm6, xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [rsp + 0x370]
lea r8, [0x140016f24]
mov r9d, dword [rsi]
mov edx, 0x11
movsd qword [rsp + 0x98], xmm6
mov dword [rsp + 0x90], ecx
and qword [rsp + 0x88], 0
mov ecx, dword [rsp + 0x360]
mov dword [rsp + 0x80], ecx
lea rcx, str._unknown_
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x70], rcx
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x60], eax
mov eax, dword [0x14002002c]
mov dword [rsp + 0x58], eax
lea rax, str.WdsLogStructuredException
mov qword [rsp + 0x50], rcx
mov ecx, dword [rsi + 4]
mov dword [rsp + 0x48], ecx
mov rcx, qword [0x140020020]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdi
call qword [0x140015d30]
mov ebx, eax
test r14, r14
je 0x1400095a1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp ebx, 4
jne 0x1400095b4
call fcn.1400091b0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
test r15d, r15d
je 0x1400095ce
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xc0000025
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
jmp 0x1400095e1
xor eax, eax
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400127c0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret