Function at 0x42dfc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, 1
sub esp, 0x5c
mov edi, dword [esp + 0x70]
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x2c], ecx
mov eax, dword [edi]
mov dword [esp + 0x1c], edx
test eax, eax
cmovne esi, dword [edi]
mov eax, dword [edx]
cmp esi, eax
cmovb esi, eax
mov dword [esp], esi
call fcn.0042c780
mov dword [esp], esi
mov ebx, eax
call fcn.0042c780
mov dword [esp + 4], edi
mov dword [esp], ebx
mov ebp, eax
call fcn.0042ca20
mov edx, dword [esp + 0x1c]
lea edi, [esi + 1]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.0042ca20
mov dword [esp], edi
call fcn.0042c780
mov dword [esp], edi
mov dword [esp + 0x3c], eax
call fcn.0042c780
mov dword [esp], esi
shl esi, 6
mov dword [esp + 0x38], eax
call fcn.0042c780
mov dword [esp + 0x48], eax
lea eax, [esi + esi + 0x20]
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], eax
sub eax, 1
shr eax, 5
mov dword [esp], eax
call fcn.0042c780
test esi, esi
mov dword [esp + 0x20], eax
je 0x42e131
mov dword [esp + 0x1c], 0
lea esi, [esi]
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.0042d720
mov edx, dword [ebx + 4]
mov ecx, dword [ebp + 4]
mov esi, dword [edx]
mov edx, esi
and esi, dword [ecx]
mov dword [esp + 4], ebp
and edx, 1
mov dword [esp], ebx
xor eax, edx
mov edi, eax
and esi, 1
and edi, esi
xor edi, edx
mov dword [esp + 8], edi
call fcn.0042cb70
mov edx, esi
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], esi
neg edx
mov dword [esp], ebp
mov ecx, ebx
mov dword [esp + 8], edx
mov dword [esp + 4], edx
mov edx, dword [ebx]
call fcn.0042bd60
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], ebx
call fcn.0042dc80
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x20]
add eax, eax
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [esp + 0x24], eax
call fcn.0042ce70
mov eax, dword [esp + 0x24]
mov dword [esp + 8], edi
mov dword [esp], esi
add eax, 1
mov dword [esp + 4], eax
call fcn.0042ce70
add dword [esp + 0x1c], 1
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x28], eax
jne 0x42e080
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x42e160
mov eax, dword [edi + 4]
mov dword [esp + 0xc], 0
mov ecx, ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebp
mov edx, dword [edi]
call fcn.0042bd60
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x42e1c0
mov edi, dword [esp + 0x4c]
test edi, edi
jne 0x42e1c0
mov dword [esp], ebx
call fcn.0042c940
mov dword [esp], ebp
call fcn.0042c940
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0042c940
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0042c940
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0042c940
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0042c940
mov eax, dword [esp + 0x3c]
mov esi, dword [ebx]
mov edx, dword [eax + 4]
xor eax, eax
test esi, esi
je 0x42e1d7
mov eax, dword [ebx + 4]
mov eax, dword [eax]
and eax, 1
mov dword [edx], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp]
mov edx, dword [eax + 4]
xor eax, eax
test ecx, ecx
je 0x42e1f1
mov eax, dword [ebp + 4]
mov eax, dword [eax]
and eax, 1
mov edi, dword [esp + 0x3c]
mov dword [edx], eax
mov dword [esp], ebx
mov dword [esp + 4], edi
call fcn.0042ca20
mov eax, dword [esp + 0x38]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0042ca20
mov eax, dword [ebp + 4]
mov ecx, dword [eax]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], ecx
lea ecx, [eax - 1]
test eax, eax
mov dword [esp + 0x30], ecx
je 0x42e39e
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], ebp
xor esi, esi
mov ebp, dword [esp + 0x38]
sub ecx, 0x22
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], 0
mov eax, dword [ecx]
shr edx, 5
cmp edx, eax
jae 0x42e273
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + edx*4]
movzx ecx, byte [esp + 0x1c]
shr edx, cl
and edx, 1
neg edx
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], 0
add ecx, 1
mov edx, ecx
shr edx, 5
cmp edx, eax
jae 0x42e2a2
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
shr eax, cl
and eax, 1
xor dword [esp + 0x40], eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp], ecx
mov ecx, edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
and edx, 1
neg edx
mov dword [esp + 0x34], edx
mov dword [esp + 4], edx
mov edx, dword [edi]
call fcn.0042bd60
mov edx, dword [esp + 0x34]
mov eax, dword [ebp + 4]
mov ecx, ebp
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], edx
mov edx, dword [ebp]
call fcn.0042bd60
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], edi
call fcn.0042dc80
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 4]
mov ecx, ebp
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp], edi
mov dword [esp + 4], edx
mov edx, dword [ebp]
call fcn.0042bd60
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], ebx
call fcn.0042dba0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, ebx
mov edx, dword [ebx]
call fcn.0042bd60
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.0042cb70
mov eax, dword [esp + 0x28]
mov dword [esp + 4], ebp
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.0042cb70
sub dword [esp + 0x30], 1
sub dword [esp + 0x1c], 2
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
jne 0x42e244
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
mov ecx, ebp
mov eax, dword [edi + 4]
mov dword [esp], esi
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov edx, dword [edi]
call fcn.0042bd60
mov eax, dword [esp + 0x40]
mov dword [esp + 4], esi
mov dword [esp], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
call fcn.0042caf0
mov esi, dword [esp + 0x38]
mov eax, dword [edi + 4]
mov ecx, ebx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
mov edx, dword [edi]
call fcn.0042bd60
mov eax, dword [esp + 0x40]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.0042caf0
mov edx, dword [esp + 0x44]
test edx, edx
je 0x42e450
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0042ca20
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x42e170
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0042ca20
jmp 0x42e170