Function at 0x100239ee
Capabilities:
Encode data using xor

Disassembly:
push 0xb8
mov eax, 0x100779d1
call fcn.1004605f
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi]
mov dword [ebp - 0x50], eax
call fcn.100103ba
test al, al
je 0x10023d0d
cmp dword [ebp + 8], 0
je 0x10023d0d
cmp dword [0x1009e6f0], 0
je 0x10023d0d
mov eax, dword [esi]
mov eax, dword [eax + 0x310]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x10023d0d
call fcn.1000ccb0
lea ebx, [esi + 0xc]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x58], 0xc
mov ecx, dword [ebx - 4]
test ecx, ecx
je 0x10023cfd
push edx
mov edx, eax
call fcn.10010164
pop ecx
test al, al
je 0x10023cf7
cmp byte [ebx + 4], 0
je 0x10023cf7
mov eax, dword [0x1009e6f0]
mov edx, dword [ebx]
push 0x2c
cmp dword [eax + 0x44], edx
jae 0x10023b8a
lea ecx, [ebp - 0xac]
call fcn.1000d6e8
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 0x10
jb 0x10023aa7
mov eax, dword [eax]
movaps xmm0, xmmword [0x1008ed80]
mov ecx, ebx
push eax
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0xf090318
mov dword [ebp - 0x60], 0x4f4a504a
mov word [ebp - 0x5c], 0x19
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0x18
jb 0x10023ac9
sub esp, 0x18
mov byte [ebp - 0x5b], bl
lea eax, [ebp - 0x73]
mov ecx, esp
push eax
call fcn.10001f6a
lea eax, [ebp - 0x28]
push eax
call fcn.10007414
add esp, 0x20
push ebx
push 1
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.10001e1f
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
cmovae ebx, dword [ebp - 0x28]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10023b13
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10045abb
push esi
mov edi, eax
push 0
push edi
call fcn.1005ddd0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push ebx
cmovae ecx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push ecx
push esi
call fcn.1005e370
mov eax, dword [ebp - 0x50]
mov dword [edi + 4], esi
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], 0x1f
push edi
mov dword [eax], edi
call fcn.10045ab6
mov eax, dword [ebp - 0x54]
add esp, 0x20
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x144]
call fcn.10010cf9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.10001e1f
mov ebx, dword [ebp - 0x4c]
jmp 0x10023cf7
lea ecx, [ebp - 0xc4]
call fcn.1000d6e8
pop ecx
mov dword [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x10023ba5
mov eax, dword [eax]
movaps xmm0, xmmword [0x1008f1e0]
xor ebx, ebx
push eax
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x80], 0x53555f44
mov ecx, ebx
mov dword [ebp - 0x7c], 0x13160c16
mov word [ebp - 0x78], 0x45
mov al, byte [ebp - 0x90]
xor byte [ebp + ecx - 0x8f], al
inc ecx
cmp ecx, 0x18
jb 0x10023bcc
sub esp, 0x18
mov byte [ebp - 0x77], bl
lea eax, [ebp - 0x8f]
mov ecx, esp
push eax
call fcn.10001f6a
lea eax, [ebp - 0x40]
push eax
call fcn.10007414
add esp, 0x20
push ebx
push 1
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 5
call fcn.10001e1f
cmp dword [ebp - 0x2c], 0x10
lea ebx, [ebp - 0x40]
cmovae ebx, dword [ebp - 0x40]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10023c1f
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.10045abb
push esi
mov edi, eax
push 0
push edi
call fcn.1005ddd0
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
push ebx
cmovae ecx, dword [ebp - 0x40]
lea esi, [edi + 0x20]
push ecx
push esi
call fcn.1005e370
mov eax, dword [ebp - 0x50]
mov dword [edi + 4], esi
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], 0x1f
push edi
mov dword [eax], edi
call fcn.10045ab6
mov ebx, dword [ebp - 0x4c]
add esp, 0x20
mov eax, dword [ebp - 0x54]
cmp dword [ebx], 0x3b9aca00
mov edx, dword [eax + 0x140]
jl 0x10023c88
mov edx, 0xff00fff6
jmp 0x10023cdf
cmp dword [ebx], 0x5f5e100
jl 0x10023c97
mov edx, 0xffff00ea
jmp 0x10023cdf
cmp dword [ebx], 0x989680
jl 0x10023ca6
mov edx, 0xfffc9601
jmp 0x10023cdf
cmp dword [ebx], 0xf4240
jl 0x10023cb5
mov edx, 0xff00d939
jmp 0x10023cdf
cmp dword [ebx], 0x186a0
jge 0x10023cdf
cmp dword [ebx], 0x2710
jge 0x10023c81
cmp dword [ebx], 0x3e8
jge 0x10023c90
cmp dword [ebx], 0x64
jge 0x10023c9f
cmp dword [ebx], 0xa
mov eax, 0xff00d939
cmovl eax, edx
mov edx, eax
mov ecx, dword [ebp + 8]
call fcn.10010cf9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.10001e1f
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
add ebx, 0xc
sub dword [ebp - 0x58], 1
mov dword [ebp - 0x4c], ebx
jne 0x10023a56
call fcn.10046009
ret 8