Function at 0x4130d5
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x98
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
test ecx, ecx
je 0x413112
mov esi, dword [ecx]
mov dword [esp + 0x10], esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x14], esi
mov esi, dword [ecx + 8]
mov dword [esp + 0x18], esi
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x1c], ecx
jmp 0x413132
mov dword [esp + 0x1c], 0x6b206574
mov dword [esp + 0x10], 0x61707865
mov dword [esp + 0x18], 0x79622d32
mov dword [esp + 0x14], 0x3320646e
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov ebp, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
mov eax, dword [edx]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x50], eax
mov edi, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov eax, dword [esp + 0xb4]
test eax, eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebp
mov eax, ebp
mov dword [esp + 0x74], ebx
mov dword [esp], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], ecx
mov dword [esp + 0x64], edx
mov ecx, edx
mov edx, ebx
mov dword [esp + 0x60], edi
mov ebp, edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
jle 0x41344d
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov ebx, dword [esp + 0x24]
lea ecx, [ebx + esi]
rol ecx, 7
xor ecx, edi
mov dword [esp + 0x84], ecx
lea edi, [ecx + ebx]
rol edi, 9
xor edi, ebp
mov ebp, edi
mov dword [esp + 0x90], edi
add edi, ecx
rol edi, 0xd
xor edi, esi
mov dword [esp + 0x94], edi
lea ecx, [edi + ebp]
rol ecx, 0x12
mov dword [esp + 0x58], ecx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
lea ecx, [edi + esi]
rol ecx, 7
xor ecx, dword [esp + 0xc]
lea ebp, [ecx + esi]
mov dword [esp + 0x88], ecx
rol ebp, 9
xor ebp, eax
mov dword [esp + 0x8c], ebp
lea esi, [ebp + ecx]
rol esi, 0xd
xor esi, edi
lea eax, [esi + ebp]
rol eax, 0x12
mov ecx, eax
xor dword [esp + 0x58], ebx
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x2c]
lea edi, [eax + ebx]
rol edi, 7
xor edi, dword [esp]
mov dword [esp], edi
add ebx, edi
rol ebx, 9
xor ebx, dword [esp + 0x28]
add edi, ebx
rol edi, 0xd
xor edi, eax
lea eax, [edi + ebx]
rol eax, 0x12
mov dword [esp + 0xc], eax
xor ecx, dword [esp + 4]
mov dword [esp + 0x80], ecx
mov ebp, dword [esp + 0x38]
lea eax, [ebp + edx]
rol eax, 7
xor eax, dword [esp + 0x30]
mov dword [esp + 0x54], edx
add edx, eax
rol edx, 9
xor edx, dword [esp + 0x34]
lea ecx, [edx + eax]
rol ecx, 0xd
xor ecx, ebp
mov dword [esp + 4], ecx
add ecx, edx
rol ecx, 0x12
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 8]
xor dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x58]
lea ebp, [ecx + eax]
rol ebp, 7
xor ebp, esi
mov dword [esp + 0x20], ebp
mov esi, ebp
add ebp, ecx
rol ebp, 9
xor ebp, ebx
lea ecx, [ebp + esi]
rol ecx, 0xd
xor ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], ebp
lea ebx, [ecx + ebp]
rol ebx, 0x12
mov eax, dword [esp + 0x54]
xor dword [esp + 0x5c], eax
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
lea ecx, [esi + ebp]
rol ecx, 7
xor ecx, edi
lea eax, [ecx + esi]
rol eax, 9
xor eax, edx
mov dword [esp + 0x2c], ecx
lea edi, [eax + ecx]
rol edi, 0xd
xor edi, ebp
mov dword [esp + 0x34], eax
lea edx, [edi + eax]
rol edx, 0x12
xor ebx, dword [esp + 0x58]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x88]
mov ecx, dword [esp + 0xc]
lea eax, [ecx + ebx]
rol eax, 7
xor eax, dword [esp + 4]
lea ebp, [eax + ecx]
rol ebp, 9
xor ebp, dword [esp + 0x90]
mov dword [esp + 0x38], eax
lea ecx, [ebp + eax]
rol ecx, 0xd
xor ecx, ebx
lea ebx, [ecx + ebp]
rol ebx, 0x12
xor edx, esi
mov dword [esp + 4], edx
mov eax, dword [esp]
mov edx, dword [esp + 0x5c]
lea esi, [edx + eax]
rol esi, 7
xor esi, dword [esp + 0x94]
lea eax, [esi + edx]
rol eax, 9
xor eax, dword [esp + 0x8c]
lea edx, [eax + esi]
rol edx, 0xd
xor edx, dword [esp]
mov dword [esp], edx
add edx, eax
rol edx, 0x12
xor ebx, dword [esp + 0xc]
mov dword [esp + 8], ebx
xor edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x78]
add ebx, 2
mov dword [esp + 0x78], ebx
cmp ebx, dword [esp + 0xb4]
jl 0x413259
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x24]
add ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x7c]
mov dword [edx], ebx
mov ebx, dword [esp + 0x20]
add ebx, dword [esp + 0x3c]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x28]
add ebx, dword [esp + 0x40]
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x30]
add ebx, dword [esp + 0x44]
mov dword [edx + 0xc], ebx
add edi, dword [esp + 0x48]
mov dword [edx + 0x10], edi
mov edi, dword [esp + 4]
add edi, dword [esp + 0x14]
mov dword [edx + 0x14], edi
mov edi, dword [esp + 0x2c]
add edi, dword [esp + 0x4c]
mov dword [edx + 0x18], edi
mov edi, dword [esp + 0x34]
add edi, dword [esp + 0x50]
mov dword [edx + 0x1c], edi
add ebp, dword [esp + 0x60]
mov dword [edx + 0x20], ebp
add ecx, dword [esp + 0x64]
mov dword [edx + 0x24], ecx
mov ecx, dword [esp + 8]
add ecx, dword [esp + 0x18]
mov dword [edx + 0x28], ecx
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x68]
mov dword [edx + 0x2c], ecx
add esi, dword [esp + 0x6c]
mov dword [edx + 0x30], esi
add eax, dword [esp + 0x70]
mov dword [edx + 0x34], eax
mov eax, dword [esp]
add eax, dword [esp + 0x74]
mov dword [edx + 0x38], eax
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x1c]
mov dword [edx + 0x3c], eax
add esp, 0x98
pop esi
pop edi
pop ebx
pop ebp
ret