Function at 0x14004fe00
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1401121f0]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov edi, r9d
mov r11, r8
mov r15, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rcx + 0x30], r9d
cmp r9d, 1
je 0x14004fe91
mov r9, qword [rcx + 8]
mov rdx, qword [r9 + 0x58]
movsxd rcx, dword [rdx]
cmp rcx, r8
cmovb r8d, ecx
sub ecx, r8d
mov dword [rdx], ecx
mov rcx, qword [r9 + 0x40]
movsxd rax, r8d
add qword [rcx], rax
mov rax, qword [r9 + 0x40]
mov rdx, qword [rax]
mov rax, qword [r9 + 0x38]
mov rcx, qword [rax]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [r9 + 0x50]
mov dword [rax], edx
cmp dword [r15], r12d
jne 0x140050086
test r11, r11
je 0x140050086
mov rcx, qword [rsi + 8]
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
mov rax, qword [rcx + 0x38]
mov rcx, qword [rax]
sub rdx, rcx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x20], r12
lea rax, [rbp - 0x60]
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x30], rcx
lea rax, [rbp - 0x50]
mov qword [rbp - 0x28], rax
nop word [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x50], xmm0
cmp qword [rcx + 8], r12
jne 0x14004fefa
add rcx, 0x10
lea rax, [rbp - 0x50]
cmp rcx, rax
jne 0x14004fee0
mov qword [rbp - 0x30], rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
mov r8, qword [rsi + 0x38]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140050b80
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x20], r12
xorps xmm1, xmm1
mov qword [rbp - 0x40], r12
mov rbx, r12
lea rax, [rbp - 0x60]
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x60]
lea rax, [rbp - 0x50]
mov qword [rbp - 0x28], rax
nop word [rax + rax]
add rbx, qword [rcx + 8]
add rcx, 0x10
lea rax, [rbp - 0x50]
cmp rcx, rax
jne 0x14004ff50
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x20], rbx
lea rdx, [rsi + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004ff80
mov r8, qword [rdx]
mov r9, r8
add r8, qword [rdx + 0x10]
jmp 0x14004ff8a
mov r8, qword [rdx + 0x10]
add r8, rdx
mov r9, rdx
movaps xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rbp - 0x30]
movaps xmmword [rbp - 0x80], xmm1
movsd xmm0, qword [rbp - 0x20]
movsd qword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbp - 0x10]
movaps xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rbp]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x30], xmm1
movsd xmm0, qword [rbp + 0x20]
movsd qword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140055a70
mov rdx, qword [rbp + 0x20]
cmp rdx, rbx
je 0x140050002
cmp byte [rbp + 0x28], r12b
je 0x140050002
mov rcx, qword [rsi + 0x20]
add rcx, rdx
mov qword [rsi + 0x38], rcx
mov r14, r12
jmp 0x140050075
mov r9, qword [rsi + 8]
mov rax, qword [r9 + 0x40]
mov rcx, qword [rax]
mov rax, qword [r9 + 0x38]
sub rcx, qword [rax]
cmp rcx, qword [r9 + 0x68]
jne 0x140050027
mov qword [rsi + 0x38], 0xffffffffffffffff
mov r14, r12
jmp 0x140050075
cmp rdx, rbx
cmovne rbx, rdx
mov qword [rsi + 0x38], rbx
mov rax, qword [r9 + 0x40]
mov rcx, qword [rax]
mov rax, qword [r9 + 0x38]
sub rcx, qword [rax]
mov rdx, qword [r9 + 0x68]
sub rdx, rcx
mov r8, qword [r9 + 0x80]
sub r8, qword [r9 + 0x70]
sub r8, rcx
mov eax, 0x10000
cmp rdx, rax
cmovb rax, rdx
mov r14d, 0x200
cmp r8, r14
cmova r14, r8
cmp rax, r14
cmovb r14, rax
test edi, edi
jne 0x1400501db
test r14, r14
jne 0x1400501db
cmp qword [rsi + 0x38], 0xffffffffffffffff
jne 0x1400500f7
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140119e88], eax
jle 0x1400500d6
lea rcx, [0x140119e88]
call fcn.1400a0e50
cmp dword [0x140119e88], 0xffffffff
jne 0x1400500d6
lea rcx, [0x1400db080]
call fcn.1400a12a4
lea rcx, [0x140119e88]
call fcn.1400a0df0
mov dword [rsp + 0x30], 3
lea rax, [0x140112e40]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
jmp 0x140050100
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x30], xmm0
lea rdi, [rsp + 0x30]
cmp dword [r15], r12d
jne 0x140050114
mov rbx, qword [rsi + 0x38]
cmp rbx, 0xffffffffffffffff
jne 0x140050117
mov rbx, r12
lea rdx, [rsi + 0x50]
lea rcx, [rbp - 0x10]
call fcn.14004fce0
movups xmm0, xmmword [rdi]
movaps xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rbx
mov rdi, qword [rsi + 0x40]
mov rbx, qword [rsi + 0x48]
mov ecx, dword [0x140119f58]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140050156
cmp qword [rax], rbx
je 0x1400501c4
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140050148
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x10]
mov ecx, 0xb8
call fcn.14001dd90
mov rbx, rax
mov qword [rax + 0x20], r12
lea rax, [0x14005e520]
mov qword [rbx + 0x28], rax
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov dword [rbx + 0x30], r12d
lea rcx, [rbx + 0x38]
lea rdx, [rbp - 0x10]
call fcn.14005ea60
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov r8, rbx
lea rdx, [rsi + 0x48]
mov rcx, rdi
call fcn.140022420
nop
lea rcx, [rbp - 8]
call fcn.14002d7e0
jmp 0x140050224
cmp qword [rax + 8], 0
je 0x140050156
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.1400613a0
nop
jmp 0x1400501b9
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
mov rdx, r14
mov rcx, rbx
call fcn.14002cd20
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], r14
lea rax, [rdi + 0x68]
lea rdx, [rdi + 8]
mov rcx, qword [rdi]
add rcx, 0x28
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rsp + 0x30]
call fcn.14005cef0
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.1400a0cd0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret