Function at 0x693930
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov ecx, dword [0x93d128]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x60]
cmp eax, dword [ecx + 8]
jbe 0x693f2f
sub esp, 0xe0
mov edx, dword [esp + 0xf4]
cmp edx, 0x20
jne 0x693a9b
mov edx, dword [esp + 0x100]
cmp edx, 0x10
je 0x693981
nop
lea edi, [esp + 0x20]
lea esi, str.jX_0
call fcn.0045f806
xor eax, eax
jmp 0x693e66
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0xf0]
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov esi, dword [edx + 8]
mov edi, dword [edx + 0xc]
mov eax, dword [edx + 0x10]
mov dword [esp + 0xd4], eax
mov ecx, dword [edx + 0x14]
mov eax, dword [edx + 0x18]
mov dword [esp + 0xd0], eax
mov edx, dword [edx + 0x1c]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0xfc]
mov eax, dword [edx]
mov dword [esp + 0xc8], eax
mov eax, dword [edx + 4]
mov dword [esp + 0xc4], eax
mov eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0xbc], eax
xor eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x58], eax
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x90], edx
mov dword [esp + 0xa4], ebx
mov ebx, 0x61707865
mov dword [esp + 0x88], ebx
mov ebx, 0x3320646e
mov dword [esp + 0x7c], ebx
mov ebx, 0x79622d32
mov dword [esp + 0x98], ebx
mov ebx, 0x6b206574
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x9c], ebp
mov ebp, dword [esp + 0xc4]
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x9c]
jmp 0x693db6
call fcn.00693f40
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
nop
mov ecx, dword [esp]
mov dword [esp + 0xdc], ecx
lea edx, [0x75a420]
mov dword [esp], edx
call fcn.0040ca90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [0x93d218]
test ecx, ecx
jne 0x693adf
mov ecx, dword [esp + 0xdc]
jmp 0x693aed
call fcn.0045f0d0
mov ecx, dword [esp + 0xdc]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
lea ecx, [0x7da180]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], eax
add esp, 0xe0
ret
mov dword [esp + 0x60], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
call fcn.00692980
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x8c], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0xc], ebp
call fcn.00692980
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x5c], ebx
mov ebp, dword [esp + 0x98]
mov dword [esp], ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0xc], ebp
call fcn.00692980
mov eax, dword [esp + 0x10]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x84], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x90]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 0xc], ebp
call fcn.00692980
mov eax, dword [esp + 0x10]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x88]
mov dword [esp], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call fcn.00692980
mov eax, dword [esp + 0x48]
inc eax
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x84], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x80], ebp
mov esi, dword [esp + 0x7c]
mov dword [esp], esi
mov esi, dword [esp + 0x74]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x90]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0xc], esi
call fcn.00692980
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x8c], ebx
mov ebp, dword [esp + 0x98]
mov dword [esp], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0xc], ebp
call fcn.00692980
mov eax, dword [esp + 0x10]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x5c], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0xc], ebp
call fcn.00692980
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x64], ebp
mov eax, edx
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x48]
cmp edi, 0xa
jl 0x693b2b
mov ecx, dword [esp + 0xe8]
cmp ecx, 0x1f
jbe 0x693e4c
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0xe4]
mov dword [ebp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [ebp + 4], ebx
mov ebx, dword [esp + 0x98]
mov dword [ebp + 8], ebx
mov ebx, dword [esp + 0x68]
mov dword [ebp + 0xc], ebx
mov ebx, dword [esp + 0x8c]
mov dword [ebp + 0x10], ebx
mov ebx, dword [esp + 0x64]
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], edx
mov dword [esp + 0x108], ebp
mov dword [esp + 0x10c], ecx
mov eax, dword [esp + 0xec]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
add esp, 0xe0
ret
mov eax, 0x1f
call fcn.0045f150
movzx ebp, byte [esp + eax + 0x20]
sub ebp, ebx
xchg ebp, ebx
mov byte [esp + eax + 0x20], bl
xchg ebp, ebx
inc eax
cmp eax, 0x24
jge 0x693e7c
lea edx, [0x79054f]
movzx ebx, byte [edx + eax]
jb 0x693e56
jmp 0x693f24
mov dword [esp], 0
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x24
call fcn.0044b7a0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
nop
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xd8], ecx
lea edx, [0x75a420]
mov dword [esp], edx
call fcn.0040ca90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [0x93d218]
test ecx, ecx
jne 0x693ed8
mov ecx, dword [esp + 0xd8]
jmp 0x693ee6
call fcn.0045f0d0
mov ecx, dword [esp + 0xd8]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
lea ecx, [0x7da180]
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], eax
add esp, 0xe0
ret
mov ecx, 0x24
call fcn.0045f150
nop
call fcn.0045dcb0
jmp fcn.00693930