joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a8fa0
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 0x1400a8ff2
nop
cmp qword [rax], rbx
je 0x1400a910c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400a8fe0
mov qword [rsp + 0x30], rdi
mov rdx, rdi
mov ecx, 0xc8
call fcn.140071070
mov rsi, rax
xor r12d, r12d
mov qword [rax + 0x20], r12
lea rax, [fcn.1400a91c0]
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 qword [rsi + 0x70], r12
mov rdx, rdi
lea rcx, [rsi + 0x38]
call fcn.1400677f0
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rsi + 0x78], xmm0
lea rcx, [rsi + 0x88]
mov qword [rcx + 0x38], r12
lea rdx, [rdi + 0x50]
call fcn.1400677f0
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 0x1400a917c
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.1400a91c0
nop
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400a913c
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400a9125
mov qword [rax + 0x20], rcx
jmp 0x1400a9129
cmp qword [rax + 8], 0
je 0x1400a8ff2
mov rdx, rdi
mov rcx, rdi
call fcn.1400aa520
nop
jmp 0x1400a9186
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 0x1400a916a
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.1400a9390
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 0x1400a94b0
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 0x1400a9502
nop
cmp qword [rax], rbx
je 0x1400a95fc
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400a94f0
mov qword [rsp + 0x30], rdi
mov rdx, rdi
mov ecx, 0x188
call fcn.140071070
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [fcn.1400a9740]
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.1400a98b0
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 0x1400a966c
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.1400a9740
nop
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400a962c
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400a9615
mov qword [rax + 0x20], rcx
jmp 0x1400a9619
cmp qword [rax + 8], 0
je 0x1400a9502
mov rdx, rdi
mov rcx, rdi
call fcn.1400aa550
nop
jmp 0x1400a966c
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 0x1400a965a
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 0x1400a9ae0
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 0x1400a9b32
nop
cmp qword [rax], rbx
je 0x1400a9c36
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400a9b20
mov qword [rsp + 0x20], rdi
mov rdx, rdi
mov ecx, 0x168
call fcn.140071070
mov rbx, rax
mov qword [rsp + 0x28], rax
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov qword [rax + 0x20], r15
lea rax, [fcn.1400aa150]
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.1400aa400
mov r8, rbx
mov rdx, r14
mov rcx, rbp
call fcn.140075470
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
test al, al
je 0x1400a9ca6
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 + 0x38], rsi
mov rdi, qword [r14]
mov qword [rsp + 0x40], rdi
call fcn.140107820
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.1400aa150
nop
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400a9c66
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400a9c4f
mov qword [rax + 0x20], rcx
jmp 0x1400a9c53
cmp qword [rax + 8], 0
je 0x1400a9b32
mov rdx, rdi
mov rcx, rdi
call fcn.1400ab750
nop
jmp 0x1400a9ca6
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 0x1400a9c94
lock inc dword [rsi + 0x30]
mov rdx, qword [rsp + 0x40]
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 0x1400a9cd0
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 0x1400a9d22
nop
cmp qword [rax], rbx
je 0x1400a9e1c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400a9d10
mov qword [rsp + 0x30], rdi
mov rdx, rdi
mov ecx, 0x160
call fcn.140071070
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [fcn.1400a9f20]
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.1400aa360
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 0x1400a9e8c
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.1400a9f20
nop
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400a9e4c
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400a9e35
mov qword [rax + 0x20], rcx
jmp 0x1400a9e39
cmp qword [rax + 8], 0
je 0x1400a9d22
mov rdx, rdi
mov rcx, rdi
call fcn.1400ab790
nop
jmp 0x1400a9e96
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 0x1400a9e7a
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.1400aa2f0
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 0x1400aa520
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 0x1400aa590
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 0x1400aa5e2
nop
cmp qword [rax], rbx
je 0x1400aa6dc
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400aa5d0
mov qword [rsp + 0x30], rdi
mov rdx, rdi
mov ecx, 0xd8
call fcn.140071070
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [fcn.1400ab230]
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.1400ab4e0
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 0x1400aa74c
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.1400ab230
nop
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400aa70c
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400aa6f5
mov qword [rax + 0x20], rcx
jmp 0x1400aa6f9
cmp qword [rax + 8], 0
je 0x1400aa5e2
mov rdx, rdi
mov rcx, rdi
call fcn.1400a2930
nop
jmp 0x1400aa74c
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 0x1400aa73a
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 0x1400aa770
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 0x1400aa7c2
nop
cmp qword [rax], rbx
je 0x1400aa8cf
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400aa7b0
mov qword [rsp + 0x30], rdi
mov rdx, rdi
mov ecx, 0xb8
call fcn.140071070
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [fcn.1400ab100]
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
lea rdx, [rdi + 8]
lea rcx, [rbx + 0x40]
call fcn.1400824e0
movups xmm0, xmmword [rdi + 0x70]
movups xmmword [rbx + 0xa8], 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 0x1400aa93f
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.1400ab100
nop
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400aa8ff
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400aa8e8
mov qword [rax + 0x20], rcx
jmp 0x1400aa8ec
cmp qword [rax + 8], 0
je 0x1400aa7c2
mov rdx, rdi
mov rcx, rdi
call fcn.1400a2910
nop
jmp 0x1400aa93f
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 0x1400aa92d
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 0x1400aa970
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 0x1400aa9be
nop
cmp qword [rax], rbx
je 0x1400aa9d8
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400aa9b0
mov qword [rsp + 0x30], rdi
mov rsi, qword [rdi]
cmp byte [rsi + 0x400], 0
jne 0x1400aa9f0
mov byte [rsi + 0x400], 1
jmp 0x1400aa9fd
cmp qword [rax + 8], 0
je 0x1400aa9be
mov rdx, rdi
mov rcx, rdi
call fcn.1400ab7d0
nop
jmp 0x1400aab87
mov ecx, 0x178
call fcn.140105848
mov rsi, rax
mov qword [rsp + 0x38], rsi
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov qword [rsi + 0x20], r12
lea rax, [fcn.1400aaf30]
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
lea rbx, [rsi + 0x38]
mov qword [rsp + 0x48], rbx
mov rdx, rdi
mov rcx, rbx
call fcn.1400999c0
nop
add rbx, 0x68
mov qword [rsp + 0x20], rbx
lea rdx, [rdi + 0x68]
mov rcx, rbx
call fcn.1400a8690
movups xmm0, xmmword [rdi + 0x128]
movups xmmword [rbx + 0xc0], xmm0
mov rax, qword [rdi + 0x138]
mov qword [rbx + 0xd0], rax
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 0x1400aab7d
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.1400aaf30
nop
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400aab3d
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400aab26
mov qword [rax + 0x20], rcx
jmp 0x1400aab2a
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 0x1400aab6b
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.1400ab460
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