joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004ea90
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r15, rcx
mov r13, qword [rsp + 0xb0]
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
xor r14d, r14d
test r13, r13
je 0x14004eb00
mov ecx, dword [r13 + 0x2c]
call fcn.140096650
test rax, rax
je 0x14004ebe1
mov r12, rax
xor ecx, ecx
call fcn.1400966b0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
mov r14, r12
mov rax, qword [r13 + 0x10]
lea rcx, [0x140051e50]
cmp rax, rcx
jne 0x14004ebd1
xorps xmm0, xmm0
movups xmmword [r14 + 0x5c], xmm0
movups xmmword [r14 + 0x50], xmm0
movups xmmword [r14 + 0x40], xmm0
movups xmmword [r14 + 0x30], xmm0
movups xmmword [r14 + 0x20], xmm0
movaps xmm0, xmmword [0x14017d1b0]
movups xmmword [r14], xmm0
movaps xmm0, xmmword [0x14017d1c0]
movups xmmword [r14 + 0x10], xmm0
mov dword [r14 + 0x6c], 0x20
lea r14, [rsp + 0x20]
mov rax, qword [r14]
mov rax, qword [rax + 0x18]
mov rcx, r14
mov rdx, r15
mov r8, rbx
call qword [0x1401c0008]
mov rax, qword [r14]
mov rax, qword [rax + 0x20]
mov rcx, r14
mov rdx, rdi
call qword [0x1401c0008]
mov rax, qword [r14]
test rsi, rsi
je 0x14004eb8a
mov ecx, dword [rax + 4]
mov dword [rsi], ecx
mov edx, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x28]
call fcn.1400966f0
mov r14d, 1
mov rcx, qword [rsp + 0x28]
call fcn.1400966b0
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14004ebe5
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400bd5c0
mov eax, r14d
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x20]
call qword [0x1401c0008]
jmp 0x14004eb4f
xor ecx, ecx
jmp 0x14004eba2
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [0x1401c0008]
jmp 0x14004ebb1

