joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f640
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14000f660
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
repz ret

Function at 0x14000f6a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14000f6c3
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
repz ret

Function at 0x14000f720
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14000f743
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
repz ret

Function at 0x14000f7a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14000f7c9
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
repz ret
Function at 0x14000f830
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14000f859
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
repz ret

Function at 0x14000f8c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14000f91f

Function at 0x14000f910
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.14000f910
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
repz ret

Function at 0x14000f9a0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14000f9ff
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14000f9f0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
repz ret
Function at 0x14000fa80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesenc xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14000fada

Function at 0x14000fafa
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14000fad0
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
repz ret

Function at 0x14000fb90
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesdec xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14000fbea
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
aesdec xmm8, xmm0
aesdec xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14000fbe0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
aesdeclast xmm8, xmm0
aesdeclast xmm9, xmm0
repz ret
Function at 0x14001c9c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [rcx - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [rbp - 1]
vmovups xmm15, xmmword [rcx - 0x70]
lea r12, [rcx - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x14001cae0
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x14001ca20
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x14001ca20
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rdi]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rdi + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rdi + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rdi + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rdi + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rdi + 0x50]
lea rdi, [rdi + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rsi], xmm9
vmovups xmmword [rsi + 0x10], xmm10
vmovups xmmword [rsi + 0x20], xmm11
vmovups xmmword [rsi + 0x30], xmm12
vmovups xmmword [rsi + 0x40], xmm13
vmovups xmmword [rsi + 0x50], xmm14
lea rsi, [rsi + 0x60]
repz ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x14001ca20
Function at 0x140028f45
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf8
mov r14, r8
mov r15, rdx
mov rbx, rcx
mov rax, qword [0x14016e028]
xor rax, rsp
mov qword [rsp + 0xf0], rax
lea rsi, [rsp + 0x50]
mov r8d, 0xa0
mov rcx, rsi
mov dl, 0xaa
call fcn.14007f940
mov rcx, rsi
call fcn.1400f7300
mov byte [rsi + 0x21], 1
lea rcx, [rsp + 0x58]
call fcn.1400bc0a0
movaps xmm0, xmmword [0x140147b90]
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
mov rcx, rdi
mov rdx, rbx
mov r8, rsi
call fcn.1400ab1d0
mov rcx, rdi
call fcn.140079f20
test al, al
je 0x140029055
lea r12, [rsp + 0x38]
mov qword [r12], 0
mov rcx, r15
call fcn.140079f40
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.140079f40
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x101000
mov rcx, rax
mov rdx, rsi
mov r8, rbx
mov r9, r12
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140029055
mov rsi, qword [rsp + 0x38]
cmp qword [r14], rsi
je 0x140029071
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [r14]
inc rax
cmp rax, 2
jae 0x1400290a8
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14002904b
mov qword [r14], rsi
call fcn.14003af20
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140029071
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov edi, 0x80004005
cmovne edi, ecx
lea rcx, [rsp + 0x40]
call fcn.140075920
lea rcx, [rsp + 0x50]
call fcn.1400b4600
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14007d5a0
mov eax, edi
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.14003af20
mov rcx, qword [r14]
call fcn.1400337d0
mov qword [r14], 0
jmp 0x140029039
Function at 0x14002e890
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov r12, rcx
mov rax, qword [0x14016e028]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, qword [0x140175a90]
test rdi, rdi
je 0x14002e999
lea r14, [0x140150dd1]
mov rcx, rdi
mov rdx, r14
call fcn.14006f680
test al, al
jne 0x14002e8ec
lea rdx, str.vmodule
mov rcx, rdi
call fcn.14006f680
test al, al
je 0x14002e999
cmp qword [0x140175a98], 0
jne 0x14002ea6a
mov rax, qword [0x140175aa0]
mov qword [0x140175a98], rax
mov ecx, 0x20
call fcn.14007a994
mov rbx, rax
lea rax, str.vmodule
lea r8, [rsp + 0x48]
mov qword [r8], rax
mov qword [r8 + 8], 7
lea r15, [rsp + 0x58]
mov rcx, rdi
mov rdx, r15
call fcn.1400745f0
lea r8, [rsp + 0x20]
mov qword [r8], r14
mov qword [r8 + 8], 1
lea rsi, [rsp + 0x30]
mov rcx, rdi
mov rdx, rsi
call fcn.1400745f0
lea r9, [0x140175aa8]
mov rcx, rbx
mov rdx, rsi
mov r8, r15
call fcn.1400fb660
mov qword [0x140175aa0], rbx
cmp byte [rsi + 0x17], 0
jns 0x14002e988
mov rcx, qword [rsp + 0x30]
call fcn.14007a98c
cmp byte [rsp + 0x6f], 0
jns 0x14002e999
mov rcx, qword [rsp + 0x58]
call fcn.14007a98c
mov eax, dword [r12]
mov dword [0x14016ff48], eax
mov bl, 1
test al, 1
je 0x14002ea4d
mov rcx, qword [0x140175ab8]
test rcx, rcx
je 0x14002e9df
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140175ab8], 0
mov rdi, qword [0x140175ab0]
test rdi, rdi
jne 0x14002ea0d
and byte [0x14016ff48], 0xfe
jmp 0x14002e9eb
mov rdi, qword [0x140175ab0]
test rdi, rdi
jne 0x14002ea0d
mov ecx, 0x18
call fcn.14007a994
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x140175ab0], rax
mov rsi, qword [r12 + 8]
mov rcx, rsi
call fcn.14007adcc
mov rcx, rdi
mov rdx, rsi
mov r8, rax
call fcn.14004772c
cmp dword [r12 + 0x14], 0
jne 0x14002ea46
mov rcx, qword [0x140175ab0]
cmp byte [rcx + 0x17], 0
jns 0x14002ea40
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.14002ea70
mov ebx, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14007d5a0
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
int3
Function at 0x14002ee00
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor ebx, ebx
test edx, edx
sete bl
xor ecx, ecx
mov edx, ebx
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x14002eebc
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14002ee89
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14002ee64
mov qword [rsi], rdi
call fcn.14003af20
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 1
inc rax
cmp rax, 1
jbe 0x14002eec0
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14003af20
mov r14, qword [rsi]
mov rcx, qword [0x140175fe0]
test rcx, rcx
je 0x14002eeae
mov rax, qword [rcx]
mov rdx, r14
call qword [rax]
mov qword [rsi], 0
jmp 0x14002ee52
call fcn.1400b2190
mov rcx, qword [0x140175fe0]
jmp 0x14002ee9d
mov byte [rsi + 8], 1
int3

Function at 0x140030d50
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x140179cf8], 0
jne 0x140030d8d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140030d80
mov dword [rdi], eax
mov dword [0x140179d00], eax
mov qword [0x140179cf8], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3
Function at 0x1400324e0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x14016e028]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x140175be8]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x140032514
jnp 0x140032537
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14007d5a0
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ebp, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x140175bf8]
mov ecx, dword [0x1401719a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003266f
mov eax, dword [0x140175c08]
mov ecx, dword [0x1401719a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400326a9
rdtsc
mov r14, rax
mov r15, rdx
xor esi, esi
lea rdi, [rsp + 0x20]
mov qword [rdi], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rdi], rsi
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rbx, qword [0x140175c00]
movq xmm1, rbx
punpckldq xmm1, xmmword [0x140147b70]
subpd xmm1, xmmword [0x140147b80]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsi]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x140152350]
ucomisd xmm1, xmm0
ja 0x140032514
shl r15, 0x20
or r14, r15
sub r14, qword [0x140175bf0]
movq xmm1, r14
punpckldq xmm1, xmmword [0x140147b70]
subpd xmm1, xmmword [0x140147b80]
movapd xmm6, xmm1
unpckhpd xmm6, xmm1
addsd xmm6, xmm1
divsd xmm6, xmm0
movsd qword [0x140175be8], xmm6
jmp 0x140032514
lea rcx, [0x140175bf8]
call fcn.14007b4e8
cmp dword [0x140175bf8], 0xffffffff
jne 0x140032580
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140175bf0], rdx
lea rcx, [0x140175bf8]
call fcn.14007ac34
jmp 0x140032580
lea rcx, [0x140175c08]
call fcn.14007b4e8
cmp dword [0x140175c08], 0xffffffff
jne 0x1400325a5
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x140175c00], rax
lea rcx, [0x140175c08]
call fcn.14007ac34
jmp 0x1400325a5
Function at 0x140032700
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x14017a628]
mov ecx, dword [0x1401719a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400327cd
mov ecx, dword [0x140171588]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140032766
movsxd rcx, dword [0x14017a620]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14017a624]
jne 0x140032766
test rsi, rsi
je 0x140032766
cmp qword [rax + rcx], 0
jne 0x140032866
mov eax, dword [0x14017a628]
mov ecx, dword [0x1401719a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140032810
mov ecx, dword [0x140171588]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140032853
movsxd rcx, dword [0x14017a620]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x14017a624]
movsxd rdx, dword [0x14017a620]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov al, 1
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14017a628]
call fcn.14007b4e8
cmp dword [0x14017a628], 0xffffffff
jne 0x14003272d
mov qword [0x14017a620], 0
lea rcx, [0x14017a620]
xor edx, edx
call fcn.140050d20
lea rcx, [0x14017a628]
call fcn.14007ac34
jmp 0x14003272d
lea rcx, [0x14017a628]
call fcn.14007b4e8
cmp dword [0x14017a628], 0xffffffff
jne 0x14003278b
mov qword [0x14017a620], 0
lea rcx, [0x14017a620]
xor edx, edx
call fcn.140050d20
lea rcx, [0x14017a628]
call fcn.14007ac34
jmp 0x14003278b
test rsi, rsi
je 0x1400327c5
call fcn.140008040
jmp 0x1400327a1
xor eax, eax
jmp 0x1400327c7
Function at 0x1400369b0
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x14016e028]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x18], 0
je 0x140036a71
mov eax, dword [0x14017a628]
mov ecx, dword [0x1401719a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140036b91
mov ecx, dword [0x140171588]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [0x14017a628]
mov ecx, dword [0x1401719a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140036bd4
mov ecx, dword [0x140171588]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140036a65
movsxd rcx, dword [0x14017a620]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x14017a624]
movsxd rdx, dword [0x14017a620]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
jne 0x140036aa8
mov rdi, qword [rsi]
test rdi, rdi
jne 0x140036a91
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14007d5a0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rbx, qword [rsi + 8]
cmp rbx, rdi
jne 0x140036b0d
mov qword [rsi + 8], rdi
mov rcx, qword [rsi]
call fcn.14007a98c
jmp 0x140036a79
mov r9, qword [rbx + 0x30]
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x28]
lea r8, [rsp + 0x28]
mov qword [r8], rax
mov qword [rbx + 0x28], 0
lea rdx, [rbx + 8]
mov rax, qword [rcx]
call qword [rax]
add rbx, 0x38
cmp rbx, rdi
je 0x140036a71
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 0x140036a71
jmp 0x140036ada
lea r14, [rbx - 0x38]
lea rcx, [rbx - 0x10]
call fcn.1400478a0
mov rcx, qword [rbx - 0x38]
test rcx, rcx
je 0x140036b2d
lock dec dword [rcx + 8]
je 0x140036c17
cmp r14, rdi
je 0x140036a9a
lea r14, [rbx - 0x70]
lea rcx, [rbx - 0x48]
call fcn.1400478a0
mov rcx, qword [rbx - 0x70]
test rcx, rcx
je 0x140036b56
lock dec dword [rcx + 8]
je 0x140036c29
cmp r14, rdi
je 0x140036a9a
lea r14, [rdi + 0x70]
lea rcx, [rbx - 0x80]
call fcn.1400478a0
mov rcx, qword [rbx - 0xa8]
test rcx, rcx
je 0x140036b82
lock dec dword [rcx + 8]
je 0x140036c3b
add rbx, 0xffffffffffffffc8
cmp r14, rbx
je 0x140036a9a
jmp 0x140036b63
lea rcx, [0x14017a628]
call fcn.14007b4e8
cmp dword [0x14017a628], 0xffffffff
jne 0x1400369fa
mov qword [0x14017a620], 0
lea rcx, [0x14017a620]
xor edx, edx
call fcn.140050d20
lea rcx, [0x14017a628]
call fcn.14007ac34
jmp 0x1400369fa
lea rcx, [0x14017a628]
call fcn.14007b4e8
cmp dword [0x14017a628], 0xffffffff
jne 0x140036a2b
mov qword [0x14017a620], 0
lea rcx, [0x14017a620]
xor edx, edx
call fcn.140050d20
lea rcx, [0x14017a628]
call fcn.14007ac34
jmp 0x140036a2b
add rcx, 8
add rcx, 0xfffffffffffffff8
call fcn.14004fb70
jmp 0x140036b2d
add rcx, 8
add rcx, 0xfffffffffffffff8
call fcn.14004fb70
jmp 0x140036b56
add rcx, 8
add rcx, 0xfffffffffffffff8
call fcn.14004fb70
jmp 0x140036b82
Function at 0x14003ae30
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea rax, [rbx + 1]
cmp rax, 2
jae 0x14003aeac
cmp qword [rsi], rbx
je 0x14003ae87
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003aeb3
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14003ae7f
mov qword [rsi], rbx
call fcn.14003af20
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
add rax, 1
cmp rax, 2
jae 0x14003aed8
mov rax, rsi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.14003af20
jmp 0x14003ae54
call fcn.14003af20
mov r14, qword [rsi]
mov rcx, qword [0x140175fe0]
test rcx, rcx
je 0x14003aefd
mov rax, qword [rcx]
mov rdx, r14
call qword [rax]
mov qword [rsi], 0
jmp 0x14003ae6d
call fcn.14003af20
mov rbx, qword [rdi]
mov rcx, qword [0x140175fe0]
test rcx, rcx
je 0x14003af0b
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax]
mov qword [rdi], 0
jmp 0x14003ae9e
call fcn.1400b2190
mov rcx, qword [0x140175fe0]
jmp 0x14003aec7
call fcn.1400b2190
mov rcx, qword [0x140175fe0]
jmp 0x14003aeec