Function at 0x42cc47
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 0x42cc67
pop esi
add esp, 8
jmp fcn.00431e94
mov ecx, dword [ecx]
sub ecx, eax
and ecx, dword [esi + 0x24]
cmp ecx, 0x101
jb 0x42cc7b
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 0x42cec0
mov dword [esp + 0x14], eax
nop
mov eax, dword [esi + 0x58]
cmp eax, 3
jl 0x42cd05
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 0x42cd83
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 0x42cd83
mov al, byte [ebp + 1]
cmp al, byte [ebx + 1]
jne 0x42cd83
mov al, byte [ebp + 2]
cmp al, byte [ebx + 2]
jne 0x42cd83
mov eax, 3
cmp dword [esi + 0x8d4], eax
jle 0x42cd4c
mov dl, byte [eax + ebp]
cmp dl, byte [ebx + eax]
jne 0x42cd48
inc eax
cmp eax, dword [esi + 0x8d4]
jl 0x42cd37
mov edx, dword [esp + 0x10]
cmp eax, dword [esi + 0x58]
jle 0x42cd83
sub ecx, edx
and ecx, dword [esi + 0x24]
cmp ecx, dword [esi + 0x28]
ja 0x42cd83
test ecx, ecx
je 0x42cd83
cmp eax, 4
jg 0x42cd7d
jne 0x42cd70
cmp ecx, 0x40000
jb 0x42cd7d
jmp 0x42cd83
cmp eax, 3
jne 0x42cd83
cmp ecx, 0x2000
jae 0x42cd83
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], eax
sub dword [esp + 0x14], 1
je 0x42cd9c
mov eax, dword [esi + 0x14]
mov edx, dword [eax + edx*4]
and edx, dword [esi + 0x24]
mov dword [esp + 0x10], edx
jmp 0x42cce4
mov eax, dword [esi + 0x58]
cmp eax, 3
jl 0x42cec0
cmp byte [esi + 0x14a5], 0
jne 0x42cdc0
mov ecx, dword [esi + 0x54]
cmp ecx, dword [esi + 0x14a0]
ja 0x42cec0
mov edx, dword [esi + 0x54]
push edx
push eax
mov ecx, esi
call fcn.0042c924
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 0x42cf12
jmp 0x42ce74
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 0x42ce74
jmp 0x42cf12
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 0x42cf02
call fcn.00416dc4
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 0x42cc95
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
jmp fcn.00431e94