joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007a9b0
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 0x14007a9d9
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 0x14007aa40
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 0x14007aa9f

Function at 0x14007aa90
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.14007aa90
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 0x14007ab20
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 0x14007ab7f
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 0x14007ab70
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 0x14007ac00
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 0x14007ac5a

Function at 0x14007ac7a
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 0x14007ac50
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 0x14007ad10
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 0x14007ad6a
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 0x14007ad60
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 0x14007c8a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 8
call fcn.14007c920
shl edx, 4
test eax, eax
jne 0x14007c90e
lea rcx, [r8 + rdx + 0x10]
movups xmm0, xmmword [r8]
movups xmm1, xmmword [rcx]
movups xmmword [rcx], xmm0
movups xmmword [r8], xmm1
lea r8, [r8 + 0x10]
lea rcx, [rcx - 0x10]
movups xmm0, xmmword [r8]
movups xmm1, xmmword [rcx]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea r8, [r8 + 0x10]
lea rcx, [rcx - 0x10]
movups xmmword [rcx + 0x10], xmm0
movups xmmword [r8 - 0x10], xmm1
cmp rcx, r8
ja 0x14007c8cf
movups xmm0, xmmword [r8]
aesimc xmm0, xmm0
pxor xmm1, xmm1
movups xmmword [rcx], xmm0
pxor xmm0, xmm0
add rsp, 8
repz ret
Function at 0x14007dfed
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rcx, r9
mov r8, qword [rsp + 0x28]
xchg rcx, rdx
test rcx, rcx
je 0x14007e161
lea rsp, [rsp - 0xb8]
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp + 0x20], xmm7
movaps xmmword [rsp + 0x30], xmm8
movaps xmmword [rsp + 0x40], xmm9
movaps xmmword [rsp + 0x50], xmm10
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x70], xmm12
movaps xmmword [rsp + 0x80], xmm13
movaps xmmword [rsp + 0x90], xmm14
movaps xmmword [rsp + 0xa0], xmm15
movdqu xmm0, xmmword [r8]
movdqa xmm8, xmmword [0x14007e4e0]
sub rsi, rdi
call fcn.14007e170
movdqa xmm6, xmm0
pshufb xmm6, xmmword [0x14007e4d0]
test rcx, 1
je 0x14007e0aa
movdqu xmm7, xmmword [rdi]
call fcn.14007d1c0
pxor xmm0, xmm7
paddd xmm6, xmm8
movdqu xmmword [rsi + rdi], xmm0
sub rcx, 1
lea rdi, [rdi + 0x10]
je 0x14007e116
movdqa xmm14, xmm6
movdqa xmm15, xmm6
paddd xmm15, xmm8
movdqa xmm1, xmmword [0x14007e4d0]
movdqa xmm0, xmm14
movdqa xmm6, xmm15
pshufb xmm0, xmm1
pshufb xmm6, xmm1
call fcn.14007d320
movdqu xmm1, xmmword [rdi]
movdqu xmm2, xmmword [rdi + 0x10]
movdqa xmm3, xmmword [0x14007e4f0]
pxor xmm0, xmm1
pxor xmm6, xmm2
paddd xmm14, xmm3
paddd xmm15, xmm3
movdqu xmmword [rsi + rdi], xmm0
movdqu xmmword [rsi + rdi + 0x10], xmm6
sub rcx, 2
lea rdi, [rdi + 0x20]
jne 0x14007e0b9
movaps xmm6, xmmword [rsp + 0x10]
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm10, xmmword [rsp + 0x50]
movaps xmm11, xmmword [rsp + 0x60]
movaps xmm12, xmmword [rsp + 0x70]
movaps xmm13, xmmword [rsp + 0x80]
movaps xmm14, xmmword [rsp + 0x90]
movaps xmm15, xmmword [rsp + 0xa0]
lea rsp, [rsp + 0xb8]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
Function at 0x1400878c0
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 0x1400879e0
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 0x140087920
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 0x140087920
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 0x140087920
Function at 0x1400b72d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov ebx, r9d
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x88], rax
cmp byte [rcx + 0x17], 0
jns 0x1400b730b
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400b7485
mov qword [rsp + 0x80], 0x36
movzx eax, byte [r14 + 0x17]
mov r9d, eax
and r9d, 0x7f
test al, al
mov rcx, qword [r14 + 8]
cmovs r9, rcx
test r9, r9
je 0x1400b7388
mov rdx, qword [r14]
dec r9
cmp r9, 7
mov r8d, 7
cmovb r8, r9
inc r8
xor r9d, r9d
test al, al
jns 0x1400b737d
mov r10, rdx
cmp rcx, r9
jb 0x1400b7385
mov r10b, byte [r10 + r9]
mov byte [rsp + r9 + 0x80], r10b
inc r9
cmp r8, r9
jne 0x1400b735b
jmp 0x1400b7388
mov r10, r14
cmp r9, rax
jbe 0x1400b7367
int3
xorps xmm6, xmm6
lea rdx, [rsp + 0x60]
movaps xmmword [rdx], xmm6
xor r14d, r14d
mov qword [rdx + 0x10], r14
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.14003ec90
mov qword [rsp + 0x50], r14
movaps xmmword [rsp + 0x40], xmm6
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x60]
lea r8, [rsp + 0x40]
test bl, bl
je 0x1400b73d3
xor r9d, r9d
call fcn.1400c8e70
jmp 0x1400b73d8
call fcn.1400c9110
lea rdi, [rsp + 0x28]
mov rcx, rsi
mov rdx, rdi
call fcn.14014ae20
cmp byte [rdi + 0x17], 0
jns 0x1400b73f3
mov rdi, qword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp byte [rsp + 0x3f], 0
jns 0x1400b740f
mov rcx, qword [rsp + 0x28]
call fcn.14017b254
cmp edi, 0xffffffff
jne 0x1400b743e
lea rdi, [rsp + 0x28]
mov rcx, rsi
mov rdx, rdi
call fcn.14014ae20
mov rcx, rdi
xor edx, edx
call fcn.140039e50
cmp byte [rdi + 0x17], 0
jns 0x1400b743e
mov rcx, qword [rsp + 0x28]
call fcn.14017b254
lea rdi, [rsp + 0x40]
movzx eax, byte [rdi + 0x17]
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8d, dword [rdi + 8]
mov rdx, qword [rdi]
cmovns rdx, rdi
mov rcx, rsi
call fcn.1400733f0
cmp byte [rdi + 0x17], 0
jns 0x1400b7474
mov rcx, qword [rsp + 0x40]
call fcn.14017b254
cmp byte [rsp + 0x77], 0
jns 0x1400b7485
mov rcx, qword [rsp + 0x60]
call fcn.14017b254
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14017e7b0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400c1920
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x50], rax
test rdx, rdx
je 0x1400c1a17
mov rdi, rdx
mov rsi, rcx
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x30]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x140270690]
movaps xmmword [r14], xmm0
mov rax, qword [rdx]
mov rax, qword [rax + 0x38]
mov rcx, rdx
mov rdx, r14
call qword [case.0x1401e7f70.0]
mov rbx, qword [r14]
mov r14, qword [r14 + 8]
cmp rbx, r14
je 0x1400c1992
mov rcx, rbx
call fcn.14006f000
add rbx, 0x28
jmp 0x1400c197f
lea r14, [rsi + 0xe0]
mov ebx, dword [rdi + 8]
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
mov rcx, rdi
call qword [case.0x1401e7f70.0]
mov rcx, qword [rsi + 0x78]
mov qword [rsp + 0x20], r14
mov rdx, rax
mov r8d, ebx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400c19d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400c19e0
mov byte [rsi + 0x12a], 1
lock inc dword [rsi + 8]
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x1400c1a17
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
cmp rsi, rdi
je 0x1400c1a0d
add rsi, 0xffffffffffffffd8
mov rcx, rsi
call fcn.1401247d0
cmp rsi, rdi
jne 0x1400c19f7
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.14017b254
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14017e7b0
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400c6cb0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rax, [0x14026e3e0]
mov qword [rcx], rax
cmp byte [rcx + 0x58], 0
je 0x1400c6d27
mov eax, dword [0x1402a0d88]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c6d97
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400c6d27
mov rcx, qword [0x1402a0d78]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x1402a0d80]
mov rdx, qword [0x1402a0d78]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
lea rax, [rsi + 0x38]
mov rcx, qword [rsi + 0x40]
cmp rcx, rax
je 0x1400c6d67
xorps xmm0, xmm0
cmp qword [rcx + 0x10], 0
je 0x1400c6d62
mov qword [rcx + 0x10], 0
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
mov qword [rdx + 8], r8
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
mov qword [r8], rdx
movups xmmword [rcx], xmm0
mov rcx, qword [rsi + 0x40]
cmp rcx, rax
jne 0x1400c6d37
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400c6d79
mov qword [rsi + 0x28], rcx
call fcn.14017b254
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400c6d90
mov qword [rsi + 0x10], rcx
add rsp, 0x20
pop rsi
jmp fcn.14017b254
nop
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1402a0d88]
call fcn.14017b2bc
cmp dword [0x1402a0d88], 0xffffffff
jne 0x1400c6ced
mov qword [0x1402a0d80], 0
lea rcx, [0x1402a0d78]
mov qword [0x1402a0d78], 0xffffffffffffffff
xor edx, edx
call fcn.140002850
lea rcx, [0x1402a0d88]
call fcn.14017b25c
jmp 0x1400c6ced
Function at 0x1400c7e80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x17], 0
jns 0x1400c7e8d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret
Function at 0x1400c8740
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ebx, ebx
lea rsi, [rsp + 0x50]
mov qword [rsi + 0x10], rbx
xorps xmm0, xmm0
movaps xmmword [rsi], xmm0
mov ecx, 1
mov rdx, rsi
call fcn.14004dd50
lea r8, [rsp + 0x48]
mov qword [r8], rbx
lea rdx, str.SOFTWAREClassesApplicationsMaxthon.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400c87d5
movzx eax, byte [rdi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs ecx, dword [rdi + 8]
lea eax, [rcx + rcx + 2]
mov rdx, qword [rdi]
cmovns rdx, rdi
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
lea rdx, str.FriendlyAppName
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rdx, str.SOFTWAREClassesApplicationsMaxthon.exe_shellopen
lea r8, [rsp + 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400c882d
movzx eax, byte [rdi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs ecx, dword [rdi + 8]
lea eax, [rcx + rcx + 2]
cmovs rdi, qword [rdi]
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
lea rdx, str.FriendlyAppName
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rdx, str.SOFTWAREClassesApplicationsMaxthon.exe_shellopencommand
lea r8, [rsp + 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400c88d5
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [0x140270690]
movaps xmmword [rsp + 0x30], xmm0
cmp byte [rsp + 0x67], 0
jns 0x1400c8875
mov rsi, qword [rsp + 0x50]
lea rdx, str.__ls_____1_
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8, rsi
call fcn.14000e6a0
movzx eax, byte [rdi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs ecx, dword [rdi + 8]
lea eax, [rcx + rcx + 2]
mov rdx, qword [rdi]
cmovns rdx, rdi
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [rdi + 0x17], 0
jns 0x1400c88d5
mov rcx, qword [rsp + 0x30]
call fcn.14017b254
cmp byte [rsp + 0x67], 0
jns 0x1400c88e6
mov rcx, qword [rsp + 0x50]
call fcn.14017b254
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14017e7b0
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400c8bf0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
push rax
mov eax, dword [rcx]
mov qword [rsp], rcx
mov r8d, dword [rcx + 4]
mov r9d, eax
shr r9d, 4
xor r9d, r8d
and r9d, 0xf0f0f0f
xor r8d, r9d
shl r9d, 4
xor r9d, eax
mov r10d, r9d
shr r10d, 0x10
movzx eax, r8w
xor eax, r10d
xor r8d, eax
shl eax, 0x10
xor eax, r9d
mov r9d, r8d
shr r9d, 2
xor r9d, eax
and r9d, 0x33333333
xor eax, r9d
shl r9d, 2
xor r9d, r8d
mov r8d, r9d
shr r8d, 8
xor r8d, eax
and r8d, 0xff00ff
xor eax, r8d
shl r8d, 8
xor r8d, r9d
rol r8d, 1
mov r12d, r8d
xor r12d, eax
and r12d, 0xaaaaaaaa
xor eax, r12d
xor r12d, r8d
rol eax, 1
xor r8d, r8d
lea rcx, [0x140276310]
lea r10, [0x140276410]
lea r11, [0x140276510]
lea rsi, [0x140276610]
lea rdi, [0x140276710]
lea rbx, [0x140276810]
lea r14, [0x140276910]
lea r15, [0x140276a10]
mov ebp, r12d
mov r13d, r12d
rol r13d, 0x1c
xor r13d, dword [rdx + r8]
mov r9d, r13d
and r9d, 0x3f
mov r12d, r13d
shr r12d, 8
and r12d, 0x3f
mov r12d, dword [r10 + r12*4]
or r12d, dword [rcx + r9*4]
mov r9d, r13d
shr r9d, 0x10
and r9d, 0x3f
or r12d, dword [r11 + r9*4]
shr r13d, 0x18
and r13d, 0x3f
or r12d, dword [rsi + r13*4]
mov r9d, dword [rdx + r8 + 4]
xor r9d, ebp
mov r13d, r9d
and r13d, 0x3f
or r12d, dword [rdi + r13*4]
mov r13d, r9d
shr r13d, 8
and r13d, 0x3f
or r12d, dword [rbx + r13*4]
mov r13d, r9d
shr r13d, 0x10
and r13d, 0x3f
or r12d, dword [r14 + r13*4]
shr r9d, 0x18
and r9d, 0x3f
or r12d, dword [r15 + r9*4]
xor eax, r12d
mov r9d, eax
rol r9d, 0x1c
xor r9d, dword [rdx + r8 + 8]
mov r13d, r9d
and r13d, 0x3f
mov r12d, r9d
shr r12d, 8
and r12d, 0x3f
mov r12d, dword [r10 + r12*4]
or r12d, dword [rcx + r13*4]
mov r13d, r9d
shr r13d, 0x10
and r13d, 0x3f
or r12d, dword [r11 + r13*4]
shr r9d, 0x18
and r9d, 0x3f
or r12d, dword [rsi + r9*4]
mov r9d, dword [rdx + r8 + 0xc]
xor r9d, eax
mov r13d, r9d
and r13d, 0x3f
or r12d, dword [rdi + r13*4]
mov r13d, r9d
shr r13d, 8
and r13d, 0x3f
or r12d, dword [rbx + r13*4]
mov r13d, r9d
shr r13d, 0x10
and r13d, 0x3f
or r12d, dword [r14 + r13*4]
shr r9d, 0x18
and r9d, 0x3f
or r12d, dword [r15 + r9*4]
xor r12d, ebp
add r8, 0x10
cmp r8d, 0x80
jne 0x1400c8cc2
ror r12d, 1
mov edx, r12d
xor edx, eax
and edx, 0xaaaaaaaa
mov ecx, edx
xor ecx, eax
xor edx, r12d
shrd ecx, eax, 1
mov r8d, ecx
shr r8d, 8
xor r8d, edx
and r8d, 0xff00ff
xor edx, r8d
shl r8d, 8
xor r8d, ecx
mov eax, r8d
shr eax, 2
xor eax, edx
and eax, 0x33333333
xor edx, eax
shl eax, 2
xor eax, r8d
mov ecx, edx
shr ecx, 0x10
movzx r8d, ax
xor r8d, ecx
xor eax, r8d
shl r8d, 0x10
xor r8d, edx
mov ecx, r8d
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
xor eax, ecx
shl ecx, 4
xor ecx, r8d
mov rdx, qword [rsp]
mov dword [rdx], ecx
mov dword [rdx + 4], eax
add rsp, 8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400cd6a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rcx + 8]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400cd6d7
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400cd6d7
movzx edx, word [rax + rcx + 0x14]
cmp edx, 0xf0
jne 0x1400cd6d7
movzx eax, word [rax + rcx + 0x18]
cmp eax, 0x20b
sete al
ret
xor eax, eax
jmp 0x1400cd6d6
Function at 0x1400db270
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x170], rax
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
lea rax, [0x14026d8e0]
mov qword [rcx], rax
lea rax, [0x14026c140]
mov qword [rcx + 0x18], rax
xor ecx, ecx
mov qword [rsi + 0x20], rcx
mov byte [rsi + 0x28], cl
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rcx
mov byte [rsi + 0x40], cl
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400db2e6
cmp rcx, rdi
je 0x1400db399
test rcx, rcx
jne 0x1400db38f
mov qword [rsi + 0x20], rdi
cmp dword [0x1402a0cb8], 2
jg 0x1400db305
test rdi, rdi
je 0x1400db3d8
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400db329
cmp rcx, rdi
je 0x1400db399
test rcx, rcx
jne 0x1400db39e
mov qword [rsi + 0x38], rdi
cmp dword [0x1402a0cb8], 2
jg 0x1400db344
test rdi, rdi
je 0x1400db425
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400eaba0]
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 0x1400db3a5
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14017e7b0
mov rax, rsi
add rsp, 0x178
pop rdi
pop rsi
ret
call fcn.1400e77c0
jmp 0x1400db2ef
call fcn.14017b5a8
call fcn.1400e77c0
jmp 0x1400db32e
lea rdx, str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x1b
call fcn.1401f39b0
lea rdx, [0x140285068]
mov rcx, rdi
call fcn.14020a060
mov rcx, rdi
call fcn.1401f39e0
jmp 0x1400db372
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwin_session_end_watcher.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5a
mov r9d, 2
call fcn.1401dfc50
lea rcx, [rsp + 0x40]
lea rdx, str.CreateEvent
mov r8d, 0xb
call fcn.1401b98e0
mov rcx, rdi
call fcn.1401dfcd0
jmp 0x1400db305
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwin_session_end_watcher.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5d
mov r9d, 2
call fcn.1401dfc50
lea rcx, [rsp + 0x40]
lea rdx, str.CreateEvent
mov r8d, 0xb
call fcn.1401b98e0
mov rcx, rdi
call fcn.1401dfcd0
jmp 0x1400db344
Function at 0x1400e76e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov edx, 0x10
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400e771a
movzx eax, word [rsi + 6]
and eax, 0xfff
or eax, 0x4000
mov word [rsi + 6], ax
mov al, byte [rsi + 8]
and al, 0x3f
or al, 0x80
mov byte [rsi + 8], al
mov al, 1
add rsp, 0x20
pop rsi
ret
int3