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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov eax, 0x1040
call fcn.14008fe50
sub rsp, rax
mov r14, rdx
mov r15, rcx
mov rax, qword [0x14017e028]
xor rax, rsp
mov qword [rsp + 0x1038], rax
mov eax, 0xffffffff
mov qword [rcx], rax
mov ecx, dword [0x1401814d8]
cmp ecx, 0xffffffff
je 0x1400421f9
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140042274
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1401814d8]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x140042361
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140042423
lea rbx, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rbx
xor edx, edx
call fcn.1400924f0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
mov rsi, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rsi
mov ecx, 0x1000
call fcn.14008d7b8
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rbx
call fcn.140091e40
mov ecx, dword [rsp + 0x2c]
or rdi, 3
mov rdx, rdi
call rsi
mov eax, dword [0x1401880c8]
mov ecx, dword [0x140181920]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400423ca
mov rbx, qword [0x1401880c0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140042410
mov rcx, qword [0x1401868b8]
inc rcx
mov edx, 0x100
lea rax, [0x1401868c0]
nop word [rax + rax]
movzx edi, cl
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x1400422fa
lea edi, [rcx + 1]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x1400422fa
add rcx, 2
add rdx, 0xfffffffffffffffe
jne 0x1400422d0
jmp 0x14004231f
lea rcx, [rax + rsi*8]
mov dword [rcx], 1
lea rcx, [rdi + rdi*2]
mov qword [rax + rcx*8 + 8], r14
mov qword [0x1401868b8], rdi
mov dword [r15], edi
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [r15 + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [r15]
cmp eax, 0xffffffff
je 0x14004241d
cmp eax, 0x100
jge 0x140042420
mov rcx, qword [rsp + 0x1038]
xor rcx, rsp
call fcn.14008fec0
mov rax, r15
add rsp, 0x1040
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [rsp + 0x2c]
call fcn.1400bae30
test al, al
je 0x140042426
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400423a4
mov eax, 0xffffffff
lock cmpxchg dword [0x1401814d8], ecx
je 0x140042214
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov ecx, dword [0x1401814d8]
mov dword [rsp + 0x2c], ecx
jmp 0x140042214
lea rcx, [rsp + 0x2c]
call fcn.1400bae30
test al, al
je 0x140042429
cmp dword [rsp + 0x2c], 0xffffffff
je 0x140042429
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov ecx, dword [rsp + 0x2c]
jmp 0x14004237c
lea rcx, [0x1401880c8]
call fcn.14008d354
cmp dword [0x1401880c8], 0xffffffff
jne 0x140042299
mov ecx, 8
call fcn.14008d2b8
mov rdi, rax
mov rcx, rax
call fcn.140057e40
mov qword [0x1401880c0], rdi
lea rcx, [0x1401880c8]
call fcn.14008d2f4
jmp 0x140042299
mov rcx, rbx
call fcn.140041630
jmp 0x1400422b1
int3
int3
int3
int3
int3
Function at 0x140042430
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov qword [rcx], rdx
test rdx, rdx
je 0x140042446
lock inc dword [rdx + 8]
mov qword [rsi + 8], rdx
mov rdi, qword [0x1401882e8]
cmp rdi, 1
jbe 0x1400424d5
lea rbx, [rsi + 8]
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14004256b
movsxd rcx, dword [rdi]
shl rcx, 4
mov qword [rax + rcx], rbx
mov ecx, dword [rdi + 4]
movsxd rdx, dword [rdi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rdi, qword [0x140188278]
cmp rdi, 1
jbe 0x140042522
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14004257e
movsxd rcx, dword [rdi]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [rdi + 4]
movsxd rdx, dword [rdi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401882e8]
call fcn.140055e00
test al, al
je 0x140042591
mov qword [0x1401882f0], 0
lea rbx, [0x1401882e8]
lea rdi, [0x1401882f0]
mov rcx, rdi
xor edx, edx
call fcn.1400421b0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140055de0
jmp 0x140042457
lea rcx, [0x140188278]
call fcn.140055e00
test al, al
je 0x14004259d
mov qword [0x140188280], 0
lea rbx, [0x140188278]
lea rdi, [0x140188280]
mov rcx, rdi
xor edx, edx
call fcn.1400421b0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140055de0
jmp 0x14004249b
test rbx, rbx
je 0x14004248a
call fcn.1400074b0
jmp 0x140042471
test rsi, rsi
je 0x1400424ca
call fcn.1400074b0
jmp 0x1400424b1
mov rdi, qword [0x1401882e8]
jmp 0x140042457
mov rdi, qword [0x140188278]
jmp 0x14004249b

Function at 0x140043210
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x140189db8]
mov ecx, dword [0x140181920]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140043272
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400432ae
movsxd rcx, dword [0x140189db0]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x140189db4]
jne 0x1400432ae
mov rax, qword [rax + rcx]
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140189db8]
call fcn.14008d354
cmp dword [0x140189db8], 0xffffffff
jne 0x140043239
mov qword [0x140189db0], 0
lea rcx, [0x140189db0]
xor edx, edx
call fcn.1400421b0
lea rcx, [0x140189db8]
call fcn.14008d2f4
jmp 0x140043239
xor eax, eax
jmp 0x140043266
Function at 0x140043680
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rax, qword [0x14017e028]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov eax, dword [0x1401845d8]
mov ecx, dword [0x140181920]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400436e2
mov rsi, qword [0x1401845d0]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.14008fec0
mov rax, rsi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401845d8]
call fcn.14008d354
cmp dword [0x1401845d8], 0xffffffff
jne 0x1400436bd
lea rsi, [rsp + 0x6c]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400924f0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.14008d2b8
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140184610]
mov ecx, dword [0x140181920]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004379b
lea rdx, [rsp + 0x68]
mov rcx, rsi
mov r8d, edi
call fcn.140005ee0
mov qword [0x1401845d0], rsi
lea rcx, [0x1401845d8]
call fcn.14008d2f4
jmp 0x1400436bd
lea rcx, [0x140184610]
call fcn.14008d354
cmp dword [0x140184610], 0xffffffff
jne 0x140043773
xorps xmm0, xmm0
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movups xmmword [0x140184600], xmm2
movups xmmword [0x1401845f0], xmm1
movups xmmword [0x1401845e0], xmm0
lea rcx, [0x140184610]
call fcn.14008d2f4
jmp 0x140043773
Function at 0x1400446b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1401887b0]
mov ecx, dword [0x140181920]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004478c
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400447cf
movsxd rcx, dword [0x1401887a8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1401887ac]
jne 0x1400447cf
mov rdi, qword [rax + rcx]
cmp byte [rsi], 0
jne 0x140044721
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rdi]
test rax, rax
js 0x1400447d6
cmp dword [rdi + 0x14], 1
jne 0x1400447e0
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x14004481f
movabs rax, 0xbfffffffffffffff
lock and qword [rdi], rax
mov rsi, qword [rsi + 8]
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x14004483d
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 0x140044719
lea rcx, [0x1401887b0]
call fcn.14008d354
cmp dword [0x1401887b0], 0xffffffff
jne 0x1400446df
mov qword [0x1401887a8], 0
lea rcx, [0x1401887a8]
xor edx, edx
call fcn.1400421b0
lea rcx, [0x1401887b0]
call fcn.14008d2f4
jmp 0x1400446df
xor edi, edi
jmp 0x140044714
call fcn.14013c780
jmp 0x14004472d
cmp byte [rsi + 0x10], 0
je 0x140044752
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14004480c
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 0x140044752
mov rbx, qword [rdi]
call qword [rcx + 8]
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi], rcx
jmp 0x140044744
mov rbx, qword [rdi]
call qword [rcx + 8]
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi], rcx
jmp 0x140044763
Function at 0x140048be0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov esi, r8d
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14017e028]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], r15
movaps xmm6, xmmword [0x14015c320]
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
lea rdx, str.ReadAtCurrentPos
lea r8, str..._.._base_files_file_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x57
call fcn.140048d60
lea rcx, [rsp + 0x60]
mov rdx, rdi
xor r8d, r8d
call fcn.140048d80
test esi, esi
js 0x140048d34
mov dword [rsp + 0x40], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rdx, r14
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140048d3e
mov esi, dword [rsp + 0x40]
test byte [0x14017ff80], 0x19
jne 0x140048cf2
lea rcx, [rsp + 0x60]
call fcn.140046d50
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14008fec0
mov eax, esi
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x14017ff80]
lea r9, [0x1401639a1]
mov rcx, rdi
mov dl, 0x45
call fcn.14003a350
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140048cbf
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140048cbf
mov esi, 0xffffffff
jmp 0x140048cb6
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x140048cb6
Function at 0x140050b60
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x14017e028]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x18], 0
je 0x140050c21
mov eax, dword [0x14018a348]
mov ecx, dword [0x140181920]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140050c85
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [0x14018a348]
mov ecx, dword [0x140181920]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140050cc8
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140050c15
movsxd rcx, dword [0x14018a340]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x14018a344]
movsxd rdx, dword [0x14018a340]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
jne 0x140050c3f
cmp qword [rsi], 0
jne 0x140050c73
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008fec0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
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 0x140050c21
jmp 0x140050c44
mov rcx, rsi
call fcn.1400be360
mov rcx, qword [rsi]
call fcn.14008d2a8
jmp 0x140050c27
lea rcx, [0x14018a348]
call fcn.14008d354
cmp dword [0x14018a348], 0xffffffff
jne 0x140050baa
mov qword [0x14018a340], 0
lea rcx, [0x14018a340]
xor edx, edx
call fcn.1400421b0
lea rcx, [0x14018a348]
call fcn.14008d2f4
jmp 0x140050baa
lea rcx, [0x14018a348]
call fcn.14008d354
cmp dword [0x14018a348], 0xffffffff
jne 0x140050bdb
mov qword [0x14018a340], 0
lea rcx, [0x14018a340]
xor edx, edx
call fcn.1400421b0
lea rcx, [0x14018a348]
call fcn.14008d2f4
jmp 0x140050bdb
Function at 0x140058100
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rax, qword [0x14017e028]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov eax, dword [0x1401845d8]
mov ecx, dword [0x140181920]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140058163
mov rax, qword [0x1401845d0]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.14008fec0
mov eax, esi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401845d8]
call fcn.14008d354
cmp dword [0x1401845d8], 0xffffffff
jne 0x14005813d
lea rsi, [rsp + 0x6c]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400924f0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.14008d2b8
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140184610]
mov ecx, dword [0x140181920]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005821c
lea rdx, [rsp + 0x68]
mov rcx, rsi
mov r8d, edi
call fcn.140005ee0
mov qword [0x1401845d0], rsi
lea rcx, [0x1401845d8]
call fcn.14008d2f4
jmp 0x14005813d
lea rcx, [0x140184610]
call fcn.14008d354
cmp dword [0x140184610], 0xffffffff
jne 0x1400581f4
xorps xmm0, xmm0
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movups xmmword [0x140184600], xmm2
movups xmmword [0x1401845f0], xmm1
movups xmmword [0x1401845e0], xmm0
lea rcx, [0x140184610]
call fcn.14008d2f4
jmp 0x1400581f4
Function at 0x14005cfc0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14005cffe
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 0x14005cff7
call fcn.1400074b0
jmp 0x14005cfde
Function at 0x140063be0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movdqa xmmword [rsp + 0x70], xmm13
movdqa xmmword [rsp + 0x60], xmm12
movdqa xmmword [rsp + 0x50], xmm11
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 xmm0, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm4, r8d
pxor xmm4, xmm0
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x140063d15
movabs rax, 0x154442bd4
movq xmm9, rax
movdqa xmm8, xmmword [0x14015d4d0]
nop word cs:[rax + rax]
nop dword [rax]
movdqa xmm6, xmm4
pclmulqdq xmm6, xmm9, 0
movdqa xmm12, xmm3
pclmulqdq xmm12, xmm9, 0
movdqa xmm11, xmm2
pclmulqdq xmm11, xmm9, 0
movdqa xmm10, xmm1
pclmulqdq xmm10, xmm9, 0
movdqa xmm0, xmm4
pclmulqdq xmm0, xmm8, 0x11
movdqa xmm5, xmm3
pclmulqdq xmm5, xmm8, 0x11
movdqa xmm7, xmm2
pclmulqdq xmm7, xmm8, 0x11
movdqa xmm13, xmm1
pclmulqdq xmm13, xmm8, 0x11
movdqu xmm4, xmmword [rcx]
pxor xmm4, xmm6
pxor xmm4, xmm0
movdqu xmm3, xmmword [rcx + 0x10]
pxor xmm3, xmm12
pxor xmm3, xmm5
movdqu xmm2, xmmword [rcx + 0x20]
pxor xmm2, xmm11
pxor xmm2, xmm7
movdqu xmm1, xmmword [rcx + 0x30]
pxor xmm1, xmm10
pxor xmm1, xmm13
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x140063c70
movabs rax, 0x1751997d0
movq xmm0, rax
movdqa xmm5, xmm4
pclmulqdq xmm5, xmm0, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x14015d4e0]
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm5
movdqa xmm5, xmm4
pclmulqdq xmm5, xmm0, 0
pxor xmm5, xmm2
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm5
movdqa xmm2, xmm4
pclmulqdq xmm2, xmm0, 0
pxor xmm2, xmm1
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm2
cmp rdx, 0x10
jb 0x140063da4
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm4
pclmulqdq xmm2, xmm0, 0
pxor xmm2, xmm1
pclmulqdq xmm4, xmm3, 0x11
pxor xmm4, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x140063d7a
movdqa xmm0, xmmword [0x14015d4e0]
pclmulqdq xmm0, xmm4, 1
psrldq xmm4, 8
pxor xmm4, xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
pblendw xmm1, xmm4, 3
psrldq xmm4, 4
movabs rax, 0x163cd6124
movq xmm2, rax
pclmulqdq xmm2, xmm1, 0
pxor xmm2, xmm4
pxor xmm1, xmm1
pblendw xmm1, xmm2, 3
pclmulqdq xmm1, xmmword [0x14015d4f0], 0x10
pblendw xmm1, xmm0, 0xfc
movabs rax, 0x1db710641
movq xmm0, rax
pclmulqdq xmm0, xmm1, 0
pxor xmm0, xmm2
pextrd eax, xmm0, 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]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
add rsp, 0x88
ret
Function at 0x140063e60
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140063ed8
cmp r8, 4
jae 0x140063e88
xor r9d, r9d
xor eax, eax
mov r10b, byte [rdx + r9]
xor r10b, byte [rcx + r9]
movzx r10d, r10b
or eax, r10d
inc r9
cmp r8, r9
jne 0x140063e70
ret
mov r9, r8
and r9, 0xfffffffffffffffc
pxor xmm0, xmm0
xor r10d, r10d
pxor xmm1, xmm1
mov eax, dword [rdx + r10]
xor eax, dword [rcx + r10]
movd xmm2, eax
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
por xmm1, xmm2
add r10, 4
cmp r9, r10
jne 0x140063e9a
pshufd xmm0, xmm1, 0xee
por xmm0, xmm1
pshufd xmm1, xmm0, 0x55
por xmm1, xmm0
movd eax, xmm1
cmp r9, r8
jne 0x140063e70
jmp 0x140063e87
xor eax, eax
ret

Function at 0x140064ae0
Capabilities:
Get thread local storage value

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

Function at 0x140064c37
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov r14, r8
mov r12, rdx
mov r15, rcx
mov rax, qword [0x14017e028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, pe_nt_image_headers64
call fcn.14008d2b8
mov rsi, rax
lea rax, [0x14015b050]
mov qword [rsi], rax
lea rax, [0x1400d3450]
lea r8, [rsp + 0x20]
mov qword [r8], rax
lea rcx, [0x14018a260]
lea rdx, [0x14014bd20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140064d76
lea rbx, [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rsi + 0x64], xmm0
movups xmmword [rsi + 0x58], xmm0
movups xmmword [rsi + 0x48], xmm0
movups xmmword [rsi + 0x38], xmm0
movups xmmword [rsi + 0x28], xmm0
movaps xmm0, xmmword [0x140167aa0]
movups xmmword [rsi + 8], xmm0
movaps xmm0, xmmword [0x140167ab0]
movups xmmword [rsi + 0x18], xmm0
mov dword [rsi + 0x74], 0x20
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
mov rcx, rbx
call fcn.140048ab0
lea rdi, [rsp + 0x30]
movaps xmm0, xmmword [0x14015c320]
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi], xmm0
mov qword [rdi - 0x10], r12
mov qword [rdi - 8], r14
cmp r14, 0x20
cmovb r12, rdi
mov rcx, r12
mov rdx, rbx
call fcn.140057ef0
mov r8, qword [rdi - 8]
cmp r8, 0x1f
jbe 0x140064d67
test rsi, rsi
je 0x140064d4b
xorps xmm0, xmm0
movups xmmword [rbx + 0x60], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx], xmm0
mov rcx, rsi
call fcn.14008d2a8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14008fec0
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x20]
mov rdx, rdi
call fcn.140091e40
jmp 0x140064d20
call fcn.14008d5e0
int3
Function at 0x140069580
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [0x14017e028]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400695d1
mov rsi, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14008fec0
mov rax, rsi
add rsp, 0x30
pop rsi
ret
int3

