Function at 0x42a210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10
mov esi, 1
push 0x18
push 0x564342
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041ffd0
add esp, 0xc
push 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041ffd0
add esp, 0xc
push 0x18
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041ffd0
mov ecx, dword [ebp + 8]
add esp, 0x10
mov edx, dword [ecx + 4]
cmp edx, 1
jle 0x42a27a
mov ecx, dword [ecx + 8]
mov eax, dword [ecx + esi*4 - 4]
test eax, eax
je 0x42a27a
cmp dword [ecx + esi*4], eax
jl 0x42a27a
inc esi
cmp edx, esi
jg 0x42a268
cmp edx, esi
je 0x42a32b
push eax
push 1
push 0
mov eax, dword [ebp + 0xc]
xor esi, esi
push eax
call fcn.0041ffd0
mov eax, dword [ebp + 8]
add esp, 0x10
mov edx, dword [eax + 4]
cmp edx, 0
jle 0x42a2af
mov ecx, dword [eax + 8]
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x42a2af
inc esi
cmp edx, esi
jg 0x42a2a3
cmp edx, esi
je 0x42a4f3
push ecx
push 1
push 1
mov edx, dword [ebp + 0xc]
xor esi, esi
push edx
call fcn.0041ffd0
mov edx, dword [ebp + 8]
add esp, 0x10
mov eax, dword [edx + 4]
test eax, eax
jg 0x42a2fe
jmp 0x42a400
push eax
push 1
push 0
mov eax, dword [ebp + 0xc]
inc esi
push eax
call fcn.0041ffd0
mov ecx, dword [ebp + 8]
add esp, 0x10
cmp dword [ecx + 4], esi
jle 0x42a400
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x42a2e0
push eax
push 1
push 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041ffd0
add esp, 0xc
push 5
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov eax, dword [eax + esi*4]
dec eax
push eax
jmp 0x42a2e5
mov dword [ebp - 0x10], 0
push edi
push 1
push 1
mov esi, dword [ebp + 0xc]
push esi
call fcn.0041ffd0
add esp, 0xc
mov esi, 1
push 5
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov eax, dword [eax]
dec eax
push eax
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.0041ffd0
mov ecx, dword [ebp + 8]
add esp, 0x10
mov edx, dword [ecx + 4]
cmp edx, 1
jle 0x42a3d5
nop
lea esi, [esi]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov edi, dword [eax + esi*4]
mov eax, dword [eax + esi*4 - 4]
cmp edi, eax
jle 0x42a3d0
mov ebx, eax
cmp eax, edi
jl 0x42a396
jmp 0x42a3d0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
sub esp, 0xc
mov ecx, dword [ebp - 0x10]
sub edx, ecx
inc ebx
push edx
call fcn.00429230
add esp, 0xc
push eax
mov eax, esi
mov edx, dword [ebp - 0x10]
sub eax, edx
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041ffd0
add esp, 0x10
mov dword [ebp - 0x10], esi
cmp ebx, edi
jl 0x42a390
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
lea esi, [esi]
inc esi
cmp edx, esi
jg 0x42a370
sub esp, 0xc
mov ebx, dword [ebp - 0x10]
sub edx, ebx
push edx
call fcn.00429230
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x10]
sub esi, ecx
push esi
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041ffd0
add esp, 0x10
lea esi, [esi]
push edi
push 4
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.0041ffd0
mov edx, dword [ebp + 8]
add esp, 0x10
mov eax, dword [edx + 0xc]
test eax, eax
je 0x42a4de
jl 0x42a4e8
cmp eax, 2
jg 0x42a4e8
mov ecx, dword [edx + 0x20]
or eax, 0xffffffff
test ecx, ecx
je 0x42a4e0
push eax
push 0x20
mov eax, dword [edx + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041ffd0
add esp, 0xc
push 0x20
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041ffd0
add esp, 0xc
push 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
dec eax
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041ffd0
add esp, 0xc
push 1
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x1c]
push edi
mov esi, dword [ebp + 0xc]
push esi
call fcn.0041ffd0
mov edx, dword [ebp + 8]
add esp, 0x10
mov eax, dword [edx + 0xc]
cmp eax, 1
je 0x42a54c
cmp eax, 2
je 0x42a53c
or ebx, 0xffffffff
xor esi, esi
cmp esi, ebx
jge 0x42a4de
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x18]
push edx
mov eax, dword [eax + 0x20]
mov eax, dword [eax + esi*4]
inc esi
mov edx, eax
sar edx, 0x1f
xor eax, edx
sub eax, edx
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041ffd0
add esp, 0x10
cmp esi, ebx
jl 0x42a4b5
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
or eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
push eax
push 1
push 0
mov eax, dword [ebp + 0xc]
xor esi, esi
push eax
call fcn.0041ffd0
mov edx, dword [ebp + 8]
add esp, 0x10
mov eax, dword [edx + 4]
test eax, eax
jle 0x42a400
push edi
push 5
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov eax, dword [eax + esi*4]
inc esi
dec eax
push eax
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.0041ffd0
mov eax, dword [ebp + 8]
add esp, 0x10
cmp dword [eax + 4], esi
jg 0x42a514
jmp 0x42a400
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
imul ebx, eax
jmp 0x42a4af
sub esp, 0xc
mov ebx, dword [ebp + 8]
push ebx
call fcn.004295a0
add esp, 0x10
mov ebx, eax
jmp 0x42a4af