Function at 0x14004ec50
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx], rdx
je 0x14004ec82
mov ecx, dword [rdi + 0x2c]
call fcn.140096650
test rax, rax
je 0x14004ece1
mov rbx, rax
mov rcx, qword [rsi + 8]
call fcn.1400966b0
mov qword [rsi + 8], rbx
mov qword [rsi], rdi
mov rax, qword [rdi + 0x10]
lea rcx, [0x140051e50]
cmp rax, rcx
jne 0x14004ecd6
mov rax, qword [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x14017d1b0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x14017d1c0]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov eax, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [0x1401c0008]
jmp 0x14004ecc9
xor eax, eax
jmp 0x14004ecce
Function at 0x14004ed80
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], 0
jne 0x14004edb7
mov rcx, qword [rsp + 0x80]
mov rdx, r9
call fcn.14005af20
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14004eeca
mov ebp, dword [rsp + 0x88]
lea rcx, [0x1401b1378]
lea rdx, [0x140051e90]
call fcn.14009d0d0
lea rax, [0x1401b1380]
mov qword [rdi + 0x18], rax
mov rcx, qword [rdi + 0x10]
cmp ebp, 1
jne 0x14004eece
call fcn.14005b240
test eax, eax
je 0x14004eeca
test rbx, rbx
je 0x14004ee0f
mov rcx, qword [rdi + 0x10]
mov rdx, rbx
call fcn.140054f30
test eax, eax
je 0x14004eeca
mov rax, qword [rdi + 0x10]
mov rax, qword [rax]
test ebp, ebp
je 0x14004eed8
add rax, 0x38
cmp qword [rax], 0
je 0x14004eea1
test rbx, rbx
je 0x14004eee1
cmp qword [rdi], rbx
je 0x14004ee5a
mov ecx, dword [rbx + 0x2c]
call fcn.140096650
test rax, rax
je 0x14004eeca
mov r14, rax
mov rcx, qword [rdi + 8]
call fcn.1400966b0
mov qword [rdi + 8], r14
mov qword [rdi], rbx
mov rax, qword [rbx + 0x10]
lea rcx, [0x140051e50]
cmp rax, rcx
jne 0x14004eebf
mov rax, qword [rdi + 8]
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x14017d1b0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x14017d1c0]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov ebx, 1
test rsi, rsi
je 0x14004eeb2
mov rax, qword [rdi + 0x10]
mov qword [rsi], rax
mov eax, ebx
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rcx, rdi
call qword [0x1401c0008]
jmp 0x14004eea1
xor ebx, ebx
jmp 0x14004eeb2
call fcn.140145890
jmp 0x14004edee
add rax, 0x28
jmp 0x14004ee22
mov dword [rsp + 0x20], 0x6d
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduledigestsigndigestsign.c
xor ebx, ebx
mov ecx, 6
xor edx, edx
mov r8d, 0x77
call fcn.140145720
jmp 0x14004eeb2
Function at 0x1400508f0
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm8
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0x28], r9
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov esi, 1
test rdx, rdx
je 0x140050abb
mov r15, r8
mov rdi, rdx
mov rbx, rcx
mov rsi, qword [rsp + 0x150]
mov r13d, dword [rsi + 4]
xor r14d, r14d
movaps xmm7, xmmword [0x14017d1b0]
movaps xmm8, xmmword [0x14017d1c0]
lea r12, [rsp + 0x30]
mov eax, r14d
bswap eax
mov dword [rsp + 0x5c], eax
cmp qword [rsp + 0x30], rsi
je 0x1400509b2
mov ecx, dword [rsi + 0x2c]
call fcn.140096650
test rax, rax
je 0x140050b1e
mov rbp, rax
mov rcx, qword [rsp + 0x38]
call fcn.1400966b0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov rax, qword [rsi + 0x10]
lea rcx, [0x140051e50]
cmp rax, rcx
jne 0x140050b0e
mov rax, qword [rsp + 0x38]
movups xmmword [rax + 0x5c], xmm6
movups xmmword [rax + 0x50], xmm6
movups xmmword [rax + 0x40], xmm6
movups xmmword [rax + 0x30], xmm6
movups xmmword [rax + 0x20], xmm6
movups xmmword [rax], xmm7
movups xmmword [rax + 0x10], xmm8
mov dword [rax + 0x6c], 0x20
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov rcx, r12
mov rdx, r15
mov r8, qword [rsp + 0x28]
call qword [0x1401c0008]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov r8d, 4
mov rcx, r12
lea rdx, [rsp + 0x5c]
call qword [0x1401c0008]
cmp rdi, r13
jb 0x140050a62
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, r12
mov rdx, rbx
call qword [0x1401c0008]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov edx, dword [rax + 0x2c]
call fcn.1400966f0
add rbx, r13
inc r14d
sub rdi, r13
jne 0x14005097a
jmp 0x140050ab6
movaps xmm0, xmmword [0x14016f5f0]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea r15, [rsp + 0x30]
mov rax, qword [r15]
mov rax, qword [rax + 0x20]
mov rcx, r15
mov rdx, r14
call qword [0x1401c0008]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov edx, dword [rax + 0x2c]
call fcn.1400966f0
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.1400bf060
mov esi, 1
mov rcx, qword [rsp + 0x38]
call fcn.1400966b0
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x140050b22
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400bd5c0
mov eax, esi
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x30]
call qword [0x1401c0008]
jmp 0x1400509ee
xor esi, esi
jmp 0x140050abb
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [0x1401c0008]
jmp 0x140050acf
Function at 0x1400526d0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400526e0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x140052701
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x140052721
cmp byte [r14 + 0x68], 0
jne 0x1400527a3
or edi, 0x20000000
test dil, 8
jne 0x1400527d7
xor r15d, r15d
cmp byte [r14 + 0x70], 0
mov r12d, 0
je 0x14005273f
mov r12, qword [r14 + 0x78]
cmp byte [r14 + 0x50], 0
mov r13d, 0
je 0x140052750
mov r13, qword [r14 + 0x58]
cmp byte [r14 + 0x28], 0
jne 0x1400527b8
cmp byte [r14], 0
jne 0x1400527c6
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400527f7
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x1400527ae
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x140052721
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005278e
lea rcx, [r14 + 0x30]
call fcn.140033480
mov r15, rax
jmp 0x140052757
add r14, 8
mov rcx, r14
call fcn.140033480
mov r9, rax
jmp 0x140052760
cmp byte [r14 + 0x88], 0
je 0x1400527ec
or edi, 0x40000000
jmp 0x14005272b
or edi, 0x10000000
jmp 0x14005272b
cmp ebx, 4
jne 0x140052806
mov edx, 6
jmp 0x14005276d
lea eax, [rbx - 2]
cmp eax, 2
jae 0x140052818
mov edx, 7
jmp 0x14005276d
cmp ebx, 1
jne 0x140052827
mov edx, 4
jmp 0x14005276d
xor edx, edx
jmp 0x14005276d
Function at 0x1400526e0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400526e0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x140052701
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x140052721
cmp byte [r14 + 0x68], 0
jne 0x1400527a3
or edi, 0x20000000
test dil, 8
jne 0x1400527d7
xor r15d, r15d
cmp byte [r14 + 0x70], 0
mov r12d, 0
je 0x14005273f
mov r12, qword [r14 + 0x78]
cmp byte [r14 + 0x50], 0
mov r13d, 0
je 0x140052750
mov r13, qword [r14 + 0x58]
cmp byte [r14 + 0x28], 0
jne 0x1400527b8
cmp byte [r14], 0
jne 0x1400527c6
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400527f7
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x1400527ae
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x140052721
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005278e
lea rcx, [r14 + 0x30]
call fcn.140033480
mov r15, rax
jmp 0x140052757
add r14, 8
mov rcx, r14
call fcn.140033480
mov r9, rax
jmp 0x140052760
cmp byte [r14 + 0x88], 0
je 0x1400527ec
or edi, 0x40000000
jmp 0x14005272b
or edi, 0x10000000
jmp 0x14005272b
cmp ebx, 4
jne 0x140052806
mov edx, 6
jmp 0x14005276d
lea eax, [rbx - 2]
cmp eax, 2
jae 0x140052818
mov edx, 7
jmp 0x14005276d
cmp ebx, 1
jne 0x140052827
mov edx, 4
jmp 0x14005276d
xor edx, edx
jmp 0x14005276d

