joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006d640
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesenc xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14006d69a

Function at 0x14006d6ba
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006d690
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
repz ret

Function at 0x14006d750
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesdec xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14006d7aa
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
aesdec xmm8, xmm0
aesdec xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006d7a0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
aesdeclast xmm8, xmm0
aesdeclast xmm9, xmm0
repz ret
Function at 0x14007a580
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [rcx - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [rbp - 1]
vmovups xmm15, xmmword [rcx - 0x70]
lea r12, [rcx - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x14007a6a0
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x14007a5e0
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x14007a5e0
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rdi]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rdi + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rdi + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rdi + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rdi + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rdi + 0x50]
lea rdi, [rdi + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rsi], xmm9
vmovups xmmword [rsi + 0x10], xmm10
vmovups xmmword [rsi + 0x20], xmm11
vmovups xmmword [rsi + 0x30], xmm12
vmovups xmmword [rsi + 0x40], xmm13
vmovups xmmword [rsi + 0x50], xmm14
lea rsi, [rsi + 0x60]
repz ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x14007a5e0
Function at 0x1400b1fb0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140200ad8]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b20af
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400b2013
movsxd rcx, dword [0x140200ad0]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x140200ad4]
movsxd rdx, dword [0x140200ad0]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov eax, dword [0x140200ae8]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b2073
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400b206e
movsxd rcx, dword [0x140200ae0]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x140200ae4]
movsxd rdx, dword [0x140200ae0]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
ret
lea rcx, [0x140200ae8]
call fcn.1400f0548
cmp dword [0x140200ae8], 0xffffffff
jne 0x1400b2034
mov qword [0x140200ae0], 0
lea rcx, [0x140200ae0]
xor edx, edx
call fcn.14000d6e0
lea rcx, [0x140200ae8]
call fcn.1400f07ac
jmp 0x1400b2034
lea rcx, [0x140200ad8]
call fcn.1400f0548
cmp dword [0x140200ad8], 0xffffffff
jne 0x1400b1fd9
mov qword [0x140200ad0], 0
lea rcx, [0x140200ad0]
xor edx, edx
call fcn.14000d6e0
lea rcx, [0x140200ad8]
call fcn.1400f07ac
jmp 0x1400b1fd9
Function at 0x1400b2120
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov eax, 1
lock xadd dword [0x140200adc], eax
mov dword [rcx + 4], eax
mov eax, dword [0x140200ad8]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b2244
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400b2287
movsxd rcx, dword [0x140200ad0]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x140200ad4]
movsxd rdx, dword [0x140200ad0]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov eax, dword [0x140200ae8]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b2205
lea rdi, [rsi + 4]
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400b229a
movsxd rcx, dword [0x140200ae0]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [0x140200ae4]
movsxd rdx, dword [0x140200ae0]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140200ae8]
call fcn.1400f0548
cmp dword [0x140200ae8], 0xffffffff
jne 0x1400b21bd
mov qword [0x140200ae0], 0
lea rcx, [0x140200ae0]
xor edx, edx
call fcn.14000d6e0
lea rcx, [0x140200ae8]
call fcn.1400f07ac
jmp 0x1400b21bd
lea rcx, [0x140200ad8]
call fcn.1400f0548
cmp dword [0x140200ad8], 0xffffffff
jne 0x1400b2162
mov qword [0x140200ad0], 0
lea rcx, [0x140200ad0]
xor edx, edx
call fcn.14000d6e0
lea rcx, [0x140200ad8]
call fcn.1400f07ac
jmp 0x1400b2162
test rsi, rsi
je 0x1400b219c
call fcn.140001340
jmp 0x1400b2178
test rdi, rdi
je 0x1400b21fb
call fcn.140001340
jmp 0x1400b21d7

Function at 0x1400b22b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x1401fccd0]
cmp rdi, 1
jbe 0x1400b230d
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400b22f6
movsxd rcx, dword [rdi]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [rdi + 4]
movsxd rdx, dword [rdi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400b2305
lock sub dword [rcx + 8], 1
je 0x1400b2356
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401fccd0]
call fcn.14000d630
test al, al
je 0x1400b236a
mov qword [0x1401fccd8], 0
lea rbx, [0x1401fccd0]
lea rdi, [0x1401fccd8]
mov rcx, rdi
xor edx, edx
call fcn.14000d6e0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.14000d5b0
jmp 0x1400b22c7
add rcx, 8
add rcx, 0xfffffffffffffff8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400e2480
mov rdi, qword [0x1401fccd0]
jmp 0x1400b22c7
Function at 0x1400b2380
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400b23be
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x1400b23b7
call fcn.140001340
jmp 0x1400b239e

