Function at 0x1001cc90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100bf364]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov edx, dword [ebx + 0x10]
mov dword [ebp - 8], edi
test edx, edx
je 0x1001d073
mov eax, dword [0x1013e654]
add eax, 0xffffffcc
xor eax, 0xd2ca0f9e
cmp dword [eax + edx], 0
jne 0x1001d073
cmp dword [0x100bf4c8], 0
je 0x1001d073
mov eax, dword [0x1013e5f4]
mov ecx, dword [edx + eax]
test ecx, ecx
je 0x1001d073
lea eax, [ebp - 8]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov eax, dword [0x1013e658]
add eax, 0xffffffcb
xor eax, 0xd2ca0f9f
mov esi, dword [eax + edx]
mov eax, dword [0x1013e684]
add eax, 0xffffffc0
mov dword [ebp - 0x14], esi
xor eax, 0xd2ca0faa
mov esi, dword [ebp + 0xc]
movss xmm0, dword [eax + edx]
mov eax, dword [0x1013e618]
add eax, 0xffffffdb
movss dword [ebp - 0x10], xmm0
xor eax, 0xd2ca0f8f
movss xmm1, dword [eax + edx]
movss dword [ebp - 0x18], xmm1
movss xmm1, dword [eax + edx + 4]
movss dword [ebp - 0x1c], xmm1
movss xmm1, dword [eax + edx + 8]
mov eax, dword [0x1013e6c4]
add eax, 0xffffffb0
movss dword [ebp - 0x20], xmm1
xor eax, 0xd2ca0fba
movss xmm1, dword [eax + edx]
movss dword [ebp - 0x24], xmm1
movss xmm1, dword [eax + edx + 4]
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [eax + edx + 8]
movss dword [ebp - 0x2c], xmm1
movss xmm1, dword [ecx + 0x98]
movss dword [ebp - 0x30], xmm1
movss xmm1, dword [ecx + 0x9c]
movss dword [ebp - 0x34], xmm1
test esi, esi
je 0x1001cdd7
mov eax, dword [esi + 0x1c78]
mov dword [ecx + 0x98], eax
mov eax, dword [esi + 0x1c7c]
mov dword [ecx + 0x9c], eax
mov eax, dword [esi + 0x398]
add esi, 0xd8
mov dword [ecx + 0x180], eax
mov ecx, 0xb6
mov eax, dword [ebx + 0x10]
mov edi, dword [0x1013e5e0]
mov edi, dword [edi + eax]
rep movsd dword es:[edi], dword [esi]
jmp 0x1001ce01
mov eax, dword [edi + 0x1c78]
mov dword [ecx + 0x98], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c7c]
mov dword [ecx + 0x9c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x398]
mov dword [ecx + 0x180], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1c], 1
jle 0x1001cf00
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
jae 0x1001cfc3
lea edx, [esi + 0x18]
mov dword [ebp - 0xc], edx
nop
mov ecx, dword [0x1013e618]
lea edi, [edx - 8]
mov eax, dword [edi]
add ecx, 0xffffffdb
xor ecx, 0xd2ca0f8f
add ecx, dword [ebx + 0x10]
mov dword [ecx], eax
mov eax, dword [edx - 4]
mov dword [ecx + 4], eax
mov eax, dword [edx]
mov dword [ecx + 8], eax
mov edx, dword [0x1013e684]
mov ecx, dword [ebx + 0x10]
add edx, 0xffffffc0
mov eax, dword [ebp - 0xc]
xor edx, 0xd2ca0faa
mov eax, dword [eax - 0x10]
mov dword [edx + ecx], eax
mov edx, dword [0x1013e620]
mov ecx, dword [ebp - 0xc]
add edx, 0xffffffd9
add ecx, 4
xor edx, 0xd2ca0f91
add edx, dword [ebx + 0x10]
push ecx
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], eax
mov eax, dword [0x1013e58c]
mov ecx, dword [ebx + 0x10]
call eax
mov eax, dword [0x1013e570]
mov ecx, dword [ebx + 0x10]
push edi
call eax
mov edx, dword [0x1013e690]
mov ecx, dword [ebx + 0x10]
add edx, 0xffffffbd
mov eax, dword [ebp - 0xc]
xor edx, 0xd2ca0fad
mov eax, dword [eax - 0xc]
mov dword [edx + ecx], eax
mov eax, dword [0x1013e68c]
mov ecx, dword [ebx + 0x10]
add eax, 0xffffffbe
xor eax, 0xd2ca0fac
push ecx
movss xmm2, dword [eax + ecx]
lea ecx, [ebp - 0x3c]
mov eax, dword [0x1013e494]
addss xmm2, dword [eax + 0x20]
call fcn.1001d090
mov edx, dword [ebp - 0xc]
add esi, 0x34
add edx, 0x34
mov dword [ebp - 0xc], edx
cmp esi, dword [ebx + 4]
jb 0x1001ce20
jmp 0x1001cfbe
mov edx, dword [0x1013e570]
add eax, 0x40
mov ecx, dword [ebx + 0x10]
push eax
call edx
mov ecx, dword [0x1013e618]
mov edx, dword [ebp - 8]
add ecx, 0xffffffdb
xor ecx, 0xd2ca0f8f
add ecx, dword [ebx + 0x10]
mov eax, dword [edx + 0x40]
mov dword [ecx], eax
mov eax, dword [edx + 0x44]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x48]
mov dword [ecx + 8], eax
mov ecx, dword [0x1013e620]
mov edx, dword [ebp - 8]
add ecx, 0xffffffd9
xor ecx, 0xd2ca0f91
add ecx, dword [ebx + 0x10]
mov eax, dword [edx + 0x410]
mov dword [ecx], eax
mov eax, dword [edx + 0x414]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x418]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x1013e58c]
add eax, 0x410
mov ecx, dword [ebx + 0x10]
push eax
call edx
mov edx, dword [0x1013e690]
mov eax, dword [ebp - 8]
add edx, 0xffffffbd
mov ecx, dword [ebx + 0x10]
xor edx, 0xd2ca0fad
mov eax, dword [eax + 0x9c]
mov dword [edx + ecx], eax
mov eax, dword [0x1013e68c]
mov ecx, dword [ebx + 0x10]
add eax, 0xffffffbe
xor eax, 0xd2ca0fac
push ecx
movss xmm2, dword [eax + ecx]
lea ecx, [ebp - 0x3c]
mov eax, dword [0x1013e494]
addss xmm2, dword [eax + 0x20]
call fcn.1001d090
movss xmm0, dword [ebp - 0x10]
mov eax, dword [0x1013e658]
mov ecx, dword [ebx + 0x10]
add eax, 0xffffffcb
mov edx, dword [ebp - 0x14]
xor eax, 0xd2ca0f9f
push 8
mov dword [eax + ecx], edx
mov eax, dword [0x1013e684]
add eax, 0xffffffc0
xor eax, 0xd2ca0faa
movss dword [eax + ecx], xmm0
mov eax, dword [0x1013e618]
movss xmm0, dword [ebp - 0x18]
add eax, 0xffffffdb
xor eax, 0xd2ca0f8f
movss dword [eax + ecx], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [eax + ecx + 4], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [eax + ecx + 8], xmm0
mov eax, dword [0x1013e6c4]
movss xmm0, dword [ebp - 0x24]
add eax, 0xffffffb0
xor eax, 0xd2ca0fba
movss dword [eax + ecx], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [eax + ecx + 4], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [eax + ecx + 8], xmm0
mov eax, dword [0x1013e5f4]
movss xmm0, dword [ebp - 0x30]
mov eax, dword [ecx + eax]
movss dword [eax + 0x98], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [eax + 0x9c], xmm0
mov eax, dword [0x1013e5ac]
mov ecx, dword [ebx + 0x10]
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a04d8
mov esp, ebp
pop ebp
ret 8