Function at 0x18003cb30
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rsi, rcx
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x18003cb82
lea rcx, [0x18003d6a0]
mov qword [rbp - 0x69], rcx
mov qword [rbp - 0x61], rdx
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x69]
mov rcx, rsi
call rax
add rsp, 0xc0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r14, qword [rcx + 0x10]
mov rax, qword [rdx]
mov qword [rbp - 0x49], rax
movups xmm0, xmmword [rdx + 8]
movups xmmword [rbp - 0x41], xmm0
movsd xmm1, qword [rdx + 0x18]
movsd qword [rbp - 0x31], xmm1
mov eax, dword [rdx + 0x20]
mov dword [rbp - 0x29], eax
mov rax, qword [rdx + 0x28]
mov qword [rbp - 0x21], rax
movups xmm0, xmmword [rdx + 0x30]
movups xmmword [rbp - 0x19], xmm0
mov rax, qword [rdx + 0x40]
mov qword [rbp - 9], rax
mov rax, qword [rdx + 0x48]
mov qword [rbp - 1], rax
mov rax, qword [rdx + 0x50]
mov qword [rbp + 7], rax
xor ebx, ebx
mov qword [rdx + 0x48], rbx
mov qword [rdx + 0x50], rbx
mov rax, qword [rdx + 0x58]
mov qword [rbp + 0xf], rax
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rbp + 0x17], xmm0
mov rax, qword [rdx + 0x70]
mov qword [rbp + 0x27], rax
lea rax, [rbp - 0x49]
mov qword [rbp + 0x7f], rax
lea rax, [rbp + 0x67]
mov qword [rbp - 0x69], rax
mov ecx, dword [0x1800a4940]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18003cc3a
mov rax, qword [rax + 8]
test rax, rax
je 0x18003cc3a
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x18003cc3a
mov qword [rax + 0x10], rbx
movzx eax, byte [rcx]
cmp al, 0x22
jb 0x18003cc35
mov byte [rcx + 0x88], al
jmp 0x18003cc4e
call fcn.180050b68
mov ecx, 0x89
call fcn.1800506b0
mov rcx, rax
mov byte [rax + 0x88], 0x22
mov qword [rbp - 0x59], rbx
mov rax, qword [rbp - 0x49]
mov qword [rcx + 8], rax
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rcx + 0x10], xmm0
movsd xmm1, qword [rbp - 0x31]
movsd qword [rcx + 0x20], xmm1
mov eax, dword [rbp - 0x29]
mov dword [rcx + 0x28], eax
mov rax, qword [rbp - 0x21]
mov qword [rcx + 0x30], rax
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rcx + 0x38], xmm0
mov rax, qword [rbp - 9]
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rbx
mov qword [rcx + 0x58], rbx
mov rax, qword [rbp - 1]
mov qword [rcx + 0x50], rax
mov rax, qword [rbp + 7]
mov qword [rcx + 0x58], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov rax, qword [rbp + 0xf]
mov qword [rcx + 0x60], rax
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rcx + 0x68], xmm0
mov rax, qword [rbp + 0x27]
mov qword [rcx + 0x78], rax
lea rax, [0x18003d6c0]
mov qword [rcx], rax
mov qword [rbp + 0x77], rcx
mov qword [rbp - 0x61], rbx
lea rcx, [rbp - 0x69]
call fcn.18003d5a0
nop
mov rbx, qword [rbp + 7]
test rbx, rbx
je 0x18003cd14
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18003cd14
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18003cd14
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rdx, [rbp + 0x77]
mov rcx, rsi
call r14
nop
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x18003cd30
mov rax, qword [rcx]
xor edx, edx
call rax
nop
add rsp, 0xc0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret