Function at 0x10004d26
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x10034d6e
call fcn.100342f3
mov ebx, edx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, esi
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x18], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 0x14], 0xf
mov dword [ebp - 4], ecx
mov dword [esi + 0x10], ecx
mov dword [ebp - 0x18], 1
mov byte [esi], cl
mov dword [ebp - 0x20], 0x3e8
mov dword [ebp - 0x24], 0x2710
mov dword [ebp - 0x1c], 0x989680
mov dword [ebp - 0x14], 0x3b9aca00
push 0xa
pop edi
test ebx, ebx
je 0x10004e5e
mov eax, dword [ebx + 0x44]
xor edx, edx
div edi
push 0x64
mov ecx, edx
mov byte [ebp - 0x44], 0
xor edx, edx
pop edi
div edi
mov eax, dword [ebx + 0x44]
mov ebx, 0x3e8
mov edi, edx
xor edx, edx
div ebx
xor edx, edx
mov ebx, 0x2710
div ebx
mov eax, dword [ebp - 0x10]
mov ebx, edx
xor edx, edx
push ecx
push edi
mov eax, dword [eax + 0x44]
xor ecx, ecx
div dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
div dword [ebp - 0x14]
push ebx
push dword [ebp - 0x10]
dec eax
cmp eax, 2
jbe 0x10004e03
movaps xmm0, xmmword [0x1003e330]
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x48], 0x6b677b31
movaps xmm0, xmmword [0x1003eb40]
movups xmmword [ebp - 0x58], xmm0
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x23
jb 0x10004df4
jmp 0x10004e2d
movaps xmm0, xmmword [0x1003e220]
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x48], 0x606c703a
movaps xmm0, xmmword [0x1003ea40]
movups xmmword [ebp - 0x58], xmm0
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x23
jb 0x10004e20
sub esp, 0x18
mov byte [ebp - 0x44], 0
lea eax, [ebp - 0x67]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0x40]
push eax
call fcn.1000485c
add esp, 0x2c
mov ecx, esi
push eax
call fcn.10005397
lea ecx, [ebp - 0x40]
call fcn.10002410
push 0xa
pop edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x10004f3f
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x10004f3f
xor edx, edx
mov byte [ebp - 0x44], 0
mov eax, ecx
div edi
push 0x64
mov edi, edx
xor edx, edx
pop ebx
div ebx
mov eax, ecx
mov ebx, edx
xor edx, edx
div dword [ebp - 0x20]
xor edx, edx
div dword [ebp - 0x24]
mov eax, ecx
mov ecx, 0x989680
mov dword [ebp + 8], edx
xor edx, edx
div ecx
xor edx, edx
mov ecx, eax
mov eax, dword [ebp + 0xc]
div dword [ebp - 0x14]
push edi
push ebx
push dword [ebp + 8]
dec eax
push ecx
xor ecx, ecx
cmp eax, 2
jbe 0x10004ee7
movaps xmm0, xmmword [0x1003e400]
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x48], 0x717d612b
movaps xmm0, xmmword [0x1003e880]
movups xmmword [ebp - 0x58], xmm0
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x23
jb 0x10004ed8
jmp 0x10004f11
movaps xmm0, xmmword [0x1003e680]
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x48], 0x9051953
movaps xmm0, xmmword [0x1003e090]
movups xmmword [ebp - 0x58], xmm0
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x23
jb 0x10004f04
sub esp, 0x18
mov byte [ebp - 0x44], 0
lea eax, [ebp - 0x67]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0x40]
push eax
call fcn.1000485c
add esp, 0x2c
mov ecx, esi
push eax
call fcn.10005397
lea ecx, [ebp - 0x40]
call fcn.10002410
mov eax, esi
call fcn.100342d0
ret