Function at 0x42f7e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x40
mov esi, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov eax, esi
add eax, edx
dec eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 3]
movsx eax, dl
sub eax, 9
cmp eax, 0x17
ja case.0x42f80e.16
jmp dword [eax*4 + 0x51b1b4]
mov eax, 0xe19
mov dword [esp + 4], eax
mov dword [esp], str.c:_usr_work_edrive_w32texsrc_clisp249_clisp_2.49_src_array.d
call fcn.00420a64
call fcn.0042a998
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
lea ecx, [edx + edi*4 + 7]
mov edi, dword [ebp - 0xc]
lea edx, [eax + edi*4 + 7]
mov eax, dword [ecx]
add ecx, 4
mov dword [edx], eax
sub edx, 4
dec esi
jne 0x42f840
lea esi, [esi]
add esp, 0x40
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 3]
mov dword [ebp - 0x38], eax
movsx eax, byte [ebp - 0x38]
sub eax, 0x11
test al, 1
mov dword [ebp - 0x34], eax
jne 0x42fcf9
cmp dl, 0x20
je case.0x42f80e.32
movsx eax, dl
sub eax, 0x11
sar eax, 1
je 0x42fb3f
cmp eax, 1
je 0x42fb98
cmp eax, 2
jne 0x42fd04
cmp byte [ebp - 0x38], 0x20
je 0x42fc9e
movsx eax, byte [ebp - 0x38]
sub eax, 0x11
sar eax, 1
jne 0x42fbf1
mov edx, dword [ebp + 8]
mov dword [ebx], edx
add ebx, 4
nop
lea esi, [esi]
mov edx, dword [ebp + 8]
mov eax, edi
inc edi
mov eax, dword [edx + eax*4 + 7]
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
dec eax
mov dword [ebp - 0xc], eax
call fcn.0044c9d8
mov dword [ebp + 0x10], eax
dec esi
je 0x42fc45
cmp byte [eax + 3], 0x17
jne 0x42f8c0
mov eax, dword [eax + 7]
mov dword [ebp + 0x10], eax
mov edx, dword [ebp + 0x10]
lea eax, [ebx - 4]
mov ebx, eax
mov eax, dword [eax]
mov edx, dword [edx + 3]
mov dword [ebp + 8], eax
mov dword [ebp - 0x38], edx
jmp 0x42f897
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
lea ecx, [edx + edi*2 + 7]
mov edi, dword [ebp - 0xc]
lea edx, [eax + edi*2 + 7]
movzx eax, word [ecx]
add ecx, 2
mov word [edx], ax
sub edx, 2
dec esi
jne 0x42f920
jmp 0x42f850
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
lea ecx, [edx + edi*4 + 7]
mov edi, dword [ebp - 0xc]
lea edx, [eax + edi*4 + 7]
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ecx]
add ecx, 4
mov dword [edx], eax
sub edx, 4
dec esi
jne 0x42f950
jmp 0x42f850
mov edx, dword [ebp + 8]
mov eax, edi
shr eax, 3
lea eax, [eax + edx + 7]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
shr eax, 3
lea eax, [eax + edx + 7]
mov dword [ebp - 0x14], eax
jmp 0x42f990
mov edx, dword [ebp - 0x10]
mov ecx, edi
not ecx
and ecx, 7
inc edi
movzx eax, byte [edx]
mov edx, dword [ebp - 0x14]
sar eax, cl
movzx edx, byte [edx]
and eax, 1
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 0x15], dl
not ecx
and ecx, 7
shl eax, cl
xor dl, al
mov eax, 1
shl eax, cl
and dl, al
xor byte [ebp - 0x15], dl
mov edx, dword [ebp - 0x14]
movzx eax, byte [ebp - 0x15]
mov byte [edx], al
xor eax, eax
test edi, 7
sete al
add dword [ebp - 0x10], eax
xor eax, eax
test byte [ebp - 0xc], 7
sete al
sub edx, eax
dec dword [ebp - 0xc]
dec esi
mov dword [ebp - 0x14], edx
jne 0x42f990
jmp 0x42f850
mov edx, dword [ebp + 8]
mov eax, edi
shr eax, 2
lea eax, [eax + edx + 7]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
shr eax, 2
lea eax, [eax + edx + 7]
mov dword [ebp - 0x20], eax
lea esi, [esi]
lea edi, [edi]
mov edx, dword [ebp - 0x1c]
mov ecx, edi
not ecx
and ecx, 3
inc edi
add ecx, ecx
movzx eax, byte [edx]
mov edx, dword [ebp - 0x20]
sar eax, cl
movzx edx, byte [edx]
and eax, 3
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 0x21], dl
not ecx
and ecx, 3
add ecx, ecx
shl eax, cl
xor dl, al
mov eax, 3
shl eax, cl
and dl, al
xor byte [ebp - 0x21], dl
mov edx, dword [ebp - 0x20]
movzx eax, byte [ebp - 0x21]
mov byte [edx], al
xor eax, eax
test edi, 3
sete al
add dword [ebp - 0x1c], eax
xor eax, eax
test byte [ebp - 0xc], 3
sete al
sub edx, eax
dec dword [ebp - 0xc]
dec esi
mov dword [ebp - 0x20], edx
jne 0x42fa20
jmp 0x42f850
mov edx, dword [ebp + 8]
mov eax, edi
shr eax, 1
lea eax, [eax + edx + 7]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
shr eax, 1
lea eax, [eax + edx + 7]
mov dword [ebp - 0x2c], eax
lea esi, [esi]
lea edi, [edi]
mov edx, dword [ebp - 0x28]
mov ecx, edi
not ecx
and ecx, 1
inc edi
shl ecx, 2
movzx eax, byte [edx]
mov edx, dword [ebp - 0x2c]
sar eax, cl
movzx edx, byte [edx]
and eax, 0xf
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 0x2d], dl
not ecx
and ecx, 1
shl ecx, 2
shl eax, cl
xor dl, al
mov eax, 0xf
shl eax, cl
and dl, al
xor byte [ebp - 0x2d], dl
mov edx, dword [ebp - 0x2c]
movzx eax, byte [ebp - 0x2d]
mov byte [edx], al
xor eax, eax
test edi, 1
sete al
add dword [ebp - 0x28], eax
xor eax, eax
test byte [ebp - 0xc], 1
sete al
sub edx, eax
dec dword [ebp - 0xc]
dec esi
mov dword [ebp - 0x2c], edx
jne 0x42fab0
jmp 0x42f850
mov eax, dword [ebp + 8]
lea ecx, [eax + edi + 7]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
lea edx, [edi + eax + 7]
nop
lea esi, [esi]
movzx eax, byte [ecx]
inc ecx
mov byte [edx], al
dec edx
dec esi
jne 0x42fb30
jmp 0x42f850
cmp byte [ebp - 0x38], 0x20
mov eax, dword [ebp + 8]
lea ecx, [eax + edi + 7]
je 0x42fc9e
mov eax, dword [ebp - 0x34]
sar eax, 1
jne 0x42fc4d
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
lea edx, [edi + eax + 7]
lea esi, [esi]
lea edi, [edi]
movzx eax, byte [ecx]
inc ecx
mov byte [edx], al
dec edx
dec esi
jne 0x42fb70
jmp 0x42f850
mov eax, dword [eax + 7]
mov dword [ebp + 0x10], eax
mov edx, dword [ebp + 0x10]
lea eax, [ebx - 4]
mov ebx, eax
mov eax, dword [eax]
mov edx, dword [edx + 3]
mov dword [ebp + 8], eax
mov dword [ebp - 0x38], edx
cmp byte [ebp - 0x38], 0x20
je 0x42fc9e
movsx eax, byte [ebp - 0x38]
sub eax, 0x11
sar eax, 1
jne 0x42fca3
mov edx, dword [ebp + 8]
mov dword [ebx], edx
add ebx, 4
lea esi, [esi]
mov edx, dword [ebp + 8]
movzx eax, word [edx + edi*2 + 7]
mov edx, dword [ebp + 0x10]
inc edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
dec eax
mov dword [ebp - 0xc], eax
call fcn.0044c9d8
mov dword [ebp + 0x10], eax
dec esi
je 0x42fc45
cmp byte [eax + 3], 0x17
jne 0x42fbc0
jmp 0x42fb7f
cmp eax, 1
jne 0x42fcd1
mov eax, dword [ebp + 8]
mov dword [ebx], eax
add ebx, 4
lea esi, [esi]
lea edi, [edi]
mov edx, dword [ebp + 8]
mov eax, edi
inc edi
mov eax, dword [edx + eax*4 + 7]
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
dec eax
mov dword [ebp - 0xc], eax
call fcn.0044c9d8
mov dword [ebp + 0x10], eax
dec esi
je 0x42fc45
cmp byte [eax + 3], 0x17
jne 0x42fc10
jmp 0x42f8f4
sub ebx, 4
jmp 0x42f850
cmp eax, 1
je 0x42fc81
cmp eax, 2
jne 0x42fd04
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
lea edx, [eax + edi*4 + 7]
lea esi, [esi]
lea edi, [edi]
movzx eax, byte [ecx]
inc ecx
mov dword [edx], eax
sub edx, 4
dec esi
jne 0x42fc70
jmp 0x42f850
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
lea edx, [eax + edi*2 + 7]
movzx ax, byte [ecx]
inc ecx
mov word [edx], ax
sub edx, 2
dec esi
jne 0x42fc8b
jmp 0x42f850
call fcn.0042a9c4
cmp eax, 1
je 0x42fd0e
cmp eax, 2
jne 0x42fd04
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
lea ecx, [edx + edi*2 + 7]
mov edi, dword [ebp - 0xc]
lea edx, [eax + edi*4 + 7]
movzx eax, word [ecx]
add ecx, 2
mov dword [edx], eax
sub edx, 4
dec esi
jne 0x42fcbe
jmp 0x42f850
cmp eax, 2
jne 0x42fd04
mov eax, dword [ebp + 8]
lea ecx, [eax + edi*4 + 7]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
lea edx, [eax + edi*4 + 7]
mov eax, dword [ecx]
add ecx, 4
mov dword [edx], eax
sub edx, 4
dec esi
jne 0x42fce7
jmp 0x42f850
mov edx, dword [ebp + 0x10]
mov dword [esp], edx
call fcn.0043aa6c
mov eax, 0xe14
jmp 0x42f81a
mov eax, dword [ebp + 8]
lea ecx, [eax + edi*2 + 7]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
lea edx, [eax + edi*2 + 7]
movzx eax, word [ecx]
add ecx, 2
mov word [edx], ax
sub edx, 2
dec esi
jne 0x42fd1f
jmp 0x42f850