Function at 0x180083130
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
push rbx
push r12
sub rsp, 0xa8
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov qword [r11 - 0x20], r13
mov r13d, dword [rsp + 0x108]
xor r12d, r12d
mov qword [r11 - 0x28], r15
mov r15d, dword [rsp + 0x110]
bts r13d, 8
mov rax, r9
mov rdi, rcx
mov qword [r11 + 8], r12
test r15d, 0xfffffff4
je 0x18008318a
mov ebx, 0x8876086c
jmp 0x180083396
test rax, rax
je 0x180083391
cmp dword [rsp + 0xe0], r12d
je 0x180083391
mov r11, qword [rsp + 0x100]
test r11, r11
jne 0x1800831b8
mov ebx, 0x8876086c
jmp 0x180083396
xor r10d, r10d
lea r9, [0x1800014b0]
mov eax, dword [r9 + 0x10]
test al, 0x10
je 0x1800831f7
bt eax, 9
jb 0x1800831f7
mov r8, qword [r9]
mov rax, r11
sub r8, r11
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800831f3
inc rax
test ecx, ecx
jne 0x1800831e0
test edx, edx
je 0x18008320e
inc r10d
add r9, 0x18
cmp r10d, 0x46
jb 0x1800831c2
mov ebx, 0x8876086c
jmp 0x180083396
mov rax, qword [r9]
mov rbp, qword [rsp + 0x118]
lea rcx, [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [r9 + 8]
mov qword [rcx + 8], rax
mov rax, qword [r9 + 0x10]
mov qword [rcx + 0x10], rax
test rbp, rbp
jne 0x180083240
mov ebx, 0x8876086c
jmp 0x180083396
lea rcx, [rdi + 0x48]
call fcn.180221f50
mov ebx, eax
test eax, eax
js 0x180083396
mov rax, qword [rsp + 0x120]
test rax, rax
je 0x180083263
mov qword [rax], r12
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x1748], r15d
mov dword [rdi + 0x174c], r13d
mov dword [rdi + 0x1750], eax
cmp eax, 0x46580500
jne 0x180083293
movzx eax, byte [rdi + 0x1754]
and al, 0xf3
or al, 0x33
mov byte [rdi + 0x1754], al
mov rcx, rdi
call fcn.180083400
mov ebx, eax
test eax, eax
js 0x180083396
mov rax, qword [rsp + 0xf8]
mov r9d, dword [rsp + 0xe0]
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xf0]
lea rcx, [rdi + 0x48]
mov qword [rsp + 0x20], rax
call fcn.18021c4d0
mov ebx, eax
test eax, eax
js 0x180083396
mov ecx, dword [0x18025e63c]
test ecx, ecx
js 0x1800832fa
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [rdi + 0x174c]
lea rax, [rsp + 0x50]
lea r9, [rdi + 0xa0]
lea rcx, [rdi + 0x1200]
lea rdx, [rdi + 0x48]
mov qword [rsp + 0x20], rax
call fcn.18010a3d0
mov ebx, eax
test eax, eax
js 0x180083396
cmp dword [rdi + 0x74], r12d
je 0x180083335
mov ebx, 0x80004005
jmp 0x180083396
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.180083920
mov ebx, eax
test eax, eax
js 0x180083396
mov rcx, rdi
call fcn.180087140
mov ebx, eax
test eax, eax
js 0x180083396
cmp dword [rdi + 0x74], r12d
je 0x180083363
mov ebx, 0x80004005
jmp 0x180083396
lea rdx, [rsp + 0xc0]
mov rcx, rdi
call fcn.180090860
mov ebx, eax
test eax, eax
js 0x180083387
mov rax, qword [rsp + 0xc0]
mov qword [rbp], rax
jmp 0x180083396
mov r12, qword [rsp + 0xc0]
jmp 0x180083396
mov ebx, 0x8876086c
mov rdx, qword [rsp + 0x120]
lea rcx, [rdi + 0x48]
call fcn.1802224c0
mov r15, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0xc8]
mov qword [rdi + 0x16a8], 0
mov rdi, qword [rsp + 0xa0]
test r12, r12
je 0x1800833e9
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x10]
mov eax, ebx
add rsp, 0xa8
pop r12
pop rbx
ret