Function at 0x1002dd06
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x1009a078]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x44], 0x19031577
push edi
mov cl, 0x77
mov dword [esp + 0x4c], 0x181b1428
mov word [esp + 0x50], 0x1204
xor eax, eax
mov byte [esp + 0x52], 0
xor byte [esp + eax + 0x49], cl
inc eax
cmp eax, 9
jae 0x1002dd4f
mov cl, byte [esp + 0x48]
jmp 0x1002dd3f
lea eax, [esp + 0x49]
mov byte [esp + 0x52], 0
push eax
lea ecx, [esp + 0x1c]
call fcn.10001f6a
mov ecx, dword [ebx]
lea edx, [esp + 0x18]
call fcn.10010042
push 0
push 1
lea ecx, [esp + 0x20]
mov dword [ebx + 4], eax
call fcn.10001e1f
movaps xmm0, xmmword [0x1008e210]
xor ecx, ecx
movups xmmword [esp + 0x48], xmm0
mov al, byte [esp + 0x48]
xor byte [esp + ecx + 0x49], al
inc ecx
cmp ecx, 0xe
jb 0x1002dd8b
lea eax, [esp + 0x49]
mov byte [esp + 0x57], 0
push eax
lea ecx, [esp + 0x1c]
call fcn.10001f6a
mov ecx, dword [ebx]
lea edx, [esp + 0x18]
call fcn.10010042
push 0
push 1
lea ecx, [esp + 0x20]
mov dword [ebx + 8], eax
call fcn.10001e1f
call fcn.1000cda1
test eax, eax
je 0x1002de87
mov dword [ebx + 0xc], eax
call fcn.1001086b
test eax, eax
je 0x1002de87
mov ecx, dword [ebx + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx]
mov ecx, dword [ecx]
call fcn.1001000f
mov ecx, dword [ebx + 0xc]
sub esp, 0x14
movss xmm3, dword [0x1008e16c]
xorps xmm2, xmm2
xorps xmm1, xmm1
and dword [esp + 0x10], 0
and dword [esp + 0xc], 0
and dword [esp + 8], 0
and dword [esp + 4], 0
mov ecx, dword [ecx]
mov dword [esp], 0x3f340000
call fcn.100109bd
mov ecx, dword [ebx + 0xc]
add esp, 0x14
mov ecx, dword [ecx]
call fcn.100102f3
mov ecx, dword [ebx + 0xc]
mov edx, 0x110
mov ecx, dword [ecx]
call fcn.10010397
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x58]
push eax
call fcn.100100cd
mov esi, eax
lea edi, [esp + 0x4c]
pop ecx
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ecx]
call fcn.1001099a
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x48]
mov ecx, dword [ecx]
call fcn.10010141
mov ecx, dword [ebx + 0xc]
xor dl, dl
mov ecx, dword [ecx]
call fcn.10010276
mov cl, 0x6a
mov dword [esp + 0x48], 0x190b086a
mov dword [esp + 0x4c], 0x120f350f
xor eax, eax
mov dword [esp + 0x50], 0x40b0209
mov word [esp + 0x54], 0xf0d
mov byte [esp + 0x56], 0
xor byte [esp + eax + 0x49], cl
inc eax
cmp eax, 0xd
jae 0x1002debf
mov cl, byte [esp + 0x48]
jmp 0x1002deaf
lea eax, [esp + 0x49]
mov byte [esp + 0x56], 0
push eax
lea ecx, [esp + 0x1c]
call fcn.10001f6a
mov ecx, dword [ebx]
lea edx, [esp + 0x18]
call fcn.10010042
push 0
push 1
lea ecx, [esp + 0x20]
mov dword [ebx + 0x20], eax
call fcn.10001e1f
xor eax, eax
mov dword [esp + 0x10], eax
and dword [esp + 0x4c], 0
mov cl, 0x36
push eax
mov dword [esp + 0x10], 0x521336
xor eax, eax
xor byte [esp + eax + 0x11], cl
inc eax
cmp eax, 2
jae 0x1002df15
mov cl, byte [esp + 0x10]
jmp 0x1002df05
sub esp, 0x18
mov byte [esp + 0x2b], 0
lea eax, [esp + 0x29]
mov ecx, esp
push eax
call fcn.10001f6a
lea eax, [esp + 0x4c]
push eax
call fcn.10007414
mov ecx, dword [ebx + 0x20]
add esp, 0x20
mov edx, eax
call fcn.10010042
push 0
mov edi, eax
lea ecx, [esp + 0x34]
push 1
mov dword [esp + 0x50], edi
call fcn.10001e1f
call fcn.1000cda1
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x1002e063
mov dword [esp + 0x4c], esi
call fcn.1001086b
test eax, eax
je 0x1002e063
mov dword [esi], eax
mov ecx, eax
mov edx, dword [ebx]
call fcn.1001000f
movss xmm3, dword [0x1008e16c]
sub esp, 0x14
mov ecx, dword [esi]
xorps xmm2, xmm2
xorps xmm1, xmm1
and dword [esp + 0x10], 0
and dword [esp + 0xc], 0
and dword [esp + 8], 0
and dword [esp + 4], 0
mov dword [esp], 0x3f340000
call fcn.100109bd
mov ecx, dword [esi]
add esp, 0x14
call fcn.100102f3
mov ecx, dword [esi]
mov edx, 0x110
call fcn.10010397
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.100100cd
mov esi, eax
lea edi, [esp + 0x5c]
pop ecx
lea edx, [esp + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
mov ecx, dword [edi]
call fcn.1001099a
mov ecx, dword [edi]
lea edx, [esp + 0x58]
call fcn.10010141
mov ecx, dword [edi]
xor dl, dl
call fcn.10010276
lea esi, [ebx + 0x24]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x48]
cmp ecx, eax
jae 0x1002e042
cmp dword [esi], ecx
ja 0x1002e042
mov edi, ecx
sub edi, dword [esi]
sar edi, 3
cmp eax, dword [esi + 8]
jne 0x1002e02b
push ecx
mov ecx, esi
call fcn.1002ef21
mov edx, dword [esi + 4]
test edx, edx
je 0x1002e05f
mov ecx, dword [esi]
mov eax, dword [ecx + edi*8]
mov dword [edx], eax
mov eax, dword [ecx + edi*8 + 4]
mov dword [edx + 4], eax
jmp 0x1002e05f
cmp eax, dword [esi + 8]
jne 0x1002e04f
push ecx
mov ecx, esi
call fcn.1002ef21
mov eax, dword [esi + 4]
test eax, eax
je 0x1002e05f
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov dword [eax + 4], edi
add dword [esi + 4], 8
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x18
jl 0x1002def3
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100454d5
mov esp, ebp
pop ebp
ret