Function at 0x1000611b0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c8]
sub rsp, 0x2c8
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov dword [rsp + 0x54], ecx
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x58], r8d
mov dword [rsp + 0x5c], r9d
mov r13, qword [rbp + 0x230]
mov r12, qword [rbp + 0x238]
call fcn.100068a00
mov rbx, rax
mov rcx, qword gs:[0x30]
lea rdi, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100061231
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rdi, rdi
je 0x100061242
mov rdi, qword [rdi + 0xd8]
test rdi, rdi
jne 0x10006127a
call fcn.100063d30
call fcn.100068a00
mov rbx, rax
mov rcx, qword gs:[0x30]
lea rdi, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100061273
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov rdi, qword [rdi + 0xd8]
mov rbx, qword [rdi + 0xe8]
test rbx, rbx
je 0x10006129d
call fcn.1000688c0
xor rax, qword [rbx]
cmp rax, rbx
je 0x10006129d
xor edx, edx
lea ecx, [rdx + 1]
call fcn.1000ca900
xor r15d, r15d
cmp dword [rsp + 0x54], 0x1d
jne 0x1000612ae
cmp dword [rsp + 0x50], 6
je 0x1000612d7
mov ecx, 0x10000
call fcn.1000c9550
cmp eax, 1
jne 0x1000612d7
mov dword [rsp + 0x54], 0x1d
mov dword [rsp + 0x50], 6
mov dword [rsp + 0x58], 0x19
jmp 0x10006134c
cmp dword [rsp + 0x58], 0x19
je 0x10006134c
call fcn.100058d10
mov r14, rax
mov r8d, dword [rsp + 0x50]
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ebx, dword [rsp + 0x54]
sub ebx, edx
imul ebx, ebx, 0x64
add ebx, r8d
cmp qword [r14 + 0x16c8], r15
je 0x10006134c
call fcn.100064800
mov edx, eax
xor eax, eax
lock cmpxchg dword [r14 + 0x100], edx
mov ecx, r15d
sete cl
test ecx, ecx
jne 0x10006133a
lea rcx, [r14 + 0x100]
call fcn.100060d50
mov rcx, qword [r14 + 0x16c8]
inc qword [rcx + rbx*8]
mov dword [r14 + 0x100], r15d
mov edx, 7
lea rcx, [rsp + 0x68]
call fcn.100057f20
nop
call fcn.10006b790
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x5c]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x54]
call rax
mov dword [rsp + 0x60], r15d
movzx eax, word [rsp + 0x54]
imul ax, ax, 0x64
add ax, word [rsp + 0x50]
movzx ecx, ax
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x58]
call fcn.100061ee0
test eax, eax
jne 0x1000613b6
test byte [rdi + 0x220], 0x40
je 0x10006147a
call fcn.100068aa0
test eax, eax
je 0x1000613c9
call fcn.1000caec0
jmp 0x10006147a
lea rax, [0x1000058f0]
lea rbx, [0x1000056f8]
cmp dword [rsp + 0x60], 0
cmovne rbx, rax
call fcn.10006b720
mov ecx, dword [rsp + 0x58]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x5c]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x54]
mov rdx, rbx
lea rcx, [0x100005970]
call rax
call fcn.1001267c0
mov r9, rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
lea r8, [0x100005a50]
mov edx, 0x100
lea rcx, [rbp - 0x50]
call fcn.100060cc0
mov ebx, 0x83f
call fcn.100068bb0
test byte [rax + 0xbf], 4
mov eax, 0x3f
cmovne ebx, eax
call fcn.10006b7c0
xor r9d, r9d
mov r8d, ebx
lea rdx, [rbp - 0x50]
mov rcx, rdi
call rax
mov qword [rsp + 0x20], r12
mov r9d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x58]
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
call qword [0x10023cc40]
call fcn.100068a20
test eax, eax
je 0x10006153b
mov rbx, qword [rdi + 0x3b8]
call fcn.1001267c0
mov rdx, rax
mov r8, rbx
lea rcx, [0x100005ae8]
call qword [sym.imp.MSVCR100.dll__printf_l]
mov rbx, qword [rdi + 0xe8]
nop word [rax + rax]
mov r15, rbx
test rbx, rbx
je 0x100061523
mov rbx, qword [rbx + 8]
movzx r14d, word [r15 + 0x18]
mov eax, 0x51eb851f
imul r14d
mov esi, edx
sar esi, 5
mov eax, esi
shr eax, 0x1f
add esi, eax
mov eax, esi
imul eax, eax, 0x64
sub r14d, eax
call fcn.1001267c0
mov rdx, rax
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8d, esi
lea rcx, [0x100005b08]
call qword [sym.imp.MSVCR100.dll__printf_l]
jmp 0x1000614d0
call fcn.1001267c0
mov rdx, rax
lea rcx, [0x100005b18]
call qword [sym.imp.MSVCR100.dll__printf_l]
xor r15d, r15d
mov rbx, qword [rdi + 0xe8]
mov rsi, rbx
test rbx, rbx
je 0x1000616bf
mov rbx, qword [rbx + 8]
call fcn.1000688c0
xor rax, qword [rsi]
cmp rax, rsi
je 0x100061569
xor edx, edx
lea ecx, [rdx + 1]
call fcn.1000ca900
movzx ecx, word [rsi + 0x18]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edx
imul eax, eax, 0x64
sub ecx, eax
cmp edx, dword [rsp + 0x54]
je 0x10006158f
test edx, edx
jne 0x100061542
cmp ecx, dword [rsp + 0x50]
je 0x100061599
test ecx, ecx
jne 0x100061542
movzx eax, byte [rsi + 0x1a]
cmp eax, dword [rsp + 0x58]
je 0x1000615a7
test al, al
jne 0x100061542
movzx eax, word [rsp + 0x54]
imul ax, ax, 0x64
add ax, word [rsp + 0x50]
movzx ecx, ax
mov r8d, dword [rsp + 0x58]
mov r9d, dword [rsp + 0x5c]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 0x1d
jne 0x1000615ea
lea eax, [rcx - 0xb54]
cmp eax, 6
jne 0x1000615ea
or dword [rdi + 0x204], 1
mov dword [rdi + 0x400], ecx
mov dword [rdi + 0x404], r8d
mov dword [rdi + 0x408], 0xffffffff
mov dword [rdi + 0x40c], r9d
mov dword [rdi + 0x410], r15d
mov r8d, dword [rsp + 0x58]
cmp r8d, 0x19
jne 0x100061623
cmp dword [rdi + 0xd8], 0
jne 0x100061636
mov dword [rdi + 0xd8], r8d
mov qword [rdi + 0xe0], r13
mov r8d, dword [rsp + 0x58]
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
call fcn.1000628d0
dec eax
je 0x1000616a3
dec eax
je 0x100061542
dec eax
jne 0x100061542
call fcn.10006b7a0
mov r9d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x58]
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
call rax
movups xmm0, xmmword [rdi + 0x400]
movaps xmmword [rbp - 0x80], xmm0
mov eax, dword [rdi + 0x410]
mov dword [rbp - 0x70], eax
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.100062970
int3
call fcn.10006b7a0
mov r9d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x58]
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
call rax
nop
jmp 0x1000616e3
lea rax, [0x100005b20]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x58]
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
call fcn.1000627e0
nop
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
not eax
and dword [rcx + 0x220], eax
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.10005f420
add rsp, 0x2c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret