Function at 0x4465f2
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 0x44694c
lea ecx, [edi + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], edi
add eax, edi
add eax, 0xc8
push edx
mov dword [esp + 0x28], ebx
push ebx
push eax
mov ebx, edx
call fcn.00478390
add esp, 0xc
mov dword [esp + 0x20], ebx
sub esi, ebx
mov dword [esp + 0x28], esi
mov eax, edi
xor ecx, ecx
xor edx, edx
xor esi, esi
cmp edx, dword [edi + 0x198]
jae 0x446691
mov edi, dword [edi + edx + 0xc8]
mov ebx, dword [esp + 8]
mov ebx, dword [ebx + edx + 0xcc]
xor dword [eax + esi*8], edi
xor dword [eax + esi*8 + 4], ebx
mov edi, dword [esp + 8]
add edx, 8
add esi, 5
cmp esi, 0x19
jne 0x446661
inc ecx
add eax, 8
cmp ecx, 5
jne 0x44665f
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x2c]
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 0x4466a6
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 0x446726
add eax, 0x28
mov edx, dword [esp + 4]
cmp edx, 5
jne 0x4466d8
xor edx, edx
mov dword [esp + 0x1c], 0x49e82c
lea eax, [esp + 0x48]
mov edi, dword [esp + 8]
xor esi, esi
mov ebx, 0xcccccccd
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], eax
xor ecx, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x18], edx
mov eax, edx
mul ebx
add edx, edx
and edx, 0xfffffff8
mov ebx, ecx
mov eax, dword [edi + ecx*8]
mov ecx, dword [edi + ecx*8 + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
mov cl, byte [ecx + ebx*4]
mov edi, eax
shl edi, cl
mov esi, dword [esp + 0x10]
shld esi, eax, cl
lea edx, [edx + edx*4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc]
sub edx, dword [esp + 4]
mov dword [esp + 0x14], edx
neg dword [esp + 4]
test cl, 0x20
cmovne esi, edi
mov dword [esp + 0x44], esi
mov edx, 0
cmovne edi, edx
neg cl
mov edx, dword [esp + 0x10]
mov esi, edx
shr esi, cl
shrd eax, edx, cl
test cl, 0x20
cmovne eax, esi
mov ecx, 0
cmovne esi, ecx
or eax, edi
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov dword [ecx + edx], eax
mov edx, dword [esp + 0x18]
or esi, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
mov dword [eax + 4], esi
inc ebx
add ecx, 0x40
mov dword [esp + 0xc], ecx
add edx, 3
mov ecx, ebx
cmp ebx, 5
mov ebx, 0xcccccccd
jne 0x44676e
mov esi, dword [esp + 0x34]
inc esi
add edi, 0x28
mov eax, dword [esp + 0x38]
add eax, 0x10
mov edx, dword [esp + 0x3c]
add edx, 2
add dword [esp + 0x1c], 0x14
cmp esi, 5
jne 0x446758
mov ecx, 2
lea edx, [esp + 0x48]
lea edi, [esp + 0x98]
mov ebx, dword [esp + 8]
xor eax, eax
mov dword [esp + 4], edx
mov dword [esp + 0x10], ecx
mov esi, eax
mov eax, ecx
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
imul eax, edx, 0xffffff38
mov dword [esp + 0x18], edi
add eax, edi
mov dword [esp + 0xc], eax
inc esi
cmp esi, 5
mov dword [esp + 0x14], esi
mov ecx, esi
mov edx, 0
cmove ecx, edx
lea ecx, [ecx + ecx*4]
lea edx, [esp + ecx*8]
add edx, 0x48
xor ecx, ecx
mov eax, ebx
mov ebx, dword [edx + ecx]
mov edi, dword [edx + ecx + 4]
not edi
not ebx
mov esi, dword [esp + 0xc]
and ebx, dword [esi + ecx]
and edi, dword [esi + ecx + 4]
mov esi, dword [esp + 4]
xor edi, dword [esi + ecx + 4]
xor ebx, dword [esi + ecx]
mov dword [eax + ecx], ebx
mov ebx, eax
mov dword [eax + ecx + 4], edi
add ecx, 8
cmp ecx, 0x28
jne 0x446896
add ebx, 0x28
mov edi, dword [esp + 0x18]
add edi, 0x28
mov ecx, dword [esp + 0x10]
inc ecx
mov esi, dword [esp + 4]
add esi, 0x28
mov eax, dword [esp + 0x14]
cmp eax, 5
mov edx, esi
jne 0x446853
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx*8 + 0x49e890]
mov edi, dword [esp + 8]
xor dword [edi], eax
mov eax, dword [ecx*8 + 0x49e894]
xor dword [edi + 4], eax
inc ecx
cmp ecx, 0x18
jne 0x44669c
mov ebx, dword [esp + 0x24]
add ebx, dword [esp + 0x20]
push 0xc8
lea eax, [esp + 0x4c]
push eax
call fcn.0046d418
add esp, 8
mov dword [edi + 0x194], 0
mov edx, dword [edi + 0x198]
xor eax, eax
mov esi, dword [esp + 0x28]
cmp esi, edx
jae 0x446637
add eax, edi
add eax, 0xc8
push esi
push ebx
push eax
call fcn.00478390
add esp, 0xc
add dword [edi + 0x194], esi
mov ecx, dword [esp + 0x110]
xor ecx, ebp
call fcn.00475893
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret