joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400798d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xb0
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov eax, ebx
lock xadd dword [rcx + 0x30], eax
test eax, eax
jne 0x140079916
call fcn.140079a90
xorps xmm0, xmm0
mov dword [rsp + 0x30], ebx
movups xmmword [rsi], xmm0
movsd xmm0, qword [rsp + 0x30]
movsd qword [rsi + 0x10], xmm0
xor eax, eax
jmp 0x140079a19
mov dword [rsp + 0x90], ebx
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], rbx
lea rcx, [rsp + 0x98]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
lea rax, [rdi + 0x28]
test rdi, rdi
cmove rax, rbx
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov r9, rsi
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.140079e00
test rax, rax
je 0x1400799d4
nop dword [rax]
lea rax, [rbx + 1]
cmp rbx, 0xffffffffffffffff
cmove rax, rbx
mov rbx, rax
mov r9, rsi
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.140079e00
test rax, rax
jne 0x1400799b0
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rdi, [rsp + 0x40]
mov esi, 0xa
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400799fe
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add rdi, 8
sub rsi, 1
jne 0x1400799f0
lea rcx, [rsp + 0x98]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_]
mov rax, rbx
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140079b70
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x70
xor eax, eax
lea rbx, [rcx + 0x28]
test rcx, rcx
mov ecx, dword [0x1409241a4]
cmove rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140079cb0
cmp qword [rax], rbx
je 0x140079bac
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140079b98
add rsp, 0x70
pop rbx
ret
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140079cb0
mov ecx, dword [rbx + 0x50]
test ecx, ecx
je 0x140079c70
cmp ecx, 1
jne 0x140079cb0
xorps xmm0, xmm0
mov dword [rbx + 0x50], 2
lea rdx, [rbx + 0x58]
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCopy_void____ptr64__void_const____ptr64_]
xorps xmm0, xmm0
lea rax, vtable.boost::asio::multiple_exceptions.0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
movups xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm0
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCopy_void____ptr64__void_const____ptr64_]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_]
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_]
lea r8, [0x1404605b0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCopyException_void____ptr64__void_const____ptr64__void_const____ptr64_]
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_]
lea rax, vtable.std::exception.0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], rax
call qword [sym.imp.VCRUNTIME140.dll___std_exception_destroy]
jmp 0x140079c96
xorps xmm0, xmm0
mov dword [rbx + 0x50], 1
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCurrentException_void____ptr64_]
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x58]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrAssign_void____ptr64__void_const____ptr64_]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_]
add rsp, 0x70
pop rbx
ret
Function at 0x1400d3d10
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x1f0
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
movzx ebx, dl
mov rdi, rcx
mov eax, 1
lock xadd dword [0x140924190], eax
inc eax
cmp eax, 1
jne 0x1400d3d5d
lea ecx, [rax + 1]
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x140924194], eax
test bl, bl
je 0x1400d3de6
xor ebx, ebx
lock xadd dword [0x140924194], ebx
test ebx, ebx
je 0x1400d3de6
mov rax, qword [0x14048a968]
movabs rcx, 0x8fafd21e25c5e09b
mov qword [rsp + 0x200], rsi
lea rsi, [0x14048a960]
mov dword [rsp + 0x24], 0
cmp rax, rcx
je 0x1400d3dc0
movabs rcx, 0xb2ab117a257edf0d
cmp rax, rcx
je 0x1400d3dc0
mov rax, qword [0x14048a960]
mov edx, ebx
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x1400d3dc2
mov al, 1
movzx eax, al
add eax, 2
mov qword [rsp + 0x28], rsi
mov rsi, qword [rsp + 0x200]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], ebx
cmp eax, 1
je 0x1400d3e0a
test al, 1
jne 0x1400d3e0a
mov rax, rdi
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14028bc60
mov rbx, qword [rsp + 0x208]
add rsp, 0x1f0
pop rdi
ret
lea rdx, str.winsock
lea rcx, [rsp + 0x20]
call fcn.1400786b0
int3
Function at 0x1400d76c0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push r12
push r15
sub rsp, 0x30
mov rdi, r8
lea r12, [0x140929240]
sub rdi, r12
mov r15, rcx
sar rdi, 2
test rdi, rdi
je 0x1400d78a4
mov qword [rsp + 0x50], rbx
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
mov qword [rsp + 0x60], rsi
sar rbx, 2
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
cmp rdi, 0x26f
jb 0x1400d7716
mov eax, listen
jmp 0x1400d7744
cmp rdi, 0x44
jb 0x1400d7723
mov eax, 7
jmp 0x1400d7744
cmp rdi, 0x27
jb 0x1400d7730
mov eax, 5
jmp 0x1400d7744
cmp rdi, 7
jb 0x1400d773d
mov eax, 3
jmp 0x1400d7744
lea rax, [rdi - 1]
shr rax, 1
mov rsi, rdi
lea r14, [rbx + 1]
sub rsi, rax
shr rsi, 1
lea r13, [rsi + rax]
cmp rdi, rbx
jbe 0x1400d775d
mov r14, rdi
mov r8, rdi
mov qword [rsp + 0x58], rbp
shl r8, 2
mov edx, 0x8b8b8b8b
mov rcx, r12
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r14, r14
je 0x1400d780a
xor edx, edx
lea rax, [rcx + rsi]
div rdi
mov r11d, dword [r12 + rdx*4]
lea r10, [r12 + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea rbp, [r12 + rdx*4]
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
mov r8d, dword [r12 + rdx*4]
xor r8d, dword [rbp]
xor r8d, r11d
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x1400d77ce
mov rax, rbx
jmp 0x1400d77e2
cmp rcx, rbx
ja 0x1400d77df
mov rax, qword [r15]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x1400d77e2
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [r12 + rdx*4], r8d
mov dword [rbp], r8d
cmp rcx, r14
jb 0x1400d7781
add r14, rdi
cmp rcx, r14
jae 0x1400d788b
inc rsi
lea rbp, [rcx - 1]
inc r13
xor edx, edx
lea rax, [rsi + rbp]
div rdi
mov r10d, dword [r12 + rdx*4]
lea r11, [r12 + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [r12 + rdx*4]
xor edx, edx
add ecx, r10d
add ecx, dword [r12 + r9*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [r12 + rdx*4], r8d
mov dword [r12 + r9*4], r8d
cmp rax, r14
jb 0x1400d7820
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r12
pop rdi
ret
Function at 0x1400ff070
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400ff09f
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x1400ff097
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400ff0e9
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400ff0d8
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400ff0d8
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x1400ff0f4
inc ecx
inc rax
cmp rax, 2
jl 0x1400ff0c6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x48]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1401028f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, rdx
xor esi, esi
mov rcx, qword [rdx + 0x18]
mov qword [rbp - 8], rcx
mov rax, qword [rdx + 0x28]
mov qword [rbp + 8], rax
mov rax, qword [rcx + 8]
add rdx, 8
lea rcx, [rbp - 0x18]
call rax
nop
mov rax, qword [rdi + 0x30]
mov qword [rbp + 0x10], rax
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.140108f30
nop
mov rax, qword [rbp + 0x10]
mov rbx, qword [rax + 0x20]
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 0x18]
lea rcx, [rbp - 0x18]
call rdx
lea r8, [0x1403f7ec8]
mov rdx, rax
lea rcx, [rsp + 0x50]
call rbx
nop
mov rcx, qword [rsp + 0x60]
mov qword [rbp + 0x28], rcx
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0x38], rax
lea rax, fcn.140009110
mov qword [rsp + 0x60], rax
lea rax, [0x1404048f8]
mov qword [rsp + 0x70], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x18]
call rax
mov qword [rsp + 0x68], rsi
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x40], rax
lea rax, [0x140403eb0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
lea rax, [fcn.140009110]
cmp rdx, rax
je 0x1401029f1
lea rcx, [rsp + 0x50]
call rdx
nop
lea r8, [rbp + 0x18]
lea rdx, [rbp + 0x48]
call fcn.1400fdc50
mov rdi, rax
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140102a35
lea rcx, [0x14010b320]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x80]
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call rax
jmp 0x140102ac0
mov r14, qword [rcx + 0x10]
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x80]
call fcn.140108f30
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140102a67
mov rsi, qword [rax + 8]
mov r8d, 0x78
mov rdx, rsi
call fcn.140100af0
mov rbx, rax
lea rcx, [rax + 8]
lea rdx, [rbp - 0x80]
call fcn.140108f30
lea rax, [0x14010bd90]
mov qword [rbx], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rbp - 0x68]
mov rdx, qword [rax]
lea rcx, [rbp - 0x78]
call rdx
nop
lea rdx, [rsp + 0x30]
mov rcx, rdi
call r14
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140102ac0
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax]
lea rcx, [rbp + 0x48]
call rdx
nop
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
lea rcx, [rbp + 0x18]
call rdx
nop
mov rax, qword [rbp + 0x98]
mov rdx, qword [rax]
lea rcx, [rbp + 0x88]
call rdx
nop
mov rax, qword [rbp - 8]
mov rdx, qword [rax]
lea rcx, [rbp - 0x18]
call rdx
nop
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14028bc60
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140103c60
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp + 0xf8], rax
mov rdi, rdx
xor esi, esi
mov rax, qword [rcx + 0x28]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x40]
call rbx
nop
mov rcx, qword [rsp + 0x50]
mov qword [rbp + 0xd8], rcx
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0xe8], rax
lea rax, fcn.140009110
mov qword [rsp + 0x50], rax
lea rax, [0x1404048f8]
mov qword [rsp + 0x60], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc8]
call rax
mov qword [rsp + 0x58], rsi
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0xf0], rax
lea rax, [0x140403eb0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
lea rax, [fcn.140009110]
cmp rdx, rax
je 0x140103d30
lea rcx, [rsp + 0x40]
call rdx
nop
mov rcx, qword [rbp + 0xe8]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140103d64
lea rcx, [0x14010b460]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xc8]
call rax
jmp 0x140103e65
mov r14, qword [rcx + 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400f9e60
movups xmm0, xmmword [rdi + 0x138]
movups xmmword [rbp + 0xa8], xmm0
movsd xmm1, qword [rdi + 0x148]
movsd qword [rbp + 0xb8], xmm1
mov rax, qword [rdi + 0x150]
mov qword [rbp + 0xc0], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140103dc0
mov rsi, qword [rax + 8]
mov r8d, 0x168
mov rdx, rsi
call fcn.140100af0
mov rdi, rax
lea rdx, [rsp + 0x70]
lea rcx, [rax + 8]
call fcn.1400f9e60
movups xmm0, xmmword [rbp + 0xa8]
movups xmmword [rdi + 0x140], xmm0
movsd xmm1, qword [rbp + 0xb8]
movsd qword [rdi + 0x150], xmm1
mov rcx, qword [rbp + 0xc0]
mov qword [rdi + 0x158], rcx
lea rax, [0x14010be30]
mov qword [rdi], rax
mov qword [rsp + 0x20], rdi
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140103e38
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140103e38
mov rax, qword [rcx]
call qword [rax + select]
lea rcx, [rsp + 0x70]
call fcn.1400f0e80
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xc8]
call r14
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140103e65
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 0xd8]
mov rdx, qword [rax]
lea rcx, [rbp + 0xc8]
call rdx
nop
mov rcx, qword [rbp + 0xf8]
xor rcx, rsp
call fcn.14028bc60
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140104900
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, rcx
test rax, rax
je 0x14010494b
lea rbx, [rax + 8]
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
je 0x14010493b
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010493b
mov rax, qword [rcx]
call qword [rax + select]
mov rcx, rbx
call fcn.1400f0e80
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140104998
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140104987
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140104987
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x1401049a3
inc ecx
inc rax
cmp rax, 6
jl 0x140104975
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x148]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret
Function at 0x140106fc0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rdx
xor r14d, r14d
mov rax, qword [rcx + 0x28]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x79]
call rbx
nop
mov rcx, qword [rbp - 0x69]
mov qword [rbp + 0x1f], rcx
mov rax, qword [rbp - 0x59]
mov qword [rbp + 0x2f], rax
lea rax, fcn.140009110
mov qword [rbp - 0x69], rax
lea rax, [0x1404048f8]
mov qword [rbp - 0x59], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rbp - 0x79]
lea rcx, [rbp + 0xf]
call rax
mov qword [rbp - 0x61], r14
mov rax, qword [rbp - 0x51]
mov qword [rbp + 0x37], rax
lea rax, [0x140403eb0]
mov qword [rbp - 0x51], rax
mov rax, qword [rbp - 0x69]
mov rdx, qword [rax]
lea rax, [fcn.140009110]
cmp rdx, rax
je 0x140107074
lea rcx, [rbp - 0x79]
call rdx
nop
mov rcx, qword [rbp + 0x2f]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1401070a2
lea rcx, [0x14010bf20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xf]
call rax
jmp 0x14010719e
mov rsi, qword [rcx + 0x10]
mov rdx, rdi
lea rcx, [rbp - 0x49]
call fcn.1400d3e20
mov rax, qword [rdi + 0x30]
mov qword [rbp - 0x19], rax
mov rax, qword [rdi + 0x38]
mov qword [rbp - 0x11], rax
mov qword [rdi + 0x38], r14
mov qword [rdi + 0x30], r14
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rbp - 9], xmm0
movsd xmm1, qword [rdi + 0x50]
movsd qword [rbp + 7], xmm1
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401070fc
mov rdx, qword [rax + 8]
jmp 0x1401070ff
mov rdx, r14
mov r8d, 0x68
call fcn.140100af0
mov rdi, rax
lea rdx, [rbp - 0x49]
lea rcx, [rax + 8]
call fcn.1400d3e20
mov rcx, qword [rbp - 0x19]
mov qword [rdi + 0x38], rcx
mov rcx, qword [rbp - 0x11]
mov qword [rdi + 0x40], rcx
mov qword [rbp - 0x11], r14
mov qword [rbp - 0x19], r14
movups xmm0, xmmword [rbp - 9]
movups xmmword [rdi + 0x48], xmm0
movsd xmm1, qword [rbp + 7]
movsd qword [rdi + 0x58], xmm1
lea rax, [0x14010c0e0]
mov qword [rdi], rax
mov qword [rsp + 0x20], rdi
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140107172
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140107172
mov rax, qword [rcx]
call qword [rax + select]
nop
mov rax, qword [rbp - 0x39]
mov rdx, qword [rax]
lea rcx, [rbp - 0x49]
call rdx
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xf]
call rsi
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14010719e
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 0x1f]
mov rdx, qword [rax]
lea rcx, [rbp + 0xf]
call rdx
nop
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14028bc60
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140108610
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp + 0x148], rax
mov rdi, rdx
xor esi, esi
mov rax, qword [rcx + 0x28]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x40]
call rbx
nop
mov rcx, qword [rsp + 0x50]
mov qword [rbp + 0x128], rcx
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x138], rax
lea rax, fcn.140009110
mov qword [rsp + 0x50], rax
lea rax, [0x1404048f8]
mov qword [rsp + 0x60], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x118]
call rax
mov qword [rsp + 0x58], rsi
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x140], rax
lea rax, [0x140403eb0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
lea rax, [fcn.140009110]
cmp rdx, rax
je 0x1401086e0
lea rcx, [rsp + 0x40]
call rdx
nop
mov rcx, qword [rbp + 0x138]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140108714
lea rcx, [0x140109e00]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x118]
call rax
jmp 0x14010881d
mov r14, qword [rcx + 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400fecd0
movups xmm0, xmmword [rdi + 0x190]
movups xmmword [rbp + 0x100], xmm0
movsd xmm1, qword [rdi + 0x1a0]
movsd qword [rbp + 0x110], xmm1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140108762
mov rsi, qword [rax + 8]
mov r8d, 0x1b8
mov rdx, rsi
call fcn.140100af0
mov rdi, rax
lea rdx, [rsp + 0x70]
lea rcx, [rax + 8]
call fcn.1400fecd0
movups xmm0, xmmword [rbp + 0x100]
movups xmmword [rdi + 0x198], xmm0
movsd xmm1, qword [rbp + 0x110]
movsd qword [rdi + 0x1a8], xmm1
lea rax, [0x14010b350]
mov qword [rdi], rax
mov qword [rsp + 0x20], rdi
cmp byte [rbp + 0xb0], 0
je 0x1401087d2
mov rax, qword [rbp + 0xc8]
mov rdx, qword [rax]
lea rcx, [rbp + 0xb8]
call rdx
nop
mov byte [rbp + 0xb0], 0
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x1401087f0
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x1401087f0
mov rax, qword [rcx]
call qword [rax + select]
lea rcx, [rsp + 0x78]
call fcn.1400f0e80
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x118]
call r14
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14010881d
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 0x128]
mov rdx, qword [rax]
lea rcx, [rbp + 0x118]
call rdx
nop
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.14028bc60
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140108fe0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x140109049
cmp byte [rbx + 0x148], 0
je 0x140109017
lea rcx, [rbx + 0x150]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax]
call rdx
nop
mov byte [rbx + 0x148], 0
mov rcx, qword [rbx + 0xe8]
test rcx, rcx
je 0x140109038
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140109038
mov rax, qword [rcx]
call qword [rax + select]
lea rcx, [rbx + 0x10]
call fcn.1400f0e80
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140109096
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140109085
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140109085
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x1401090a1
inc ecx
inc rax
cmp rax, 6
jl 0x140109073
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x1b8]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14010b1a0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, rcx
test rax, rax
je 0x14010b1eb
lea rbx, [rax + 8]
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
je 0x14010b1db
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010b1db
mov rax, qword [rcx]
call qword [rax + select]
mov rcx, rbx
call fcn.1400f0e80
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010b238
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010b227
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010b227
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14010b243
inc ecx
inc rax
cmp rax, 6
jl 0x14010b215
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x168]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret