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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, r8
mov r14, rdx
mov r15, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400aabfe
nop
cmp qword [rax], rbx
je 0x1400aac18
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400aabf0
mov qword [rsp + 0x30], rsi
mov rdi, qword [rsi]
cmp byte [rdi + 0x400], 0
jne 0x1400aac30
mov byte [rdi + 0x400], 1
jmp 0x1400aac3d
cmp qword [rax + 8], 0
je 0x1400aabfe
mov rdx, rsi
mov rcx, rsi
call fcn.1400ab810
nop
jmp 0x1400aad93
mov ecx, 0x160
call fcn.140105848
mov rdi, rax
xor r12d, r12d
mov qword [rdi + 0x20], r12
lea rax, [fcn.1400aadd0]
mov qword [rdi + 0x28], rax
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov dword [rdi + 0x30], r12d
mov rdx, rsi
lea rcx, [rdi + 0x38]
call fcn.140099ac0
lea rdx, [rsi + 0x68]
lea rcx, [rdi + 0xa0]
call fcn.1400aa4a0
mov r8, rdi
mov rdx, r14
mov rcx, r15
call fcn.140075470
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
test al, al
je 0x1400aad89
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov rax, qword [r14]
mov qword [rsp + 0x58], rax
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rbp, qword [r15 + 0x28]
mov qword [rsp + 0x20], rbp
mov rsi, qword [r14]
mov qword [rsp + 0x28], rsi
call fcn.140107820
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, qword [r15 + 0x28]
call fcn.1400aadd0
nop
lea rcx, [rsi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x1400aad49
mov rax, qword [rsi + 0x80]
test rax, rax
je 0x1400aad32
mov qword [rax + 0x20], rcx
jmp 0x1400aad36
mov qword [rsi + 0x78], rcx
mov rax, qword [rsi + 0x70]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x68], r12
mov qword [rsi + 0x70], r12
mov rbx, qword [rsi + 0x78]
test rbx, rbx
setne al
mov byte [rsi + 0x60], al
lea rcx, [rsi + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400aad77
lock inc dword [rbp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rcx, rbp
call fcn.140071ba0
nop
mov rdx, qword [rsp + 0x68]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x30]
call fcn.1400ab3e0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140105820
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400ab560
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
lea r8, [rcx + 0x50]
lea rdx, [rcx + 0x48]
mov rcx, qword [rcx + 0x40]
add rsp, 0x28
jmp 0x1400ab560
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, r8
mov r14, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400ab5b2
nop
cmp qword [rax], rbx
je 0x1400ab6b0
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400ab5a0
mov qword [rsp + 0x30], rdi
mov rdx, rdi
mov ecx, 0x78
call fcn.140071070
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [fcn.14009f4d0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x30], r15d
lea rcx, [rbx + 0x38]
mov qword [rcx + 0x38], r15
mov rdx, rdi
call fcn.1400677f0
mov r8, rbx
mov rdx, r14
mov rcx, rbp
call fcn.140075470
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
test al, al
je 0x1400ab720
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov rax, qword [r14]
mov qword [rsp + 0x58], rax
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rsi, qword [rbp + 0x28]
mov qword [rsp + 0x20], rsi
mov rdi, qword [r14]
mov qword [rsp + 0x28], rdi
call fcn.140107820
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.14009f4d0
nop
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400ab6e0
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400ab6c9
mov qword [rax + 0x20], rcx
jmp 0x1400ab6cd
cmp qword [rax + 8], 0
je 0x1400ab5b2
mov rdx, rdi
mov rcx, rdi
call fcn.1400a7820
nop
jmp 0x1400ab72a
mov qword [rdi + 0x78], rcx
mov rax, qword [rdi + 0x70]
mov qword [rdi + 0x80], rax
mov qword [rdi + 0x68], r15
mov qword [rdi + 0x70], r15
mov rbx, qword [rdi + 0x78]
test rbx, rbx
setne al
mov byte [rdi + 0x60], al
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400ab70e
lock inc dword [rsi + 0x30]
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.140071ba0
nop
mov rdx, qword [rsp + 0x68]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x30]
call fcn.14009f460
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140105820
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400abf90
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0x90
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rbp - 9], rax
mov rsi, qword [rbp + 0x7f]
mov r14, r9
mov rbx, qword [rbp + 0x6f]
mov edi, r8d
mov r12, rdx
mov r15, rcx
cmp dword [rsi], 0x40
jne 0x1400abfe5
mov dword [rbp - 0x19], 0x2745
call fcn.140107820
mov qword [rbp - 0x11], rax
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rsi], xmm0
cmp dword [rsi], 0
jne 0x1400ac0f9
mov qword [rsp + 0x88], r13
xor r13d, r13d
test r14, r14
je 0x1400ac07c
test rbx, rbx
je 0x1400ac07c
lea rax, [rbp - 0x21]
mov qword [rbp - 0x29], r13
mov qword [rsp + 0x38], rax
mov r9d, edi
lea rax, [rbp - 0x31]
mov dword [rbp - 0x1d], r13d
mov qword [rsp + 0x30], rax
mov r8d, edi
lea rax, [rbp - 0x1d]
mov qword [rbp - 0x31], r13
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rbp - 0x29]
mov dword [rbp - 0x21], r13d
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSWSOCK.dll_GetAcceptExSockaddrs]
movsxd rdi, dword [rbp - 0x21]
cmp rdi, qword [rbx]
jbe 0x1400ac06a
mov dword [rbp - 0x41], 0x2726
call fcn.140107820
mov qword [rbp - 0x39], rax
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rsi], xmm0
jmp 0x1400ac07c
mov rdx, qword [rbp - 0x31]
mov r8, rdi
mov rcx, r14
call fcn.1401093a0
mov qword [rbx], rdi
mov rbx, qword [rbp + 0x77]
mov qword [rbp - 0x19], r15
cmp rbx, 0xffffffffffffffff
jne 0x1400ac093
mov dword [rbp - 0x41], 0x2719
jmp 0x1400ac0e1
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rbp - 0x19]
mov dword [rsp + 0x20], 8
mov edx, 0xffff
mov r8d, 0x700b
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.140107820
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rbp - 0x39], rbx
mov dword [rbp - 0x41], eax
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rsi], xmm0
test edi, edi
jne 0x1400ac0f1
mov dword [rbp - 0x41], r13d
call fcn.140107820
mov qword [rbp - 0x39], rax
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rsi], xmm0
mov r13, qword [rsp + 0x88]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140105820
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400c8630
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, r8
mov r14, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c8682
nop
cmp qword [rax], rbx
je 0x1400c87c2
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400c8670
mov qword [rsp + 0x30], rdi
mov rdx, rdi
mov ecx, 0xa8
call fcn.140071070
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [fcn.1400c8cd0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x30], r15d
mov rcx, qword [rdi]
mov qword [rbx + 0x38], rcx
movzx eax, byte [rdi + 8]
mov byte [rbx + 0x40], al
lea rdx, [rdi + 0x10]
lea rcx, [rbx + 0x48]
call fcn.14007fe40
mov qword [rbx + 0x88], r15
mov qword [rbx + 0x90], r15
mov rax, qword [rdi + 0x50]
mov qword [rbx + 0x88], rax
mov rax, qword [rdi + 0x58]
mov qword [rbx + 0x90], rax
mov qword [rdi + 0x50], r15
mov qword [rdi + 0x58], r15
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rbx + 0x98], xmm0
mov r8, rbx
mov rdx, r14
mov rcx, rbp
call fcn.140075470
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
test al, al
je 0x1400c8832
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov rax, qword [r14]
mov qword [rsp + 0x58], rax
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rsi, qword [rbp + 0x28]
mov qword [rsp + 0x20], rsi
mov rdi, qword [r14]
mov qword [rsp + 0x28], rdi
call fcn.140107820
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.1400c8cd0
nop
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400c87f2
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400c87db
mov qword [rax + 0x20], rcx
jmp 0x1400c87df
cmp qword [rax + 8], 0
je 0x1400c8682
mov rdx, rdi
mov rcx, rdi
call fcn.1400a9420
nop
jmp 0x1400c8832
mov qword [rdi + 0x78], rcx
mov rax, qword [rdi + 0x70]
mov qword [rdi + 0x80], rax
mov qword [rdi + 0x68], r15
mov qword [rdi + 0x70], r15
mov rbx, qword [rdi + 0x78]
test rbx, rbx
setne al
mov byte [rdi + 0x60], al
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400c8820
lock inc dword [rsi + 0x30]
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.140071ba0
nop
mov rdx, qword [rsp + 0x68]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140105820
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c8860
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, r8
mov r14, rdx
mov r15, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c88b2
nop
cmp qword [rax], rbx
je 0x1400c89b4
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400c88a0
mov qword [rsp + 0x30], rdi
mov rdx, rdi
mov ecx, 0x88
call fcn.140071070
mov rsi, rax
xor r12d, r12d
mov qword [rax + 0x20], r12
lea rax, [fcn.1400c8b20]
mov qword [rsi + 0x28], rax
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r12
mov dword [rsi + 0x30], r12d
mov rdx, rdi
lea rcx, [rsi + 0x38]
call fcn.14007fe40
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rsi + 0x78], xmm0
mov r8, rsi
mov rdx, r14
mov rcx, r15
call fcn.140075470
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
test al, al
je 0x1400c8a24
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov rax, qword [r14]
mov qword [rsp + 0x58], rax
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rbp, qword [r15 + 0x28]
mov qword [rsp + 0x20], rbp
mov rdi, qword [r14]
mov qword [rsp + 0x28], rdi
call fcn.140107820
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rdx, rsi
mov rcx, qword [r15 + 0x28]
call fcn.1400c8b20
nop
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400c89e4
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400c89cd
mov qword [rax + 0x20], rcx
jmp 0x1400c89d1
cmp qword [rax + 8], 0
je 0x1400c88b2
mov rdx, rdi
mov rcx, rdi
call fcn.1400cd5e0
nop
jmp 0x1400c8a2e
mov qword [rdi + 0x78], rcx
mov rax, qword [rdi + 0x70]
mov qword [rdi + 0x80], rax
mov qword [rdi + 0x68], r12
mov qword [rdi + 0x70], r12
mov rbx, qword [rdi + 0x78]
test rbx, rbx
setne al
mov byte [rdi + 0x60], al
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400c8a12
lock inc dword [rbp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rcx, rbp
call fcn.140071ba0
nop
mov rdx, qword [rsp + 0x68]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x30]
call fcn.1400c9dc0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140105820
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400cb0c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, r8
mov r14, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400cb112
nop
cmp qword [rax], rbx
je 0x1400cb20c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400cb100
mov qword [rsp + 0x30], rdi
mov rdx, rdi
mov ecx, 0x108
call fcn.140071070
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [fcn.1400cb930]
mov qword [rbx + 0x28], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x30], r15d
lea rcx, [rbx + 0x38]
mov rdx, rdi
call fcn.1400cbc70
mov r8, rbx
mov rdx, r14
mov rcx, rbp
call fcn.140075470
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
test al, al
je 0x1400cb27c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov rax, qword [r14]
mov qword [rsp + 0x58], rax
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rsi, qword [rbp + 0x28]
mov qword [rsp + 0x20], rsi
mov rdi, qword [r14]
mov qword [rsp + 0x28], rdi
call fcn.140107820
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.1400cb930
nop
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400cb23c
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400cb225
mov qword [rax + 0x20], rcx
jmp 0x1400cb229
cmp qword [rax + 8], 0
je 0x1400cb112
mov rdx, rdi
mov rcx, rdi
call fcn.1400cd620
nop
jmp 0x1400cb286
mov qword [rdi + 0x78], rcx
mov rax, qword [rdi + 0x70]
mov qword [rdi + 0x80], rax
mov qword [rdi + 0x68], r15
mov qword [rdi + 0x70], r15
mov rbx, qword [rdi + 0x78]
test rbx, rbx
setne al
mov byte [rdi + 0x60], al
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400cb26a
lock inc dword [rsi + 0x30]
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.140071ba0
nop
mov rdx, qword [rsp + 0x68]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x30]
call fcn.1400cbb30
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140105820
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400cd6d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, r8
mov r14, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400cd722
nop
cmp qword [rax], rbx
je 0x1400cd81c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400cd710
mov qword [rsp + 0x30], rdi
mov rdx, rdi
mov ecx, 0x150
call fcn.140071070
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [fcn.1400ce860]
mov qword [rbx + 0x28], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x30], r15d
lea rcx, [rbx + 0x38]
mov rdx, rdi
call fcn.1400cf1f0
mov r8, rbx
mov rdx, r14
mov rcx, rbp
call fcn.140075470
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
test al, al
je 0x1400cd88c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov rax, qword [r14]
mov qword [rsp + 0x58], rax
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rsi, qword [rbp + 0x28]
mov qword [rsp + 0x20], rsi
mov rdi, qword [r14]
mov qword [rsp + 0x28], rdi
call fcn.140107820
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.1400ce860
nop
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400cd84c
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400cd835
mov qword [rax + 0x20], rcx
jmp 0x1400cd839
cmp qword [rax + 8], 0
je 0x1400cd722
mov rdx, rdi
mov rcx, rdi
call fcn.1400cf7e0
nop
jmp 0x1400cd88c
mov qword [rdi + 0x78], rcx
mov rax, qword [rdi + 0x70]
mov qword [rdi + 0x80], rax
mov qword [rdi + 0x68], r15
mov qword [rdi + 0x70], r15
mov rbx, qword [rdi + 0x78]
test rbx, rbx
setne al
mov byte [rdi + 0x60], al
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400cd87a
lock inc dword [rsi + 0x30]
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.140071ba0
nop
mov rdx, qword [rsp + 0x68]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140105820
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400cd8b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, r8
mov r14, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400cd902
nop
cmp qword [rax], rbx
je 0x1400cd9fc
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400cd8f0
mov qword [rsp + 0x30], rdi
mov rdx, rdi
mov ecx, 0x158
call fcn.140071070
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [fcn.1400ce660]
mov qword [rbx + 0x28], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x30], r15d
lea rcx, [rbx + 0x38]
mov rdx, rdi
call fcn.1400cf160
mov r8, rbx
mov rdx, r14
mov rcx, rbp
call fcn.140075470
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
test al, al
je 0x1400cda6c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov rax, qword [r14]
mov qword [rsp + 0x58], rax
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rsi, qword [rbp + 0x28]
mov qword [rsp + 0x20], rsi
mov rdi, qword [r14]
mov qword [rsp + 0x28], rdi
call fcn.140107820
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.1400ce660
nop
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400cda2c
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400cda15
mov qword [rax + 0x20], rcx
jmp 0x1400cda19
cmp qword [rax + 8], 0
je 0x1400cd902
mov rdx, rdi
mov rcx, rdi
call fcn.1400cf820
nop
jmp 0x1400cda6c
mov qword [rdi + 0x78], rcx
mov rax, qword [rdi + 0x70]
mov qword [rdi + 0x80], rax
mov qword [rdi + 0x68], r15
mov qword [rdi + 0x70], r15
mov rbx, qword [rdi + 0x78]
test rbx, rbx
setne al
mov byte [rdi + 0x60], al
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400cda5a
lock inc dword [rsi + 0x30]
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.140071ba0
nop
mov rdx, qword [rsp + 0x68]
mov ecx, dword [0x14019ee54]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140105820
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret