Function at 0x140055cc4
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x50
cmp byte [0x1403c17d4], 0
mov rdi, rcx
mov ecx, dword [0x1403c17d0]
je 0x140055943
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140055949
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov byte [rax], 2
mov rax, qword [rax + 0x30]
lea r15, [0x1402d92a8]
test rax, rax
je 0x14005599b
lea rcx, str.cEventsDeferred
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x30]
mov ecx, 0x1160147
mov qword [rsp + 0x30], r15
lea r9, str.The_following_events_were_triggered_while_servicing_this_threads_previous_event.
mov qword [rsp + 0x20], rax
mov edx, 0x65e
mov r8d, 0x32
call fcn.1401cfa48
cmp qword [rbx + 0x30], 0
je 0x140055a64
lea rsi, [rdi + 8]
mov rax, qword [rbx + 0x10]
mov r8, qword [rbx + 0x28]
test rax, rax
jne 0x1400559bb
xor edx, edx
jmp 0x1400559be
mov rdx, qword [rax]
mov rax, qword [rdx + 0x10]
mov rcx, r8
shr rcx, 1
dec rax
and rcx, rax
and r8d, 1
mov rax, qword [rdx + 8]
mov rcx, qword [rax + rcx*8]
mov rdi, qword [rcx + r8*8]
and qword [rcx + r8*8], 0
mov rdx, qword [rbx + 0x28]
mov rax, qword [rbx + 0x20]
mov rcx, rdx
dec rax
shr rcx, 1
and rcx, rax
and edx, 1
mov rax, qword [rbx + 0x18]
mov rax, qword [rax + rcx*8]
mov rcx, qword [rax + rdx*8]
test rcx, rcx
je 0x140055a1c
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x14002a211.0]
sub qword [rbx + 0x30], 1
jne 0x140055a2a
and qword [rbx + 0x28], 0
jmp 0x140055a2e
inc qword [rbx + 0x28]
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x14002a211.0]
test rdi, rdi
je 0x140055a59
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x14002a211.0]
cmp qword [rbx + 0x30], 0
jne 0x1400559aa
mov rax, qword [rbx + 8]
test rax, rax
je 0x140055aa9
lea rcx, str.cEventsDiscarded
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x30]
mov ecx, 0x1160148
mov qword [rsp + 0x30], r15
lea r9, str.Events_triggered_while_servicing_this_threads_previous_deferred_events_were_discarded.
mov qword [rsp + 0x20], rax
mov edx, 0x65e
mov r8d, 0x32
call fcn.1401cfa48
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop r15
jmp 0x140055cc4
push rbx
sub rsp, 0x20
and qword [rcx + 8], 0
mov rbx, rcx
mov byte [rcx], 0
cmp qword [rcx + 0x30], 0
je 0x140055cbd
mov rdx, qword [rbx + 0x28]
mov rax, qword [rbx + 0x20]
mov rcx, rdx
dec rax
shr rcx, 1
and rcx, rax
and edx, 1
mov rax, qword [rbx + 0x18]
mov rax, qword [rax + rcx*8]
mov rcx, qword [rax + rdx*8]
test rcx, rcx
je 0x140055ca4
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x14002a211.0]
sub qword [rbx + 0x30], 1
jne 0x140055cb2
and qword [rbx + 0x28], 0
jmp 0x140055cb6
inc qword [rbx + 0x28]
cmp qword [rbx + 0x30], 0
jne 0x140055c6b
add rsp, 0x20
pop rbx
ret
sub rsp, 0x28
cmp byte [0x1403c17d4], 0
mov ecx, dword [0x1403c17d0]
je 0x140055cdf
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140055ce5
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
add rsp, 0x28
jmp 0x140055c54