Function at 0x1400294b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0xa28]
sub rsp, 0xb28
mov rax, qword [0x14035e2b0]
xor rax, rsp
mov qword [rbp + 0xa18], rax
xor edi, edi
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x3c], 0xffffffff
mov esi, edi
mov byte [rsp + 0x30], sil
mov r14, rcx
mov r15d, 0xfffffffe
lea r13d, [rdi + 1]
test edx, edx
je 0x14002955f
mov ecx, edx
mov esi, r13d
and ecx, 0x3f
mov eax, edx
shl rsi, cl
mov ecx, edx
shr ecx, 6
and rsi, 0xfffffffffffffffe
and cl, r13b
mov dword [rsp + 0x30], ecx
and eax, 0xfff00
je 0x140029545
cmp eax, 0x100
jne 0x140029533
mov r15d, 0xffffffff
jmp 0x140029545
mov r15d, edx
sar r15d, 8
and r15d, 0xfff
sub r15d, 2
test edx, 0xfff00000
je 0x140029556
mov eax, edx
shr eax, 0x14
dec eax
jmp 0x14002955b
mov eax, 0xffffffff
mov dword [rsp + 0x3c], eax
cmp dword [reloc.WS2_32.dll_closesocket], edi
mov qword [rsp + 0xb70], rbx
mov qword [rsp + 0xb20], r12
je 0x140029590
call fcn.140028800
test al, al
je 0x140029590
mov ecx, ntohs
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14002a362
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x140577180]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r12, r12
jne 0x140029862
mov ecx, 0xa50
call fcn.1400306e0
mov r12, rax
test rax, rax
je 0x14002a39b
xorps xmm0, xmm0
mov byte [rax], dil
xor eax, eax
mov word [rbp - 0x50], di
xor edx, edx
mov dword [rbp + 0x72], eax
mov r8d, 0xb0
mov word [rbp + 0x76], ax
lea rcx, [rbp + 0xb0]
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], al
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
mov qword [rbp], rdi
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x40], rdi
mov dword [rbp + 0x48], 0x3e8
mov dword [rbp + 0x4c], 0x3e8
mov word [rbp + 0x50], 0xffff
movups xmmword [rbp + 0x52], xmm0
mov qword [rbp + 0x78], rdi
movups xmmword [rbp + 0x62], xmm0
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], rdi
call fcn.1401e1b90
mov qword [rbp + 0x160], r13
mov qword [rbp + 0x168], rdi
mov qword [rbp + 0x170], r13
mov qword [rbp + 0x178], rdi
mov qword [rbp + 0x180], r13
mov qword [rbp + 0x188], rdi
mov qword [rbp + 0x190], r13
mov qword [rbp + 0x198], rdi
mov qword [rbp + 0x1a0], r13
mov qword [rbp + 0x1a8], rdi
mov qword [rbp + 0x1b0], r13
mov qword [rbp + 0x1b8], rdi
mov qword [rbp + 0x1c0], r13
mov qword [rbp + 0x1c8], rdi
mov qword [rbp + 0x1d0], r13
mov qword [rbp + 0x1d8], rdi
mov qword [rbp + 0x1e0], r13
mov qword [rbp + 0x1e8], rdi
mov qword [rbp + 0x1f0], r13
mov qword [rbp + 0x1f8], rdi
mov qword [rbp + 0x200], r13
mov qword [rbp + 0x208], rdi
mov qword [rbp + 0x210], r13
mov qword [rbp + 0x218], rdi
mov qword [rbp + 0x220], r13
mov qword [rbp + 0x228], rdi
mov qword [rbp + 0x230], r13
mov qword [rbp + 0x238], rdi
mov qword [rbp + 0x240], r13
mov qword [rbp + 0x248], rdi
mov qword [rbp + 0x250], r13
mov qword [rbp + 0x258], rdi
mov qword [rbp + 0x260], r13
mov qword [rbp + 0x268], rdi
mov qword [rbp + 0x270], r13
mov qword [rbp + 0x278], rdi
mov qword [rbp + 0x280], r13
mov qword [rbp + 0x288], rdi
mov qword [rbp + 0x290], r13
mov qword [rbp + 0x298], rdi
mov qword [rbp + 0x2a0], r13
xor eax, eax
mov qword [rbp + 0x2a8], rdi
xor edx, edx
mov dword [rbp + 0x2e1], eax
mov r8d, 0x6d8
mov word [rbp + 0x2e5], ax
lea rcx, [rbp + 0x310]
mov byte [rbp + 0x2e7], al
mov qword [rbp + 0x2b0], r13
mov qword [rbp + 0x2b8], rdi
mov qword [rbp + 0x2c0], r13
mov qword [rbp + 0x2c8], rdi
mov qword [rbp + 0x2d0], r13
mov qword [rbp + 0x2d8], rdi
mov byte [rbp + 0x2e0], 6
mov qword [rbp + 0x2e8], rdi
mov qword [rbp + 0x2f0], rdi
mov qword [rbp + 0x2f8], rdi
mov qword [rbp + 0x300], rdi
mov qword [rbp + 0x308], rdi
call fcn.1401e1b90
lea rcx, [r12 + 8]
mov qword [rbp + 0x9e8], rdi
lea rdx, [rbp - 0x50]
mov byte [rbp + 0x9f0], dil
mov r8d, 0xa48
call fcn.1401e14e0
mov ecx, dword [0x140577180]
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14002a3ad
lea rbx, [r12 + 8]
cmp byte [rbx + 0x330], dil
je 0x14002988a
xor edx, edx
mov rcx, rbx
call fcn.140030d00
mov rbx, rax
cmp byte [rax + 0x330], dil
jne 0x140029dbe
lea rax, [rsi - 1]
mov dword [rsp + 0x34], edi
test rsi, rax
jne 0x14002a362
lea r9, [0x140000000]
movabs r11, 0x7000000000000000
mov r10d, 4
test rsi, rsi
jne 0x14002995b
cmp r14, 0x1000
ja 0x1400298d7
lea rax, [r14 + 7]
shr rax, 3
movzx r8d, byte [rax + r9 + 0x370080]
jmp 0x140029934
cmp r14, r11
jbe 0x1400298e4
mov r8d, 0xe8
jmp 0x140029934
lea rax, [r14*2 - 1]
test rax, rax
je 0x14002a395
bsr rdx, rax
mov ecx, edi
cmp edx, 6
lea eax, [rdx - 6]
cmovae ecx, eax
lea r8d, [rcx*4]
mov ecx, r10d
cmp edx, 7
jb 0x140029917
lea ecx, [rdx - 3]
mov rax, 0xffffffffffffffff
lea rdx, [r14 - 1]
shl rax, cl
inc r8d
and rdx, rax
shr rdx, cl
and edx, 3
add r8d, edx
mov dword [rsp + 0x34], r8d
cmp r8d, 0xe8
jae 0x14002a362
mov eax, r8d
mov rcx, qword [r9 + rax*8 + 0x36f940]
mov qword [rsp + 0x48], rcx
jmp 0x140029aa8
cmp r14, 0x3800
ja 0x1400299fb
cmp rsi, 0x1000
ja 0x1400299fb
lea rdx, [r14 - 1]
mov rax, rsi
add rdx, rsi
neg rax
and rdx, rax
cmp rdx, 0x1000
ja 0x1400299a9
lea rax, [rdx + 7]
shr rax, 3
movzx eax, byte [rax + r9 + 0x370080]
mov rdx, qword [r9 + rax*8 + 0x36f940]
jmp 0x1400299e9
cmp rdx, r11
jbe 0x1400299b3
mov rdx, rdi
jmp 0x1400299e9
lea rax, [rdx*2 - 1]
test rax, rax
je 0x14002a395
bsr rcx, rax
cmp rcx, 7
jae 0x1400299d3
mov rcx, r10
jmp 0x1400299d7
add rcx, 0xfffffffffffffffd
mov rax, r13
shl rax, cl
dec rax
add rdx, rax
not rax
and rdx, rax
mov qword [rsp + 0x48], rdx
cmp rdx, 0x4000
jb 0x140029a91
cmp rsi, r11
ja 0x14002a362
cmp r14, 0x4000
ja 0x140029a19
mov edx, 0x4000
mov qword [rsp + 0x48], rdx
jmp 0x140029a67
cmp r14, r11
ja 0x14002a362
lea rax, [r14*2 - 1]
test rax, rax
je 0x14002a395
bsr rcx, rax
cmp rcx, 7
jae 0x140029a42
mov rcx, r10
jmp 0x140029a46
add rcx, 0xfffffffffffffffd
mov rax, r13
shl rax, cl
dec rax
lea rdx, [rax + r14]
not rax
and rdx, rax
mov qword [rsp + 0x48], rdx
cmp rdx, r14
jb 0x14002a362
mov rax, qword [0x140577188]
lea rcx, [rsi + 0xfff]
and rcx, 0xfffffffffffff000
add rax, 0xfffffffffffff000
add rcx, rdx
add rcx, rax
cmp rcx, rdx
jb 0x14002a362
lea rax, [rdx - 1]
movabs rcx, 0x6fffffffffffffff
cmp rax, rcx
ja 0x14002a362
cmp r15d, 0xfffffffe
jne 0x140029ab7
lea r12, [rbx + 0x358]
jmp 0x140029afa
cmp r15d, 0xffffffff
jne 0x140029ac2
mov r12, rdi
jmp 0x140029afa
mov rax, qword [0x140376268]
mov ecx, r15d
mov r12, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x40], rax
test r12, r12
je 0x14002a3bf
cmp r12, r13
jne 0x140029afa
mov rcx, rbx
call fcn.14005e670
mov r12, rax
mov rax, qword [rsp + 0x40]
mov qword [rax], r12
mov r15d, dword [rsp + 0x3c]
cmp r15d, 0xffffffff
jne 0x140029b0a
mov rdx, rdi
jmp 0x140029b2e
movzx r8d, r13b
mov edx, r15d
mov rcx, rbx
call fcn.1400213e0
mov rdx, rax
test rax, rax
jne 0x140029b2e
cmp r15d, dword [0x1405771f4]
jae 0x14002a362
test rsi, rsi
je 0x140029b5b
mov eax, dword [rsp + 0x30]
mov r9, rsi
mov r14, qword [rsp + 0x48]
mov rcx, rbx
mov r8, r14
mov qword [rsp + 0x28], r12
mov byte [rsp + 0x20], al
call fcn.140059db0
mov rsi, rax
jmp 0x140029d57
test r12, r12
je 0x140029d37
cmp r14, 0x3800
ja 0x140029c5a
mov r13d, dword [rsp + 0x34]
mov r8d, r13d
lea rax, [r13*2]
add rax, r13
lea r15, [r12 + rax*8]
mov rax, qword [r12 + rax*8 + 8]
lea rcx, [rax + 8]
mov rsi, qword [rax]
cmp ax, word [r15 + 0x18]
je 0x140029ba4
mov qword [r15 + 8], rcx
jmp 0x140029c31
cmp ax, word [r15 + 0x1c]
je 0x140029bb6
mov qword [r15 + 8], rcx
mov word [r15 + 0x18], cx
jmp 0x140029c31
mov rcx, rbx
call fcn.140020d20
mov rsi, rax
test rax, rax
jne 0x140029bce
mov rsi, rdi
jmp 0x140029d52
mov rax, qword [0x140376270]
mov r9d, r13d
mov rcx, rbx
cmp word [rax + r13*2], di
jne 0x140029bea
mov rdx, rsi
jmp 0x140029d3f
lea r8, [r15 + 8]
mov byte [rsp + 0x20], 1
mov rdx, r12
call fcn.14005dcc0
lea rax, [rsp + 0x38]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [r15 + 8]
mov rdx, rsi
mov dword [rsp + 0x20], r13d
mov rcx, rbx
call fcn.14005cc80
mov rsi, rax
cmp byte [rsp + 0x38], dil
jne 0x140029c2e
mov rsi, rdi
jmp 0x140029d52
mov r8, r13
cmp byte [rsp + 0x30], dil
je 0x140029c51
lea rax, [0x140000000]
xor edx, edx
mov r8, qword [rax + r8*8 + 0x36f940]
mov rcx, rsi
call fcn.1401e1b90
inc qword [r15 + 0x10]
jmp 0x140029d52
cmp r14, qword [0x140376258]
ja 0x140029d37
mov r8d, dword [rsp + 0x34]
lea rax, [r8 + r8*2]
mov rcx, qword [r12 + rax*8 + 8]
lea r15, [r12 + rax*8]
lea rax, [rcx + 8]
mov rsi, qword [rcx]
cmp cx, word [r15 + 0x18]
je 0x140029c8d
mov qword [r15 + 8], rax
jmp 0x140029c31
cmp cx, word [r15 + 0x1c]
je 0x140029c9f
mov qword [r15 + 8], rax
mov word [r15 + 0x18], ax
jmp 0x140029c31
mov rcx, rbx
call fcn.140020d20
mov rsi, rax
test rax, rax
jne 0x140029cb7
mov rsi, rdi
jmp 0x140029d52
mov r9d, dword [rsp + 0x34]
lea r8, [r15 + 8]
mov rdx, r12
mov byte [rsp + 0x20], dil
mov rcx, rbx
call fcn.14005dcc0
movabs rax, 0x7000000000000000
cmp r14, rax
jbe 0x140029ce4
mov r8, rdi
jmp 0x140029d1a
lea rax, [r14*2 - 1]
test rax, rax
je 0x14002a395
bsr rcx, rax
cmp rcx, 7
jae 0x140029d06
mov ecx, 4
jmp 0x140029d0a
add rcx, 0xfffffffffffffffd
shl r13, cl
dec r13
lea r8, [r14 + r13]
not r13
and r8, r13
mov r9d, dword [rsp + 0x30]
mov rdx, rsi
mov rcx, rbx
call fcn.14005c180
mov rsi, rax
test rax, rax
jne 0x140029d52
mov rsi, rdi
jmp 0x140029d52
mov r9d, dword [rsp + 0x34]
mov rcx, rbx
mov eax, dword [rsp + 0x30]
mov r8, r14
mov byte [rsp + 0x20], al
call fcn.140059560
mov rsi, rax
mov r14, qword [rsp + 0x48]
test rsi, rsi
je 0x14002a362
lea rcx, [rbx + 0x338]
mov byte [rsp + 0x58], 1
mov qword [rsp + 0x60], rcx
lea rax, [rbx + 8]
mov qword [rsp + 0x68], rax
lea rax, [rbx + 0x10]
mov qword [rsp + 0x70], rax
lea rax, [rbx + 0x340]
mov qword [rsp + 0x78], rax
mov rdx, qword [rcx]
lea rax, [r14 + rdx]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
sub rcx, rdx
cmp r14, rcx
jb 0x140029db6
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140063e40
mov rdi, rsi
jmp 0x14002a362
lea rax, [rsi - 1]
mov dword [rsp + 0x34], edi
test rsi, rax
jne 0x14002a331
mov eax, dword [rsp + 0x30]
lea r9, [0x140000000]
cmp byte [0x1403671c9], dil
movabs rcx, 0x7000000000000000
movzx eax, al
mov r8d, 4
cmovne eax, r13d
mov dword [rsp + 0x30], eax
test rsi, rsi
jne 0x140029e5a
cmp r14, 0x1000
ja 0x140029e22
lea rax, [r14 + 7]
shr rax, 3
movzx r8d, byte [rax + r9 + 0x370080]
mov dword [rsp + 0x34], r8d
jmp 0x140029e38
mov rcx, r14
call fcn.14002b460
mov r8d, eax
mov dword [rsp + 0x34], eax
lea r9, [0x140000000]
cmp r8d, 0xe8
jae 0x14002a331
mov eax, r8d
mov rcx, qword [r9 + rax*8 + 0x36f940]
mov qword [rsp + 0x40], rcx
jmp 0x140029fb1
cmp r14, 0x3800
ja 0x140029f04
cmp rsi, 0x1000
ja 0x140029f04
lea rdx, [r14 - 1]
mov rax, rsi
add rdx, rsi
neg rax
and rdx, rax
cmp rdx, 0x1000
ja 0x140029ea8
lea rax, [rdx + 7]
shr rax, 3
movzx eax, byte [rax + r9 + 0x370080]
mov rdx, qword [r9 + rax*8 + 0x36f940]
jmp 0x140029ef2
cmp rdx, rcx
jbe 0x140029eb2
mov rdx, rdi
jmp 0x140029ef2
lea rax, [rdx*2 - 1]
test rax, rax
je 0x14002a395
bsr rcx, rax
cmp rcx, 7
jae 0x140029ed2
mov rcx, r8
jmp 0x140029ed6
add rcx, 0xfffffffffffffffd
mov rax, r13
shl rax, cl
movabs rcx, 0x7000000000000000
dec rax
add rdx, rax
not rax
and rdx, rax
mov qword [rsp + 0x40], rdx
cmp rdx, 0x4000
jb 0x140029f9a
cmp rsi, rcx
ja 0x14002a331
cmp r14, 0x4000
ja 0x140029f22
mov edx, 0x4000
mov qword [rsp + 0x40], rdx
jmp 0x140029f70
cmp r14, rcx
ja 0x14002a331
lea rax, [r14*2 - 1]
test rax, rax
je 0x14002a395
bsr rcx, rax
cmp rcx, 7
jae 0x140029f4b
mov rcx, r8
jmp 0x140029f4f
add rcx, 0xfffffffffffffffd
mov rax, r13
shl rax, cl
dec rax
lea rdx, [rax + r14]
not rax
and rdx, rax
mov qword [rsp + 0x40], rdx
cmp rdx, r14
jb 0x14002a331
mov rax, qword [0x140577188]
lea rcx, [rsi + 0xfff]
and rcx, 0xfffffffffffff000
add rax, 0xfffffffffffff000
add rcx, rdx
add rcx, rax
cmp rcx, rdx
jb 0x14002a331
lea rax, [rdx - 1]
movabs rcx, 0x6fffffffffffffff
cmp rax, rcx
ja 0x14002a331
cmp byte [rbx + 1], dil
jle 0x140029fc1
mov r15d, 0xffffffff
mov dword [rsp + 0x3c], edi
cmp r15d, 0xfffffffe
jne 0x140029fda
cmp byte [rbx], dil
jne 0x140029fd1
mov r12, rdi
jmp 0x14002a01d
lea r12, [rbx + 0x358]
jmp 0x14002a01d
cmp r15d, 0xffffffff
jne 0x140029fe5
mov r12, rdi
jmp 0x14002a01d
mov rax, qword [0x140376268]
mov ecx, r15d
mov r12, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x50], rax
test r12, r12
je 0x14002a3d4
cmp r12, r13
jne 0x14002a01d
mov rcx, rbx
call fcn.14005e670
mov r12, rax
mov rax, qword [rsp + 0x50]
mov qword [rax], r12
mov r15d, dword [rsp + 0x3c]
cmp r15d, 0xffffffff
jne 0x14002a02d
mov rdx, rdi
jmp 0x14002a051
movzx r8d, r13b
mov edx, r15d
mov rcx, rbx
call fcn.1400213e0
mov rdx, rax
test rax, rax
jne 0x14002a051
cmp r15d, dword [0x1405771f4]
jae 0x14002a331
test rsi, rsi
je 0x14002a080
mov r15, qword [rsp + 0x40]
mov r9, rsi
mov qword [rsp + 0x28], r12
mov r8, r15
mov r12d, dword [rsp + 0x30]
mov rcx, rbx
mov byte [rsp + 0x20], r12b
call fcn.140059db0
mov rsi, rax
jmp 0x14002a2c0
test r12, r12
je 0x14002a29e
cmp r14, 0x3800
ja 0x14002a18a
mov r13d, dword [rsp + 0x34]
lea rax, [r13*2]
add rax, r13
lea r15, [r12 + rax*8]
mov rax, qword [r12 + rax*8 + 8]
lea rcx, [rax + 8]
mov rsi, qword [rax]
cmp ax, word [r15 + 0x18]
je 0x14002a0ed
mov qword [r15 + 8], rcx
mov r12d, dword [rsp + 0x30]
test r12b, r12b
je 0x14002a0e4
lea rax, [0x140000000]
xor edx, edx
mov r8, qword [rax + r13*8 + 0x36f940]
mov rcx, rsi
call fcn.1401e1b90
inc qword [r15 + 0x10]
jmp 0x14002a2bb
cmp ax, word [r15 + 0x1c]
je 0x14002a0ff
mov qword [r15 + 8], rcx
mov word [r15 + 0x18], cx
jmp 0x14002a0c1
mov rcx, rbx
call fcn.140020d20
mov rsi, rax
test rax, rax
jne 0x14002a11c
mov r12d, dword [rsp + 0x30]
mov rsi, rdi
jmp 0x14002a2bb
mov rax, qword [0x140376270]
mov rcx, rbx
mov r9d, dword [rsp + 0x34]
cmp word [rax + r13*2], di
jne 0x14002a13a
mov rdx, rsi
jmp 0x14002a2a6
lea r8, [r15 + 8]
mov byte [rsp + 0x20], 1
mov rdx, r12
call fcn.14005dcc0
lea rax, [rsp + 0x39]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [r15 + 8]
mov eax, dword [rsp + 0x34]
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.14005cc80
mov rsi, rax
cmp byte [rsp + 0x39], dil
jne 0x14002a0c1
mov r12d, dword [rsp + 0x30]
mov rsi, rdi
jmp 0x14002a2bb
cmp r14, qword [0x140376258]
ja 0x14002a29e
mov r8d, dword [rsp + 0x34]
lea rax, [r8 + r8*2]
mov rcx, qword [r12 + rax*8 + 8]
lea r15, [r12 + rax*8]
lea rax, [rcx + 8]
mov rsi, qword [rcx]
cmp cx, word [r15 + 0x18]
je 0x14002a1bd
mov qword [r15 + 8], rax
jmp 0x14002a1cd
cmp cx, word [r15 + 0x1c]
je 0x14002a1fd
mov qword [r15 + 8], rax
mov word [r15 + 0x18], ax
mov r12d, dword [rsp + 0x30]
test r12b, r12b
je 0x14002a0e4
lea rax, [0x140000000]
xor edx, edx
mov r8, qword [rax + r8*8 + 0x36f940]
mov rcx, rsi
call fcn.1401e1b90
inc qword [r15 + 0x10]
jmp 0x14002a2bb
mov rcx, rbx
call fcn.140020d20
mov rsi, rax
test rax, rax
jne 0x14002a21a
mov r12d, dword [rsp + 0x30]
mov rsi, rdi
jmp 0x14002a2bb
mov r9d, dword [rsp + 0x34]
lea r8, [r15 + 8]
mov rdx, r12
mov byte [rsp + 0x20], dil
mov rcx, rbx
call fcn.14005dcc0
movabs rax, 0x7000000000000000
cmp r14, rax
jbe 0x14002a247
mov r8, rdi
jmp 0x14002a27d
lea rax, [r14*2 - 1]
test rax, rax
je 0x14002a395
bsr rcx, rax
cmp rcx, 7
jae 0x14002a269
mov ecx, 4
jmp 0x14002a26d
add rcx, 0xfffffffffffffffd
shl r13, cl
dec r13
lea r8, [r14 + r13]
not r13
and r8, r13
mov r12d, dword [rsp + 0x30]
mov rdx, rsi
movzx r9d, r12b
mov rcx, rbx
call fcn.14005c180
mov rsi, rax
test rax, rax
jne 0x14002a2bb
mov rsi, rdi
jmp 0x14002a2bb
mov r9d, dword [rsp + 0x34]
mov rcx, rbx
mov r12d, dword [rsp + 0x30]
mov r8, r14
mov byte [rsp + 0x20], r12b
call fcn.140059560
mov rsi, rax
mov r15, qword [rsp + 0x40]
test rsi, rsi
je 0x14002a331
lea rcx, [rbx + 0x338]
mov byte [rbp - 0x80], 1
mov qword [rbp - 0x78], rcx
lea rax, [rbx + 8]
mov qword [rbp - 0x70], rax
lea rax, [rbx + 0x10]
mov qword [rbp - 0x68], rax
lea rax, [rbx + 0x340]
mov qword [rbp - 0x60], rax
mov rdx, qword [rcx]
lea rax, [rdx + r15]
mov qword [rcx], rax
mov rax, qword [rbp - 0x68]
mov rcx, qword [rax]
sub rcx, rdx
cmp r15, rcx
jb 0x14002a314
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.140063e40
test r12b, r12b
jne 0x14002a32e
cmp byte [0x1403671c4], dil
je 0x14002a32e
mov rdx, r15
mov rcx, rsi
call qword [0x140357088]
mov rdi, rsi
movsxd rcx, dword [rsp + 0x48]
lea r9, [rbp + 0xa00]
xor eax, eax
mov qword [rbp + 0xa08], rcx
mov r8, rdi
mov qword [rbp + 0xa00], r14
mov rdx, rdi
mov qword [rbp + 0xa10], rax
lea ecx, [rax + 6]
call fcn.140038e10
mov r12, qword [rsp + 0xb20]
mov rax, rdi
mov rbx, qword [rsp + 0xb70]
mov rcx, qword [rbp + 0xa18]
xor rcx, rsp
call fcn.1401dee10
add rsp, 0xb28
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
call fcn.1401f3454
int3
lea rcx, str._jemalloc_:_Error_allocating_TSD_n
call fcn.14002eb70
call fcn.1401f3454
int3
lea rcx, str._jemalloc_:_Error_setting_TSD_n
call fcn.14002eb70
call fcn.1401f3454
int3
mov edx, r15d
lea rcx, str._jemalloc_:_invalid_tcache_id___u_._n
call fcn.14002d890
call fcn.1401f3454
int3
mov edx, r15d
lea rcx, str._jemalloc_:_invalid_tcache_id___u_._n
call fcn.14002d890
call fcn.1401f3454
int3