Function at 0x10013e4e
Capabilities:
Encode data using xor

Disassembly:
push 0x98
mov eax, 0x1003f3a6
call fcn.1003dd61
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x70], eax
and dword [ebp - 4], 0
cmp dword [0x10057860], 0
je 0x100142a1
lea eax, [ebx + 0x10]
push 0xa
mov dword [ebp - 0x44], eax
mov esi, eax
pop eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x10013e9d
xor dl, dl
call fcn.1000ceb6
mov eax, dword [ebp - 0x2c]
add esi, 4
sub eax, 1
mov dword [ebp - 0x2c], eax
jne 0x10013e8d
mov ecx, dword [ebx]
call dword [0x1004b6a0]
mov esi, dword [ebp - 0x70]
mov ax, word [edi]
cmp ax, word [esi]
jb 0x10013fe6
mov ax, word [edi + 2]
cmp ax, word [esi + 2]
jb 0x10013fe6
mov ax, word [edi + 4]
cmp ax, word [esi + 4]
jb 0x10013fe6
mov ax, word [edi + 6]
cmp ax, word [esi + 6]
jb 0x10013fe6
mov ecx, dword [ebx + 0x10]
call fcn.1000cdd4
mov ecx, dword [ebx + 8]
mov edi, edx
call fcn.1000cdd4
mov ecx, dword [ebx + 0x10]
mov esi, eax
call fcn.1000ce47
mov ecx, dword [ebx + 8]
add eax, edi
push eax
mov edx, esi
call fcn.1000ce6d
cmp dword [ebp + 0x28], 0xf
lea eax, [ebp + 0x14]
pop ecx
cmova eax, dword [ebp + 0x14]
mov cl, 0x2c
push eax
mov dword [ebp - 0x2c], 0x5f092c
xor eax, eax
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 2
jae 0x10013f39
mov cl, byte [ebp - 0x2c]
jmp 0x10013f2a
sub esp, 0x18
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10003d99
lea eax, [ebp - 0x28]
push eax
call fcn.100039e2
add esp, 0x20
mov byte [ebp - 4], 1
mov edx, eax
mov ecx, dword [ebx + 4]
call fcn.1000d720
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10003b97
movaps xmm0, xmmword [0x1004d380]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x424b574a
mov dword [ebp - 0x14], 0x64253
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x16
jb 0x10013f8c
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.10003d99
lea eax, [ebp - 0x8c]
push eax
call fcn.100039e2
add esp, 0x1c
mov byte [ebp - 4], 2
mov edx, eax
mov ecx, dword [ebx + 0x38]
call fcn.1000d720
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.10003b97
mov ecx, dword [ebx + 0x10]
mov dl, 1
call fcn.1000ceb6
jmp 0x10014297
cmp dword [ebp + 0x28], 0xf
lea eax, [ebp + 0x14]
mov cl, 0x54
mov dword [ebp - 0x2c], 0x277154
cmova eax, dword [ebp + 0x14]
push eax
xor eax, eax
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 2
jae 0x1001400c
mov cl, byte [ebp - 0x2c]
jmp 0x10013ffd
sub esp, 0x18
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10003d99
lea eax, [ebp - 0x8c]
push eax
call fcn.100039e2
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [ebx + 4]
call fcn.1000d720
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.10003b97
mov ecx, dword [ebp - 0x48]
lea eax, [ebx + 0x10]
sub esi, ecx
mov dword [ebp - 0x74], 4
sub edi, ecx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x64], edi
movzx edx, word [ecx]
test dx, dx
je 0x10014281
mov ecx, edx
call fcn.1000849c
mov dword [ebp - 0x2c], eax
mov cl, 0x3b
mov dword [ebp - 0x40], 0x50556e3b
xor eax, eax
mov dword [ebp - 0x3c], 0x554c5455
mov byte [ebp - 0x38], 0
xor byte [ebp + eax - 0x3f], cl
inc eax
cmp eax, 7
jae 0x1001409c
mov cl, byte [ebp - 0x40]
jmp 0x1001408d
lea eax, [ebp - 0x3f]
mov byte [ebp - 0x38], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.10003d99
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100140c8
add eax, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.10007448
jmp 0x100141ae
mov ecx, dword [ebp - 0x48]
xor eax, eax
inc eax
cmp word [ecx], ax
jne 0x100141ae
cmp byte [0x100578e0], 0
mov ecx, dword [0x10057860]
mov dword [ebp - 0x2c], ecx
je 0x10014132
mov ecx, 0x10b8134
call fcn.1000d857
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1001412c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001412c
mov eax, dword [ebp - 0x68]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov ecx, dword [ebp - 0x2c]
test eax, eax
jne 0x1001412f
mov eax, dword [ebp - 0x68]
mov al, byte [eax]
mov byte [ecx + 0x38], al
jmp 0x1001412f
mov ecx, dword [ebp - 0x2c]
xor eax, eax
inc eax
cmp byte [ecx + 0x38], al
jne 0x10014167
mov cl, 0x51
mov dword [ebp - 0x54], 0x713d1451
mov dword [ebp - 0x50], 0x30233e1c
xor eax, eax
mov word [ebp - 0x4c], 0x35
xor byte [ebp + eax - 0x53], cl
inc eax
cmp eax, 8
jae 0x1001415e
mov cl, byte [ebp - 0x54]
jmp 0x1001414f
mov byte [ebp - 0x4b], 0
lea edx, [ebp - 0x53]
jmp 0x10014192
mov cl, 7
mov dword [ebp - 0x34], 0x75664c07
mov word [ebp - 0x30], 0x7472
xor eax, eax
mov byte [ebp - 0x2e], 0
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 5
jae 0x1001418b
mov cl, byte [ebp - 0x34]
jmp 0x1001417c
mov byte [ebp - 0x2e], 0
lea edx, [ebp - 0x33]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x68], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001419a
sub ecx, dword [ebp - 0x68]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10003b04
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x14], 0xf
mov dword [ebp - 0x60], 0x52015772
mov dword [ebp - 0x5c], 0x575d1657
movzx edx, word [eax + esi]
movzx ecx, word [edi + eax]
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push edx
push ecx
push eax
mov cl, 0x72
mov word [ebp - 0x58], 0x16
xor eax, eax
xor byte [ebp + eax - 0x5f], cl
inc eax
cmp eax, 8
jae 0x100141ee
mov cl, byte [ebp - 0x60]
jmp 0x100141df
sub esp, 0x18
mov byte [ebp - 0x57], 0
lea eax, [ebp - 0x5f]
mov ecx, esp
push eax
call fcn.10003d99
lea eax, [ebp - 0xa4]
push eax
call fcn.100039e2
add esp, 0x28
mov esi, dword [ebp - 0x44]
mov edx, eax
mov byte [ebp - 4], 5
mov ecx, dword [esi + 0x28]
call fcn.1000d720
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.10003b97
mov ecx, dword [esi]
call fcn.1000cdd4
mov ecx, dword [ebx + 8]
mov edi, edx
call fcn.1000cdd4
mov esi, eax
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
call fcn.1000ce47
mov ecx, dword [ebx + 8]
add eax, edi
push eax
mov edx, esi
call fcn.1000ce6d
mov eax, dword [ebp - 0x44]
mov dl, 1
pop ecx
mov ecx, dword [eax]
call fcn.1000ceb6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10003b97
mov edi, dword [ebp - 0x64]
mov esi, dword [ebp - 0x70]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
add eax, 4
add ecx, 2
sub dword [ebp - 0x74], 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
jne 0x10014061
mov ecx, dword [ebx]
push 1
call dword [0x1004b6a4]
lea ecx, [ebp + 0x14]
call fcn.10003b97
call fcn.1003dd1f
ret 0x24