Function at 0x140069e80
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r15, rdx
mov rsi, rcx
cmp qword [rcx], rdx
je 0x140069eee
mov r12d, dword [r15 + 0x2c]
lea r14, [r12 + 8]
mov rdi, qword [0x140181548]
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call qword [rdi]
mov rbx, rax
test rax, rax
jne 0x140069ec8
cmp byte [0x140184548], 0
jne 0x140069f7c
test rbx, rbx
je 0x140069f8c
mov qword [rbx], r12
add rbx, 8
je 0x140069f8c
mov rdi, qword [rsi + 8]
test rdi, rdi
jne 0x140069f4a
mov qword [rsi + 8], rbx
mov qword [rsi], r15
mov rax, qword [r15 + 0x10]
lea rcx, [0x14014b310]
cmp rax, rcx
jne 0x140069f75
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 [0x140167aa0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x140167ab0]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov esi, 1
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r8, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
add r8, 8
mov rcx, rdi
xor edx, edx
call fcn.1400924f0
mov rcx, qword [0x140181548]
mov rdx, rdi
xor r8d, r8d
call qword [rcx + 0x28]
jmp 0x140069ee7
mov rcx, rsi
call rax
jmp 0x140069f35
mov rcx, r14
call fcn.1400bf770
test al, al
jne 0x140069ea8
mov dword [rsp + 0x20], 0xc4
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_digest_digest.c
xor esi, esi
mov ecx, 0x1d
xor edx, edx
mov r8d, 0x41
call fcn.1400cc8a0
jmp 0x140069f3a