Function at 0x100062970
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x20]
sub rsp, 0x120
movsxd r13, edx
mov rdi, rcx
call fcn.100068a00
mov rbx, qword gs:[0x30]
mov rcx, rax
mov rsi, rax
add rbx, rax
call fcn.10006c530
test eax, eax
jne 0x1000629b9
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x1000629ca
mov rbx, qword [rbx + 0xd8]
test rbx, rbx
jne 0x100062a01
call fcn.100063d30
call fcn.100068a00
mov rbx, qword gs:[0x30]
mov rcx, rax
mov rsi, rax
add rbx, rax
call fcn.10006c530
test eax, eax
jne 0x1000629fa
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rbx, qword [rbx + 0xd8]
or dword [rbx + 0x2d8], 0x100
mov rcx, qword [rbx + 0x388]
mov r12, qword [rbx + 0x210]
test rdi, rdi
je 0x100062cab
mov r8d, dword [rdi]
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 0x1d
jne 0x100062a4f
lea eax, [r8 - 0xb54]
cmp eax, 6
jne 0x100062a4f
or dword [rbx + 0x204], 1
mov eax, dword [rdi]
mov dword [rbx + 0x400], eax
mov eax, dword [rdi + 4]
mov dword [rbx + 0x404], eax
mov eax, dword [rdi + 8]
mov dword [rbx + 0x408], eax
mov eax, dword [rdi + 0xc]
mov dword [rbx + 0x40c], eax
mov eax, dword [rdi + 0x10]
mov qword [rbx + 0xf0], r12
mov dword [rbx + 0x410], eax
test rcx, rcx
je 0x100062c67
mov qword [rsp + 0x158], r15
mov r15, qword [rcx + 0xe8]
test r15, r15
je 0x100062c5f
xor esi, esi
cmp dword [rdi + 4], 0x19
mov qword [rsp + 0x150], r14
jne 0x100062ae7
mov ecx, dword [rdi]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 0x24
jne 0x100062ad6
lea eax, [rcx - 0xe10]
cmp eax, 0x11
je 0x100062ae7
call fcn.100068bb0
mov r14d, esi
test byte [rax + 0xc2], 4
je 0x100062aed
mov r14d, 1
test dword [rbx + 0x220], 0x2000
je 0x100062b0b
call fcn.100068bb0
test byte [rax + 0xc3], 0x40
je 0x100062c57
test r14d, r14d
je 0x100062c57
mov ecx, dword [rdi + 0x10]
xor eax, eax
mov dword [rsp + 0x20], esi
mov dword [rbp + 8], esi
mov qword [rbp + 0x10], rsi
mov qword [rsp + 0x20], rax
cmp ecx, 1
jne 0x100062b32
mov eax, dword [rdi]
jmp 0x100062b35
movzx eax, word [rdi]
cmp ecx, 1
mov dword [rsp + 0x30], eax
mov eax, dword [rdi + 4]
sete sil
cmp qword [r15 + 0x40], 0
mov dword [rsp + 0x34], eax
mov eax, dword [rdi + 0xc]
lea rcx, [0x100005670]
mov dword [rsp + 0x3c], esi
mov edi, dword [rcx + r13*4]
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x38], eax
je 0x100062bce
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0xa8
call sub.MSVCR100.dll_memset
call fcn.10006b740
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x78]
mov edx, 0x10
mov ecx, edi
call rax
mov ecx, dword [rbp - 0x80]
movzx r11d, ax
mov eax, ecx
shl eax, 0xf
mov dword [rbp + 8], r11d
not eax
add ecx, eax
mov eax, ecx
shr eax, 0xa
xor eax, ecx
lea ecx, [rax + rax*8]
mov eax, ecx
shr eax, 6
xor ecx, eax
mov eax, ecx
shl eax, 0xb
not eax
add ecx, eax
mov eax, ecx
shr eax, 0x10
xor ecx, eax
mov dword [rbp - 0x80], ecx
call fcn.10006efd0
test eax, eax
je 0x100062be6
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.1000f7790
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.1000f5f90
lea rcx, [rbx + 0x128]
lea rdx, [rsp + 0x70]
mov r8d, 0xa8
call sub.MSVCR100.dll_memcpy
mov rax, qword [rsp + 0x20]
mov qword [rbx + 0xf8], rax
mov rax, qword [rsp + 0x28]
mov qword [rbx + 0x100], rax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x108], rax
mov rax, qword [rsp + 0x38]
mov qword [rbx + 0x110], rax
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x118], rax
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x120], rax
mov r14, qword [rsp + 0x150]
mov r15, qword [rsp + 0x158]
mov eax, dword [rbx + 0x400]
lea rdx, [0x10022ab90]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov eax, dword [rbx + 0x404]
mov dword [rsp + 0x54], eax
mov eax, dword [rbx + 0x408]
mov dword [rsp + 0x58], eax
mov eax, dword [rbx + 0x40c]
mov dword [rsp + 0x5c], eax
mov eax, dword [rbx + 0x410]
mov dword [rsp + 0x60], eax
call sub.MSVCR100.dll__CxxThrowException
int3
xor edx, edx
xor ecx, ecx
call sub.MSVCR100.dll__CxxThrowException
int3