Function at 0x220ad6c40
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov r12d, dword [0x220ae4070]
test r12d, r12d
je 0x220ad6c78
lea rsp, [rbp + 8]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov dword [0x220ae4070], 1
call fcn.220ad73b0
cdqe
lea rax, [rax + rax*4]
lea rax, [rax*8 + 0xf]
and rax, 0xfffffffffffffff0
call fcn.220ad7620
mov r13, qword [0x220ae1240]
mov rbx, qword [0x220ae1250]
mov dword [0x220ae4074], 0
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [0x220ae4078], rax
mov rax, r13
sub rax, rbx
cmp rax, 7
jle 0x220ad6c61
mov edx, dword [rbx]
cmp rax, 0xb
jg 0x220ad6e58
mov eax, dword [rbx]
test eax, eax
jne 0x220ad6f50
mov eax, dword [rbx + 4]
test eax, eax
jne 0x220ad6f50
mov edx, dword [rbx + 8]
cmp edx, 1
jne 0x220ad6f8e
add rbx, 0xc
cmp rbx, r13
jae 0x220ad6c61
mov r14, qword [0x220ae1270]
movabs r15, 0xffffffff7fffffff
jmp 0x220ad6d72
movzx esi, byte [rdi]
and ecx, 0xc0
test sil, sil
jns 0x220ad6f38
or rsi, 0xffffffffffffff00
sub rsi, rax
add rsi, r9
test ecx, ecx
jne 0x220ad6d5a
cmp rsi, 0xff
jg 0x220ad6e9f
cmp rsi, 0xffffffffffffff80
jl 0x220ad6e9f
mov rcx, rdi
call fcn.220ad6ad0
mov byte [rdi], sil
add rbx, 0xc
cmp rbx, r13
jae 0x220ad6e00
mov eax, dword [rbx]
mov ecx, dword [rbx + 8]
mov edi, dword [rbx + 4]
add rax, r14
movzx edx, cl
mov r9, qword [rax]
add rdi, r14
cmp edx, 0x20
je 0x220ad6eb8
ja 0x220ad6e80
cmp edx, 8
je 0x220ad6d20
cmp edx, 0x10
jne 0x220ad6f82
movzx esi, word [rdi]
and ecx, 0xc0
test si, si
jns 0x220ad6f20
or rsi, 0xffffffffffff0000
sub rsi, rax
add rsi, r9
test ecx, ecx
jne 0x220ad6de0
cmp rsi, 0xffffffffffff8000
jl 0x220ad6e9f
cmp rsi, 0xffff
jg 0x220ad6e9f
mov rcx, rdi
add rbx, 0xc
call fcn.220ad6ad0
mov word [rdi], si
cmp rbx, r13
jb 0x220ad6d72
nop dword [rax + rax]
mov edx, dword [0x220ae4074]
test edx, edx
jle 0x220ad6c61
mov rsi, qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ebx, ebx
lea rdi, [rbp - 4]
nop dword [rax + rax]
mov rax, qword [0x220ae4078]
add rax, rbx
mov r8d, dword [rax]
test r8d, r8d
je 0x220ad6e3f
mov rdx, qword [rax + 0x10]
mov rcx, qword [rax + 8]
mov r9, rdi
call rsi
add r12d, 1
add rbx, 0x28
cmp r12d, dword [0x220ae4074]
jl 0x220ad6e20
jmp 0x220ad6c61
test edx, edx
jne 0x220ad6f50
mov eax, dword [rbx + 4]
mov edx, eax
or edx, dword [rbx + 8]
jne 0x220ad6cea
add rbx, 0xc
jmp 0x220ad6cdd
cmp edx, 0x40
jne 0x220ad6f82
mov rsi, qword [rdi]
sub rsi, rax
add rsi, r9
and ecx, 0xc0
jne 0x220ad6f00
test rsi, rsi
js 0x220ad6f00
mov qword [rsp + 0x20], rsi
mov r8, rdi
lea rcx, str._d_bit_pseudo_relocation_at__p_out_of_range__targeting__p__yielding_the_value__p._n
call fcn.220ad6a60
nop dword [rax + rax]
mov esi, dword [rdi]
and ecx, 0xc0
test esi, esi
jns 0x220ad6f10
movabs r11, 0xffffffff00000000
or rsi, r11
sub rsi, rax
add rsi, r9
test ecx, ecx
jne 0x220ad6eea
cmp rsi, r15
jle 0x220ad6e9f
mov eax, 0xffffffff
cmp rsi, rax
jg 0x220ad6e9f
mov rcx, rdi
call fcn.220ad6ad0
mov dword [rdi], esi
jmp 0x220ad6d65
mov rcx, rdi
call fcn.220ad6ad0
mov qword [rdi], rsi
jmp 0x220ad6d65
sub rsi, rax
add rsi, r9
test ecx, ecx
je 0x220ad6edb
jmp 0x220ad6eea
sub rsi, rax
add rsi, r9
test ecx, ecx
je 0x220ad6dc6
jmp 0x220ad6de0
sub rsi, rax
add rsi, r9
test ecx, ecx
je 0x220ad6d43
jmp 0x220ad6d5a
cmp rbx, r13
jae 0x220ad6c61
mov r14, qword [0x220ae1270]
mov esi, dword [rbx + 4]
mov edi, dword [rbx]
add rbx, 8
add rsi, r14
add edi, dword [rsi]
mov rcx, rsi
call fcn.220ad6ad0
mov dword [rsi], edi
cmp rbx, r13
jb 0x220ad6f60
jmp 0x220ad6e00
lea rcx, str.__Unknown_pseudo_relocation_bit_size__d._n
call fcn.220ad6a60
lea rcx, str.__Unknown_pseudo_relocation_protocol_version__d._n
call fcn.220ad6a60
nop
nop
nop
nop
nop
nop