Function at 0x140052830
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x140052868
cmp byte [r15 + 0x68], 0
jne 0x1400528f6
or edi, 0x20000000
test dil, 8
jne 0x14005292d
xor r14d, r14d
cmp byte [r15 + 0x70], 0
mov r12d, 0
je 0x140052886
mov r12, qword [r15 + 0x78]
cmp byte [r15 + 0x50], 0
mov r13d, 0
je 0x140052897
mov r13, qword [r15 + 0x58]
cmp byte [r15 + 0x28], 0
jne 0x14005290b
cmp byte [r15], 0
jne 0x140052919
xor r9d, r9d
cmp ebx, 4
jne 0x1400528e7
mov edx, 6
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x140052901
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14005294d
mov edx, 7
jmp 0x1400528b1
or edi, 0x80000000
jmp 0x140052868
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400528d2
lea rcx, [r15 + 0x30]
call fcn.140033480
mov r14, rax
jmp 0x14005289e
add r15, 8
mov rcx, r15
call fcn.140033480
mov r9, rax
jmp 0x1400528a7
cmp byte [r15 + 0x88], 0
je 0x140052942
or edi, 0x40000000
jmp 0x140052872
or edi, 0x10000000
jmp 0x140052872
mov edx, 1
test ebx, ebx
je 0x1400528b1
cmp ebx, 1
jne 0x140052969
mov edx, 4
jmp 0x1400528b1
xor edx, edx
jmp 0x1400528b1
Function at 0x14005a8f0
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 [0x140196028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14005a8c0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1401b1eb0]
lea rdx, [0x14005a710]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14005aa00
cmp dword [0x1401b1eb8], 0
jne 0x14005a9f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1401b1ebc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14005a99c
mov ecx, 1
mov edx, 0x28
call fcn.1400764b0
test rax, rax
je 0x14005a9f0
mov r14, rax
mov ecx, dword [0x1401b1ebc]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14005a9e8
lea r15, [0x1401b1ec0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1401b1ed0]
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.1400bd5c0
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.140076410
mov rcx, rsi
mov rax, rdi
call qword [0x1401c0008]
xor esi, esi
jmp 0x14005a9cc
call fcn.1400d1bb0
int3

