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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x5b3fd0
sub esp, 0xb4
mov edx, dword [esp + 0xc8]
cmp edx, 0x20
jne 0x5b3c92
mov edx, dword [esp + 0xd4]
cmp edx, 0x10
jne 0x5b3c35
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0xc4]
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov esi, dword [edx + 8]
mov edi, dword [edx + 0xc]
mov eax, ebx
mov ebx, dword [edx + 0x10]
mov ecx, ebx
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x80], ebx
mov ebx, dword [edx + 0x18]
mov dword [esp + 0x7c], ebx
mov edx, dword [edx + 0x1c]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0xd0]
mov ebx, dword [edx]
mov dword [esp + 0x74], ebx
mov ebx, dword [edx + 4]
mov dword [esp + 0x70], ebx
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0xac], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x50], eax
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x20], edx
mov dword [esp + 0x8c], ebx
mov ebx, 0x61707865
mov dword [esp + 0x28], ebx
mov ebx, 0x3320646e
mov dword [esp + 0x30], ebx
mov ebx, 0x79622d32
mov dword [esp + 0x24], ebx
mov ebx, 0x6b206574
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x38], ebp
mov ebx, dword [esp + 0x8c]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x94]
mov ebp, dword [esp + 0x84]
jmp 0x5b3f38
lea eax, [0x73cfa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x24
lea ecx, [0x7757a5]
mov dword [eax], ecx
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
lea ecx, [0x7caa44]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
add esp, 0xb4
ret
lea eax, [0x73cfa0]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x22
lea ecx, [0x774b90]
mov dword [eax], ecx
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
lea ecx, [0x7caa44]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
add esp, 0xb4
ret
mov dword [esp + 0x34], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], ebp
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
call fcn.005b2de0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x30]
mov dword [esp], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0xc], ebp
call fcn.005b2de0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 0x24]
mov dword [esp], ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0xc], ebp
call fcn.005b2de0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0xc], ebp
call fcn.005b2de0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
call fcn.005b2de0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x30]
mov dword [esp], ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0xc], ebp
call fcn.005b2de0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 0x24]
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
call fcn.005b2de0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0xc], ebp
call fcn.005b2de0
mov eax, dword [esp + 0x40]
inc eax
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov eax, ecx
mov dword [esp + 0x50], ebx
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x38], ecx
mov ebx, edx
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x40]
cmp edi, 0xa
jl 0x5b3cef
mov ecx, dword [esp + 0xbc]
cmp ecx, 0x1f
jbe 0x5b3fc5
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0xb8]
mov dword [ebp], eax
mov eax, dword [esp + 0x30]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], edx
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xe0], ecx
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
add esp, 0xb4
ret
mov eax, 0x1f
call fcn.00456b40
nop
call fcn.00455690
jmp fcn.005b3af0