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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140461748]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140195e2e
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 0x140195e27
call fcn.140195cc0
jmp 0x140195e0e

Function at 0x140196360
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov eax, dword [0x140472044]
mov ecx, dword [0x14046184c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401963c4
cmp rdi, rsi
je 0x1401963b9
mov eax, 0xffffffff
lea rcx, [0x140471c44]
mov dl, byte [rdi]
xor dl, al
movzx edx, dl
shr eax, 8
xor eax, dword [rcx + rdx*4]
inc rdi
cmp rdi, rsi
jne 0x1401963a0
not eax
jmp 0x1401963bb
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140472044]
call fcn.140258f70
cmp dword [0x140472044], 0xffffffff
jne 0x14019638f
lea rbx, [0x140471c44]
mov r8d, 0x400
mov rcx, rbx
mov dl, 0xaa
call fcn.14025c760
mov dl, 1
xor ecx, ecx
mov eax, 0xedb88320
test dl, 1
je 0x1401964d7
mov r9d, ecx
shl r9d, 0x1e
sar r9d, 0x1f
and r9d, eax
mov r8d, ecx
and r8d, 1
neg r8d
and r8d, eax
mov edx, ecx
shr edx, 1
xor edx, r8d
mov r8d, edx
shr r8d, 1
xor r8d, r9d
mov r9d, r8d
shl r9d, 0x1a
sar r9d, 0x1f
and r9d, eax
shl edx, 0x1a
sar edx, 0x1f
and edx, 0x76dc4190
mov r10d, ecx
shl r10d, 0x1a
sar r10d, 0x1f
and r10d, 0x3b6e20c8
mov r11d, ecx
shl r11d, 0x1b
sar r11d, 0x1f
and r11d, 0x1db71064
xor r11d, r10d
mov r10d, ecx
shl r10d, 0x1c
sar r10d, 0x1f
and r10d, 0xedb8832
mov ebp, ecx
shl ebp, 0x1d
sar ebp, 0x1f
and ebp, 0x76dc419
xor ebp, r10d
xor ebp, r11d
shr r8d, 6
xor r8d, ebp
xor r8d, edx
xor r8d, r9d
mov dword [rbx], r8d
cmp rcx, 0xff
lea r8, [rcx + 1]
setb dl
add rbx, 4
mov rcx, r8
cmp r8, 0x100
jne 0x1401963f9
lea rcx, [0x140472044]
call fcn.140259008
jmp 0x14019638f
lea rax, str.out_of_bounds_access_in_std::array_T__N_
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_array
lea r9, str.__n____Size
mov r8d, 0xe3
call fcn.14029ef60
int3
Function at 0x14019ba60
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x10]
cmp r15, qword [rcx + 0x18]
jne 0x14019bb69
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x14019bace
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
shr r14, 1
shl r14, 3
mov rcx, rbx
sub rcx, r14
mov r8, r15
sub r8, rbx
mov rdx, rbx
call fcn.14025c0b0
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x14019bb69
mov rax, r15
sub rax, r14
sar rax, 2
cmp r15, r14
mov r12d, 1
cmovne r12, rax
mov rax, r12
shr rax, 0x3d
jne 0x14019bbb3
lea rcx, [r12*8]
call fcn.140258e18
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x14019bb42
mov r8, r15
sar r8, 3
and r15, 0xfffffffffffffff8
mov rdx, r15
add rdx, rcx
shl r8, 3
xor r9d, r9d
mov r10, rcx
add r10, r9
je 0x14019bb87
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x14019bb2a
lea r8, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
mov r15, rdx
test r14, r14
je 0x14019bb69
mov rcx, r14
call fcn.140258e54
mov r15, qword [rsi + 0x10]
test r15, r15
je 0x14019bb87
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.14029ef60
call fcn.14029aa60
int3
Function at 0x14019bbc0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x14019bbe4
mov r14, rbx
jmp 0x14019bcd0
mov r15, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
cmp r15, rax
jae 0x14019bc34
sub rax, r15
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r12, [rax + rcx]
inc r12
shl r12, 2
and r12, 0xfffffffffffffff8
lea r14, [r15 + r12]
sub r15, rbx
sub r14, r15
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.14025c0b0
mov qword [rsi + 8], r14
add qword [rsi + 0x10], r12
jmp 0x14019bcd0
mov rcx, rax
sub rcx, rbx
sar rcx, 2
cmp rax, rbx
mov r12d, 1
cmovne r12, rcx
mov rax, r12
shr rax, 0x3d
jne 0x14019bd1b
lea rcx, [r12*8]
call fcn.140258e18
lea r14, [r12*2 + 6]
and r14, 0xfffffffffffffff8
add r14, rax
mov rcx, r14
sub r15, rbx
je 0x14019bcac
mov rdx, r15
sar rdx, 3
and r15, 0xfffffffffffffff8
mov rcx, r15
add rcx, r14
shl rdx, 3
xor r8d, r8d
mov r9, r14
add r9, r8
je 0x14019bcef
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x14019bc94
lea rdx, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
test rbx, rbx
je 0x14019bcd0
mov rcx, rbx
call fcn.140258e54
mov r14, qword [rsi + 8]
add r14, 0xfffffffffffffff8
je 0x14019bcef
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 8], 0xfffffffffffffff8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.14029ef60
call fcn.14029aa60
int3
Function at 0x1401a09c0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x1401a0ae2
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x1401a0b18
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x1401a0b20
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x1401a0b24
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x1401a0b2a
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x1401a0a1c
xor eax, eax
jmp 0x1401a0ab1
mov dl, byte [r8 + 0x19]
jmp 0x1401a0b11
cmp byte [r8 + 0x1a], 0
je 0x1401a0b15
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x1401a0b15
cmp ecx, 0x666f736f
jne 0x1401a0b15
cmp edx, 0x76482074
jne 0x1401a0b15
mov byte [r8 + 0x19], 1
jmp 0x1401a0b15
Function at 0x1401a4370
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x1404720e8]
mov ecx, dword [0x14046184c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401a43f1
lea rcx, [0x1404720d8]
call fcn.1402464d0
test rax, rax
jne 0x1401a43de
mov ecx, 4
call fcn.140258e18
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x1404720d8]
mov rcx, rbx
call fcn.1402464d0
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.140195df0
test rsi, rsi
jne 0x1401a4434
lea rcx, [0x1404720d8]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1402464d0
lea rcx, [0x1404720e8]
call fcn.140258f70
cmp dword [0x1404720e8], 0xffffffff
jne 0x1401a4398
xorps xmm0, xmm0
movups xmmword [0x1404720d8], xmm0
lea rcx, [0x1404720d8]
lea rdx, [0x1400b1c00]
call fcn.140195e40
lea rcx, [0x1404720e8]
call fcn.140259008
jmp 0x1401a4398
mov rcx, rsi
call fcn.140258e54
jmp 0x1401a43de

Function at 0x1401a7370
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1401a7400]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
test rax, rax
je 0x1401a73c9
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14025a610
nop
add rsp, 0x40
pop rsi
ret
lea rdx, str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x1b
call fcn.1402e05b0
lea rdx, [0x140422a02]
mov rcx, rsi
call fcn.1402f2700
mov rcx, rsi
call fcn.1402e05e0
jmp 0x1401a73b5
Function at 0x1401af240
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 0x1401af255
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret

Function at 0x1401c1de0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1401c1e1c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1401c1e26
add rdi, rbx
sub rsi, rbx
jne 0x1401c1dfa
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x1401d0750
Capabilities:
Decompress data using quicklz

Disassembly:
mov r8d, dword [rdx]
mov eax, r8d
and eax, 0xf800d000
cmp eax, 0xf0008000
sete al
mov r9d, r8d
not r9d
test r9d, 0x3c00000
setne r9b
and r9b, al
test cl, 1
sete r10b
lea eax, [rcx + 0x100000]
cmp eax, 0x200000
setb al
and al, r10b
and al, r9b
cmp al, 1
jne 0x1401d07ee
mov r9d, ecx
shr r9d, 1
and r9d, 0x7ff
and r8d, 0xfbc0d000
mov r10d, ecx
shl r10d, 6
and r10d, 0x4000000
mov r11d, ecx
shl r11d, 4
and r11d, 0x3f0000
or r11d, r10d
mov r10d, ecx
shr r10d, 5
and r10d, 0x2000
or r10d, r11d
shr ecx, 8
and ecx, 0x800
or ecx, r10d
or ecx, r9d
or ecx, r8d
mov dword [rdx], ecx
ret

Function at 0x1401d07f0
Capabilities:
Decompress data using quicklz

Disassembly:
test cl, 1
jne 0x1401d087b
mov r9d, edx
and r9d, 0xf800d000
xor eax, eax
cmp r9d, 0xf0008000
jne 0x1401d087a
mov r9d, edx
and r9d, 0x3c00000
cmp r9d, 0x3c00000
je 0x1401d087a
mov eax, edx
shr eax, 4
and eax, 0x3f000
mov r9d, edx
and r9d, 0x7ff
lea eax, [rax + r9*2]
mov r9d, edx
shr r9d, 6
and r9d, 0x100000
mov r10d, edx
shl r10d, 8
and r10d, 0x80000
or r10d, r9d
shl edx, 5
and edx, 0x40000
or edx, r10d
or edx, eax
shl edx, 0xb
sar edx, 0xb
lea eax, [rcx + rdx]
add eax, 4
and eax, 0xfffffffe
mov dword [r8], eax
mov al, 1
ret
xor eax, eax
ret

