Function at 0x14000c9f0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1c0
mov qword [rbp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r12, r9
mov qword [rbp - 0x78], r9
mov r15, r8
mov qword [rbp - 0x70], r8
mov rsi, rcx
mov ecx, 2
call fcn.1400a82f0
mov rdi, rax
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x60], rax
xor r13d, r13d
mov word [rax], r13w
lea ecx, [r13 + 2]
call fcn.1400a82f0
mov r14, rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x40], rax
mov word [rax], r13w
lea ecx, [r13 + 2]
call fcn.1400a82f0
mov rbx, rax
mov qword [rbp - 0x20], rax
mov word [rax], r13w
lea ecx, [r13 + 2]
call fcn.1400a82f0
mov qword [rbp + 0x10], rax
mov word [rax], r13w
lea ecx, [r13 + 2]
call fcn.1400a82f0
mov qword [rbp - 0x30], rax
mov word [rax], r13w
mov r13d, dword [rbp + 0x128]
cmp r13d, 0xffffffff
jne 0x14000ccac
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov r12, rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov r13, rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x48], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rsp + 0x40], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rsp + 0x48], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rsp + 0x68], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov rdi, rax
mov qword [rsp + 0x50], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov rsi, rax
mov qword [rbp - 0x68], rax
lea rcx, [0x1400d1428]
mov rax, qword [rbp - 0x78]
test rax, rax
cmovne rcx, rax
call fcn.1400a8238
mov r14, rax
mov qword [rsp + 0x78], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov r15, rax
mov qword [rsp + 0x70], rax
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x68]
mov rdx, qword [rbp + 0x108]
lea rcx, [rsp + 0x58]
call fcn.140009060
nop
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x70]
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp - 0x58]
call fcn.140009060
mov qword [rsp + 0x70], rax
mov ecx, dword [0x140126180]
test cl, 1
jne 0x14000cbe6
or ecx, 1
mov dword [0x140126180], ecx
mov ecx, 2
call fcn.1400a82f0
mov qword [0x140126178], rax
xor ecx, ecx
mov word [rax], cx
lea rcx, [0x1400cead0]
call fcn.1400a8ffc
mov rax, qword [0x140126178]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
call fcn.1400a8238
mov qword [0x140126178], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400a82b0
xor ecx, ecx
mov dword [rbp + 0x128], ecx
mov rcx, qword [rbp - 0x58]
call fcn.1400a82b0
nop
mov rcx, qword [rsp + 0x58]
call fcn.1400a82b0
nop
mov rcx, r15
call fcn.1400a82b0
nop
mov rcx, r14
call fcn.1400a82b0
nop
mov rcx, rsi
call fcn.1400a82b0
nop
mov rcx, rdi
call fcn.1400a82b0
nop
mov rcx, qword [rsp + 0x68]
call fcn.1400a82b0
nop
mov rcx, qword [rsp + 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rsp + 0x40]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400a82b0
nop
mov rcx, r13
call fcn.1400a82b0
nop
mov rcx, r12
call fcn.1400a82b0
mov r12, qword [rbp - 0x78]
mov r15, qword [rbp - 0x70]
mov r13d, dword [rbp + 0x128]
mov r14, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rbp + 0x100]
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rbp + 0x108]
call fcn.1400075c0
test eax, eax
jne 0x14000d362
lea ecx, [rax + 2]
call fcn.1400a82f0
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov word [rax], cx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, qword [rbp - 0x18]
call fcn.1400138b0
test eax, eax
jne 0x14000d34c
mov rcx, qword [rsp + 0x78]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000cd22
test rax, rax
je 0x14000d34c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
xor eax, eax
mov qword [rbp], rax
xor r9d, r9d
lea r8, [rbp - 0x10]
movzx edx, word [rbp + 0x120]
call fcn.140007cc0
mov rax, qword [rbp - 8]
mov rcx, qword [rbp - 0x10]
sub rax, rcx
sar rax, 5
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14000d2dc
lea rbx, [rcx + 8]
mov qword [rbp - 0x68], rbx
jmp 0x14000cd85
mov rdi, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rcx, qword [rax]
call fcn.1400a8238
mov qword [rbp - 0x40], rax
mov rcx, r14
call fcn.1400a82b0
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp + 0x20], rax
xor ecx, ecx
mov word [rax], cx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], rcx
mov rax, qword [rbx]
lea rdx, [rbp + 0x20]
mov rcx, qword [rax]
call fcn.140007b90
xor r9d, r9d
lea r8, [rbp + 0x20]
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.1400058f0
mov rcx, qword [rax]
call fcn.1400a8238
mov qword [rbp - 0x60], rax
mov rcx, rdi
call fcn.1400a82b0
mov rcx, qword [rbp - 0x48]
call fcn.1400a82b0
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov r14, rax
mov qword [rsp + 0x40], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov rsi, rax
mov qword [rsp + 0x48], rax
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov rdi, rax
mov qword [rsp + 0x68], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov rbx, rax
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov rdx, qword [rbp + 0x108]
lea rcx, [rsp + 0x70]
call fcn.140009060
mov r15, rax
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x58]
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp - 0x58]
call fcn.140009060
nop
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x40]
mov r8, r15
mov rdx, rax
mov rcx, qword [rbp + 0x100]
call fcn.140004500
movzx r15d, al
mov rcx, qword [rbp - 0x58]
call fcn.1400a82b0
nop
mov rcx, qword [rsp + 0x70]
call fcn.1400a82b0
nop
mov rcx, rbx
call fcn.1400a82b0
nop
mov rcx, rdi
call fcn.1400a82b0
nop
mov rcx, rsi
call fcn.1400a82b0
nop
mov rcx, r14
call fcn.1400a82b0
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x60], rax
mov r14, qword [rbp - 0x40]
mov qword [rbp - 0x80], r14
test r15b, r15b
je 0x14000d27a
cmp r13d, 0xffffffff
jne 0x14000d120
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov r15, rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov r12, rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov r13, rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x50], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x38], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x28], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov rbx, rax
mov qword [rsp + 0x40], rax
lea rcx, [0x1400d1428]
mov r14, qword [rbp - 0x70]
test r14, r14
cmovne rcx, r14
call fcn.1400a8238
mov rdi, rax
mov qword [rsp + 0x48], rax
lea rcx, [0x1400d1428]
mov rax, qword [rbp - 0x78]
test rax, rax
cmovne rcx, rax
call fcn.1400a8238
mov rsi, rax
mov qword [rsp + 0x68], rax
lea rcx, [0x1400d1428]
test r14, r14
cmovne rcx, r14
call fcn.1400a8238
mov r14, rax
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x40]
call fcn.140009060
nop
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x58]
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 8]
call fcn.140009060
mov qword [rsp + 0x40], rax
mov ecx, dword [0x140126180]
test cl, 1
jne 0x14000d073
or ecx, 1
mov dword [0x140126180], ecx
mov ecx, 2
call fcn.1400a82f0
mov qword [0x140126178], rax
xor ecx, ecx
mov word [rax], cx
lea rcx, [0x1400cead0]
call fcn.1400a8ffc
mov rax, qword [0x140126178]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call fcn.1400a8238
mov qword [0x140126178], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400a82b0
xor ecx, ecx
mov dword [rbp + 0x128], ecx
mov rcx, qword [rbp + 8]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x40]
call fcn.1400a82b0
nop
mov rcx, r14
call fcn.1400a82b0
nop
mov rcx, rsi
call fcn.1400a82b0
nop
mov rcx, rdi
call fcn.1400a82b0
nop
mov rcx, rbx
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x28]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x50]
call fcn.1400a82b0
nop
mov rcx, r13
call fcn.1400a82b0
nop
mov rcx, r12
call fcn.1400a82b0
nop
mov rcx, r15
call fcn.1400a82b0
mov r12, qword [rbp - 0x78]
mov r13d, dword [rbp + 0x128]
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov rdi, rax
mov qword [rbp - 0x28], rax
lea rcx, [0x1400d1428]
test r12, r12
cmovne rcx, r12
call fcn.1400a8238
mov rsi, rax
mov qword [rbp - 0x50], rax
lea rcx, [0x1400d1428]
mov rax, qword [rbp - 0x70]
test rax, rax
cmovne rcx, rax
call fcn.1400a8238
mov r14, rax
mov qword [rbp - 0x38], rax
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x38]
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x18]
call fcn.140009060
mov rbx, rax
mov ecx, dword [0x140126180]
test cl, 1
jne 0x14000d1c3
or ecx, 1
mov dword [0x140126180], ecx
mov ecx, 2
call fcn.1400a82f0
mov qword [0x140126178], rax
xor ecx, ecx
mov word [rax], cx
lea rcx, [0x1400cead0]
call fcn.1400a8ffc
cmp r13d, 0xffffffff
je 0x14000d232
mov ecx, 2
call fcn.1400a82f0
mov r15, rax
xor eax, eax
mov word [r15], ax
mov rcx, qword [rbx]
call fcn.1400a8238
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rcx, r15
call fcn.1400a82b0
cmp dword [0x14012591c], 1
jne 0x14000d206
lea rcx, str.System
jmp 0x14000d222
mov rcx, qword [0x140125920]
test rcx, rcx
je 0x14000d21b
add rcx, 0x210
jmp 0x14000d222
lea rcx, str.Local_System
invalid
invalid