Function at 0x140060a70
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401a5710]
cmp ecx, 0xffffffff
je 0x140060b4a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x140060b4a
mov eax, dword [0x1401b3830]
mov ecx, dword [0x1401a57a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140060b54
mov rbx, qword [0x1401b3828]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140060b9a
mov rax, qword [0x1401b2018]
inc rax
xor ecx, ecx
lea rdx, [0x1401b2020]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x140060ba7
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1401b3820]
inc ecx
mov dword [0x1401b3820], ecx
mov dword [rax + 0x14], ecx
mov qword [0x1401b2018], 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]
cmp qword [rsi], 0x100
jae 0x140060bbc
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140060bc0
jmp 0x140060a9a
lea rcx, [0x1401b3830]
call fcn.1400bc1c0
cmp dword [0x1401b3830], 0xffffffff
jne 0x140060abf
mov ecx, 8
call fcn.1400bc06c
mov rbx, rax
mov rcx, rax
call fcn.14008d780
mov qword [0x1401b3828], rbx
lea rcx, [0x1401b3830]
call fcn.1400bc258
jmp 0x140060abf
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140060ad7
inc rcx
cmp rcx, 0x100
jne 0x140060aea
jmp 0x140060b30
int3
Function at 0x140060bc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.1400bd560
sub rsp, rax
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1401a5710]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x140060c74
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140060cd7
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1400bf710
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1400bc0dc
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1400bf060
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400bd5c0
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.14006d6c0
test al, al
je 0x140060cda
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x140060cb2
mov eax, 0xffffffff
lock cmpxchg dword [0x1401a5710], ecx
je 0x140060bf8
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1401a5710]
mov dword [rsp + 0x2c], ecx
jmp 0x140060bf8
lea rcx, [rsp + 0x2c]
call fcn.14006d6c0
test al, al
je 0x140060cdd
cmp dword [rsp + 0x2c], 0xffffffff
je 0x140060cdd
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x140060c8b
int3
int3
int3

Function at 0x140060cf0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401a5710]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140060d2e
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x140060d27
call fcn.140060bc0
jmp 0x140060d0e
Function at 0x14006d6c0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14006d6d5
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x14007ec50
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x14007ed4e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140173010]
nop dword [rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x14007ecc0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x140173020]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x14007eddd
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x14007edb3
movdqa xmm1, xmmword [0x140173020]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x140173030], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x140082100
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x14008219a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140082184
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140082161
mov qword [rsi], rdi
call fcn.140085d10
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x14008219e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140085d10
mov rcx, qword [rsi]
call fcn.1400820d0
mov qword [rsi], 0
jmp 0x14008214f
mov byte [rsi + 8], 0
int3

Function at 0x140082340
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140082388
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140082391
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140082378
mov qword [rdi], rsi
call fcn.140085d10
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140085d10
mov rcx, qword [rdi]
call fcn.1400820d0
mov qword [rdi], 0
jmp 0x140082366

Function at 0x140082540
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140196028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x50]
mov qword [r14 + 0x40], r12
movaps xmm0, xmmword [0x14016f5f0]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x5f
call fcn.140085cf0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14008a920
test esi, esi
js 0x140082651
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.14008ca70
test al, al
jne 0x140082670
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14008265d
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x140082658
lea rcx, [rsp + 0x30]
call fcn.14008cb00
lea rcx, [rsp + 0x50]
call fcn.14008ab90
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400bd5c0
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x140082624
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x14008261a
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14011c8c0
jmp 0x1400825ea
Function at 0x140088370
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140082400
mov qword [rsi], 0
test rax, rax
je 0x1400883c3
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400883f7
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400883bb
mov qword [rsi], rbx
call fcn.140085d10
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.140085ed0
lea rcx, [rsi + 0x20]
call fcn.14008ca90
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.140085d10
mov rcx, qword [rsi]
call fcn.1400820d0
mov qword [rsi], 0
jmp 0x1400883a9