Function at 0x4468f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x118
mov ebx, edx
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x4c1074]
xor eax, ebp
mov dword [esp + 0x110], eax
mov eax, dword [ecx + 0x194]
mov edx, dword [ecx + 0x198]
sub edx, eax
cmp edx, esi
ja 0x446c54
lea ecx, [edi + 0x20]
mov dword [esp + 0x30], ecx
mov dword [esp + 0xc], edi
add eax, edi
add eax, 0xc8
push edx
mov dword [esp + 0x2c], ebx
push ebx
push eax
mov ebx, edx
call fcn.00478020
add esp, 0xc
mov dword [esp + 0x24], ebx
sub esi, ebx
mov dword [esp + 0x2c], esi
mov eax, edi
xor ecx, ecx
xor edx, edx
xor esi, esi
cmp edx, dword [edi + 0x198]
jae 0x446991
mov edi, dword [edi + edx + 0xc8]
mov ebx, dword [esp + 0xc]
mov ebx, dword [ebx + edx + 0xcc]
xor dword [eax + esi*8], edi
xor dword [eax + esi*8 + 4], ebx
mov edi, dword [esp + 0xc]
add edx, 8
add esi, 5
cmp esi, 0x19
jne 0x446961
inc ecx
add eax, 8
cmp ecx, 5
jne 0x44695f
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov edx, dword [eax - 0x18]
mov esi, dword [eax - 0x14]
xor edx, dword [eax - 0x20]
xor esi, dword [eax - 0x1c]
xor esi, dword [eax - 0xc]
xor edx, dword [eax - 0x10]
xor edx, dword [eax - 8]
xor esi, dword [eax - 4]
xor esi, dword [eax + 4]
xor edx, dword [eax]
mov dword [esp + ecx*8 + 0x48], edx
mov dword [esp + ecx*8 + 0x4c], esi
inc ecx
add eax, 0x28
cmp ecx, 5
jne 0x4469a6
xor edx, edx
mov eax, edi
lea ecx, [edx + 1]
movzx esi, cl
imul esi, esi, 0xcd
shr esi, 0xa
lea ebx, [esi + esi*4]
mov dword [esp + 4], ecx
sub cl, bl
movzx ecx, cl
mov ebx, dword [esp + ecx*8 + 0x48]
mov esi, dword [esp + ecx*8 + 0x4c]
mov edi, ebx
shld edi, esi, 1
shld esi, ebx, 1
add dl, 4
movzx ecx, dl
imul ecx, ecx, 0xcd
shr ecx, 0xa
lea ecx, [ecx + ecx*4]
sub dl, cl
movzx ecx, dl
xor esi, dword [esp + ecx*8 + 0x4c]
xor edi, dword [esp + ecx*8 + 0x48]
xor edx, edx
xor dword [eax + edx*8], edi
xor dword [eax + edx*8 + 4], esi
inc edx
cmp edx, 5
jne 0x446a26
add eax, 0x28
mov edx, dword [esp + 4]
cmp edx, 5
jne 0x4469d8
xor edx, edx
mov dword [esp + 0x20], 0x49e73c
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
xor esi, esi
mov ebx, 0xcccccccd
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 8], eax
xor ecx, ecx
mov esi, dword [esp + 0x1c]
mov eax, edx
mov dword [esp + 0x18], edx
mul ebx
mov eax, edx
add eax, edx
and eax, 0xfffffff8
mov ebx, ecx
mov edi, dword [esi + ecx*8]
mov ecx, dword [esi + ecx*8 + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov cl, byte [ecx + ebx*4]
mov edx, edi
shl edx, cl
mov esi, dword [esp + 0x10]
shld esi, edi, cl
lea eax, [eax + eax*4]
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
sub dword [esp + 0x14], eax
neg eax
mov dword [esp + 4], eax
test cl, 0x20
cmovne esi, edx
mov dword [esp + 0x44], esi
mov eax, 0
cmovne edx, eax
neg cl
mov eax, dword [esp + 0x10]
mov esi, eax
shr esi, cl
shrd edi, eax, cl
test cl, 0x20
cmovne edi, esi
mov eax, 0
cmovne esi, eax
or edi, edx
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
mov dword [ecx + eax], edi
or esi, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
mov dword [eax + 4], esi
inc ebx
add ecx, 0x40
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x18]
add edx, 3
mov ecx, ebx
cmp ebx, 5
mov ebx, 0xcccccccd
jne 0x446a6e
mov esi, dword [esp + 0x38]
inc esi
add dword [esp + 0x1c], 0x28
mov eax, dword [esp + 0x3c]
add eax, 0x10
mov edx, dword [esp + 0x40]
add edx, 2
add dword [esp + 0x20], 0x14
cmp esi, 5
jne 0x446a5c
mov ecx, 2
lea edx, [esp + 0x48]
lea edi, [esp + 0x98]
mov eax, dword [esp + 0xc]
xor ebx, ebx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp + 0x14], ecx
mov eax, ecx
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
imul esi, edx, 0xffffff38
mov dword [esp + 0x10], edi
add esi, edi
inc ebx
cmp ebx, 5
mov dword [esp + 0x18], ebx
mov ecx, ebx
mov edx, 0
cmove ecx, edx
lea ecx, [ecx + ecx*4]
lea edx, [esp + ecx*8]
add edx, 0x48
xor ecx, ecx
mov ebx, dword [edx + ecx]
mov edi, dword [edx + ecx + 4]
not edi
not ebx
and ebx, dword [esi + ecx]
and edi, dword [esi + ecx + 4]
mov eax, dword [esp + 8]
xor edi, dword [eax + ecx + 4]
xor ebx, dword [eax + ecx]
mov eax, dword [esp + 4]
mov dword [eax + ecx], ebx
mov dword [eax + ecx + 4], edi
add ecx, 8
cmp ecx, 0x28
jne 0x446b9e
mov eax, dword [esp + 4]
add eax, 0x28
mov edi, dword [esp + 0x10]
add edi, 0x28
mov ecx, dword [esp + 0x14]
inc ecx
mov esi, dword [esp + 8]
add esi, 0x28
mov ebx, dword [esp + 0x18]
cmp ebx, 5
mov edx, esi
jne 0x446b5d
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx*8 + 0x49e7a0]
mov edi, dword [esp + 0xc]
xor dword [edi], eax
mov eax, dword [ecx*8 + 0x49e7a4]
xor dword [edi + 4], eax
inc ecx
cmp ecx, 0x18
jne 0x44699c
mov ebx, dword [esp + 0x28]
add ebx, dword [esp + 0x24]
push 0xc8
lea eax, [esp + 0x4c]
push eax
call fcn.0046d0f4
add esp, 8
mov dword [edi + 0x194], 0
mov edx, dword [edi + 0x198]
xor eax, eax
mov esi, dword [esp + 0x2c]
cmp esi, edx
jae 0x446937
add eax, edi
add eax, 0xc8
push esi
push ebx
push eax
call fcn.00478020
add esp, 0xc
add dword [edi + 0x194], esi
mov ecx, dword [esp + 0x110]
xor ecx, ebp
call fcn.00475526
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret