Function at 0x4a741e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x27c], eax
cmp edi, 0x18
ja 0x4a763e
push ebx
push esi
xor esi, esi
lea ebx, [ecx + 0x4b4]
cmp dword [ebx + 0x134], edi
jne 0x4a74b5
push edx
mov ecx, ebx
call fcn.004ae015
test al, al
je 0x4a74af
push 0x10
push dword [ebp - 0x26c]
lea eax, [ebx + 0x102]
push eax
call dword [sym.imp.msvcrt.dll_memcmp]
add esp, 0xc
test eax, eax
je 0x4a764f
mov edx, dword [ebp - 0x268]
inc esi
add ebx, 0x178
cmp esi, 4
jb 0x4a747b
push ecx
mov ecx, dword [ebp - 0x278]
lea edx, [ebp - 0x264]
call fcn.004aeb10
pop ecx
xor eax, eax
mov ecx, edi
inc eax
shl eax, cl
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
push ecx
push dword [ebp - 0x26c]
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.msvcrt.dll_strlen]
pop ecx
mov edx, eax
lea ecx, [ebp - 0x264]
call fcn.004a72b4
add esp, 0x18
lea eax, [ebp - 0x264]
mov ecx, 0x200
mov byte [eax], 0
inc eax
dec ecx
jne 0x4a7518
mov edx, dword [ebp - 0x270]
mov esi, dword [ebp - 0x268]
push 0x40
mov ecx, dword [edx + 0xa94]
lea ebx, [edx + 0x4b4]
mov eax, ecx
and eax, 3
imul eax, eax, 0x178
add ebx, eax
lea eax, [ecx + 1]
mov dword [edx + 0xa94], eax
pop ecx
push 0x10
push dword [ebp - 0x26c]
mov dword [ebx + 0x134], edi
lea eax, [ebx + 0x102]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.msvcrt.dll_memcpy]
push 0x20
pop edi
push edi
lea eax, [ebp - 0x44]
push eax
lea esi, [ebx + 0x112]
push esi
call dword [sym.imp.msvcrt.dll_memcpy]
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x138]
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebx + 0x158]
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
push 0
push 1
mov edx, edi
mov ecx, esi
call fcn.004ae09a
mov esi, dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0x38
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x4a75d5
push edi
lea ecx, [ebp - 0x64]
push ecx
push eax
call esi
add esp, 0xc
mov ebx, dword [ebp - 0x27c]
test ebx, ebx
je 0x4a760c
push 8
push 0
push ebx
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0xc
xor edx, edx
mov al, byte [ebp + edx - 0x24]
mov ecx, edx
and ecx, 7
xor byte [ecx + ebx], al
inc edx
cmp edx, edi
jb 0x4a75ef
mov ecx, edi
lea eax, [ebp - 0x24]
mov byte [eax], 0
inc eax
dec ecx
jne 0x4a7605
cmp dword [ebp + 0x18], 0
pop esi
pop ebx
je 0x4a7634
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x270]
lea eax, [ebp - 0x44]
push 0x100
push eax
push dword [ebp + 8]
add ecx, 0xa9c
call fcn.004ad33b
lea eax, [ebp - 0x44]
mov byte [eax], 0
inc eax
dec edi
jne 0x4a7637
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00401000
mov esp, ebp
pop ebp
ret 0x20
push 0
push 0
push 0x20
pop edi
lea esi, [ebx + 0x112]
mov edx, edi
mov ecx, esi
call fcn.004ae09a
push edi
lea eax, [ebp - 0x44]
push esi
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
push 0
push 1
mov edx, edi
mov ecx, esi
call fcn.004ae09a
mov esi, dword [sym.imp.msvcrt.dll_memcpy]
lea eax, [ebx + 0x138]
push edi
push eax
lea eax, [ebp - 0x24]
push eax
call esi
push edi
lea eax, [ebx + 0x158]
push eax
lea eax, [ebp - 0x64]
push eax
call esi
add esp, 0x34
jmp 0x4a75c0