Function at 0x42ab20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
cmp edi, 0x28
ja 0x42ac89
mov eax, dword [ecx + 0xc]
mov esi, edi
shr esi, 5
mov edx, edi
inc esi
mov dword [ebp - 8], eax
mov ebx, dword [eax + 0x30]
xor ebx, edi
cmp edi, esi
jb 0x42ab70
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + edx - 1]
mov eax, ebx
shl eax, 5
sub edx, esi
add ecx, eax
mov eax, ebx
shr eax, 2
add ecx, eax
xor ebx, ecx
cmp edx, esi
jae 0x42ab52
mov esi, dword [ebp - 8]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
and ecx, ebx
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x42abfc
cmp ebx, dword [edi + 8]
jne 0x42abf3
mov ecx, dword [ebp + 8]
cmp ecx, dword [edi + 0xc]
jne 0x42abf3
mov edx, dword [ebp - 0xc]
lea eax, [edi + 0x10]
mov esi, ecx
sub esi, 4
jb 0x42abb1
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x42abba
add edx, 4
add eax, 4
sub esi, 4
jae 0x42aba0
cmp esi, 0xfffffffc
je 0x42ac6b
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x42abf3
cmp esi, 0xfffffffd
je 0x42ac6b
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x42abf3
cmp esi, 0xfffffffe
je 0x42ac6b
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x42abf3
cmp esi, 0xffffffff
je 0x42ac6b
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x42ac6b
mov edi, dword [edi]
test edi, edi
jne 0x42ab83
mov esi, dword [ebp - 8]
mov edx, dword [esi + 0x20]
mov ecx, edx
mov edi, dword [ebp - 4]
cmp dword [esi + 0x1c], edx
jb 0x42ac1d
cmp edx, 0x3ffffffe
jg 0x42ac1d
add edx, edx
mov ecx, edi
call fcn.0042a9f0
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov esi, dword [ebp + 8]
and ecx, ebx
push ecx
mov edx, 4
lea eax, [eax + ecx*4]
mov ecx, edi
push eax
lea eax, [esi + 0x11]
push eax
call fcn.004279e0
mov edi, eax
push esi
push dword [ebp - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 0xc], esi
push ecx
mov dword [edi + 8], ebx
mov byte [edi + 6], 0
call fcn.0044c7a0
mov eax, dword [ebp - 8]
add esp, 0x18
mov byte [edi + esi + 0x10], 0
inc dword [eax + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov cl, byte [edi + 5]
xor cl, 3
mov al, byte [eax + 0x34]
xor al, 3
test cl, al
jne 0x42ac62
mov byte [edi + 5], cl
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi + 1]
cmp eax, 0xffffffed
ja 0x42ad2a
mov ebx, dword [ecx + 0xc]
mov eax, dword [ebx + 0x30]
mov dword [ebp + 8], eax
lea eax, [edi + 0x11]
push eax
mov eax, dword [ebx]
push 4
push 0
push dword [ebx + 4]
call eax
mov esi, eax
add esp, 0x10
lea eax, [edi + 0x11]
test esi, esi
jne 0x42ace8
test eax, eax
je 0x42ace8
cmp byte [ebx + 0x37], 0
je 0x42ad2f
mov ecx, dword [ebp - 4]
lea edx, [esi + 1]
call fcn.00429cc0
lea eax, [edi + 0x11]
push eax
mov eax, dword [ebx]
push 4
push esi
push dword [ebx + 4]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42ad2f
lea eax, [edi + 0x11]
add dword [ebx + 0xc], eax
mov al, byte [ebx + 0x34]
and al, 3
mov byte [esi + 4], 0x14
mov byte [esi + 5], al
mov eax, dword [ebx + 0x3c]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x3c], esi
push edi
push dword [ebp - 0xc]
mov dword [esi + 8], eax
lea eax, [esi + 0x10]
push eax
mov dword [esi + 0xc], edi
mov byte [esi + 6], 0
call fcn.0044c7a0
add esp, 0xc
mov byte [esi + edi + 0x10], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0042b4a0
mov ecx, dword [ebp - 4]
mov edx, 4
call fcn.00426af0
int3