joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58ea20
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x58ea38
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x58ea38
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x58ea40
xor eax, eax
ret
cmp rbx, 3
je 0x58ea4c
cmp rbx, 4
jne 0x58ea79
cmp al, 0x2c
ja 0x58ea66
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x58ea76
cmp al, 0x24
je 0x58ea76
nop dword [rax]
cmp al, 0x26
jae 0x58ea76
jmp 0x58ea79
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x58ea76
cmp al, 0x5b
je 0x58ea76
cmp al, 0x5d
jne 0x58ea79
xor eax, eax
ret
cmp al, 0x2f
ja 0x58eab2
nop dword [rax]
cmp al, 0x26
ja 0x58ea91
cmp al, 0x24
je 0x58ead1
cmp al, 0x26
je 0x58ead1
jmp 0x58eb4b
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x58ead1
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x58eb48
cmp al, 0x2f
je 0x58ead1
jmp 0x58eb4b
cmp al, 0x3d
ja 0x58eac9
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x58ead1
nop
cmp al, 0x3d
je 0x58ead1
jmp 0x58eb4b
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x58eb40
cmp rbx, 2
jg 0x58eb07
cmp rbx, 1
je 0x58eb01
nop dword [rax]
cmp rbx, 2
jne 0x58eb4b
cmp al, 0x2f
je 0x58eaf2
cmp al, 0x3b
je 0x58eaf2
cmp al, 0x2c
jne 0x58eaf9
mov ecx, 1
jmp 0x58eafe
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x58eb2a
cmp al, 0x40
je 0x58eb19
cmp al, 0x2f
je 0x58eb19
cmp al, 0x3f
jne 0x58eb22
mov ecx, 1
nop
jmp 0x58eb27
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x58eb39
cmp rbx, 7
jne 0x58eb4b
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x58eb48
cmp al, 0x7e
jne 0x58eb4b
xor eax, eax
ret
cmp rbx, 7
jne 0x58eb61
cmp al, 0x21
je 0x58eb5d
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x58eb61
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x593900
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x593b53
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rax
add qword [rax + 0x58], rcx
mov rsi, qword [rax + 0x50]
test rsi, rsi
jle 0x593a30
nop dword [rax + rax]
cmp rsi, 0x40
ja 0x593b45
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
lea r8, [rsi - 0x40]
mov r9, r8
neg r8
cmp rcx, r8
cmovl r8, rcx
mov qword [rsp + 0x28], r8
sar r9, 0x3f
and r9, rsi
lea rsi, [rax + r9]
lea rsi, [rsi + 0x10]
cmp rbx, rsi
je 0x5939a2
mov rax, rsi
mov rcx, r8
call fcn.004638a0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x28]
mov rsi, qword [rax + 0x50]
add rsi, r8
mov qword [rax + 0x50], rsi
cmp rsi, 0x40
jne 0x593a0c
mov qword [rsp], rax
lea rcx, [rax + 0x10]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 0x40
mov qword [rsp + 0x18], 0x40
call fcn.00593e40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x50], 0
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x28]
cmp rcx, r8
jb 0x593b3c
sub rdi, r8
mov rsi, rcx
sub rcx, r8
mov r9, rdi
neg rdi
sar rdi, 0x3f
and r8, rdi
add rbx, r8
jmp 0x593a40
mov rsi, rcx
mov r9, rdi
nop word [rax + rax]
nop
cmp rcx, 0x40
jl 0x593ae0
mov rdi, rcx
and rcx, 0xffffffffffffffc0
cmp r9, rcx
jb 0x593b34
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x20], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r9
call fcn.00593e40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
cmp rcx, rax
jb 0x593b2f
mov rdx, qword [rsp + 0x38]
mov rsi, rax
sub rax, rdx
mov rdx, rcx
sub rcx, rsi
sar rax, 0x3f
and rax, rdx
and rax, 0xffffffffffffffc0
mov rdx, qword [rsp + 0x40]
lea rbx, [rdx + rax]
mov rax, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
nop dword [rax]
test rcx, rcx
je 0x593b1e
cmp rcx, 0x40
mov edx, 0x40
cmovl rdx, rcx
lea rdi, [rax + 0x10]
cmp rbx, rdi
je 0x593b1a
mov qword [rsp + 0x38], rdx
mov rax, rdi
mov rcx, rdx
call fcn.004638a0
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x68]
mov qword [rax + 0x50], rdx
mov rax, rsi
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
call fcn.00462fe0
mov rdx, r9
call fcn.00462fa0
mov rax, r8
nop
call fcn.00462fe0
mov rax, rsi
mov ecx, 0x40
call fcn.00462fe0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00460840
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00593900
Function at 0x5a5960
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5a5ab4
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov qword [rsp + 0x88], rbx
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rax + 8]
movups xmmword [rsp + 0x28], xmm0
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x20]
nop
call fcn.005a4d80
mov qword [rsp + 0x10], 0
movups xmmword [rsp + 0x48], xmm15
movups xmmword [rsp + 0x50], xmm15
movups xmmword [rsp + 0x60], xmm15
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x68], rcx
mov rcx, qword [rsp + 0x88]
xor eax, eax
jmp 0x5a5a04
inc rax
mov rcx, rbx
cmp rax, 5
jge 0x5a5a55
imul rdx, rax, 0x33
mov rsi, rdx
sar rdx, 0x3f
shr rdx, 0x3d
add rdx, rsi
sar rdx, 3
mov rdi, rdx
shl rdx, 3
sub rsi, rdx
cmp rsi, 0x40
sbb rdx, rdx
mov r8, qword [rsp + rax*8 + 0x48]
mov rbx, rcx
mov rcx, rsi
shl r8, cl
and r8, rdx
mov qword [rsp + 0x10], r8
mov rdx, qword [rsp + 0x10]
mov qword [rsp + 0x18], rdx
xor ecx, ecx
jmp 0x5a5a80
test byte [rcx], al
mov rax, rcx
mov ebx, 0x20
mov rcx, rbx
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
movzx r8d, byte [rbx + rsi]
or r8d, edx
mov byte [rbx + rsi], r8b
inc rcx
nop dword [rax + rax]
cmp rcx, 8
jge 0x5a59fe
movzx edx, byte [rsp + rcx + 0x18]
lea rsi, [rdi + rcx]
cmp rsi, 0x20
jge 0x5a59fe
test byte [rbx], al
nop
cmp rsi, 0x20
jb 0x5a5a6c
mov rax, rsi
mov ecx, 0x20
call fcn.00462f20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
nop
call fcn.00460840
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.005a5960
Function at 0x5ea480
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movd xmm0, dword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movdqu xmm1, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm3, xmmword [rsi + 0x20]
movdqu xmm4, xmmword [rsi + 0x30]
pxor xmm1, xmm0
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jb 0x5ea555
movdqa xmm0, xmmword [0x007a86b0]
movdqa xmm5, xmm1
movdqa xmm6, xmm2
movdqa xmm7, xmm3
movdqa xmm8, xmm4
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm2, xmm0, 0
pclmulqdq xmm3, xmm0, 0
pclmulqdq xmm4, xmm0, 0
movdqu xmm11, xmmword [rsi]
movdqu xmm12, xmmword [rsi + 0x10]
movdqu xmm13, xmmword [rsi + 0x20]
movdqu xmm14, xmmword [rsi + 0x30]
pclmulqdq xmm5, xmm0, 0x11
pclmulqdq xmm6, xmm0, 0x11
pclmulqdq xmm7, xmm0, 0x11
pclmulqdq xmm8, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm4, xmm8
pxor xmm1, xmm11
pxor xmm2, xmm12
pxor xmm3, xmm13
pxor xmm4, xmm14
add rdi, 0x40
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jge 0x5ea4c1
movdqa xmm0, xmmword [0x007a86c0]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm4
cmp rcx, 0x10
jb 0x5ea5d7
movdqu xmm10, xmmword [rsi]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm10
sub rcx, 0x10
add rsi, 0x10
cmp rcx, 0x10
jge 0x5ea5ab
pcmpeqb xmm3, xmm3
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm2, xmm1
movq xmm0, qword [0x007a7c00]
psrlq xmm3, 0x20
psrldq xmm2, 4
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
movdqa xmm0, xmmword [0x007a8b80]
movdqa xmm2, xmm1
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0x10
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
mov dword [rsp + 0x28], eax
ret
Function at 0x5f7f00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5f80af
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov qword [rsp + 0x80], rax
xor ecx, ecx
jmp 0x5f7f27
inc rcx
cmp rbx, rcx
jle 0x5f80a1
movzx edx, byte [rax + rcx]
cmp dl, 0x80
jb 0x5f7f24
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x80], rax
call fcn.004e0e20
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rsi
test rsi, rsi
mov rdx, qword [rsp + 0x88]
cmovne rbx, rdx
mov rdx, qword [rsp + 0x80]
cmovne rax, rdx
mov rdx, qword [0x00951400]
mov r8, rax
mov rax, rdx
mov r9, rbx
mov rbx, r8
mov rcx, r9
mov edi, 1
call fcn.005f3fa0
mov rdx, qword [rsp + 0x58]
test rdx, rdx
mov rdx, qword [rsp + 0x48]
mov esi, 0
cmovne rdx, rsi
mov r8, qword [rsp + 0x60]
mov r9d, 0
cmovne r8, r9
nop dword [rax]
test rcx, rcx
jne 0x5f8090
test rdx, rdx
je 0x5f8081
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.00402e40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x5f804b
xor eax, eax
lea rbx, [0x007a79e8]
mov ecx, 1
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
lea r8, [0x007236ef]
mov r9d, 2
mov r10, qword [rsp + 0x60]
mov r11, qword [rsp + 0x48]
call fcn.0044cf20
jmp 0x5f8072
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
lea rdi, [0x00723623]
mov esi, 1
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x48]
call fcn.0044ce40
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
nop
ret
xor ecx, ecx
mov rdi, r9
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov rax, r9
mov rbx, rsi
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
nop
ret
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460840
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.005f7f00
Function at 0x66de40
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov qword [rsp + 0x38], rbx
cmp rcx, 0x10
jge 0x66de65
xor edx, edx
nop dword [rax + rax]
jmp 0x66dfe6
mov rsi, rbx
mov r8, rbx
sar rbx, 0x3f
shr rbx, 0x3d
add rbx, r8
sar rbx, 3
shl rbx, 3
sub r8, rbx
test r8, r8
je 0x66de9d
lea rbx, [r8 - 8]
neg rbx
cmp rdi, rbx
jb 0x66dfbd
xor edx, edx
jmp 0x66df6f
mov qword [rsp + 0x10], 0
xor edx, edx
jmp 0x66dec0
lea rbx, [rdx + rax]
and ebx, 3
movzx ebx, byte [rsp + rbx + 0x28]
mov byte [rsp + rdx + 0x10], bl
inc rdx
nop dword [rax]
cmp rdx, 8
jl 0x66deaa
mov rdx, qword [rsp + 0x10]
mov rbx, rcx
shr rcx, 3
shl rcx, 3
xor r8d, r8d
jmp 0x66dee3
xor qword [rsi + r8], rdx
add r8, 8
cmp r8, rcx
jge 0x66deef
test rbx, rbx
ja 0x66dedb
jmp 0x66df46
cmp rbx, rcx
jb 0x66df3b
mov rdx, rcx
sub rcx, rdi
sar rcx, 0x3f
and rcx, rdx
add rcx, rsi
sub rbx, rdx
xor edx, edx
jmp 0x66df29
movzx esi, byte [rdx + rcx]
mov rdi, rax
and eax, 3
movzx r8d, byte [rsp + rax + 0x28]
xor r8d, esi
mov byte [rcx + rdx], r8b
inc rdx
lea rax, [rdi + 1]
cmp rdx, rbx
jl 0x66df0b
and eax, 3
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov rax, rcx
mov rcx, rbx
call fcn.00462fe0
xor eax, eax
mov rcx, rbx
call fcn.00462f20
movzx r9d, byte [rsi + rdx]
mov r10, rax
and eax, 3
movzx r11d, byte [rsp + rax + 0x28]
xor r11d, r9d
mov byte [rsi + rdx], r11b
inc rdx
lea rax, [r10 + 1]
cmp rdx, rbx
jge 0x66df80
cmp rcx, rdx
ja 0x66df50
jmp 0x66dfb5
cmp rcx, rbx
jb 0x66dfad
lea rdi, [rdi + r8]
lea rdi, [rdi - 8]
lea rcx, [rcx + r8]
lea rcx, [rcx - 8]
mov rdx, rdi
neg rdi
sar rdi, 0x3f
and rdi, rbx
add rsi, rdi
mov rdi, rdx
jmp 0x66de9d
mov rax, rbx
call fcn.00462fe0
mov rax, rdx
call fcn.00462f20
mov rcx, rbx
mov rdx, rdi
call fcn.00462fa0
movzx esi, byte [rbx + rdx]
mov rdi, rax
and eax, 3
movzx r8d, byte [rsp + rax + 0x28]
xor r8d, esi
mov byte [rbx + rdx], r8b
inc rdx
lea rax, [rdi + 1]
cmp rcx, rdx
jg 0x66dfc8
and eax, 3
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
Function at 0x671d60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x671fdf
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rcx
mov rsi, qword [rax + 0x48]
test rsi, rsi
jle 0x671ea2
cmp rsi, 0x10
ja 0x671fd1
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
lea rdx, [rsi - 0x10]
mov r8, rdx
neg rdx
cmp rcx, rdx
cmovl rdx, rcx
mov qword [rsp + 0x28], rdx
sar r8, 0x3f
and r8, rsi
lea rsi, [r8 + rax]
lea rsi, [rsi + 0x38]
cmp rbx, rsi
je 0x671df6
mov rax, rsi
mov rcx, rdx
call fcn.004638a0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rax + 0x48]
add rsi, rdx
nop dword [rax]
cmp rsi, 0x10
jl 0x671e8d
cmp rcx, rdx
jb 0x671fc9
mov qword [rax + 0x48], 0
mov qword [rsp], rax
lea rcx, [rax + 0x38]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 0x10
mov qword [rsp + 0x18], 0x10
call fcn.00672160
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rdi, qword [rsp + 0x70]
mov rax, qword [rsp + 0x28]
sub rdi, rax
mov rcx, qword [rsp + 0x68]
mov rdx, rcx
sub rcx, rax
mov rbx, rdi
neg rdi
sar rdi, 0x3f
and rax, rdi
mov rsi, qword [rsp + 0x60]
add rax, rsi
mov rdi, rbx
mov rbx, rax
mov rax, qword [rsp + 0x58]
jmp 0x671ea5
mov qword [rax + 0x48], rsi
mov rax, rcx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rdx, rcx
mov rsi, rcx
and ecx, 0xf
mov r8, rsi
sub rsi, rcx
test rsi, rsi
jle 0x671f47
nop word [rax + rax]
cmp rdi, rsi
jb 0x671fbe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x20], rsi
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
call fcn.00672160
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
cmp rcx, rax
jb 0x671fb9
mov rdx, qword [rsp + 0x38]
mov rsi, rax
sub rax, rdx
sub rcx, rsi
sar rax, 0x3f
and rax, rsi
mov rdx, qword [rsp + 0x40]
lea rbx, [rdx + rax]
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov r8, rcx
test r8, r8
je 0x671f9b
mov rsi, qword [rax + 0x48]
cmp rsi, 0x10
ja 0x671fac
lea rcx, [rsi - 0x10]
mov rdi, rcx
neg rcx
cmp r8, rcx
cmovl rcx, r8
sar rdi, 0x3f
and rdi, rsi
lea rsi, [rdi + rax]
lea rsi, [rsi + 0x38]
cmp rbx, rsi
je 0x671f97
mov qword [rsp + 0x38], rcx
mov rax, rsi
call fcn.004638a0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x68]
add qword [rax + 0x48], rcx
mov rax, rdx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rax, rsi
mov ecx, 0x10
call fcn.00462fe0
call fcn.00462fe0
mov rcx, rsi
mov rdx, rdi
call fcn.00462fa0
mov rax, rdx
call fcn.00462fe0
mov rax, rsi
mov ecx, 0x10
call fcn.00462fe0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00460840
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00671d60
Function at 0x672160
Capabilities:
Encode data using xor

Disassembly:
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov r15, qword [rsp + 0x18]
mov r8, qword [rdi]
mov r9, qword [rdi + 8]
mov r10, qword [rdi + 0x10]
mov r11, qword [rdi + 0x18]
mov r12, qword [rdi + 0x20]
cmp r15, 0x10
jb 0x672227
add r8, qword [rsi]
adc r9, qword [rsi + 8]
adc r10, 1
lea rsi, [rsi + 0x10]
mov rax, r11
mul r8
mov rbx, rax
mov rcx, rdx
mov rax, r11
mul r9
add rcx, rax
adc rdx, 0
mov r13, r11
imul r13, r10
add r13, rdx
mov rax, r12
mul r8
add rcx, rax
adc rdx, 0
mov r8, rdx
mov r14, r12
imul r14, r10
mov rax, r12
mul r9
add r13, rax
adc r14, rdx
add r13, r8
adc r14, 0
mov r8, rbx
mov r9, rcx
mov r10, r13
and r10, 3
mov rbx, r13
and rbx, 0xfffffffffffffffc
add r8, rbx
adc r9, r14
adc r10, 0
shrd r13, r14, 2
shr r14, 2
add r8, r13
adc r9, r14
adc r10, 0
sub r15, 0x10
cmp r15, 0x10
jae 0x67218c
test r15, r15
je 0x67226a
mov rbx, 1
xor rcx, rcx
xor r13, r13
add rsi, r15
shld rcx, rbx, 8
shl rbx, 8
mov r13b, byte [rsi - 1]
xor rbx, r13
dec rsi
dec r15
jne 0x67223c
add r8, rbx
adc r9, rcx
adc r10, 0
mov r15, 0x10
jmp 0x67219b
mov qword [rdi], r8
mov qword [rdi + 8], r9
mov qword [rdi + 0x10], r10
ret
Function at 0x6737c0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x673830
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rcx
movups xmmword [rsp + 0x20], xmm15
test byte [rcx], al
lea rdx, [rsp + 0x20]
cmp rcx, rdx
je 0x6737f8
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x20], xmm0
mov rbx, rdx
mov rcx, rdi
lea rdi, str.expand_32_byte_k
call fcn.00672280
mov rdx, qword [rsp + 0x48]
test byte [rdx], al
mov rsi, qword [rsp + 0x50]
lea r8, [rsi + 0x10]
cmp rdx, r8
je 0x673826
mov rax, qword [rsi + 0x10]
mov qword [rdx], rax
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00460840
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.006737c0
Function at 0x1400645c0
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400ce2e8]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov r14d, ecx
lea rax, [0x1400a02b8]
mov qword [rsp + 0x28], rax
xor r15d, r15d
mov ebx, r15d
mov qword [rsp + 0x30], rbx
mov edi, r15d
mov r12d, 0x80070000
test ecx, ecx
jne 0x140064628
lea rdx, [0x1400b0f38]
jmp 0x140064721
mov r8d, r14d
mov edx, 1
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x140064671
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, r12d
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovns ecx, eax
jmp 0x140064674
mov ecx, r15d
test ecx, ecx
js 0x1400646e4
mov dword [rsp + 0x20], 0x104
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_appmodel_runtime_l1_1_0.dll_GetPackageFamilyName]
nop dword [rax + rax]
movzx edi, ax
or edi, r12d
test eax, eax
cmovle edi, eax
test edi, edi
js 0x1400646e4
movdqa xmm0, xmmword [0x1400b6a50]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140006ec8
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.1400654b4
lea rcx, [rsp + 0x38]
call fcn.140006c64
jmp 0x140064750
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_K32GetProcessImageFileNameW]
nop dword [rax + rax]
movzx edi, ax
or edi, r12d
test eax, eax
cmovle edi, eax
test edi, edi
js 0x14006472b
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFindFileNameW]
nop dword [rax + rax]
mov rdx, rax
mov rcx, rsi
call fcn.140006ec8
jmp 0x140064750
mov edx, r14d
lea rcx, [rsp + 0x38]
call fcn.1400174a0
mov rdx, rax
mov rcx, rsi
call fcn.1400654b4
lea rcx, [rsp + 0x38]
call fcn.140006c64
mov edi, r15d
test rbx, rbx
je 0x140064768
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
je 0x140064796
mov eax, edi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140097e50
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, r12d
test eax, eax
cmovle ecx, eax
call fcn.140013e98
int3
Function at 0x14006b620
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword gs:[0x58]
mov r14, rcx
mov ecx, 4
mov edi, edx
mov r8, qword [rax]
mov eax, dword [rcx + r8]
cmp dword [0x1400cf6e0], eax
jg 0x14006b807
test edi, edi
mov ebp, 0x3e8
sete bl
test edi, edi
je 0x14006b6d8
lea rsi, [r14 + 0x5d8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
nop dword [rax + rax]
mov ebx, dword [r14 + 0x5ac]
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov rax, qword [rsp + 0x90]
sub rax, qword [r14 + 0x5e0]
cmp rax, qword [0x1400cf6d8]
jle 0x14006b6c2
sub ebx, dword [r14 + 0x5e8]
cmp ebx, ebp
jbe 0x14006b6c2
mov bl, 1
jmp 0x14006b6c4
xor bl, bl
test rsi, rsi
je 0x14006b6d8
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
test bl, bl
je 0x14006b7ed
lea r15, [r14 + 0x5d8]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
nop dword [rax + rax]
mov r12d, dword [r14 + 0x5ac]
mov rax, qword [rsp + 0xa0]
test edi, edi
je 0x14006b746
mov rcx, rax
sub rcx, qword [r14 + 0x5e0]
cmp rcx, qword [0x1400cf6d8]
jle 0x14006b7d9
mov ecx, r12d
sub ecx, dword [r14 + 0x5e8]
cmp ecx, ebp
jbe 0x14006b7d9
mov qword [r14 + 0x5e0], rax
mov dword [r14 + 0x5e8], r12d
call fcn.14001043c
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14006b7d9
cmp dword [rcx], 0
jbe 0x14006b7d9
call fcn.14001043c
mov ebp, dword [r14 + 0x5d0]
mov ecx, dword [r14 + 0x5cc]
mov esi, dword [r14 + 0x5c8]
mov edi, dword [r14 + 0x5c4]
mov ebx, dword [r14 + 0x5c0]
mov r11d, dword [r14 + 0x5bc]
mov r10d, dword [r14 + 0x5b8]
mov eax, dword [r14 + 0x5b4]
mov r9d, dword [r14 + 0x5b0]
mov dword [rsp + 0x58], ebp
lea rdx, [r14 + 0x38]
mov dword [rsp + 0x50], ecx
mov r8d, r12d
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], eax
call fcn.14007048c
test r15, r15
je 0x14006b7ed
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, [0x1400cf6e0]
call fcn.1400986a0
cmp dword [0x1400cf6e0], 0xffffffff
jne 0x14006b65c
xorps xmm0, xmm0
lea rcx, [0x1400cf6e0]
cvtsi2sd xmm0, qword [0x1400cf300]
mulsd xmm0, qword [0x1400b69b0]
cvttsd2si rax, xmm0
mov qword [0x1400cf6d8], rax
call fcn.140098638
jmp 0x14006b65c