joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019da0
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x1401c2110], 0
jne 0x140019e87
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x50]
test byte [rdx], al
mov esi, dword [rax + 0x64]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], r8b
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x140019e7a
lea rbx, [0x1401944f8]
mov rdx, qword [rbx + rdx*8]
test byte [rdx], al
mov rbx, rcx
shr rbx, 0x10
and ebx, 0x3f
shr rcx, 0xd
and ecx, 7
mov esi, 1
shl esi, cl
shr rax, 0x16
and eax, 0xfffff
mov rax, qword [rdx + rax*8]
test byte [rax], al
movzx edx, byte [rax + rbx + 0x11440]
lea rax, [rax + rbx]
lea rax, [rax + 0x11440]
test sil, dl
jne 0x140019e60
lock or byte [rax], sil
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rdi
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call fcn.140059f60
lea rax, [0x1400f5f31]
mov ebx, 0x2c
call fcn.14002fb00
nop
int3

Function at 0x14001c140
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14001c246
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], dil
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x18], 0
jmp 0x14001c183
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x14001c23b
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.14001cf20
test rax, rax
je 0x14001c23b
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rcx, [0x14001c280]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x20]
mov qword [rsp], rbx
nop dword [rax]
call fcn.140057b60
xorps xmm15, xmm15
mov r14, qword [0x1401c2360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x14001c229
xor eax, eax
jmp 0x14001c233
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x14001c171
mov rax, qword [rsp + 0x18]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.140057ca0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.14001c140
Function at 0x140029dc0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x14002a046
push rbp
mov rbp, rsp
sub rsp, 0x38
test byte [rax], al
mov rcx, qword [rax + 0x1268]
lea rsi, [rax + 0x1278]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x14002a03a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x1401c2110], 0
jne 0x140029e1a
xor edx, edx
xor ebx, ebx
jmp 0x140029e60
xor edx, edx
jmp 0x140029e45
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call fcn.140019600
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x140029e1e
add rax, 0x1268
call fcn.140029d40
add rsp, 0x38
pop rbp
ret
inc rdx
nop
cmp rdx, rcx
jge 0x140029fd4
mov rsi, qword [rax + rdx*8 + 0x1278]
cmp rsi, 0x1000
jb 0x140029e5b
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
call fcn.14000fc80
test rax, rax
jne 0x140029eac
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x140029e5b
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
mov r8, rcx
shr r8, 3
movzx r9d, byte [rsi + r8]
and ecx, 7
mov r10d, 1
shl r10d, cl
nop
add rsi, r8
test r10b, r9b
je 0x140029eec
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x140029e5b
nop
lock or byte [rsi], r10b
mov rcx, qword [rbx + 0x18]
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
nop
nop
nop
cmp r8, 0x40
jae 0x14002a02d
lea r10, [0x1401944f8]
mov r8, qword [r10 + r8*8]
test byte [r8], al
mov r10, rcx
shr r10, 0x10
and r10d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r11d, 1
shl r11d, cl
shr r9, 0x16
and r9d, 0xfffff
mov r8, qword [r8 + r9*8]
test byte [r8], al
movzx r9d, byte [r8 + r10 + 0x11440]
lea r8, [r8 + r10]
lea r8, [r8 + 0x11440]
test r11b, r9b
jne 0x140029f6f
lock or byte [r8], r11b
movzx r8d, byte [rbx + 0x6a]
test r8b, 1
je 0x140029fa5
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x70]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x140029e5b
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x14002a025
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x140029e5b
cmp rbx, 0x200
ja 0x14002a014
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.14001fe80
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call fcn.140029d40
add rsp, 0x38
pop rbp
ret
mov rcx, rbx
mov edx, 0x200
nop dword [rax]
call fcn.140059fc0
mov rax, r8
call fcn.140059f40
mov rax, r8
mov ecx, 0x40
call fcn.140059f60
mov edx, 0x200
nop
call fcn.140059fa0
nop
mov qword [rsp + 8], rax
call fcn.14005edc0
mov rax, qword [rsp + 8]
jmp fcn.140029dc0
Function at 0x14003e500
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14003e667
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x14003e512
cmp edx, ecx
jne 0x14003e655
nop word [rax + rax]
test rsi, rsi
jne 0x14003e655
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x14003e574
nop
call fcn.14005bc80
xorps xmm15, xmm15
mov r14, qword [0x1401c2360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.14003e420
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x14003e650
mov rdx, qword [0x14016f328]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x14003e645
mov rcx, qword [0x14016f320]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x14016fd90]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x14016fd90], rax
nop
mov edx, 1
lea rsi, [0x14016fd98]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x14003e633
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x1400f59c0]
mov ebx, 0x28
nop
call fcn.14002fb00
mov rax, rsi
mov rcx, rdx
call fcn.140059f40
call fcn.14002e1a0
lea rax, [0x1400f5035]
mov ebx, 0x23
call fcn.14002fb00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140057ca0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.14003e500
Function at 0x1400499c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x140049b37
movzx edx, byte [rax]
test edx, edx
jne 0x1400499f4
nop dword [rax]
test r8b, r8b
jne 0x1400499f4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x140049a07
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x140049af7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x140049ae5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x140049ad7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x140049a5d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x140049aa0
mov eax, 1
cmp rax, rbx
ja 0x140049a8b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.14005a000
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x140049acf
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x140049a93
mov rcx, r11
mov eax, r12d
jmp 0x140049a62
mov rcx, rbx
call fcn.140059f40
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.140059f40
mov eax, r8d
mov rcx, rbx
call fcn.14005a000
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x140049b2d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x140049af0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x140049a0d
mov eax, edx
mov rcx, rbx
call fcn.140059f40
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.140059f40
nop
int3
Function at 0x140051060
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14005110f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x140051160]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.140057b60
xorps xmm15, xmm15
mov r14, qword [0x1401c2360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.140057ca0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.140051060
Function at 0x140059ae0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x1401c23e0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x1401c210a], 0
je 0x140059b16
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x1401c26c0]
aesenc xmm0, xmmword [0x1401c26d0]
aesenc xmm0, xmmword [0x1401c26e0]
movq rax, xmm0
ret
jmp 0x140008a00

Function at 0x140061ce0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140061e16
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rax, qword [rsp + 0x58]
call fcn.14005ec20
mov rcx, qword [rsp + 0x60]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0
nop
call fcn.140002e00
xorps xmm15, xmm15
mov r14, qword [0x1401c2360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
nop dword [rax]
jne 0x140061df6
mov rcx, qword [rsp + 0x68]
lea rdx, [rcx + 1]
mov qword [rsp + 0x30], rdx
lea rax, [0x1400e3920]
xor ebx, ebx
mov rcx, rdx
call fcn.1400434c0
mov rbx, qword [rsp + 0x68]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x60]
call fcn.1400621e0
mov qword [rsp + 0x28], rbx
lea rdx, [rbx + 1]
cmp rcx, rdx
jae 0x140061dad
mov rbx, rdx
mov edi, 1
lea rsi, [0x1400e3920]
nop dword [rax + rax]
call fcn.1400435a0
mov rdx, rbx
mov rbx, qword [rsp + 0x28]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x48], rax
lea rsi, [rax + rbx*2]
mov rax, rsi
call fcn.14005b2e0
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
mov word [rdx + rcx*2], 0
call fcn.14005ec60
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor edi, edi
xor esi, esi
add rsp, 0x50
pop rbp
ret
call fcn.14005ec60
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x14010b728]
lea rsi, [0x14010b3a0]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140057ca0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140061ce0

Function at 0x140068420
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x14006848b
mov rax, 0
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x140068444
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x140068461
cmp rdx, 0
je 0x1400684ad
test rdx, 0xf
je 0x14006843d
test rdx, 7
jne 0x140068461
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x14006843d
ret
Function at 0x14006be80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14006bfe6
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x60], rsi
mov rax, qword [rsp + 0x38]
call fcn.14005ec20
nop
call fcn.140069940
xorps xmm15, xmm15
mov r14, qword [0x1401c2360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x68]
cmp rcx, 0x10
jl 0x14006bfd2
mov rcx, qword [rsp + 0x50]
cmp rcx, 0x10
jl 0x14006bfbf
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
cmp rcx, rdx
je 0x14006bf14
mov rsi, rdx
lea rdi, [rcx + 0xf]
nop
cmp rdi, rdx
jb 0x14006bf14
lea rdi, [rsi + 0xf]
cmp rdi, rcx
jae 0x14006bfac
mov rax, qword [rsp + 0x40]
test byte [rax], al
lea rcx, [rax + 0x18]
mov qword [rsp + 0x28], rcx
mov rax, rcx
call fcn.14005b2a0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x28]
nop
call fcn.14005b2a0
mov rcx, qword [rsp + 0x40]
cmp qword [rcx + 0x20], 0
jbe 0x14006bfa2
mov rax, qword [rsp + 0x20]
shr rax, 2
dec rax
mov rcx, qword [rcx + 0x18]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x18], rax
nop
call fcn.14006c260
xorps xmm15, xmm15
mov r14, qword [0x1401c2360]
mov r14, qword gs:[r14]
mov r14, qword [r14]
call fcn.14005ec60
add rsp, 0x30
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.140059f40
lea rax, [0x1400e34a0]
lea rbx, [0x14010b4c8]
call fcn.14002f380
lea rax, [0x1400e34a0]
lea rbx, [0x14010b4b8]
call fcn.14002f380
lea rax, [0x1400e34a0]
lea rbx, [0x14010b4a8]
call fcn.14002f380
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.140057ca0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.14006be80
Function at 0x14006c260
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x14006c29f
jb 0x14006c2b4
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesdeclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x14006c320
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x14006c3f4
jb 0x14006c453
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.14006c200
aeskeygenassist xmm1, xmm0, 1
call fcn.14006c220
aeskeygenassist xmm1, xmm2, 2
call fcn.14006c200
aeskeygenassist xmm1, xmm0, 2
call fcn.14006c220
aeskeygenassist xmm1, xmm2, 4
call fcn.14006c200
aeskeygenassist xmm1, xmm0, 4
call fcn.14006c220
aeskeygenassist xmm1, xmm2, 8
call fcn.14006c200
aeskeygenassist xmm1, xmm0, 8
call fcn.14006c220
aeskeygenassist xmm1, xmm2, 0x10
call fcn.14006c200
aeskeygenassist xmm1, xmm0, 0x10
call fcn.14006c220
aeskeygenassist xmm1, xmm2, 0x20
call fcn.14006c200
aeskeygenassist xmm1, xmm0, 0x20
call fcn.14006c220
aeskeygenassist xmm1, xmm2, 0x40
call fcn.14006c200
jmp 0x14006c4c1
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.14006c160
aeskeygenassist xmm1, xmm2, 2
call fcn.14006c1c0
aeskeygenassist xmm1, xmm2, 4
call fcn.14006c160
aeskeygenassist xmm1, xmm2, 8
call fcn.14006c1c0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.14006c160
aeskeygenassist xmm1, xmm2, 0x20
call fcn.14006c1c0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.14006c160
aeskeygenassist xmm1, xmm2, 0x80
call fcn.14006c1c0
jmp 0x14006c4c1
aeskeygenassist xmm1, xmm0, 1
call fcn.14006c120
aeskeygenassist xmm1, xmm0, 2
call fcn.14006c120
aeskeygenassist xmm1, xmm0, 4
call fcn.14006c120
aeskeygenassist xmm1, xmm0, 8
call fcn.14006c120
aeskeygenassist xmm1, xmm0, 0x10
call fcn.14006c120
aeskeygenassist xmm1, xmm0, 0x20
call fcn.14006c120
aeskeygenassist xmm1, xmm0, 0x40
call fcn.14006c120
aeskeygenassist xmm1, xmm0, 0x80
call fcn.14006c120
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.14006c120
aeskeygenassist xmm1, xmm0, 0x36
call fcn.14006c120
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x14006c4ce
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x140084510
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r9d, dword [0x140c5efc0]
test r9d, r9d
jle 0x1400845a4
mov r10b, byte [rsi]
lea r8, [0x140c5efd0]
xor ecx, ecx
mov rbx, r8
jmp 0x140084550
add rcx, 1
add rbx, 0x807f
cmp rcx, r9
je 0x1400845a4
imul rdx, rcx, 0x807f
cmp r10b, byte [rdx + r8]
jne 0x140084540
mov edi, 1
mov edx, r10d
nop word cs:[rax + rax]
nop
test dl, dl
je 0x140084586
movzx edx, byte [rsi + rdi]
lea rax, [rdi + 1]
cmp dl, byte [rbx + rdi]
mov rdi, rax
je 0x140084570
jmp 0x140084540
mov eax, ecx
imul rax, rax, 0x807f
lea rcx, [0x140c5efd0]
add rax, rcx
add rax, 0x80
jmp 0x14008473d
movsxd r9, r9d
cmp r9d, 5
jae 0x140084749
imul rax, r9, 0x807f
lea r14, [0x140c5efd0]
lea rdx, [rax + r14]
add rdx, 0x80
mov rcx, rsi
mov r8d, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
add eax, 0xffffffff
cmp eax, 0x7ffd
ja 0x140084664
mov r9, 0xffffffffffffffff
nop
cmp byte [rsi + r9 + 1], 0
lea r9, [r9 + 1]
jne 0x1400845f0
cmp r9, 0x80
jae 0x14008476a
movsxd rbx, dword [0x140c5efc0]
imul r15, rbx, 0x807f
lea rdx, [r14 + r15]
mov eax, 1
movzx ecx, byte [rsi + rax - 1]
test cl, cl
je 0x14008466b
mov byte [rdx + rax - 1], cl
movzx ecx, byte [rsi + rax]
test cl, cl
je 0x140084679
mov byte [rdx + rax], cl
add rax, 2
cmp rax, 0x81
jne 0x140084620
lea rcx, [r15 + r14]
add rcx, 0x80
test cl, 0xf
jne 0x14008472a
mov eax, pe_nt_image_headers64
xor esi, esi
jmp 0x1400846ef
xor eax, eax
jmp 0x14008473d
lea rcx, [rax + rdx]
add rcx, 0xffffffffffffffff
add rax, 0xffffffffffffffff
jmp 0x14008467d
lea rcx, [rdx + rax]
mov esi, pe_nt_image_headers64
sub rsi, rax
mov edi, ecx
or edi, esi
test dil, 0xf
je 0x1400846ef
cmp rax, 0x80
je 0x14008472a
mov edx, esi
and edx, 7
add rax, 0xffffffffffffff87
cmp rax, 7
jb 0x1400846d9
and rsi, 0xfffffffffffffff8
nop
mov byte [rcx], 0
mov byte [rcx + 1], 0
mov byte [rcx + 2], 0
mov byte [rcx + 3], 0
mov byte [rcx + 4], 0
mov byte [rcx + 5], 0
mov byte [rcx + 6], 0
mov byte [rcx + 7], 0
add rcx, 8
add rsi, 0xfffffffffffffff8
jne 0x1400846b0
test rdx, rdx
je 0x14008472a
xor eax, eax
mov byte [rcx + rax], 0
add rax, 1
cmp rdx, rax
jne 0x1400846e0
jmp 0x14008472a
and rsi, 0xfffffffffffffff8
lea rdi, [rcx + rsi]
cmp rdi, rcx
jbe 0x14008472a
add rsi, rax
add rsi, rdx
lea rdi, [rax + rdx]
add rdi, 0x10
cmp rsi, rdi
cmovbe rsi, rdi
not rax
sub rax, rdx
lea r8, [rax + rsi]
add r8, 0x10
and r8, 0xfffffffffffffff0
xor edx, edx
call sub.msvcrt.dll_memset
add ebx, 1
mov dword [0x140c5efc0], ebx
lea rax, [r15 + r14]
add rax, 0x80
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [rsp + 0x20], 5
lea rcx, str.gotsan.cpp
lea r8, str.__num_env_vars_______kEnvVariables__
mov edx, 0x2366
call fcn.140072a70
mov qword [rsp + 0x20], pe_nt_image_headers64
lea rcx, str.gotsan.cpp
lea r8, str.__internal_strlen_name________kMaxEnvNameLength__
mov edx, 0x236a
call fcn.140072a70
int3
Function at 0x14008ace0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x58
movabs rax, 0x10000000000
lea rsi, [rax + rcx*2]
and rsi, 0xfffffffffffffff0
add rdx, rcx
lea rdi, [rax + rdx*2]
and rdi, 0xfffffffffffffff0
mov rax, qword [0x140c5cf18]
mov rcx, rax
test rax, rax
jne 0x14008ad48
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
mov qword [0x140c5cf18], rax
mov rcx, rax
test rax, rax
jne 0x14008ad48
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x2c]
mov qword [0x140c5cf18], rcx
xor eax, eax
cmp rsi, rdi
jae 0x14008ad71
neg rax
and rax, rsi
neg rcx
and rdi, rcx
sub rdi, rax
je 0x14008ad69
mov rcx, rsi
mov rdx, rdi
call fcn.1400884a0
nop
add rsp, 0x58
pop rdi
pop rsi
ret
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
lea r8, str.__beg___end______0_
mov edx, 0x2304
xor r9d, r9d
call fcn.140072a70
int3

Function at 0x14008b4f0
Capabilities:
Check if file exists
Create directory

Disassembly:
mov rdx, rcx
lea rcx, [0x1400d7340]
jmp fcn.1400ae5a0