Function at 0x1401d0880
Capabilities:
Decompress data using quicklz

Disassembly:
mov eax, edx
or eax, ecx
test al, 1
jne 0x1401d0937
sub edx, ecx
mov ecx, edx
and ecx, 1
lea r9d, [rdx + rcx]
add r9d, 0xffffc
xor eax, eax
cmp r9d, 0x1fffff
ja 0x1401d0936
add ecx, edx
add ecx, 0xfffffffc
mov edx, ecx
and edx, 1
jne 0x1401d0936
mov edx, dword [r8]
mov r9d, edx
and r9d, 0xf800d000
cmp r9d, 0xf0008000
jne 0x1401d0936
mov r9d, edx
and r9d, 0x3c00000
cmp r9d, 0x3c00000
je 0x1401d0936
mov eax, ecx
shr eax, 1
and eax, 0x7ff
and edx, 0xfbc0d000
mov r9d, ecx
shl r9d, 6
and r9d, 0x4000000
mov r10d, ecx
shl r10d, 4
and r10d, 0x3f0000
or r10d, r9d
mov r9d, ecx
shr r9d, 5
and r9d, 0x2000
or r9d, r10d
shr ecx, 8
and ecx, 0x800
or ecx, r9d
or ecx, eax
or ecx, edx
mov dword [r8], ecx
mov al, 1
ret
xor eax, eax
ret