Function at 0x1400b23d0
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rdx]
mov qword [rcx], rax
mov qword [rdx], 0
mov rbx, qword [0x1401fccd0]
cmp rbx, 1
jbe 0x1400b2439
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400b2482
movsxd rcx, dword [rbx]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [rbx + 4]
movsxd rdx, dword [rbx]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rcx, qword [rdi]
test rcx, rcx
jne 0x1400b2491
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1401fccd0]
call fcn.14000d630
test al, al
je 0x1400b24a6
mov qword [0x1401fccd8], 0
lea r14, [0x1401fccd0]
lea rbx, [0x1401fccd8]
mov rcx, rbx
xor edx, edx
call fcn.14000d6e0
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9, r14
call fcn.14000d5b0
jmp 0x1400b23f9
test rsi, rsi
je 0x1400b2424
call fcn.140001340
jmp 0x1400b240b
lock dec dword [rcx + 8]
jne 0x1400b242c
add rcx, 8
add rcx, 0xfffffffffffffff8
call fcn.1400e2480
jmp 0x1400b242c
mov rbx, qword [0x1401fccd0]
jmp 0x1400b23f9
Function at 0x1400b67a0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x1401fe618]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x1400b67d4
jnp 0x1400b67f7
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400f32c0
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ebp, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1401fe628]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b691c
mov eax, dword [0x1401fe638]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b6956
rdtsc
mov r14, rax
mov r15, rdx
xor esi, esi
lea rdi, [rsp + 0x20]
mov qword [rdi], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rdi], rsi
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rbx, qword [0x1401fe630]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x1401c8a60]
subpd xmm0, xmmword [0x1401c8a70]
haddpd xmm0, xmm0
cvtsi2sd xmm1, qword [rsi]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1401d1958]
ucomisd xmm1, xmm0
ja 0x1400b67d4
shl r15, 0x20
or r14, r15
sub r14, qword [0x1401fe620]
movq xmm6, r14
punpckldq xmm6, xmmword [0x1401c8a60]
subpd xmm6, xmmword [0x1401c8a70]
haddpd xmm6, xmm6
divsd xmm6, xmm0
movsd qword [0x1401fe618], xmm6
jmp 0x1400b67d4
lea rcx, [0x1401fe628]
call fcn.1400f0548
cmp dword [0x1401fe628], 0xffffffff
jne 0x1400b6840
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401fe620], rdx
lea rcx, [0x1401fe628]
call fcn.1400f07ac
jmp 0x1400b6840
lea rcx, [0x1401fe638]
call fcn.1400f0548
cmp dword [0x1401fe638], 0xffffffff
jne 0x1400b6865
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x1401fe630], rax
lea rcx, [0x1401fe638]
call fcn.1400f07ac
jmp 0x1400b6865
Function at 0x1400b6c90
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1402003b0]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b6d63
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400b6cf1
movsxd rcx, dword [0x1402003a8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402003ac]
jne 0x1400b6cf1
mov rdi, qword [rax + rcx]
test rdi, rdi
jne 0x1400b6cf9
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rdi]
test rax, rax
js 0x1400b6da6
cmp dword [rdi + 0x14], 1
jne 0x1400b6db0
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x1400b6def
movabs rax, 0xbfffffffffffffff
lock and qword [rdi], rax
mov rsi, qword [rsi]
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x1400b6e0d
mov rax, qword [rdi]
movabs rcx, 0x6000000000000000
and rcx, rax
movabs rax, 0xffffffffffffff
and rsi, rax
or rsi, rcx
mov qword [rdi], rsi
add dword [rdi + 0x14], 0xffffffff
jmp 0x1400b6cf1
lea rcx, [0x1402003b0]
call fcn.1400f0548
cmp dword [0x1402003b0], 0xffffffff
jne 0x1400b6cbf
mov qword [0x1402003a8], 0
lea rcx, [0x1402003a8]
xor edx, edx
call fcn.14000d6e0
lea rcx, [0x1402003b0]
call fcn.1400f07ac
jmp 0x1400b6cbf
call fcn.14015aa00
jmp 0x1400b6d05
cmp byte [rsi + 8], 0
je 0x1400b6d2a
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400b6ddc
mov rbx, qword [rdi]
call qword [rcx + 8]
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi], rcx
movabs rax, 0x4000000000000000
lock or qword [rdi], rax
jmp 0x1400b6d2a
mov rbx, qword [rdi]
call qword [rcx + 8]
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi], rcx
jmp 0x1400b6d1c
mov rbx, qword [rdi]
call qword [rcx + 8]
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi], rcx
jmp 0x1400b6d3a
Function at 0x1400beb40
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x140201550]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400bec15
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400beba6
movsxd rcx, dword [0x140201548]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14020154c]
jne 0x1400beba6
test rsi, rsi
je 0x1400beba6
cmp qword [rax + rcx], 0
jne 0x1400bec9b
mov eax, dword [0x140201550]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400bec58
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400bec09
movsxd rcx, dword [0x140201548]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x14020154c]
movsxd rdx, dword [0x140201548]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov al, 1
add rsp, 0x20
pop rsi
ret
test rsi, rsi
je 0x1400bec01
call fcn.140001340
jmp 0x1400bebdd
lea rcx, [0x140201550]
call fcn.1400f0548
cmp dword [0x140201550], 0xffffffff
jne 0x1400beb6d
mov qword [0x140201548], 0
lea rcx, [0x140201548]
xor edx, edx
call fcn.14000d6e0
lea rcx, [0x140201550]
call fcn.1400f07ac
jmp 0x1400beb6d
lea rcx, [0x140201550]
call fcn.1400f0548
cmp dword [0x140201550], 0xffffffff
jne 0x1400bebcb
mov qword [0x140201548], 0
lea rcx, [0x140201548]
xor edx, edx
call fcn.14000d6e0
lea rcx, [0x140201550]
call fcn.1400f07ac
jmp 0x1400bebcb
xor eax, eax
jmp 0x1400bec03
Function at 0x1400becb0
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x18], 0
je 0x1400bed71
mov eax, dword [0x140201550]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400bee91
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [0x140201550]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400beed4
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400bed65
movsxd rcx, dword [0x140201548]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x14020154c]
movsxd rdx, dword [0x140201548]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
jne 0x1400beda8
mov rdi, qword [rsi]
test rdi, rdi
jne 0x1400bed91
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400f32c0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rbx, qword [rsi + 8]
cmp rbx, rdi
jne 0x1400bee0d
mov qword [rsi + 8], rdi
mov rcx, qword [rsi]
call fcn.1400f0498
jmp 0x1400bed79
mov r9, qword [rbx + 0x30]
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x28]
lea r8, [rsp + 0x28]
mov qword [r8], rax
mov qword [rbx + 0x28], 0
lea rdx, [rbx + 8]
mov rax, qword [rcx]
call qword [rax]
add rbx, 0x38
cmp rbx, rdi
je 0x1400bed71
lea r14, [rsp + 0x28]
mov r9, qword [rbx + 0x30]
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x28], rax
mov qword [rbx + 0x28], 0
mov rax, qword [rcx]
lea rdx, [rbx + 8]
mov r8, r14
call qword [rax]
add rbx, 0x38
cmp rbx, rdi
je 0x1400bed71
jmp 0x1400bedda
lea r14, [rbx - 0x38]
lea rcx, [rbx - 0x10]
call fcn.1400e06f0
mov rcx, qword [rbx - 0x38]
test rcx, rcx
je 0x1400bee2d
lock dec dword [rcx + 8]
je 0x1400bef17
cmp r14, rdi
je 0x1400bed9a
lea r14, [rbx - 0x70]
lea rcx, [rbx - 0x48]
call fcn.1400e06f0
mov rcx, qword [rbx - 0x70]
test rcx, rcx
je 0x1400bee56
lock dec dword [rcx + 8]
je 0x1400bef29
cmp r14, rdi
je 0x1400bed9a
lea r14, [rdi + 0x70]
lea rcx, [rbx - 0x80]
call fcn.1400e06f0
mov rcx, qword [rbx - 0xa8]
test rcx, rcx
je 0x1400bee82
lock dec dword [rcx + 8]
je 0x1400bef3b
add rbx, 0xffffffffffffffc8
cmp r14, rbx
je 0x1400bed9a
jmp 0x1400bee63
lea rcx, [0x140201550]
call fcn.1400f0548
cmp dword [0x140201550], 0xffffffff
jne 0x1400becfa
mov qword [0x140201548], 0
lea rcx, [0x140201548]
xor edx, edx
call fcn.14000d6e0
lea rcx, [0x140201550]
call fcn.1400f07ac
jmp 0x1400becfa
lea rcx, [0x140201550]
call fcn.1400f0548
cmp dword [0x140201550], 0xffffffff
jne 0x1400bed2b
mov qword [0x140201548], 0
lea rcx, [0x140201548]
xor edx, edx
call fcn.14000d6e0
lea rcx, [0x140201550]
call fcn.1400f07ac
jmp 0x1400bed2b
add rcx, 8
add rcx, 0xfffffffffffffff8
call fcn.1400e2480
jmp 0x1400bee2d
add rcx, 8
add rcx, 0xfffffffffffffff8
call fcn.1400e2480
jmp 0x1400bee56
add rcx, 8
add rcx, 0xfffffffffffffff8
call fcn.1400e2480
jmp 0x1400bee82
Function at 0x1400ce090
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, dword [0x1402003b0]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ce128
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400ce0e9
movsxd rcx, dword [0x1402003a8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402003ac]
jne 0x1400ce0e9
mov rsi, qword [rax + rcx]
test rsi, rsi
jne 0x1400ce0f0
add rsp, 0x28
pop rdi
pop rsi
ret
cmp dword [rsi + 0x14], 0
je 0x1400ce10f
mov rcx, qword [rsi + 8]
test rcx, rcx
jne 0x1400ce16b
movabs rax, 0xdfffffffffffffff
lock and qword [rsi], rax
jmp 0x1400ce0e9
mov rcx, qword [rsi + 8]
test rcx, rcx
jne 0x1400ce189
movabs rax, 0xbfffffffffffffff
lock and qword [rsi], rax
jmp 0x1400ce0f6
lea rcx, [0x1402003b0]
call fcn.1400f0548
cmp dword [0x1402003b0], 0xffffffff
jne 0x1400ce0b7
mov qword [0x1402003a8], 0
lea rcx, [0x1402003a8]
xor edx, edx
call fcn.14000d6e0
lea rcx, [0x1402003b0]
call fcn.1400f07ac
jmp 0x1400ce0b7
mov rdi, qword [rsi]
call qword [rcx + 8]
movabs rcx, 0xff00000000000000
and rcx, rdi
or rcx, rax
mov qword [rsi], rcx
jmp 0x1400ce0ff
mov rdi, qword [rsi]
call qword [rcx + 8]
movabs rcx, 0xff00000000000000
and rcx, rdi
or rcx, rax
mov qword [rsi], rcx
jmp 0x1400ce118

Function at 0x1400ce2b0
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [0x1402003b0]
mov ecx, dword [0x1401f8a8c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ce343
mov ecx, dword [0x1401f6f88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400ce30f
movsxd rcx, dword [0x1402003a8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402003ac]
jne 0x1400ce30f
mov rdi, qword [rax + rcx]
test rdi, rdi
jne 0x1400ce31c
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x1400ce382
movabs rax, 0x4000000000000000
lock or qword [rdi], rax
movabs rax, 0x2000000000000000
lock or qword [rdi], rax
jmp 0x1400ce30f
lea rcx, [0x1402003b0]
call fcn.1400f0548
cmp dword [0x1402003b0], 0xffffffff
jne 0x1400ce2dd
mov qword [0x1402003a8], 0
lea rcx, [0x1402003a8]
xor edx, edx
call fcn.14000d6e0
lea rcx, [0x1402003b0]
call fcn.1400f07ac
jmp 0x1400ce2dd
movabs r14, 0xff00000000000000
mov rbx, qword [rdi]
call qword [rcx + 8]
and rbx, r14
or rbx, rax
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
movabs rax, 0x4000000000000000
lock or qword [rdi], rax
test rcx, rcx
je 0x1400ce333
mov rbx, qword [rdi]
call qword [rcx + 8]
and rbx, r14
or rbx, rax
mov qword [rdi], rbx
jmp 0x1400ce333