Function at 0x1003e300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x258
mov eax, dword [0x100c400c]
xor eax, esp
mov dword [esp + 0x254], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
push 0x5c
mov dword [esp + 0xc], eax
mov edi, edx
lea eax, [esp + 0x80]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x40
lea eax, [esp + 0x48]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [esp + 0x78], 0
lea ecx, [esp + 0x38]
push dword [esi + 8]
push dword [esi + 4]
call fcn.10043740
push 0x5c
lea eax, [esp + 0x1c0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x38]
lea ecx, [esp + 0x178]
push eax
call fcn.1003da20
push dword [edi + 8]
push dword [edi + 4]
call fcn.100437e0
mov esi, dword [esp + 8]
mov eax, dword [esi + 8]
mov dword [esp + 0x18], eax
lea ecx, [eax - 1]
mov eax, 0xcccccccd
mul ecx
mov eax, edx
shr eax, 4
add eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
je 0x1003e5cb
mov eax, 1
mov dword [esp + 0x10], 0
lea esi, [esp + 0x230]
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
nop word [eax + eax]
push 0x5c
lea eax, [esp + 0x120]
mov dword [esp + 0x244], 0
xorps xmm0, xmm0
push 0
push eax
movaps xmmword [esp + 0x2c], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x178]
lea ecx, [esp + 0xd8]
push eax
call fcn.1003da20
mov ecx, dword [esp + 0xc]
mov edi, 0x3e8
mov esi, dword [esp + 0x94]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x21c], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x21d], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x21e], al
mov eax, 4
mov byte [esp + 0x21f], cl
nop dword [eax + eax]
push eax
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0xe0]
call fcn.100437e0
push 0x14
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0xe0]
call fcn.100438c0
movups xmm0, xmmword [esp + 0x21c]
mov eax, 0x10
movaps xmm1, xmmword [esp + 0x20]
pxor xmm1, xmm0
movaps xmmword [esp + 0x230], xmm1
nop dword [eax]
mov cl, byte [esp + eax + 0x21c]
xor byte [esp + eax + 0x230], cl
inc eax
cmp eax, 0x14
jb 0x1003e4b0
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x118], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x11c], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x120], ecx
mov dword [esp + 0x134], esi
movups xmm0, xmmword [esp + 0x38]
movups xmmword [esp + 0xd8], xmm0
movups xmm0, xmmword [esp + 0x48]
movups xmmword [esp + 0xe8], xmm0
movups xmm0, xmmword [esp + 0x58]
movups xmmword [esp + 0xf8], xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmmword [esp + 0x108], xmm0
movups xmm0, xmmword [esp + 0x84]
movups xmmword [esp + 0x124], xmm0
movups xmm0, xmmword [esp + 0x98]
movups xmmword [esp + 0x138], xmm0
movups xmm0, xmmword [esp + 0xa8]
movups xmmword [esp + 0x148], xmm0
movups xmm0, xmmword [esp + 0xb8]
movups xmmword [esp + 0x158], xmm0
movups xmm0, xmmword [esp + 0xc8]
movups xmmword [esp + 0x168], xmm0
sub edi, 1
je 0x1003e58a
movaps xmm0, xmmword [esp + 0x230]
movaps xmmword [esp + 0x20], xmm0
jmp 0x1003e460
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x14]
cmp ecx, dword [esp + 0x18]
jae 0x1003e5ab
mov al, byte [esi + ecx]
inc edx
mov byte [ecx + edi], al
inc ecx
cmp edx, 0x14
jb 0x1003e598
mov eax, dword [esp + 0xc]
sub esi, 0x14
add dword [esp + 0x10], 0x14
inc eax
mov dword [esp + 0xc], eax
dec eax
mov dword [esp + 8], esi
cmp eax, dword [esp + 0x1c]
jb 0x1003e3e0
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
xor ecx, esp
call fcn.10069076
mov esp, ebp
pop ebp
ret