Function at 0x1400a35b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe0
mov rsi, r9
mov r14, r8
mov r12, rdx
lea rbx, [rcx - 0x150]
xor r13d, r13d
test rcx, rcx
cmove rbx, r13
mov r15, qword [rbp + 0x7f]
mov rdi, qword [r15]
cmp rdi, qword [rcx + 0x10]
je 0x1400a3642
mov rbx, qword [r8 + 8]
mov edi, 0xffffffff
test rbx, rbx
je 0x1400a3635
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a3635
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a3635
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, rsi
call fcn.1400e0e80
jmp 0x1400a39a7
mov rax, qword [rbx + 0x150]
mov qword [rbp + 0x5f], rax
lea rdx, [rbp + 0x5f]
mov rcx, rdi
call fcn.14011b650
mov qword [rbp - 0x59], rbx
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x51], xmm0
mov rax, qword [r14]
mov qword [rbp - 0x41], rax
mov rax, qword [r14 + 8]
mov qword [rbp - 0x39], rax
mov qword [r14], r13
mov qword [r14 + 8], r13
mov rax, qword [rsi]
mov qword [rbp - 0x31], rax
mov rax, qword [rsi + 8]
mov qword [rbp - 0x29], rax
mov rax, qword [rsi + 0x10]
mov qword [rbp - 0x21], rax
mov qword [rsi + 8], r13
mov qword [rsi + 0x10], r13
movzx eax, byte [rsi + 0x18]
mov byte [rbp - 0x19], al
mov rax, qword [rsi + 0x20]
mov qword [rbp - 0x11], rax
mov rax, qword [rsi + 0x28]
mov qword [rbp - 9], rax
mov rax, qword [rsi + 0x30]
mov qword [rbp - 1], rax
mov qword [rsi + 0x28], r13
mov qword [rsi + 0x30], r13
movzx eax, byte [rsi + 0x38]
mov byte [rbp + 7], al
mov byte [rsi + 0x38], r13b
mov byte [rsi + 0x18], r13b
mov rax, qword [r15]
mov qword [rbp + 0xf], rax
mov rax, qword [r15 + 8]
mov qword [rbp + 0x17], rax
mov qword [r15], r13
mov qword [r15 + 8], r13
mov r13, qword [rdi]
lea rax, [rbp - 0x59]
mov qword [rbp - 0x71], rax
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400a3709
mov rdx, qword [rax + 8]
jmp 0x1400a370b
xor edx, edx
mov r9d, 8
mov r8d, 0x100
movzx ecx, byte [rbp + 0x7f]
call fcn.1400aa650
mov rbx, rax
mov qword [rbp - 0x69], rax
xor ecx, ecx
mov qword [rax + 0x20], rcx
lea rax, [0x1401153f0]
mov qword [rbx + 0x28], rax
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
mov dword [rbx + 0x30], ecx
mov dword [rbx + 0x38], ecx
lea rax, [0x1403275b8]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], rcx
lea rcx, [rbx + 0x50]
lea rdx, [rbp - 0x59]
call fcn.1400d21f0
lea rcx, [rbx + 0xc8]
lea r9, [rdi + 0x40]
xor r8d, r8d
xor edx, edx
call fcn.1400d4c90
mov qword [rbp - 0x61], rbx
mov byte [rdi + 0x10], 1
lea r9, [rdi + 0x18]
lea rdx, [r13 + 0x28]
mov qword [rsp + 0x20], rbx
lea r8, [rdi + 8]
mov rcx, qword [r13 + 0x58]
call fcn.1400cfd10
nop
mov edi, 0xffffffff
mov rbx, qword [rbp + 0x17]
test rbx, rbx
je 0x1400a37d8
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a37d8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a37d8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [rbp - 0x31]
call fcn.1400e0e80
mov rbx, qword [rbp - 0x39]
test rbx, rbx
je 0x1400a3814
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a3814
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a3814
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x1400a3847
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a3847
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a3847
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
xor r14d, r14d
cmp byte [rsi + 0x18], r14b
je 0x1400a3901
mov byte [rsi + 0x18], r14b
mov r10, qword [rsi + 0x20]
mov qword [rsp + 0x30], r10
mov r9, qword [rsi + 0x28]
mov qword [rsp + 0x38], r9
mov r8, qword [rsi + 0x30]
mov qword [rsp + 0x40], r8
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
movzx edx, byte [rsi + 0x38]
mov byte [rbp - 0x79], dl
mov byte [rsi + 0x38], r14b
mov rax, qword [rsi]
lea rcx, [rax + 0x58]
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r8
mov byte [rbp - 0x79], dl
mov qword [rbp - 0x71], rax
mov rax, qword [rsi + 8]
mov qword [rbp - 0x69], rax
mov rax, qword [rsi + 0x10]
mov qword [rbp - 0x61], rax
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x71]
call fcn.1400bd5f0
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1400a3901
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400a3901
mov rbx, qword [rbp - 0x61]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a3901
mov rcx, qword [rbp - 0x61]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
movzx edx, byte [rsi + 0x38]
test dl, dl
je 0x1400a3941
mov rax, qword [rsi + 0x20]
lea rcx, [rax + 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
mov byte [rbp - 0x79], dl
mov byte [rsi + 0x38], 0
lea rdx, [rsp + 0x30]
call fcn.1400c9ba0
mov rbx, qword [rsi + 0x30]
test rbx, rbx
je 0x1400a3974
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a3974
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a3974
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rbx, qword [rsi + 0x10]
test rbx, rbx
je 0x1400a39a7
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a39a7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a39a7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x1400a39d7
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a39d7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400a39d7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x128]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret