joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180025fe0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, [0x18018fae8]
call sym.tcl86t.dll_hcl_MutexLock
lea rcx, [0x1801629f8]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, rax
test rax, rax
je 0x1800260a0
mov r8, qword [0x18018f098]
lea rcx, [r8 - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18002603e
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180026036
inc rax
test ecx, ecx
jne 0x180026023
test edx, edx
je 0x1800260cd
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__tzset]
mov rcx, qword [0x18018f098]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x18002605a
call sym.tcl86t.dll_hclpFree
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], 0
jne 0x180026061
inc edi
mov ecx, edi
call sym.tcl86t.dll_hclpAlloc
mov rcx, rax
test rax, rax
jne 0x18002607f
test edi, edi
jne 0x1800260e5
mov qword [0x18018f098], rcx
sub rcx, rbx
nop dword [rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x180026090
jmp 0x1800260cd
cmp qword [0x18018f098], 0
je 0x1800260cd
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__tzset]
mov rcx, qword [0x18018f098]
cmp rcx, 0xffffffffffffffff
je 0x1800260c2
call sym.tcl86t.dll_hclpFree
mov qword [0x18018f098], 0
mov rcx, qword [0x18018fae8]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, edi
lea rcx, str.unable_to_alloc__u_bytes
call sym.tcl86t.dll_hcl_Panic
int3
Function at 0x18002afa0
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
mov qword [rsp + 0x30], rsi
mov rbx, rdx
xor esi, esi
mov rbp, rcx
cmp dword [rdx + 0x14], esi
jle 0x18002b0ba
mov qword [rsp + 0x38], rdi
mov edi, esi
nop word [rax + rax]
mov rax, qword [rbx + 0x30]
mov rdx, qword [rdi + rax]
test rdx, rdx
je 0x18002b03b
mov ecx, dword [rdx]
lea eax, [rcx - 1]
mov dword [rdx], eax
cmp ecx, 1
jg 0x18002b03b
mov rax, qword [rbx + 0x30]
mov rcx, qword [rdi + rax]
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x18002b008
cmp qword [rdx + 8], 0
je 0x18002b008
call sym.tcl86t.dll_hclFreeObj
jmp 0x18002b03b
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x18002b023
cmp rcx, qword [0x18018f080]
je 0x18002b023
call sym.tcl86t.dll_hclpFree
mov rax, qword [rbx + 0x30]
mov rax, qword [rdi + rax]
mov dword [rax + 0x10], 0xffffffff
mov rcx, qword [rbx + 0x30]
mov rcx, qword [rdi + rcx]
call fcn.1801063c0
mov rax, qword [rbx + 0x48]
mov rdx, qword [rdi + rax]
test rdx, rdx
je 0x18002b0a6
mov ecx, dword [rdx]
lea eax, [rcx - 1]
mov dword [rdx], eax
cmp ecx, 1
jg 0x18002b0a6
mov rax, qword [rbx + 0x48]
mov rcx, qword [rdi + rax]
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x18002b073
cmp qword [rdx + 8], 0
je 0x18002b073
call sym.tcl86t.dll_hclFreeObj
jmp 0x18002b0a6
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x18002b08e
cmp rcx, qword [0x18018f080]
je 0x18002b08e
call sym.tcl86t.dll_hclpFree
mov rax, qword [rbx + 0x48]
mov rax, qword [rdi + rax]
mov dword [rax + 0x10], 0xffffffff
mov rcx, qword [rbx + 0x48]
mov rcx, qword [rdi + rcx]
call fcn.1801063c0
inc esi
add rdi, 8
cmp esi, dword [rbx + 0x14]
jl 0x18002afd0
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rbx + 0x50]
mov rsi, qword [rsp + 0x30]
test rdx, rdx
je 0x18002b11d
mov ecx, dword [rdx]
lea eax, [rcx - 1]
mov dword [rdx], eax
cmp ecx, 1
jg 0x18002b11d
mov rax, qword [rbx + 0x50]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18002b0f2
cmp qword [rcx + 8], 0
je 0x18002b0f2
mov rcx, rax
call sym.tcl86t.dll_hclFreeObj
jmp 0x18002b11d
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18002b10d
cmp rcx, qword [0x18018f080]
je 0x18002b10d
call sym.tcl86t.dll_hclpFree
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], 0xffffffff
mov rcx, qword [rbx + 0x50]
call fcn.1801063c0
mov rdx, rbx
mov rcx, rbp
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
jmp sym.tcl86t.dll_hclStackFree
Function at 0x180045b90
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd rbp, dword [rcx]
mov r15, rcx
test rbp, rbp
jle 0x180045cd6
xor esi, esi
lea r14, [rcx + 0x10]
lea r12, [0x180190200]
nop word [rax + rax]
mov rbx, qword [r14]
test rbx, rbx
je 0x180045cc6
cmp dword [0x1801905e4], 0
jne 0x180045c06
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1801905ac], eax
mov dword [0x1801905e4], 1
cmp eax, 0xffffffff
je 0x180045d15
jmp 0x180045c0c
mov eax, dword [0x1801905ac]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x180045c2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x180045d22
test rdi, rdi
jne 0x180045c37
call fcn.180105bb0
mov rdi, rax
movzx eax, byte [rbx - 0x10]
add rbx, 0xfffffffffffffff0
cmp al, 0xef
jne 0x180045cfc
cmp byte [rbx + 3], al
jne 0x180045cfc
movzx edx, byte [rbx + 1]
cmp edx, 0xa
jne 0x180045c75
mov eax, dword [rbx + 8]
sub dword [rdi + 0x28], eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180045cc6
lea rax, [rdx + rdx*4]
lea rcx, [rdi + rax*8]
mov eax, dword [rbx + 8]
sub dword [rcx + 0x54], eax
mov rax, qword [rcx + 0x30]
mov qword [rbx], rax
mov r9d, dword [rcx + 0x40]
mov qword [rcx + 0x30], rbx
test r9d, r9d
jne 0x180045c9b
mov qword [rcx + 0x38], rbx
inc dword [rcx + 0x48]
inc r9d
cmp rdi, qword [0x18018f158]
mov dword [rcx + 0x40], r9d
je 0x180045cc6
lea rax, [rdx + rdx*2]
cmp r9d, dword [r12 + rax*8 + 8]
jle 0x180045cc6
mov r8d, dword [r12 + rax*8 + 0xc]
mov rcx, rdi
call fcn.180106700
inc rsi
add r14, 8
cmp rsi, rbp
jl 0x180045bd0
mov rcx, r15
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
jmp sym.tcl86t.dll_hclpFree
movzx r9d, byte [rbx + 3]
lea rcx, str.alloc:_invalid_block:__p:__x__x
movzx r8d, al
mov rdx, rbx
call sym.tcl86t.dll_hcl_Panic
int3
lea rcx, str.could_not_allocate_thread_local_storage
call sym.tcl86t.dll_hcl_Panic
int3
lea rcx, str.TlsGetValue_failed_from_TclpGetAllocCache
call sym.tcl86t.dll_hcl_Panic
int3
Function at 0x1800690e0
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx]
xor esi, esi
test byte [rcx + 0x20], 1
mov r14, rcx
mov edi, dword [rcx + 0x4c]
mov r15d, dword [rcx + 0x54]
mov rbp, qword [rax]
mov rbx, qword [rcx + 0x70]
je 0x180069141
test edi, edi
jle 0x18006913b
mov rcx, qword [rbx]
test rcx, rcx
je 0x180069131
mov edx, dword [rcx]
lea eax, [rdx - 1]
mov dword [rcx], eax
cmp edx, 1
jg 0x180069131
call sym.tcl86t.dll_hclFreeObj
add rbx, 8
sub rdi, 1
jne 0x180069118
mov dword [r14 + 0x4c], esi
jmp 0x180069159
test edi, edi
je 0x180069159
mov rdx, qword [rbx]
mov rcx, rbp
call fcn.1800c42a0
lea rbx, [rbx + 8]
sub edi, 1
jne 0x180069145
mov rbx, qword [r14 + 0x80]
test r15d, r15d
jle 0x18006918c
mov rdi, r15
nop dword [rax + rax]
mov rax, qword [rbx]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x180069182
mov rcx, qword [rbx + 8]
call rdx
add rbx, 0x10
sub rdi, 1
jne 0x180069170
test rbp, rbp
je 0x1800691ba
mov rax, qword [rbp + 0x3c8]
mov rdx, r14
mov rcx, rax
call qword [rax + 0x40]
mov rbx, rax
test rax, rax
je 0x1800691ba
mov rcx, qword [rax + 0x18]
call fcn.180069470
mov rcx, rbx
call sym.tcl86t.dll_hcl_DeleteHashEntry
mov rax, qword [r14 + 0xa8]
test rax, rax
je 0x180069203
sub dword [rax], 1
jne 0x180069203
mov rdi, qword [r14 + 0xa8]
lea rbx, [rdi + 8]
cmp dword [rdi + 4], esi
jle 0x1800691fb
nop dword [rax + rax]
mov rdx, qword [rbx]
test rdx, rdx
je 0x1800691f0
mov rcx, rbp
call fcn.1800c42a0
inc esi
add rbx, 8
cmp esi, dword [rdi + 4]
jl 0x1800691e0
mov rcx, rdi
call sym.tcl86t.dll_hclpFree
mov rcx, qword [r14]
sub dword [rcx + 8], 1
jne 0x180069217
cmp qword [rcx], 0
jne 0x180069217
call sym.tcl86t.dll_hclpFree
mov rcx, r14
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
jmp sym.tcl86t.dll_hclpFree

Function at 0x180069470
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx], 4
mov rbx, rcx
mov qword [rsp + 0x38], rdi
jne 0x180069498
mov rcx, qword [rcx + 8]
mov edx, dword [rcx]
lea eax, [rdx - 1]
mov dword [rcx], eax
cmp edx, 1
jg 0x180069498
call sym.tcl86t.dll_hclFreeObj
xor edi, edi
cmp dword [rbx + 0x1c], edi
jle 0x1800694ce
mov qword [rsp + 0x30], rsi
mov esi, edi
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rcx, qword [rcx + rsi + 8]
call sym.tcl86t.dll_hclpFree
inc edi
lea rsi, [rsi + 0x18]
cmp edi, dword [rbx + 0x1c]
jl 0x1800694b0
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rbx + 0x10]
mov rdi, qword [rsp + 0x38]
test rcx, rcx
je 0x1800694e1
call sym.tcl86t.dll_hclpFree
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.tcl86t.dll_hclpFree
Function at 0x180070b90
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [rcx + 0x58]
mov rsi, rcx
test rdi, rdi
je 0x180070c0e
mov qword [rsp + 0x30], rbx
nop dword [rax + rax]
mov rbx, qword [rdi + 0x18]
mov edx, dword [rbx]
lea eax, [rdx - 1]
mov dword [rbx], eax
cmp edx, 1
jg 0x180070c00
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x180070bda
cmp qword [rax + 8], 0
je 0x180070bda
mov rcx, rbx
call sym.tcl86t.dll_hclFreeObj
jmp 0x180070c00
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180070bf1
cmp rcx, qword [0x18018f080]
je 0x180070bf1
call sym.tcl86t.dll_hclpFree
mov rcx, rbx
mov dword [rbx + 0x10], 0xffffffff
call fcn.1801063c0
mov rdi, qword [rdi + 0x30]
test rdi, rdi
jne 0x180070bb0
mov rbx, qword [rsp + 0x30]
mov rcx, rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp sym.tcl86t.dll_hcl_DeleteHashTable
Function at 0x180071ad0
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push r14
push r15
sub rsp, 0x20
mov rsi, qword [rcx + 0x20]
lea r15, [0x180190200]
mov rbp, rcx
mov qword [rsp + 0x40], rdi
xor r14d, r14d
nop dword [rax]
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x180071c08
cmp rbx, qword [0x18018f080]
je 0x180071c04
cmp dword [0x1801905e4], r14d
jne 0x180071b44
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1801905ac], eax
mov dword [0x1801905e4], 1
cmp eax, 0xffffffff
je 0x180071c57
jmp 0x180071b4a
mov eax, dword [0x1801905ac]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x180071b68
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x180071c64
test rdi, rdi
jne 0x180071b75
call fcn.180105bb0
mov rdi, rax
movzx eax, byte [rbx - 0x10]
add rbx, 0xfffffffffffffff0
cmp al, 0xef
jne 0x180071c3e
cmp byte [rbx + 3], al
jne 0x180071c3e
movzx edx, byte [rbx + 1]
cmp edx, 0xa
jne 0x180071bb3
mov eax, dword [rbx + 8]
sub dword [rdi + 0x28], eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180071c04
lea rax, [rdx + rdx*4]
lea rcx, [rdi + rax*8]
mov eax, dword [rbx + 8]
sub dword [rcx + 0x54], eax
mov rax, qword [rcx + 0x30]
mov qword [rbx], rax
mov r9d, dword [rcx + 0x40]
mov qword [rcx + 0x30], rbx
test r9d, r9d
jne 0x180071bd9
mov qword [rcx + 0x38], rbx
inc dword [rcx + 0x48]
inc r9d
cmp rdi, qword [0x18018f158]
mov dword [rcx + 0x40], r9d
je 0x180071c04
lea rax, [rdx + rdx*2]
cmp r9d, dword [r15 + rax*8 + 8]
jle 0x180071c04
mov r8d, dword [r15 + rax*8 + 0xc]
mov rcx, rdi
call fcn.180106700
mov qword [rbp + 8], r14
inc dword [rsi + 0x68]
mov rbp, qword [rsi + 0x78]
test rbp, rbp
je 0x180071c25
mov qword [rsi + 0x78], r14
mov rsi, qword [rbp + 0x20]
test rsi, rsi
jne 0x180071b00
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
movzx r9d, byte [rbx + 3]
lea rcx, str.alloc:_invalid_block:__p:__x__x
movzx r8d, al
mov rdx, rbx
call sym.tcl86t.dll_hcl_Panic
int3
lea rcx, str.could_not_allocate_thread_local_storage
call sym.tcl86t.dll_hcl_Panic
int3
lea rcx, str.TlsGetValue_failed_from_TclpGetAllocCache
call sym.tcl86t.dll_hcl_Panic
int3

Function at 0x180072090
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp dword [rcx + 8], 0xffffffff
je 0x1800720da
mov dword [rcx + 8], 0xffffffff
mov qword [rsp + 0x20], rbx
mov rbx, qword [rcx + 0x10]
mov rdx, qword [rbx + 0x70]
lea rax, [rdx - 1]
mov qword [rbx + 0x70], rax
cmp rdx, 1
ja 0x1800720d5
mov rcx, rbx
call fcn.180070b90
mov rcx, rbx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp sym.tcl86t.dll_hclpFree
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x180083090
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
cmp dword [rcx + 0x4c], 0
mov rbp, rcx
je 0x180083121
mov r8d, dword [rcx + 0x48]
mov qword [rsp + 0x30], rbx
xor ebx, ebx
nop
cmp ebx, r8d
jge 0x180083113
mov rax, qword [rbp + 0x20]
movsxd rcx, ebx
inc ebx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je 0x1800830b0
mov qword [rsp + 0x38], rdi
mov rdi, qword [rdx]
nop
mov rcx, qword [rdx + 0x18]
mov edx, dword [rcx]
lea eax, [rdx - 1]
mov dword [rcx], eax
cmp edx, 1
jg 0x1800830e5
call sym.tcl86t.dll_hclFreeObj
test rdi, rdi
jne 0x180083106
mov edx, dword [rbp + 0x48]
nop dword [rax]
cmp ebx, edx
jge 0x18008310e
mov rax, qword [rbp + 0x20]
movsxd rcx, ebx
inc ebx
mov rdi, qword [rax + rcx*8]
test rdi, rdi
je 0x1800830f0
mov rdx, rdi
mov rdi, qword [rdi]
jmp 0x1800830d0
mov rdi, qword [rsp + 0x38]
mov rcx, qword [rbp + 0x18]
call sym.tcl86t.dll_hclpFree
mov rbx, qword [rsp + 0x30]
lea rcx, [rbp + 0x20]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
jmp sym.tcl86t.dll_hcl_DeleteHashTable

Function at 0x180086b80
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [0x1801902f8]
mov rbp, rcx
mov rsi, rdx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
movsxd rcx, dword [0x18018fdd0]
xor edi, edi
mov ebx, edi
test rax, rax
je 0x180086bc9
test ecx, ecx
jle 0x180086bc9
cmp ecx, dword [rax + 8]
jge 0x180086bc9
mov rax, qword [rax]
mov rbx, qword [rax + rcx*8]
test rbx, rbx
jne 0x180086bf6
lea ecx, [rbx + 0x10]
call sym.tcl86t.dll_hclpAlloc
mov rbx, rax
test rax, rax
je 0x180086c45
xor eax, eax
lea rcx, [0x18018fdd0]
mov qword [rbx], rax
mov rdx, rbx
mov qword [rbx + 8], rax
call fcn.180106bc0
mov rcx, qword [rbx]
test rcx, rcx
je 0x180086c30
nop
cmp qword [rcx], rbp
jne 0x180086c0b
cmp qword [rcx + 8], rsi
je 0x180086c19
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x180086c00
jmp 0x180086c30
mov rax, qword [rcx + 0x10]
test rdi, rdi
jne 0x180086c27
mov qword [rbx], rax
jmp 0x180086c2b
mov qword [rdi + 0x10], rax
call sym.tcl86t.dll_hclpFree
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov edx, reloc.WS2_32.dll_recv
lea rcx, str.unable_to_alloc__u_bytes
call sym.tcl86t.dll_hcl_Panic
int3
Function at 0x180087ae0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1801902f8]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
movsxd rcx, dword [0x18018fdd0]
test rax, rax
je 0x180087b1c
test ecx, ecx
jle 0x180087b1c
cmp ecx, dword [rax + 8]
jge 0x180087b1c
mov rax, qword [rax]
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je 0x180087b1c
mov eax, dword [rdx + 8]
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x180088340
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x10], 0
je 0x180088354
cmp dword [0x18018fde4], 0
je 0x18008837c
mov rdx, qword [rcx]
test rdx, rdx
je 0x180088364
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x180088373
mov rax, qword [rcx]
mov qword [rdx], rax
add rsp, 0x28
jmp sym.tcl86t.dll_hclpFree
lea rcx, str.freeing_an_execStack_which_is_still_in_use
call sym.tcl86t.dll_hcl_Panic
int3
Function at 0x180088390
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx]
mov rdi, rcx
mov edx, dword [0x18018fdbc]
mov dword [0x18018fde4], edx
mov rax, qword [rbx + 8]
test rax, rax
je 0x1800883d0
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x1800883c0
nop dword [rax]
mov rcx, rbx
mov rbx, qword [rbx]
cmp qword [rcx + 0x10], 0
je 0x1800883e5
test edx, edx
je 0x1800884f3
test rbx, rbx
je 0x1800883f2
mov rax, qword [rcx + 8]
mov qword [rbx + 8], rax
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x180088401
mov rax, qword [rcx]
mov qword [rdx], rax
call sym.tcl86t.dll_hclpFree
test rbx, rbx
je 0x180088413
mov edx, dword [0x18018fde4]
jmp 0x1800883d0
mov rcx, qword [rdi + 8]
mov edx, dword [rcx]
lea eax, [rdx - 1]
mov dword [rcx], eax
cmp edx, 1
jg 0x18008846c
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x180088441
cmp qword [rcx + 8], 0
je 0x180088441
mov rcx, rax
call sym.tcl86t.dll_hclFreeObj
jmp 0x18008846c
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18008845c
cmp rcx, qword [0x18018f080]
je 0x18008845c
call sym.tcl86t.dll_hclpFree
mov rax, qword [rdi + 8]
mov dword [rax + 0x10], 0xffffffff
mov rcx, qword [rdi + 8]
call fcn.1801063c0
mov rcx, qword [rdi + 0x10]
mov edx, dword [rcx]
lea eax, [rdx - 1]
mov dword [rcx], eax
cmp edx, 1
jg 0x1800884c5
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18008849a
cmp qword [rcx + 8], 0
je 0x18008849a
mov rcx, rax
call sym.tcl86t.dll_hclFreeObj
jmp 0x1800884c5
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1800884b5
cmp rcx, qword [0x18018f080]
je 0x1800884b5
call sym.tcl86t.dll_hclpFree
mov rax, qword [rdi + 0x10]
mov dword [rax + 0x10], 0xffffffff
mov rcx, qword [rdi + 0x10]
call fcn.1801063c0
cmp qword [rdi + 0x20], 0
mov eax, dword [0x18018fde4]
je 0x1800884d6
test eax, eax
je 0x180088500
cmp qword [rdi + 0x28], 0
je 0x1800884e1
test eax, eax
je 0x18008850d
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp sym.tcl86t.dll_hclpFree
lea rcx, str.freeing_an_execStack_which_is_still_in_use
call sym.tcl86t.dll_hcl_Panic
int3
lea rcx, str.Deleting_execEnv_with_pending_TEOV_callbacks_
call sym.tcl86t.dll_hcl_Panic
int3
lea rcx, str.Deleting_execEnv_with_existing_coroutine
call sym.tcl86t.dll_hcl_Panic
int3
Function at 0x1800887b0
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push rdi
sub rsp, 0x20
test rcx, rcx
je 0x1800888a9
mov rdi, qword [rcx + 0x1c0]
test rdi, rdi
je 0x1800888a9
mov qword [rsp + 0x30], rbx
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x10]
mov r9, qword [r8]
test rdx, rdx
je 0x180088805
mov rax, r8
mov ecx, reloc.WS2_32.dll_recv
and eax, 0xf
sub rcx, rax
shr rcx, 3
movsxd rax, ecx
lea rcx, [r8 + rax*8]
cmp rcx, rdx
jne 0x1800888b6
mov qword [rbx + 0x10], r9
lea rax, [r8 - 8]
mov qword [rbx + 0x20], rax
test r9, r9
jne 0x18008888b
mov rax, qword [rbx + 8]
test rax, rax
je 0x18008882c
nop
mov rbx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x180088820
lea rax, [rbx + 0x20]
mov qword [rax], rax
mov rax, qword [rbx]
test rax, rax
je 0x180088888
nop dword [rax + rax]
lea rcx, [rax + 0x20]
cmp qword [rcx], rcx
jne 0x180088896
cmp qword [rax + 0x10], 0
je 0x180088859
cmp dword [0x18018fde4], 0
je 0x1800888d2
mov rdx, qword [rax]
test rdx, rdx
je 0x180088869
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x180088878
mov rcx, qword [rax]
mov qword [rdx], rcx
mov rcx, rax
call sym.tcl86t.dll_hclpFree
mov rax, qword [rbx]
test rax, rax
jne 0x180088840
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test rax, rax
je 0x180088888
mov rbx, qword [rsp + 0x30]
mov qword [rdi], rax
add rsp, 0x20
pop rdi
ret
mov rcx, rdx
add rsp, 0x20
pop rdi
jmp sym.tcl86t.dll_hclpFree
mov rcx, r8
call fcn.180088520
movsxd rcx, eax
lea r8, [r8 + rcx*8]
lea rcx, str.TclStackFree:_incorrect_freePtr___p____p_._Call_out_of_sequence_
call sym.tcl86t.dll_hcl_Panic
int3
lea rcx, str.freeing_an_execStack_which_is_still_in_use
call sym.tcl86t.dll_hcl_Panic
int3

Function at 0x18009dff0
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov r9, qword [rcx + 8]
mov rdx, rcx
mov eax, dword [r9 + 0x3c]
test eax, eax
jne 0x18009e00c
lea r8, reloc.WS2_32.dll_accept
jmp 0x18009e02d
cmp eax, 1
jne 0x18009e01a
lea r8, reloc.WS2_32.dll_accept
jmp 0x18009e02d
add eax, 2
lea r8, [0x180152b30]
cmp eax, 1
ja 0x18009e02d
mov r8, qword [r9 + 0x50]
cmp qword [r8 + 8], 0
je 0x18009e044
test byte [r8 + 4], 1
jne 0x18009e044
mov eax, dword [r9 + 0x38]
and eax, dword [rcx + 0x10]
jmp 0x18009e055
imul eax, dword [rcx + 0x10], 0x41c64e6d
mov ecx, dword [r9 + 0x34]
sar eax, cl
and eax, dword [r9 + 0x38]
movsxd rcx, eax
mov rax, qword [r9]
lea r10, [rax + rcx*8]
mov rcx, qword [rax + rcx*8]
cmp rcx, rdx
jne 0x18009e070
mov rax, qword [rdx]
mov qword [r10], rax
jmp 0x18009e08d
test rcx, rcx
je 0x18009e0ad
mov rax, qword [rcx]
cmp rax, rdx
je 0x18009e087
mov rcx, rax
test rax, rax
je 0x18009e0ad
jmp 0x18009e075
mov rax, qword [rdx]
mov qword [rcx], rax
dec dword [r9 + 0x2c]
mov rcx, rdx
mov rax, qword [r8 + 0x20]
test rax, rax
je 0x18009e0a4
add rsp, 0x28
jmp rax
add rsp, 0x28
jmp sym.tcl86t.dll_hclpFree
lea rcx, str.malformed_bucket_chain_in_Tcl_DeleteHashEntry
call sym.tcl86t.dll_hcl_Panic
int3