Function at 0x4e5ad5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x7c], edx
push esi
mov esi, ecx
mov dword [ebp - 0x8c], esi
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
jne 0x4e5b0e
push 0x72
push str.d:_buildserver_bna_2work_git_bootstrapper_repositorycontribcontrib_bnl_tact_sourcegameencoding_salsa20.cpp
push str.size___0
call fcn.0055c77a
add esp, 0xc
xor edx, edx
mov eax, dword [esi]
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x64], ecx
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x68], ecx
mov ecx, dword [esi + 0x30]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x70], ecx
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x74], ecx
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x30], eax
cmp ebx, 0x40
jae 0x4e5b92
push ebx
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.00552b30
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x7c], edi
lea edi, [ebp - 0xcc]
mov dword [ebp + 8], edi
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x54]
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xa
add eax, ecx
rol eax, 7
xor edi, eax
mov dword [ebp - 0x40], edi
lea eax, [edi + ecx]
rol eax, 9
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, edi
mov edi, dword [ebp - 0x28]
rol eax, 0xd
xor edi, eax
mov eax, dword [ebp - 0x1c]
add eax, edi
mov dword [ebp - 0x28], edi
rol eax, 0x12
xor ecx, eax
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, esi
rol eax, 7
xor edi, eax
mov eax, dword [ebp - 4]
add eax, edi
mov dword [ebp - 0x20], edi
rol eax, 9
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, edi
mov edi, dword [ebp - 0x24]
rol eax, 0xd
xor esi, eax
mov eax, dword [ebp - 0xc]
add eax, esi
rol eax, 0x12
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
add eax, edi
rol eax, 7
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, edi
rol eax, 9
xor ebx, eax
mov eax, dword [ebp - 0x14]
add eax, ebx
rol eax, 0xd
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, ebx
rol eax, 0x12
xor edi, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x18]
add eax, edi
rol eax, 7
xor edx, eax
lea eax, [edi + edx]
mov edi, dword [ebp - 0x2c]
rol eax, 9
xor edi, eax
mov dword [ebp - 0x2c], edi
lea eax, [edi + edx]
rol eax, 0xd
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, edi
rol eax, 0x12
xor dword [ebp - 0x18], eax
lea eax, [edx + ecx]
rol eax, 7
xor esi, eax
mov dword [ebp - 0x3c], esi
lea eax, [esi + ecx]
rol eax, 9
xor ebx, eax
lea eax, [ebx + esi]
rol eax, 0xd
xor edx, eax
lea eax, [edx + ebx]
rol eax, 0x12
xor ecx, eax
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
add eax, edi
mov esi, dword [ebp - 0x10]
rol eax, 7
xor esi, eax
mov eax, dword [ebp - 4]
add eax, esi
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x2c]
rol eax, 9
xor esi, eax
mov eax, dword [ebp - 0x10]
add eax, esi
mov dword [ebp - 0x2c], esi
rol eax, 0xd
xor edi, eax
mov dword [ebp - 0x40], edi
lea eax, [esi + edi]
mov esi, dword [ebp - 0x1c]
rol eax, 0x12
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
rol eax, 7
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x24]
rol eax, 9
xor esi, eax
mov eax, dword [ebp - 8]
add eax, esi
mov dword [ebp - 0x1c], esi
rol eax, 0xd
xor dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, esi
mov esi, dword [ebp - 0x28]
rol eax, 0x12
xor dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
rol eax, 7
xor esi, eax
mov eax, dword [ebp - 0x18]
add eax, esi
mov dword [ebp - 0x28], esi
rol eax, 9
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, esi
mov esi, dword [ebp - 0x14]
rol eax, 0xd
xor esi, eax
mov eax, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x3c]
rol eax, 0x12
xor dword [ebp - 0x18], eax
sub dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x28]
jne 0x4e5bed
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x1c]
add ecx, esi
mov dword [ebp - 0x84], ebx
xor dword [edi + 0x20], ecx
lea eax, [eax + 1]
add esi, 1
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x88], edx
cmovne eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x44]
xor dword [edi], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x48]
xor dword [edi + 4], eax
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x4c]
xor dword [edi + 8], eax
mov eax, edx
add eax, dword [ebp - 0x50]
xor dword [edi + 0xc], eax
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x54]
xor dword [edi + 0x10], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x58]
xor dword [edi + 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x5c]
xor dword [edi + 0x18], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x60]
xor dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x20]
xor dword [edi + 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x64]
xor dword [edi + 0x28], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x68]
xor dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x6c]
xor dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x70]
xor dword [edi + 0x34], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x74]
xor dword [edi + 0x38], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x78]
xor dword [edi + 0x3c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x34], esi
cmp ebx, 0x40
jbe 0x4e5e56
mov eax, dword [ebp - 0x38]
sub ebx, 0x40
add edi, 0x40
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], edi
jmp 0x4e5b6a
mov esi, dword [ebp - 0x8c]
jae 0x4e5e69
push ebx
push edi
push edx
call fcn.00552b30
add esp, 0xc
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x38]
pop edi
mov dword [esi + 0x24], eax
pop esi
pop ebx
leave
ret 8