Function at 0x10038878
Capabilities:
Encode data using xor

Disassembly:
push 0x100
mov eax, 0x100492ae
call fcn.10044ac9
mov esi, ecx
cmp dword [ebp + 8], 0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x48], edi
jbe 0x10038c77
test edi, edi
je 0x10038c77
call fcn.10039003
test al, al
jne 0x10038951
movaps xmm0, xmmword [str.DNY]
xor ebx, ebx
movups xmmword [ebp - 0x3c], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0xe
jb 0x100388bd
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2d], bl
push eax
lea ecx, [ebp - 0x64]
call fcn.100012e0
movaps xmm0, xmmword [0x10050d20]
mov ecx, ebx
movups xmmword [ebp - 0xf4], xmm0
mov dword [ebp - 4], ebx
movaps xmm0, xmmword [0x10050bf0]
movups xmmword [ebp - 0xe4], xmm0
mov byte [ebp - 0xd4], bl
mov al, byte [ebp - 0xf4]
xor byte [ebp + ecx - 0xf3], al
inc ecx
cmp ecx, 0x1f
jb 0x10038900
lea eax, [ebp - 0xf3]
mov byte [ebp - 0xd4], bl
push eax
lea ecx, [ebp - 0x7c]
call fcn.100012e0
push ebx
push ebx
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.1001685b
add esp, 0x10
lea ecx, [ebp - 0x7c]
push ebx
push 1
call fcn.10001cd4
lea ecx, [ebp - 0x64]
jmp 0x10038c6f
mov ebx, dword [ebp + 0x14]
mov ecx, esi
push ebx
call fcn.10038c7f
test al, al
je 0x10038af6
cmp ebx, 1
jne 0x10038a3c
movaps xmm0, xmmword [str.:jUM_H]
xor ebx, ebx
movups xmmword [ebp - 0x3c], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0xe
jb 0x1003897c
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2d], bl
push eax
lea ecx, [ebp - 0x7c]
call fcn.100012e0
movaps xmm0, xmmword [0x10050d50]
mov ecx, ebx
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 4], 2
movaps xmm0, xmmword [0x10050d40]
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0x80], 0x4a451f
movaps xmm0, xmmword [0x10050c10]
movups xmmword [ebp - 0xb0], xmm0
movaps xmm0, xmmword [0x10050c20]
movups xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [0x10050c60]
movups xmmword [ebp - 0x90], xmm0
mov al, byte [ebp - 0xd0]
xor byte [ebp + ecx - 0xcf], al
inc ecx
cmp ecx, 0x52
jb 0x100389ee
lea eax, [ebp - 0xcf]
mov byte [ebp - 0x7d], bl
push eax
lea ecx, [ebp - 0x64]
call fcn.100012e0
mov byte [ebp - 4], 3
push ebx
push ebx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.1001685b
add esp, 0x10
lea ecx, [ebp - 0x64]
push ebx
push 1
call fcn.10001cd4
lea ecx, [ebp - 0x7c]
jmp 0x10038c6f
cmp ebx, 2
jne 0x10038c77
movaps xmm0, xmmword [0x10050b90]
xor ebx, ebx
movups xmmword [ebp - 0x3c], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0xe
jb 0x10038a54
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2d], bl
push eax
lea ecx, [ebp - 0x7c]
call fcn.100012e0
movaps xmm0, xmmword [0x10050d80]
mov ecx, ebx
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 4], 4
movaps xmm0, xmmword [str._W5]
movups xmmword [ebp - 0xc0], xmm0
mov word [ebp - 0x80], 0x5659
movaps xmm0, xmmword [0x10050d70]
movups xmmword [ebp - 0xb0], xmm0
mov byte [ebp - 0x7e], bl
movaps xmm0, xmmword [0x10050bd0]
movups xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [0x10050bc0]
movups xmmword [ebp - 0x90], xmm0
mov al, byte [ebp - 0xd0]
xor byte [ebp + ecx - 0xcf], al
inc ecx
cmp ecx, 0x51
jb 0x10038ac8
lea eax, [ebp - 0xcf]
mov byte [ebp - 0x7e], bl
push eax
lea ecx, [ebp - 0x64]
call fcn.100012e0
mov byte [ebp - 4], 5
jmp 0x10038a17
xor ebx, ebx
mov cl, bl
mov byte [ebp - 0x29], cl
movzx eax, cl
imul eax, eax, 0x18
cmp dword [eax + esi + 0x100], ebx
ja 0x10038b15
cmp dword [eax + esi + 0x104], ebx
jbe 0x10038b24
inc cl
mov byte [ebp - 0x29], cl
cmp cl, 6
jb 0x10038afd
jmp 0x10038c77
push edi
call fcn.100062d1
mov dword [ebp - 0x40], eax
pop ecx
test eax, eax
je 0x10038c77
mov dword [ebp - 0x14], 0xf
movzx eax, byte [eax + 4]
push edi
push eax
mov dword [ebp - 4], 6
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.10006302
mov dword [ebp - 0x44], eax
pop ecx
pop ecx
test eax, eax
je 0x10038b80
cmp dword [eax + 0x48], ebx
je 0x10038b80
push edi
push eax
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.100073aa
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.10006163
lea ecx, [ebp - 0x64]
jmp 0x10038ba3
push edi
push ebx
push dword [ebp - 0x40]
lea eax, [ebp - 0x10c]
push eax
call fcn.100073aa
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.10006163
lea ecx, [ebp - 0x10c]
push ebx
push 1
call fcn.10001cd4
movzx eax, byte [ebp - 0x29]
imul edi, eax, 0x18
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + esi + 0xfc]
test eax, eax
je 0x10038c3f
lea ecx, [ebp - 0x28]
add eax, 4
push ecx
push eax
call fcn.1000aa9f
mov eax, dword [edi + esi + 0xfc]
mov edx, dword [ebp - 0x44]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x50], ecx
mov eax, dword [edi + esi + 0xfc]
mov dword [eax + 0x54], edx
mov eax, dword [edi + esi + 0xfc]
mov dword [eax + 0x58], 1
test edx, edx
je 0x10038c07
movsx edx, word [edx + 0x56]
movsx eax, word [ecx + 0x66]
add edx, eax
jmp 0x10038c0b
movsx edx, word [ecx + 0x66]
mov eax, dword [edi + esi + 0xfc]
mov dword [eax + 0x5c], edx
mov eax, dword [edi + esi + 0xfc]
cmp dword [eax], 0
je 0x10038c3f
lea ecx, [ebp - 0x28]
push ecx
push dword [eax]
call fcn.1000ed98
mov eax, dword [edi + esi + 0xfc]
push 1
push dword [eax]
call fcn.1000e8b6
add esp, 0x10
mov eax, dword [ebp + 8]
mov dword [edi + esi + 0x100], eax
mov eax, dword [ebp - 0x48]
mov dword [edi + esi + 0x104], eax
mov eax, dword [ebp - 0x4c]
add eax, 0xb
imul ecx, eax, 0x18
mov eax, dword [ebp + 0x10]
mov dword [ecx + esi], eax
lea ecx, [ebp - 0x28]
mov eax, dword [ebp + 0x14]
mov dword [edi + esi + 0x10c], eax
push ebx
push 1
call fcn.10001cd4
call fcn.10044a84
ret 0x10