Function at 0x100126f60
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x90
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
xor edx, edx
lea rax, [fcn.100062040]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x68]
call fcn.10005b410
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov qword [rdi + 0x68], rsi
mov qword [rdi + 0x58], rsi
mov qword [rdi + 0x60], rsi
call fcn.1000669d0
mov rcx, qword [rax + 0xae0]
mov qword [rdi + 0x70], rcx
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x80], 0xffffffffffffffff
mov qword [rdi + 0x88], rsi
lea rax, [fcn.100128450]
mov qword [rdi + 0x90], rax
mov qword [rdi + 0x98], rdi
mov rcx, qword [0x100246638]
mov rax, qword [rcx]
mov byte [rsp + 0x20], 6
mov r9d, 0xf2
lea r8, [0x1000347f0]
lea edx, [rsi + 0x28]
call qword [rax + 0x48]
mov qword [rsp + 0xb8], rax
test rax, rax
je 0x100127042
lea rcx, [rax + 8]
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 8], rcx
mov qword [rcx], rcx
mov dword [rax + 0x20], esi
mov dword [rax], esi
mov dword [rax + 4], 1
mov qword [rax + 0x18], rsi
jmp 0x100127045
mov rax, rsi
mov qword [rdi + 0x20], rax
test rax, rax
jne 0x100127067
mov ebx, 8
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x68]
call fcn.10005b4f0
nop
jmp 0x100127195
mov rcx, qword [0x100246638]
mov rax, qword [rcx]
mov byte [rsp + 0x20], 6
mov r9d, 0xf9
lea r8, [0x1000347f0]
mov edx, 0x28
call qword [rax + 0x48]
mov qword [rsp + 0xc0], rax
test rax, rax
je 0x1001270b0
mov dword [rax], 0x40014c
mov qword [rax + 8], rsi
mov qword [rax + 0x18], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rsi
jmp 0x1001270b3
mov rax, rsi
mov qword [rdi + 0x28], rax
test rax, rax
jne 0x1001270d5
mov ebx, 8
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x68]
call fcn.10005b4f0
nop
jmp 0x100127195
mov rcx, qword [0x100246638]
mov rax, qword [rcx]
mov byte [rsp + 0x20], 6
mov r9d, 0x100
lea r8, [0x1000347f0]
mov edx, 0x18
call qword [rax + 0x48]
mov qword [rsp + 0xc8], rax
test rax, rax
je 0x100127131
lea rcx, [0x100034320]
mov qword [rax], rcx
lea rcx, [0x100034450]
mov qword [rax], rcx
mov dword [rax + 8], 1
lea rcx, [0x100034500]
mov qword [rax], rcx
mov qword [rax + 0x10], rdi
jmp 0x100127134
mov rax, rsi
mov qword [rdi + 0xb0], rax
test rax, rax
jne 0x100127156
mov ebx, 8
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x68]
call fcn.10005b4f0
nop
jmp 0x100127195
mov rcx, rdi
call fcn.100128580
mov ebx, eax
mov dword [rsp + 0x30], eax
cmp eax, 0x3e5
je 0x100127178
lea rcx, [rsp + 0x68]
call fcn.10005b4f0
nop
jmp 0x100127195
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x68]
call fcn.10005b4f0
nop
jmp 0x1001271a5
lea rcx, [rdi + 0x58]
call fcn.100128450
mov eax, ebx
jmp 0x10012722a
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1001271d0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x1001271e1
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100127218
call fcn.100063d30
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100127211
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100127226
call fcn.1000618f0
mov eax, dword [rsp + 0x30]
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret