joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140084950
Capabilities:
Read file via mapping

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rdx, str.MapImageToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x1c
call fcn.140063850
lea rcx, [rsp + 0x50]
xor edi, edi
mov rdx, rbx
xor r8d, r8d
call fcn.14004f6c0
mov rcx, rsi
call fcn.140048160
test al, al
je 0x140084a18
lea rbx, [rsi + 0x40]
mov rcx, rsi
call fcn.140048170
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor edi, edi
mov rcx, rax
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rbx
mov rdx, rax
call fcn.140002910
mov rcx, qword [rsi + 0x40]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x140084a3f
lea rcx, [rsp + 0x50]
call fcn.14004f740
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140174050
mov eax, edi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x20], 0
xor edi, edi
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x140084a18
mov rbx, rax
lea rax, [0x1401b3d78]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x30]
call fcn.140071c60
mov eax, dword [rax + 0x50]
test rax, rax
setne dil
je 0x140084a18
mov qword [rsi + 0x30], rbx
mov qword [rsi + 0x38], rax
jmp 0x140084a18

Function at 0x140086930
Capabilities:
Compare security identifiers

Disassembly:
sub rsp, 0x28
mov rdx, qword [rdx]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x14009d180
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rdi, rdx
mov esi, ecx
mov rax, qword [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0x58], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], r14
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x40], xmm6
mov rdx, qword [rdx]
mov r9, qword [rdi + 8]
add r9, rdx
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r8, rdx
call fcn.140011770
mov qword [rsp + 0x30], r14
movaps xmmword [rsp + 0x20], xmm6
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
add r8, rdx
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9, r8
call fcn.140011770
mov rcx, rbx
mov rdx, rdi
call fcn.140012900
mov rax, qword [rsp + 0x48]
cmp rax, qword [rsp + 0x28]
je 0x14009d273
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x28]
lea rdi, [rsp + 0x40]
lea r12, [0x1401c6f90]
lea rbx, [rsp + 0x20]
nop word cs:[rax + rax]
mov rcx, rdi
call fcn.140012a80
movzx eax, byte [rax]
movzx ecx, sil
xor ecx, eax
shr esi, 8
xor esi, dword [r12 + rcx*4]
mov rcx, rdi
call fcn.140012b50
mov rcx, rdi
mov rdx, rbx
call fcn.140012900
mov rax, qword [r14]
cmp rax, qword [r15]
jne 0x14009d240
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140174050
mov eax, esi
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14009ec50
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov byte [rcx], 0
mov eax, dword [0x140201350]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x190]
mov qword [rsi + 8], rcx
mov rcx, qword [rax + 0x190]
mov qword [rax + 0x190], rsi
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x38], 0
mov dword [rsi + 0x40], 0
mov byte [rsi + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x58], r8
mov qword [rsi + 0x60], r9
mov rax, qword [0x1401be108]
movzx eax, byte [rax + 0x80]
test al, al
setne byte [rsi + 0x30]
je 0x14009ecfc
lea rax, [rsi + 0x18]
lea rdi, [rsi + 0x20]
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [rsp + 0x28]
call qword [0x1401ec708]
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140174050
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x1400a9040
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rax, qword [rcx + 8]
mov edi, 8
inc rax
cmp rax, 1
ja 0x1400a90a3
mov rbx, rcx
cmp qword [rcx + 0x18], 0
jne 0x1400a90a3
lea r14, [rbx + 8]
xor edi, edi
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov rcx, r14
mov rdx, rax
call fcn.140002910
mov rax, qword [r14]
inc rax
cmp rax, 2
jae 0x1400a90d4
mov edi, 0x3b
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400a90c4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, 1
call qword [0x1401ec708]
mov eax, edi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 0x20
call fcn.140173ca0
mov r15, rax
mov rcx, rax
call fcn.1400fd7d0
mov r12, qword [rbx + 8]
mov ecx, 0x18
call fcn.140173ca0
mov r14, rax
mov rax, qword [rsi]
mov qword [rsi], 0
mov qword [r14], r12
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], r15
mov qword [rbx + 0x18], r15
lea r15, [rbx + 0x10]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400a91c0]
xor ecx, ecx
xor edx, edx
mov r9, r14
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, r15
mov rdx, rax
call fcn.140002910
mov rax, qword [rbx + 0x10]
inc rax
cmp rax, 1
ja 0x1400a90a3
mov qword [rbx + 0x18], 0
test r14, r14
je 0x1400a909e
mov rdi, qword [r14 + 0x10]
mov qword [r14 + 0x10], 0
test rdi, rdi
je 0x1400a918a
mov rcx, rdi
call fcn.1400fd800
mov rcx, rdi
call fcn.140173cf0
mov rcx, qword [r14 + 8]
mov qword [r14 + 8], 0
test rcx, rcx
je 0x1400a91ad
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, 1
call qword [0x1401ec708]
mov rcx, r14
call fcn.140173cf0
jmp 0x1400a909e
Function at 0x1400aba70
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x10080
call fcn.140173ff0
sub rsp, rax
mov rsi, rdx
mov rax, qword [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0x10078], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x50]
call fcn.1400515a0
test rsi, rsi
je 0x1400abaf6
lea rdi, [rsp + 0x7a]
mov r8d, 0xfffe
mov rcx, rdi
mov dl, 0xaa
call fcn.1401772e0
test byte [rsp + 0x60], 1
je 0x1400abb04
mov rcx, qword [rsp + 0x70]
jmp 0x1400abb09
test byte [rsp + 0x60], 1
je 0x1400abb6f
mov rcx, qword [rsp + 0x70]
jmp 0x1400abb74
lea rcx, [rsp + 0x62]
mov rdx, rdi
mov r8d, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
je 0x1400abb3a
mov ebp, eax
mov edi, eax
cmp eax, 0x7fff
jae 0x1400abb8d
lea rcx, [rsp + 0x7a]
mov rdx, rdi
mov r8, rsi
call fcn.1400515d0
test byte [rsp + 0x60], 1
je 0x1400abb4b
mov rcx, qword [rsp + 0x70]
call fcn.140173cf0
mov rcx, qword [rsp + 0x10078]
xor rcx, rsp
call fcn.140174050
mov eax, ebx
add rsp, 0x10080
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x62]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
test byte [rsp + 0x60], 1
jne 0x1400abb41
jmp 0x1400abb4b
mov ecx, 0x7ffe
call fcn.14006dbd0
mov r14, rax
mov ecx, ebp
call fcn.14006daf0
lea rcx, str.value_length___value.size_____1
mov rdx, rax
mov r8, r14
call fcn.14006dea0
test rax, rax
je 0x1400abb2a
mov r14, rax
lea rdx, str.GetVarImpl
lea r8, str....._baseenvironment.cc
lea r15, [rsp + 0x28]
mov rcx, r15
mov r9d, 0x45
call fcn.140063850
lea r12, [rsp + 0x48]
mov rcx, r12
mov rdx, r14
mov r8d, 0xffffffff
mov r9, r15
call fcn.14006e250
mov rcx, r12
call fcn.14006e410
lea rdx, str.value_should_fit_in_the_buffer__including_the_null_terminator_
mov r8d, 0x3e
mov rcx, rax
call fcn.140001af0
mov rcx, r12
call fcn.14006e420
jmp 0x1400abb2a

Function at 0x1400acfc0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x1400ad060]
mov qword [rsp + 0x20], rax
lea rcx, [0x140201e18]
lea rdx, [0x1400ace60]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400ad054
cmp dword [0x140201e20], 0
je 0x1400ad011
xor esi, esi
jmp 0x1400ad03c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140201e24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1400ad00d
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140174050
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
call fcn.14018cb54
int3
Function at 0x1400ad090
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1400ad060]
mov qword [rsp + 0x28], rax
lea rcx, [0x140201e18]
lea rdx, [0x1400ace60]
lea r8, [rsp + 0x28]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400ad1a7
cmp dword [0x140201e20], 0
je 0x1400ad0fc
mov rcx, rsi
mov rax, rdi
call qword [0x1401ec708]
xor esi, esi
jmp 0x1400ad150
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x140201e24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
je 0x1400ad16c
lea r15, [0x140201e28]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x140201e30]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140174050
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
mov edx, 0x28
call fcn.14019190c
test rax, rax
je 0x1400ad0ec
mov r14, rax
mov ecx, dword [0x140201e24]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400ad120
mov rcx, r14
call fcn.140193770
jmp 0x1400ad0ec
call fcn.14018cb54
int3

Function at 0x1400ad5a0
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
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400ad5c0
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
ret

Function at 0x1400ad600
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
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400ad620
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
ret
Function at 0x1400ad660
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
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400ad683
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
ret

Function at 0x1400ad6e0
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
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400ad703
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
ret

Function at 0x1400ad760
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
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400ad789
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
ret

Function at 0x1400ad7f0
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
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400ad819
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
ret
Function at 0x1400adb50
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 0x1400adbaa
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 0x1400adba0
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
ret
Function at 0x1400bc640
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [r9 - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [r10 - 1]
vmovups xmm15, xmmword [r9 - 0x70]
lea r12, [r9 - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1400bc760
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 0x1400bc6a0
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 0x1400bc6a0
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rcx]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rcx + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rcx + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rcx + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rcx + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rcx + 0x50]
lea rcx, [rcx + 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 [rdx], xmm9
vmovups xmmword [rdx + 0x10], xmm10
vmovups xmmword [rdx + 0x20], xmm11
vmovups xmmword [rdx + 0x30], xmm12
vmovups xmmword [rdx + 0x40], xmm13
vmovups xmmword [rdx + 0x50], xmm14
lea rdx, [rdx + 0x60]
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 0x1400bc6a0
Function at 0x1400c57e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1401fdc38]
cmp ecx, 0xffffffff
je 0x1400c5811
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400c5816
call fcn.1400c59c0
mov eax, dword [0x140203700]
mov ecx, dword [0x140201350]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x30]
jg 0x1400c596e
mov rbx, qword [0x1402036f8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1400c5857
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [0x140201ee8]
inc rax
mov edx, 0x100
lea rcx, [0x140201ef0]
nop dword [rax]
movzx r8d, al
lea r9, [r8 + r8*2]
cmp dword [rcx + r9*8], 0
je 0x1400c589e
lea r8d, [rax + 1]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rcx + r9*8], 0
je 0x1400c589e
add rax, 2
add rdx, 0xfffffffffffffffe
jne 0x1400c5870
jmp 0x1400c58cd
lea rax, [rcx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1402036f0]
inc ecx
mov dword [0x1402036f0], ecx
mov dword [rax + 0x14], ecx
mov qword [0x140201ee8], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rsi, qword [rsi]
cmp rsi, 0x100
jae 0x1400c58f8
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140174050
nop
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
mov ecx, 0x100
call fcn.14006dbd0
mov rdi, rax
mov rcx, rsi
call fcn.14006dbd0
lea rcx, str.slot____kThreadLocalStorageSize
mov rdx, rax
mov r8, rdi
call fcn.14006dea0
test rax, rax
je 0x1400c58e2
mov rsi, rax
lea rdx, str.Initialize
lea r8, str....._base_threading_thread_local_storage.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x1e7
call fcn.140063850
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, rsi
mov r8d, 0xffffffff
mov r9, rdi
call fcn.14006e250
mov rcx, rbx
call fcn.14006e420
jmp 0x1400c58e2
lea rcx, [0x140203700]
call fcn.140173e10
cmp dword [0x140203700], 0xffffffff
jne 0x1400c583b
mov ecx, 8
call fcn.140173ca0
mov rbx, rax
mov qword [rax], 0
mov rcx, rax
call fcn.140042980
mov qword [0x1402036f8], rbx
lea rcx, [0x140203700]
call fcn.140173ea8
jmp 0x1400c583b
Function at 0x1400c59c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x1050
call fcn.140173ff0
sub rsp, rax
mov rax, qword [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0x1048], rax
mov dword [rsp + 0x3c], 0xaaaaaaaa
mov ecx, dword [0x1401fdc38]
mov dword [rsp + 0x3c], ecx
cmp ecx, 0xffffffff
jne 0x1400c5a5d
lea rcx, [rsp + 0x3c]
call fcn.140107570
test al, al
je 0x1400c5b50
mov ecx, dword [rsp + 0x3c]
cmp ecx, 0xffffffff
jne 0x1400c5a3f
lea rcx, [rsp + 0x3c]
call fcn.140107570
test al, al
je 0x1400c5b9b
cmp dword [rsp + 0x3c], 0xffffffff
je 0x1400c5b9b
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x3c]
mov eax, 0xffffffff
lock cmpxchg dword [0x1401fdc38], ecx
je 0x1400c5a5d
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1401fdc38]
mov dword [rsp + 0x3c], ecx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
and esi, 3
jne 0x1400c5ada
lea rsi, [rsp + 0x40]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1401772e0
mov ecx, dword [rsp + 0x3c]
lea rdx, [rsp + 0x43]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.140173d2c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.140176c30
mov ecx, dword [rsp + 0x3c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1048]
xor rcx, rsp
call fcn.140174050
mov rax, rdi
add rsp, 0x1050
pop rbx
pop rdi
pop rsi
ret
xor ecx, ecx
call fcn.14006da10
mov rdi, rax
mov ecx, esi
call fcn.14006da10
lea rcx, str.GetTlsVectorStateAndValue_key___TlsVectorState::kUninitialized
mov rdx, rax
mov r8, rdi
call fcn.14006dea0
test rax, rax
je 0x1400c5a6b
mov rsi, rax
lea rdx, str.ConstructTlsVector
lea r8, str....._base_threading_thread_local_storage.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x127
call fcn.140063850
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, rsi
mov r8d, 0xffffffff
mov r9, rdi
call fcn.14006e250
mov rcx, rbx
call fcn.14006e420
jmp 0x1400c5a6b
lea rdx, str.ConstructTlsVector
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov r9d, 0x10b
call fcn.140063850
lea rdx, str.PlatformThreadLocalStorage::AllocTLS_key_
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0xffffffff
mov r9, rsi
call fcn.14006e190
mov rcx, rdi
call fcn.14006e420
jmp 0x1400c5a0b
lea rdx, str.ConstructTlsVector
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov r9d, 0x115
call fcn.140063850
lea rdx, str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0xffffffff
mov r9, rsi
call fcn.14006e190
mov rcx, rdi
call fcn.14006e420
jmp 0x1400c5a31

Function at 0x1400c5bf0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1401fdc38]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400c5c22
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x1400c5c22
add rax, rcx
mov rax, qword [rax]
jmp 0x1400c5c24
xor eax, eax
add rsp, 0x20
pop rsi
ret