Function at 0x449240
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x14a0]
cmp dword [esi + 0x990], eax
lea ecx, [esi + 0x990]
jne 0x449263
pop esi
add esp, 8
jmp fcn.0044e450
mov ecx, dword [ecx]
sub ecx, eax
and ecx, dword [esi + 0x24]
cmp ecx, 0x101
jb 0x449277
mov ecx, 0x101
mov dword [esi + 0x8d4], ecx
mov ecx, dword [esi]
movzx edx, byte [ecx + eax]
push ebx
add ecx, eax
push ebp
push edi
movzx edi, byte [ecx + 1]
shl edi, 5
xor edi, edx
mov ecx, dword [esi]
movzx edx, byte [eax + ecx + 2]
mov ecx, dword [esi + 0x10]
shl edi, 5
xor edx, edi
and edx, 0x7fff
mov edi, edx
mov edx, dword [esi + 0x24]
and edx, dword [ecx + edi*4]
lea ecx, [ecx + edi*4]
mov dword [ecx], eax
mov eax, dword [esi + 0x14a0]
mov ecx, dword [esi + 0x14]
mov dword [ecx + eax*4], edx
mov eax, 3
cmp dword [esi + 0x8d4], eax
mov dword [esp + 0x10], edx
mov dword [esi + 0x58], 1
jle 0x4494bc
mov dword [esp + 0x14], eax
nop
mov eax, dword [esi + 0x58]
cmp eax, 3
jl 0x449301
mov ecx, dword [esi]
lea ebx, [eax + ecx]
add eax, ecx
mov ecx, dword [esi + 0x14a0]
mov al, byte [eax + ecx]
cmp al, byte [ebx + edx]
jne 0x44937f
mov eax, dword [esi]
mov ecx, dword [esi + 0x14a0]
lea ebp, [eax + ecx]
lea ebx, [eax + edx]
mov al, byte [ebp]
cmp al, byte [ebx]
jne 0x44937f
mov al, byte [ebp + 1]
cmp al, byte [ebx + 1]
jne 0x44937f
mov al, byte [ebp + 2]
cmp al, byte [ebx + 2]
jne 0x44937f
mov eax, 3
cmp dword [esi + 0x8d4], eax
jle 0x449348
mov dl, byte [eax + ebp]
cmp dl, byte [ebx + eax]
jne 0x449344
inc eax
cmp eax, dword [esi + 0x8d4]
jl 0x449333
mov edx, dword [esp + 0x10]
cmp eax, dword [esi + 0x58]
jle 0x44937f
sub ecx, edx
and ecx, dword [esi + 0x24]
cmp ecx, dword [esi + 0x28]
ja 0x44937f
test ecx, ecx
je 0x44937f
cmp eax, 4
jg 0x449379
jne 0x44936c
cmp ecx, 0x40000
jb 0x449379
jmp 0x44937f
cmp eax, 3
jne 0x44937f
cmp ecx, 0x2000
jae 0x44937f
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], eax
sub dword [esp + 0x14], 1
je 0x449398
mov eax, dword [esi + 0x14]
mov edx, dword [eax + edx*4]
and edx, dword [esi + 0x24]
mov dword [esp + 0x10], edx
jmp 0x4492e0
mov eax, dword [esi + 0x58]
cmp eax, 3
jl 0x4494bc
cmp byte [esi + 0x14a5], 0
jne 0x4493bc
mov ecx, dword [esi + 0x54]
cmp ecx, dword [esi + 0x14a0]
ja 0x4494bc
mov edx, dword [esi + 0x54]
push edx
push eax
mov ecx, esi
call fcn.00448f20
mov ecx, dword [esi + 0x14a0]
mov edx, dword [esi + 0x24]
mov eax, dword [esi]
inc ecx
and ecx, edx
mov dword [esi + 0x14a0], ecx
movzx eax, byte [ecx + eax + 2]
shl edi, 5
xor eax, edi
mov edi, dword [esi + 0x10]
and eax, 0x7fff
and edx, dword [edi + eax*4]
mov dword [edi + eax*4], ecx
mov ecx, dword [esi + 0x14a0]
lea edi, [edi + eax*4]
mov edi, dword [esi + 0x14]
mov dword [edi + ecx*4], edx
mov ecx, dword [esi + 0x14a0]
mov edi, dword [esi + 0x24]
mov edx, dword [esi]
inc ecx
and ecx, edi
mov dword [esi + 0x14a0], ecx
movzx edx, byte [ecx + edx + 2]
shl eax, 5
xor edx, eax
mov eax, dword [esi + 0x10]
and edx, 0x7fff
and edi, dword [eax + edx*4]
mov dword [eax + edx*4], ecx
mov ecx, dword [esi + 0x14a0]
lea eax, [eax + edx*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4], edi
mov ecx, dword [esi + 0x14a0]
inc ecx
and ecx, dword [esi + 0x24]
or ebx, 0xffffffff
add dword [esi + 0x58], ebx
mov ebp, 2
cmp dword [esi + 0x58], ebp
mov edi, edx
mov dword [esi + 0x14a0], ecx
jle 0x44950e
jmp 0x449470
mov edx, dword [esi + 0x14a0]
mov eax, dword [esi]
movzx eax, byte [edx + eax + 2]
mov ecx, dword [esi + 0x10]
shl edi, 5
xor eax, edi
and eax, 0x7fff
lea edi, [ecx + eax*4]
mov ecx, dword [esi + 0x24]
and ecx, dword [edi]
mov dword [edi], edx
mov edx, dword [esi + 0x14a0]
mov edi, dword [esi + 0x14]
mov dword [edi + edx*4], ecx
mov edi, eax
mov eax, dword [esi + 0x14a0]
inc eax
and eax, dword [esi + 0x24]
mov dword [esi + 0x14a0], eax
add dword [esi + 0x58], ebx
cmp dword [esi + 0x58], ebp
jg 0x449470
jmp 0x44950e
mov ecx, dword [esi + 0x14a0]
mov edx, dword [esi]
mov dl, byte [ecx + edx]
mov eax, dword [esi + 0x63e4]
mov ebx, dword [esi + 0x63e0]
lea ecx, [esi + 0x63c8]
lea eax, [eax + eax*2]
mov byte [ebx + eax*4], 0
mov eax, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x18]
lea eax, [eax + eax*2]
mov byte [ebx + eax*4 + 1], dl
inc dword [ecx + 0x1c]
cmp dword [ecx + 0x1c], 0x4000
jb 0x4494fe
call fcn.0041b220
mov ecx, dword [esi + 0x14a0]
inc ecx
and ecx, dword [esi + 0x24]
mov dword [esi + 0x14a0], ecx
mov eax, dword [esi + 0x14a0]
mov edx, dword [esi + 0x990]
lea ecx, [esi + 0x990]
sub edx, eax
and edx, dword [ecx + 0x410]
cmp edx, 0x111
jae 0x449291
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
jmp fcn.0044e450