Function at 0x42cf30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [eax + 0x14], 0x10
mov edi, ecx
mov ebx, dword [eax + 0x10]
mov esi, eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], ebx
jb 0x42cf51
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x42cf71
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x42cf60
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
and eax, edx
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edx, dword [ecx + eax*8]
mov edi, edx
mov ebx, dword [ebx + 4]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
cmp edx, ebx
jne 0x42cf9e
mov eax, ebx
jmp 0x42cfa2
mov eax, dword [eax]
mov eax, dword [eax]
cmp edi, eax
je 0x42d03d
mov edx, dword [ebp + 8]
lea eax, [edi + 8]
mov ecx, edx
cmp dword [edx + 0x14], 0x10
jb 0x42cfba
mov ecx, dword [edx]
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x42cfc5
mov eax, dword [eax]
push esi
push ecx
push edx
push eax
call fcn.0041b960
add esp, 0x10
test al, al
jne 0x42cfdf
mov edi, dword [edi]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
jmp 0x42cf96
mov esi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], esi
mov esi, dword [ebp + 8]
nop word [eax + eax]
cmp dword [ebp - 0xc], ebx
jne 0x42cff9
mov eax, ebx
jmp 0x42d000
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
cmp edi, eax
je 0x42d033
cmp dword [edi + 0x1c], 0x10
lea eax, [edi + 8]
mov edx, dword [eax + 0x10]
jb 0x42d012
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x42d01c
mov ecx, dword [esi]
push edx
push eax
mov eax, dword [esi + 0x10]
push eax
push ecx
call fcn.0041b960
add esp, 0x10
test al, al
je 0x42d033
mov edi, dword [edi]
jmp 0x42cff0
cmp dword [ebp - 0x14], edi
je 0x42d03d
mov ecx, dword [ebp - 8]
jmp 0x42d041
mov ecx, ebx
mov edi, ebx
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x10], esi
cmp eax, edi
je 0x42d05a
nop dword [eax]
mov eax, dword [eax]
inc esi
cmp eax, edi
jne 0x42d050
mov dword [ebp - 0x10], esi
cmp ecx, dword [ebx]
jne 0x42d075
cmp edi, ebx
jne 0x42d075
mov ecx, dword [ebp - 4]
call fcn.0042c190
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, edi
je 0x42d06a
nop dword [eax]
mov esi, ecx
mov ecx, dword [ecx]
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], ecx
mov dword [ebp + 8], edx
jb 0x42d09b
mov eax, dword [edx]
mov dword [ebp + 8], eax
mov dword [ebp - 0xc], ecx
xor edx, edx
mov ecx, dword [esi + 0x18]
mov ebx, 0x811c9dc5
test ecx, ecx
je 0x42d0c8
mov esi, dword [ebp + 8]
nop
movzx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x42d0b0
mov esi, dword [ebp - 0x14]
mov edx, dword [esi]
jmp 0x42d0cb
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
and ebx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
lea ecx, [eax + ebx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x42d0fe
cmp eax, esi
jne 0x42d0f6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [ecx + ebx*8 + 4], eax
jmp 0x42d104
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x42d104
cmp eax, esi
jne 0x42d104
mov dword [ecx], edx
mov edx, dword [esi + 4]
lea ecx, [esi + 8]
mov eax, dword [esi]
mov dword [edx], eax
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
dec dword [eax + 8]
call fcn.00409b50
push 0x30
push esi
call fcn.004639cf
mov ecx, dword [ebp - 8]
add esp, 8
cmp ecx, edi
jne 0x42d080
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4