joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004af20
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 [0x14018f028]
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 0x14004b0eb
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 [0x140174100]
movaps xmm8, xmmword [0x140174110]
lea r12, [rsp + 0x30]
mov eax, r14d
bswap eax
mov dword [rsp + 0x5c], eax
cmp qword [rsp + 0x30], rsi
je 0x14004afe2
mov ecx, dword [rsi + 0x2c]
call fcn.140091e70
test rax, rax
je 0x14004b14e
mov rbp, rax
mov rcx, qword [rsp + 0x38]
call fcn.140091f40
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov rax, qword [rsi + 0x10]
lea rcx, [0x140133ba0]
cmp rax, rcx
jne 0x14004b13e
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 [0x1401b6008]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov r8d, 4
mov rcx, r12
lea rdx, [rsp + 0x5c]
call qword [0x1401b6008]
cmp rdi, r13
jb 0x14004b092
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, r12
mov rdx, rbx
call qword [0x1401b6008]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov edx, dword [rax + 0x2c]
call fcn.140091f80
add rbx, r13
inc r14d
sub rdi, r13
jne 0x14004afaa
jmp 0x14004b0e6
movaps xmm0, xmmword [0x140167260]
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 [0x1401b6008]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov edx, dword [rax + 0x2c]
call fcn.140091f80
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.1400bba10
mov esi, 1
mov rcx, qword [rsp + 0x38]
call fcn.140091f40
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14004b152
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400b9f70
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 [0x1401b6008]
jmp 0x14004b01e
xor esi, esi
jmp 0x14004b0eb
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [0x1401b6008]
jmp 0x14004b0ff
Function at 0x14004ccd0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14004cce0
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 0x14004cd01
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14004cd21
cmp byte [r14 + 0x50], 0
jne 0x14004cda4
or edi, 0x20000000
test dil, 8
jne 0x14004cdd4
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14004cd3f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14004cd50
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x14004cdb9
cmp byte [r14 + 0x18], 0
jne 0x14004cdc7
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14004cdf1
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 0x14004cdaf
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 0x14004cd21
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14004cd8f
lea rcx, [r14 + 0x20]
call fcn.14002ed70
mov r15, rax
jmp 0x14004cd57
mov rcx, r14
call fcn.14002ed70
mov r9, rax
jmp 0x14004cd61
cmp byte [r14 + 0x68], 0
je 0x14004cde6
or edi, 0x40000000
jmp 0x14004cd2b
or edi, 0x10000000
jmp 0x14004cd2b
cmp ebx, 4
jne 0x14004ce00
mov edx, 6
jmp 0x14004cd6e
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14004ce12
mov edx, 7
jmp 0x14004cd6e
cmp ebx, 1
jne 0x14004ce21
mov edx, 4
jmp 0x14004cd6e
xor edx, edx
jmp 0x14004cd6e
Function at 0x14004cce0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14004cce0
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 0x14004cd01
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14004cd21
cmp byte [r14 + 0x50], 0
jne 0x14004cda4
or edi, 0x20000000
test dil, 8
jne 0x14004cdd4
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14004cd3f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x14004cd50
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x14004cdb9
cmp byte [r14 + 0x18], 0
jne 0x14004cdc7
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14004cdf1
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 0x14004cdaf
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 0x14004cd21
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14004cd8f
lea rcx, [r14 + 0x20]
call fcn.14002ed70
mov r15, rax
jmp 0x14004cd57
mov rcx, r14
call fcn.14002ed70
mov r9, rax
jmp 0x14004cd61
cmp byte [r14 + 0x68], 0
je 0x14004cde6
or edi, 0x40000000
jmp 0x14004cd2b
or edi, 0x10000000
jmp 0x14004cd2b
cmp ebx, 4
jne 0x14004ce00
mov edx, 6
jmp 0x14004cd6e
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14004ce12
mov edx, 7
jmp 0x14004cd6e
cmp ebx, 1
jne 0x14004ce21
mov edx, 4
jmp 0x14004cd6e
xor edx, edx
jmp 0x14004cd6e

Function at 0x14004ce30
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 0x14004ce68
cmp byte [r15 + 0x50], 0
jne 0x14004cef7
or edi, 0x20000000
test dil, 8
jne 0x14004cf27
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x14004ce86
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x14004ce97
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 0
jne 0x14004cf0c
cmp byte [r15 + 0x18], 0
jne 0x14004cf1a
xor r9d, r9d
cmp ebx, 4
jne 0x14004cee8
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 0x14004cf02
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 0x14004cf44
mov edx, 7
jmp 0x14004ceb2
or edi, 0x80000000
jmp 0x14004ce68
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14004ced3
lea rcx, [r15 + 0x20]
call fcn.14002ed70
mov r14, rax
jmp 0x14004ce9e
mov rcx, r15
call fcn.14002ed70
mov r9, rax
jmp 0x14004cea8
cmp byte [r15 + 0x68], 0
je 0x14004cf39
or edi, 0x40000000
jmp 0x14004ce72
or edi, 0x10000000
jmp 0x14004ce72
mov edx, 1
test ebx, ebx
je 0x14004ceb2
cmp ebx, 1
jne 0x14004cf60
mov edx, 4
jmp 0x14004ceb2
xor edx, edx
jmp 0x14004ceb2
Function at 0x140054a10
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 [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1400549e0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1401a8a90]
lea rdx, [0x140054830]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140054b20
cmp dword [0x1401a8a98], 0
jne 0x140054b10
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1401a8a9c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x140054abc
mov ecx, 1
mov edx, 0x28
call fcn.140070090
test rax, rax
je 0x140054b10
mov r14, rax
mov ecx, dword [0x1401a8a9c]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140054b08
lea r15, [0x1401a8aa0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1401a8ab0]
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.1400b9f70
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.14006fff0
mov rcx, rsi
mov rax, rdi
call qword [0x1401b6008]
xor esi, esi
jmp 0x140054aec
call fcn.1400ce490
int3

Function at 0x14005a790
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 [0x14019e730]
cmp ecx, 0xffffffff
je 0x14005a86a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x14005a86a
mov eax, dword [0x1401aa440]
mov ecx, dword [0x14019e7d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14005a874
mov rbx, qword [0x1401aa438]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14005a8ba
mov rax, qword [0x1401a8c20]
inc rax
xor ecx, ecx
lea rdx, [0x1401a8c30]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x14005a8c7
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1401aa430]
inc ecx
mov dword [0x1401aa430], ecx
mov dword [rax + 0x14], ecx
mov qword [0x1401a8c20], 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 0x14005a8dc
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14005a8e0
jmp 0x14005a7ba
lea rcx, [0x1401aa440]
call fcn.1400b8c10
cmp dword [0x1401aa440], 0xffffffff
jne 0x14005a7df
mov ecx, 8
call fcn.1400b8abc
mov rbx, rax
mov rcx, rax
call fcn.140088ee0
mov qword [0x1401aa438], rbx
lea rcx, [0x1401aa440]
call fcn.1400b8ca8
jmp 0x14005a7df
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14005a7f7
inc rcx
cmp rcx, 0x100
jne 0x14005a80a
jmp 0x14005a850
int3
Function at 0x14005a8e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.1400b9f10
sub rsp, rax
mov rax, qword [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x14019e730]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x14005a994
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14005a9f7
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1400bc0c0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1400b8b2c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1400bba10
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.1400b9f70
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.140067ed0
test al, al
je 0x14005a9fa
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x14005a9d2
mov eax, 0xffffffff
lock cmpxchg dword [0x14019e730], ecx
je 0x14005a918
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x14019e730]
mov dword [rsp + 0x2c], ecx
jmp 0x14005a918
lea rcx, [rsp + 0x2c]
call fcn.140067ed0
test al, al
je 0x14005a9fd
cmp dword [rsp + 0x2c], 0xffffffff
je 0x14005a9fd
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x14005a9ab
int3
int3
int3

Function at 0x14005aa10
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14019e730]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14005aa4e
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 0x14005aa47
call fcn.14005a8e0
jmp 0x14005aa2e
Function at 0x140067ed0
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 0x140067ee5
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x140079630
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 0x14007972e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140169f40]
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 0x1400796a0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x140169f50]
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 0x1400797bd
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 0x140079793
movdqa xmm1, xmmword [0x140169f50]
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 [0x140169f60], 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 0x14007c420
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 0x14007c4ba
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14007c4a4
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14007c481
mov qword [rsi], rdi
call fcn.1400801a0
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 0x14007c4be
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400801a0
mov rcx, qword [rsi]
call fcn.14007c3f0
mov qword [rsi], 0
jmp 0x14007c46f
mov byte [rsi + 8], 0
int3

Function at 0x14007c660
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14007c6a8
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 0x14007c6b1
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14007c698
mov qword [rdi], rsi
call fcn.1400801a0
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.1400801a0
mov rcx, qword [rdi]
call fcn.14007c3f0
mov qword [rdi], 0
jmp 0x14007c686

Function at 0x14007c890
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140167260]
lea r14, [rsp + 0x50]
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.140080180
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140085cf0
test esi, esi
js 0x14007c999
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140087ec0
test al, al
jne 0x14007c9b8
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 0x14007c9a5
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x14007c9a0
lea rcx, [rsp + 0x30]
call fcn.140087f50
lea rcx, [rsp + 0x50]
call fcn.140085f30
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400b9f70
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14007c96e
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x14007c964
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140116fc0
jmp 0x14007c934
Function at 0x140082cd0
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.14007c750
mov qword [rsi], 0
test rax, rax
je 0x140082d23
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140082d57
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140082d1b
mov qword [rsi], rbx
call fcn.1400801a0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.140080360
lea rcx, [rsi + 0x20]
call fcn.140087ee0
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.1400801a0
mov rcx, qword [rsi]
call fcn.14007c3f0
mov qword [rsi], 0
jmp 0x140082d09
Function at 0x1400859d0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.140086800
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x1401a71a8]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x140085a2e
jnp 0x140085a94
ucomisd xmm0, xmm6
jne 0x140085a36
jnp 0x140085a90
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x140167b60]
subpd xmm1, xmmword [0x140167b70]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x14016f270]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b9f70
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140085a68
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1401a71b8]
mov ecx, dword [0x14019e7d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140085ba9
mov eax, dword [0x1401a71c8]
mov ecx, dword [0x14019e7d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140085be3
rdtsc
mov rbx, rax
mov r14, rdx
xor r12d, r12d
lea r15, [rsp + 0x30]
mov qword [r15], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r13, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r15], r12
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r13, qword [0x1401a71c0]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x14016f268]
ucomisd xmm2, xmm1
ja 0x140085a2e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x1401a71b0]
movq xmm0, rbx
punpckldq xmm0, xmmword [0x140167b60]
subpd xmm0, xmmword [0x140167b70]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1401a71a8], xmm0
jmp 0x140085a2e
lea rcx, [0x1401a71b8]
call fcn.1400b8c10
cmp dword [0x1401a71b8], 0xffffffff
jne 0x140085add
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401a71b0], rdx
lea rcx, [0x1401a71b8]
call fcn.1400b8ca8
jmp 0x140085add
lea rcx, [0x1401a71c8]
call fcn.1400b8c10
cmp dword [0x1401a71c8], 0xffffffff
jne 0x140085b02
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x1401a71c0], rax
lea rcx, [0x1401a71c8]
call fcn.1400b8ca8
jmp 0x140085b02
Function at 0x1400863f0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401a71f0]
mov ecx, dword [0x14019e7d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140086450
mov rsi, qword [0x1401a71e8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400b9f70
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401a71f0]
call fcn.1400b8c10
cmp dword [0x1401a71f0], 0xffffffff
jne 0x14008642c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400bc0c0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
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.1400b8abc
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401a7238]
mov ecx, dword [0x14019e7d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140086510
lea r8, [0x1401a7208]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14003b4c0
mov qword [0x1401a71e8], rsi
lea rcx, [0x1401a71f0]
call fcn.1400b8ca8
jmp 0x14008642c
lea rcx, [0x1401a7238]
call fcn.1400b8c10
cmp dword [0x1401a7238], 0xffffffff
jne 0x1400864e1
xorps xmm0, xmm0
movups xmmword [0x1401a7228], xmm0
movups xmmword [0x1401a7218], xmm0
movups xmmword [0x1401a7208], xmm0
lea rcx, [0x1401a7208]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401a7238]
call fcn.1400b8ca8
jmp 0x1400864e1