Function at 0x2a2714840
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
lea r12, [rsp - 0x70]
cmp r12, qword [r14 + 0x10]
jbe 0x2a2715373
push rbp
mov rbp, rsp
sub rsp, 0xe8
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x118], rsi
cmp rcx, r8
jne 0x2a271535f
nop word [rax + rax]
nop dword [rax]
test rcx, 0x3f
jne 0x2a271535f
mov qword [rsp + 0xf8], rax
mov edx, dword [rax]
mov dword [rsp + 0x98], edx
mov r10d, dword [rax + 4]
mov dword [rsp + 0x94], r10d
mov r11d, dword [rax + 8]
mov dword [rsp + 0x90], r11d
mov r12d, dword [rax + 0xc]
mov dword [rsp + 0x8c], r12d
mov r13d, dword [rax + 0x10]
mov dword [rsp + 0x88], r13d
mov r15d, dword [rax + 0x14]
mov dword [rsp + 0x84], r15d
mov r12d, dword [rax + 0x18]
mov dword [rsp + 0xac], r12d
mov r11d, dword [rax + 0x1c]
mov dword [rsp + 0xa8], r11d
mov r11d, dword [rax + 0x24]
mov dword [rsp + 0xa4], r11d
mov r12d, dword [rax + 0x28]
mov dword [rsp + 0xa0], r12d
mov r12d, dword [rax + 0x2c]
mov dword [rsp + 0x9c], r12d
cmp byte [rax + 0x79], 0
nop word [rax + rax]
jne 0x2a2715063
mov qword [rsp + 0x128], r9
mov qword [rsp + 0x120], r8
mov qword [rsp + 0x118], rsi
mov qword [rsp + 0x110], rdi
mov qword [rsp + 0x108], rcx
mov qword [rsp + 0x100], rbx
mov eax, 0x3320646e
mov ebx, r10d
mov ecx, r15d
mov edi, r11d
call fcn.2a27142e0
mov rdx, qword [rsp + 0xf8]
mov dword [rdx + 0x7c], eax
mov dword [rdx + 0x80], ebx
mov dword [rdx + 0x84], ecx
mov dword [rdx + 0x88], edi
mov eax, 0x79622d32
mov ebx, dword [rsp + 0x90]
mov ecx, dword [rsp + 0xac]
mov edi, dword [rsp + 0xa0]
call fcn.2a27142e0
mov rdx, qword [rsp + 0xf8]
mov dword [rdx + 0x8c], eax
mov dword [rdx + 0x90], ebx
mov dword [rdx + 0x94], ecx
mov dword [rdx + 0x98], edi
mov eax, 0x6b206574
mov ebx, dword [rsp + 0x8c]
mov ecx, dword [rsp + 0xa8]
mov edi, dword [rsp + 0x9c]
nop
call fcn.2a27142e0
mov rdx, qword [rsp + 0xf8]
mov dword [rdx + 0x9c], eax
mov dword [rdx + 0xa0], ebx
mov dword [rdx + 0xa4], ecx
mov dword [rdx + 0xa8], edi
mov byte [rdx + 0x79], 1
mov rax, rdx
mov rcx, qword [rsp + 0x108]
mov edx, dword [rsp + 0x98]
mov rbx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x110]
mov r8, qword [rsp + 0x120]
mov r9, qword [rsp + 0x128]
mov r10d, dword [rsp + 0x94]
mov r11d, dword [rsp + 0xa4]
mov r12d, dword [rsp + 0x9c]
mov r13d, dword [rsp + 0x88]
mov r15d, dword [rsp + 0x84]
jmp 0x2a2715063
mov dword [rsp + 0x3c], r13d
mov dword [rsp + 0x4c], ebx
mov rax, qword [rsp + 0xd8]
mov ebx, 4
mov rcx, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xc0]
mov r9d, esi
mov r10d, 0x61707865
mov rsi, rbx
call fcn.2a2715ba0
mov rcx, qword [rsp + 0xd0]
lea rdx, [rcx - 4]
mov rax, qword [rsp + 0xd8]
lea r11, [rax + 4]
mov rdi, qword [rsp + 0xe0]
lea r12, [rdi + 4]
mov r8, qword [rsp + 0xc0]
lea r13, [r8 - 4]
mov ebx, 4
mov rsi, rbx
mov r9d, dword [rsp + 0x70]
mov r10d, 0x3320646e
mov rax, r11
mov rcx, rdx
mov rdi, r12
mov r8, r13
nop
call fcn.2a2715ba0
mov rcx, qword [rsp + 0xd0]
lea rdx, [rcx - 8]
mov rax, qword [rsp + 0xd8]
lea r11, [rax + 8]
mov rdi, qword [rsp + 0xe0]
lea r12, [rdi + 8]
mov r8, qword [rsp + 0xc0]
lea r13, [r8 - 8]
mov ebx, 4
mov rsi, rbx
mov r9d, dword [rsp + 0x54]
mov r10d, 0x79622d32
mov rax, r11
mov rcx, rdx
mov rdi, r12
mov r8, r13
call fcn.2a2715ba0
mov rcx, qword [rsp + 0xd0]
lea rdx, [rcx - 0xc]
mov rax, qword [rsp + 0xd8]
lea r11, [rax + 0xc]
mov rdi, qword [rsp + 0xe0]
lea r12, [rdi + 0xc]
mov r8, qword [rsp + 0xc0]
lea r13, [r8 - 0xc]
mov ebx, 4
mov rsi, rbx
mov r9d, dword [rsp + 0x50]
mov r10d, 0x6b206574
mov rax, r11
mov rcx, rdx
mov rdi, r12
mov r8, r13
call fcn.2a2715ba0
mov rcx, qword [rsp + 0xd0]
lea rdx, [rcx - 0x10]
mov rax, qword [rsp + 0xd8]
lea r11, [rax + 0x10]
mov rdi, qword [rsp + 0xe0]
lea r12, [rdi + 0x10]
mov r8, qword [rsp + 0xc0]
lea r13, [r8 - 0x10]
mov ebx, 4
mov rsi, rbx
mov r9d, dword [rsp + 0x4c]
mov r10d, dword [rsp + 0x98]
mov rax, r11
mov rcx, rdx
mov rdi, r12
mov r8, r13
nop
call fcn.2a2715ba0
mov rcx, qword [rsp + 0xd0]
lea rdx, [rcx - 0x14]
mov rax, qword [rsp + 0xd8]
lea r11, [rax + 0x14]
mov rdi, qword [rsp + 0xe0]
lea r12, [rdi + 0x14]
mov r8, qword [rsp + 0xc0]
lea r13, [r8 - 0x14]
mov ebx, 4
mov rsi, rbx
mov r9d, dword [rsp + 0x48]
mov r10d, dword [rsp + 0x94]
mov rax, r11
mov rcx, rdx
mov rdi, r12
mov r8, r13
call fcn.2a2715ba0
mov rcx, qword [rsp + 0xd0]
lea rdx, [rcx - 0x18]
mov rax, qword [rsp + 0xd8]
lea r11, [rax + 0x18]
mov rdi, qword [rsp + 0xe0]
lea r12, [rdi + 0x18]
mov r8, qword [rsp + 0xc0]
lea r13, [r8 - 0x18]
mov ebx, 4
mov rsi, rbx
mov r9d, dword [rsp + 0x44]
mov r10d, dword [rsp + 0x90]
mov rax, r11
mov rcx, rdx
mov rdi, r12
mov r8, r13
call fcn.2a2715ba0
mov rcx, qword [rsp + 0xd0]
lea rdx, [rcx - 0x1c]
mov rax, qword [rsp + 0xd8]
lea r11, [rax + 0x1c]
mov rdi, qword [rsp + 0xe0]
lea r12, [rdi + 0x1c]
mov r8, qword [rsp + 0xc0]
lea r13, [r8 - 0x1c]
mov ebx, 4
mov rsi, rbx
mov r9d, dword [rsp + 0x40]
mov r10d, dword [rsp + 0x8c]
mov rax, r11
mov rcx, rdx
mov rdi, r12
mov r8, r13
call fcn.2a2715ba0
mov rcx, qword [rsp + 0xd0]
lea rdx, [rcx - 0x20]
mov rax, qword [rsp + 0xd8]
lea r11, [rax + 0x20]
mov rdi, qword [rsp + 0xe0]
lea r12, [rdi + 0x20]
mov r8, qword [rsp + 0xc0]
lea r13, [r8 - 0x20]
mov ebx, 4
mov rsi, rbx
mov r9d, dword [rsp + 0x3c]
mov r10d, dword [rsp + 0x88]
mov rax, r11
mov rcx, rdx
mov rdi, r12
mov r8, r13
call fcn.2a2715ba0
mov rcx, qword [rsp + 0xd0]
lea rdx, [rcx - 0x24]
mov rax, qword [rsp + 0xd8]
lea r11, [rax + 0x24]
mov rdi, qword [rsp + 0xe0]
lea r12, [rdi + 0x24]
mov r8, qword [rsp + 0xc0]
lea r13, [r8 - 0x24]
mov ebx, 4
mov rsi, rbx
mov r9d, dword [rsp + 0x38]
mov r10d, dword [rsp + 0x84]
mov rax, r11
mov rcx, rdx
mov rdi, r12
mov r8, r13
call fcn.2a2715ba0
mov rcx, qword [rsp + 0xd0]
lea rdx, [rcx - 0x28]
mov rax, qword [rsp + 0xd8]
lea r11, [rax + 0x28]
mov rdi, qword [rsp + 0xe0]
lea r12, [rdi + 0x28]
mov r8, qword [rsp + 0xc0]
lea r13, [r8 - 0x28]
mov ebx, 4
mov rsi, rbx
mov r9d, dword [rsp + 0x6c]
mov r10d, dword [rsp + 0xac]
mov rax, r11
mov rcx, rdx
mov rdi, r12
mov r8, r13
call fcn.2a2715ba0
mov rcx, qword [rsp + 0xd0]
lea rdx, [rcx - 0x2c]
mov rax, qword [rsp + 0xd8]
lea r11, [rax + 0x2c]
mov rdi, qword [rsp + 0xe0]
lea r12, [rdi + 0x2c]
mov r8, qword [rsp + 0xc0]
lea r13, [r8 - 0x2c]
mov ebx, 4
mov rsi, rbx
mov r9d, dword [rsp + 0x68]
mov r10d, dword [rsp + 0xa8]
mov rax, r11
mov rcx, rdx
mov rdi, r12
mov r8, r13
call fcn.2a2715ba0
mov rcx, qword [rsp + 0xd0]
lea rdx, [rcx - 0x30]
mov rax, qword [rsp + 0xd8]
lea r11, [rax + 0x30]
mov rdi, qword [rsp + 0xe0]
lea r12, [rdi + 0x30]
mov r8, qword [rsp + 0xc0]
lea r13, [r8 - 0x30]
mov r15, qword [rsp + 0xf8]
mov r10d, dword [r15 + 0x20]
mov ebx, 4
mov rsi, rbx
mov r9d, dword [rsp + 0x64]
mov rax, r11
mov rcx, rdx
mov rdi, r12
mov r8, r13
call fcn.2a2715ba0
mov rcx, qword [rsp + 0xd0]
lea rdx, [rcx - 0x34]
mov rax, qword [rsp + 0xd8]
lea r11, [rax + 0x34]
mov rdi, qword [rsp + 0xe0]
lea r12, [rdi + 0x34]
mov r8, qword [rsp + 0xc0]
lea r13, [r8 - 0x34]
mov ebx, 4
mov rsi, rbx
mov r9d, dword [rsp + 0x60]
mov r10d, dword [rsp + 0xa4]
mov rax, r11
mov rcx, rdx
mov rdi, r12
mov r8, r13
call fcn.2a2715ba0
mov rcx, qword [rsp + 0xd0]
lea rdx, [rcx - 0x38]
mov rax, qword [rsp + 0xd8]
lea r11, [rax + 0x38]
mov rdi, qword [rsp + 0xe0]
lea r12, [rdi + 0x38]
mov r8, qword [rsp + 0xc0]
lea r13, [r8 - 0x38]
mov ebx, 4
mov rsi, rbx
mov r9d, dword [rsp + 0x5c]
mov r10d, dword [rsp + 0xa0]
mov rax, r11
mov rcx, rdx
mov rdi, r12
mov r8, r13
call fcn.2a2715ba0
mov rcx, qword [rsp + 0xd0]
lea rdx, [rcx - 0x3c]
mov rax, qword [rsp + 0xd8]
lea r11, [rax + 0x3c]
mov rdi, qword [rsp + 0xe0]
lea r12, [rdi + 0x3c]
mov r8, qword [rsp + 0xc0]
lea r13, [r8 - 0x3c]
mov ebx, 4
mov rsi, rbx
mov r9d, dword [rsp + 0x58]
mov r10d, dword [rsp + 0x9c]
mov rax, r11
mov rcx, rdx
mov rdi, r12
mov r8, r13
call fcn.2a2715ba0
mov rax, qword [rsp + 0xf8]
inc dword [rax + 0x20]
mov r9, qword [rsp + 0xc0]
add r9, 0xffffffffffffffc0
mov rdx, r9
neg rdx
sar rdx, 0x3f
and edx, 0x40
mov rdi, qword [rsp + 0xd0]
add rdi, 0xffffffffffffffc0
mov r11, rdi
neg r11
sar r11, 0x3f
and r11d, 0x40
mov r8, qword [rsp + 0xb8]
add r8, 0xffffffffffffffc0
mov r12, qword [rsp + 0xe0]
lea rsi, [r12 + rdx]
mov rdx, qword [rsp + 0xd8]
lea rbx, [rdx + r11]
mov rcx, qword [rsp + 0xc8]
add rcx, 0xffffffffffffffc0
mov edx, dword [rsp + 0x88]
mov r11d, dword [rsp + 0x98]
mov edx, r11d
mov r10d, dword [rsp + 0x94]
mov r11d, dword [rsp + 0xa4]
mov r12d, dword [rsp + 0x9c]
mov r13d, dword [rsp + 0x88]
mov r15d, dword [rsp + 0x84]
cmp r8, 0x40
jl 0x2a27151d6
cmp rcx, 0x40
jl 0x2a27151d6
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xc0], r9
mov qword [rsp + 0xb8], r8
mov edi, dword [rax + 0x20]
mov ebx, edx
mov ecx, r13d
mov eax, 0x61707865
call fcn.2a27142e0
mov dword [rsp + 0x7c], ebx
mov dword [rsp + 0x78], ecx
mov dword [rsp + 0x80], edi
mov rdx, qword [rsp + 0xf8]
mov esi, dword [rdx + 0x80]
mov r8d, dword [rdx + 0x94]
mov r9d, dword [rdx + 0xa8]
mov ebx, esi
mov ecx, r8d
mov edi, r9d
call fcn.2a27142e0
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x6c], ecx
mov dword [rsp + 0x58], edi
mov rdx, qword [rsp + 0xf8]
mov esi, dword [rdx + 0x7c]
mov r8d, dword [rdx + 0x90]
mov r9d, dword [rdx + 0xa4]
mov eax, esi
mov ebx, r8d
mov ecx, r9d
mov edi, dword [rsp + 0x80]
call fcn.2a27142e0
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x64], edi
mov rdx, qword [rsp + 0xf8]
mov esi, dword [rdx + 0x8c]
mov r8d, dword [rdx + 0xa0]
mov r9d, dword [rdx + 0x88]
mov eax, esi
mov ebx, r8d
mov ecx, dword [rsp + 0x78]
mov edi, r9d
call fcn.2a27142e0
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x60], edi
mov rdx, qword [rsp + 0xf8]
mov esi, dword [rdx + 0x9c]
mov r8d, dword [rdx + 0x84]
mov r9d, dword [rdx + 0x98]
mov eax, esi
mov ebx, dword [rsp + 0x7c]
mov ecx, r8d
mov edi, r9d
call fcn.2a27142e0
xor edx, edx
mov esi, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x54]
mov r10d, dword [rsp + 0x48]
mov r11d, dword [rsp + 0x44]
mov r12d, dword [rsp + 0x40]
mov r13d, dword [rsp + 0x3c]
mov r15d, dword [rsp + 0x6c]
jmp 0x2a2715326
add rsp, 0xe8
pop rbp
ret
mov qword [rsp + 0xb0], rdx
mov eax, esi
mov ecx, r13d
mov edi, dword [rsp + 0x64]
call fcn.2a27142e0
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x64], edi
mov eax, dword [rsp + 0x70]
mov ebx, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x38]
mov edi, dword [rsp + 0x60]
call fcn.2a27142e0
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x60], edi
mov eax, dword [rsp + 0x54]
mov ebx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
mov edi, dword [rsp + 0x5c]
call fcn.2a27142e0
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x6c], ecx
mov dword [rsp + 0x5c], edi
mov eax, dword [rsp + 0x50]
mov ebx, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x68]
mov edi, dword [rsp + 0x58]
nop
call fcn.2a27142e0
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x68], ecx
mov eax, dword [rsp + 0x74]
mov ebx, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x6c]
nop dword [rax]
call fcn.2a27142e0
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x6c], ecx
mov dword [rsp + 0x58], edi
mov eax, dword [rsp + 0x70]
mov ebx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x68]
mov edi, dword [rsp + 0x64]
call fcn.2a27142e0
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x64], edi
mov eax, dword [rsp + 0x54]
mov ebx, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
mov edi, dword [rsp + 0x60]
call fcn.2a27142e0
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x60], edi
mov eax, dword [rsp + 0x50]
mov ebx, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x38]
mov edi, dword [rsp + 0x5c]
call fcn.2a27142e0
mov rdx, qword [rsp + 0xb0]
inc rdx
mov esi, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x54]
mov r10d, dword [rsp + 0x48]
mov r11d, dword [rsp + 0x44]
mov r12d, dword [rsp + 0x40]
mov r13d, dword [rsp + 0x3c]
mov r15d, dword [rsp + 0x6c]
mov dword [rsp + 0x5c], edi
mov dword [rsp + 0x6c], r15d
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x44], r11d
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], r9d
mov dword [rsp + 0x70], r8d
cmp rdx, 9
jl 0x2a27151df
jmp 0x2a2714a70
lea rax, [0x2a27ecc80]
lea rbx, [0x2a28886e0]
call fcn.2a25be7c0
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.2a25eee80
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]
nop
jmp fcn.2a2714840