Function at 0x1401d4b90
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1401d4bd8
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 0x1401d4be1
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1401d4bc8
mov qword [rdi], rsi
call fcn.140209cc0
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.140209cc0
mov rcx, qword [rdi]
call fcn.1401f5320
mov qword [rdi], 0
jmp 0x1401d4bb6
Function at 0x1401d5750
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov qword [rsp + 0x28], r8
mov rsi, rcx
mov r13, qword [rcx]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x30], rax
mov rdi, qword [rcx + 0x18]
lea rax, [rdi + r13]
test rdi, rdi
jle 0x1401d57b5
movdqa xmm0, xmmword [0x1403ded50]
movdqa xmm1, xmmword [0x1403ded60]
mov rcx, r13
movdqu xmm2, xmmword [rcx]
pxor xmm3, xmm3
pcmpgtb xmm3, xmm2
pand xmm3, xmm0
pxor xmm3, xmm1
movdqu xmmword [rcx], xmm3
add rcx, 0x10
cmp rcx, rax
jb 0x1401d5794
mov rcx, qword [r13]
mov r8, qword [r13 + 7]
mov qword [rax + 8], r8
mov qword [rax + 1], rcx
mov byte [r13 + rdi], 0xff
test rdi, rdi
je 0x1401d5929
mov rbp, qword [rdx]
mov rbx, qword [rdx + 8]
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x20], rax
xor r14d, r14d
mov r15, qword [rsp + 0x30]
cmp byte [r13 + r14], 0xfe
jne 0x1401d5872
mov rcx, rsi
mov rdx, r15
mov rax, rbx
call qword [case.0x1402d5a00.0]
mov rcx, qword [rsi]
mov rdx, qword [rsi + 0x18]
mov r9, rax
shr r9, 7
mov r8, rcx
shr r8, 0xc
xor r8, r9
and r8, rdx
movdqu xmm0, xmmword [rcx + r8]
pcmpeqd xmm1, xmm1
pcmpgtb xmm1, xmm0
pmovmskb r11d, xmm1
mov r10, r8
test r11d, r11d
je 0x1401d5886
tzcnt r9d, r11d
add r9, r10
and r9, rdx
mov r10, r9
sub r10, r8
mov r11, r14
sub r11, r8
xor r11, r10
and r11, rdi
cmp r11, 0xf
ja 0x1401d58b3
and al, 0x7f
mov byte [rcx + r14], al
lea r8, [r14 - 0xf]
and r8, rdx
and edx, 0xf
add rdx, r8
mov byte [rcx + rdx], al
inc r14
add r15, rbp
cmp r14, rdi
jne 0x1401d57ec
jmp 0x1401d5929
mov r9d, 0x10
mov r10, r8
add r10, r9
and r10, rdx
movdqu xmm0, xmmword [rcx + r10]
pcmpeqd xmm1, xmm1
pcmpgtb xmm1, xmm0
pmovmskb r11d, xmm1
add r9, 0x10
test r11d, r11d
jne 0x1401d5839
jmp 0x1401d588f
mov r12, r9
imul r12, rbp
add r12, qword [rsp + 0x30]
and al, 0x7f
lea r8, [r9 - 0xf]
and r8, rdx
and edx, 0xf
add rdx, r8
cmp byte [r13 + r9], 0x80
mov byte [rcx + r9], al
mov byte [rcx + rdx], al
mov rcx, rsi
je 0x1401d5950
mov rdx, qword [rsp + 0x28]
mov r8, r12
mov rax, qword [rsp + 0x20]
call qword [case.0x1402d5a00.0]
mov rcx, rsi
mov rdx, r12
mov r8, r15
mov r12, qword [rsp + 0x20]
mov rax, r12
call qword [case.0x1402d5a00.0]
mov rcx, rsi
mov rdx, r15
mov r8, qword [rsp + 0x28]
mov rax, r12
call qword [case.0x1402d5a00.0]
dec r14
sub r15, rbp
jmp 0x1401d5872
mov rax, qword [rsi + 0x18]
mov rcx, rax
shr rcx, 3
add rcx, qword [rsi + 0x10]
sub rax, rcx
mov qword [rsi + 0x20], rax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, r12
mov r8, r15
mov rax, qword [rsp + 0x20]
call qword [case.0x1402d5a00.0]
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x18]
mov r8b, 0x80
mov byte [rax + r14], r8b
lea rdx, [r14 - 0xf]
and rdx, rcx
and ecx, 0xf
add rcx, rdx
mov byte [rax + rcx], r8b
jmp 0x1401d5872
Function at 0x1401daf20
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 0x1401db01e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x1403e1970]
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 0x1401daf90
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x1403e1980]
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 0x1401db0ad
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 0x1401db083
movdqa xmm1, xmmword [0x1403e1980]
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 [0x1403e1990], 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 0x1401f5720
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov ebx, ecx
mov rax, qword [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x140466c60]
mov ecx, dword [0x14046184c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401f590c
mov rsi, qword [0x140466c58]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1401f5952
movzx ebx, bl
dec ebx
or ebx, 1
cmp byte [0x140466c08], 0
mov eax, 8
mov ecx, 1
cmove ecx, eax
xor ebp, ebp
add ebx, dword [0x140466c0c]
mov dword [0x140466c0c], ebx
cmovne ebp, ecx
mov eax, dword [0x140466c10]
cmp ebp, eax
je 0x1401f58eb
test eax, eax
je 0x1401f587c
mov rax, qword [0x1404531c0]
lea rcx, [0x1401f5a40]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x1401f59ba
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rdi]
movabs rax, 0x8637bd05af7
cmp rcx, rax
jge 0x1401f59cb
imul rax, rcx, 0xf4240
cqo
idiv qword [0x140466c78]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x140466c68]
xor edx, edx
cmp rax, rcx
setns dl
movabs r8, 0x7fffffffffffffff
add r8, rdx
sub rax, rcx
cmovo rax, r8
movabs rdx, 0x8000000000000001
lea r8, [rax + rdx]
mov rcx, qword [0x140466c18]
cmp r8, 2
jb 0x1401f59a1
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x140466c18], rax
mov ecx, dword [0x140466c10]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x140466c10], ebp
test ebx, ebx
je 0x1401f58eb
mov rax, qword [0x1404531c0]
lea rcx, [0x1401f5a40]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x1401f595f
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rdi]
movabs rax, 0x8637bd05af7
cmp rcx, rax
jge 0x1401f5970
imul rax, rcx, 0xf4240
cqo
idiv qword [0x140466c78]
mov qword [0x140466c68], rax
mov ecx, dword [0x140466c10]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14025a610
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140466c60]
call fcn.140258f70
cmp dword [0x140466c60], 0xffffffff
jne 0x1401f575e
mov ecx, 8
call fcn.140258e18
mov rsi, rax
mov rcx, rax
call fcn.1401ee410
mov qword [0x140466c58], rsi
lea rcx, [0x140466c60]
call fcn.140259008
jmp 0x1401f575e
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1401f5776
mov rcx, rdi
call qword [case.0x1402d5a00.0]
mov rax, qword [rdi]
jmp 0x1401f58d8
mov r8, qword [0x140466c78]
mov rax, rcx
cqo
idiv r8
imul r9, rax, 0xf4240
imul rax, r8
sub rcx, rax
imul rax, rcx, 0xf4240
cqo
idiv r8
add rax, r9
jmp 0x1401f58d8
add rdx, rcx
cmp rdx, 1
ja 0x1401f5869
cmp rcx, rax
je 0x1401f5869
int3
mov rcx, rdi
call qword [case.0x1402d5a00.0]
mov rax, qword [rdi]
jmp 0x1401f5810
mov r8, qword [0x140466c78]
mov rax, rcx
cqo
idiv r8
imul r9, rax, 0xf4240
imul rax, r8
sub rcx, rax
imul rax, rcx, 0xf4240
cqo
idiv r8
add rax, r9
jmp 0x1401f580b