Function at 0x42739d
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
mov eax, edi
mov dword [esp + 0x10], esi
push edi
shr eax, 2
push edx
add eax, 6
mov dword [esi + 0xf4], edi
push esi
mov dword [esi + 0xf0], eax
call fcn.00436910
push edi
mov edx, esi
mov ecx, esi
call fcn.00426d0b
add esp, 0x10
cmp edi, 0x10
je 0x42765d
cmp edi, 0x18
je 0x427554
cmp edi, 0x20
je 0x4273f7
pop edi
pop esi
pop ebp
mov eax, 0xffffff53
pop ebx
pop ecx
ret
mov ecx, dword [esi + 0x1c]
lea edi, [esi + 0x30]
mov eax, ecx
mov ebx, 0xff000000
shr eax, 0x10
mov ebp, 0xff0000
movzx eax, al
push 4
mov edx, dword [eax*4 + 0x8d8f18]
mov eax, ecx
shr eax, 0x18
xor edx, 0x1000000
and edx, ebx
movzx eax, byte [eax*4 + 0x8d8b18]
xor edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x8d9318]
and eax, ebp
xor edx, eax
movzx eax, cl
mov ecx, dword [esi + 8]
mov eax, dword [eax*4 + 0x8d8718]
and eax, 0xff00
xor edx, eax
mov eax, dword [esi + 4]
xor edx, dword [esi]
xor eax, edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
xor ecx, eax
mov eax, dword [esi + 0xc]
xor eax, ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], eax
pop esi
mov ecx, dword [edi - 4]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov edx, dword [eax*4 + 0x8d9318]
mov eax, ecx
shr eax, 0x18
and edx, ebp
mov eax, dword [eax*4 + 0x8d8f18]
and eax, ebx
xor edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x8d8718]
and eax, 0xff00
xor edx, eax
movzx eax, cl
mov ecx, dword [edi - 0x18]
movzx eax, byte [eax*4 + 0x8d8b18]
xor edx, eax
mov eax, dword [edi - 0x1c]
xor edx, dword [edi - 0x20]
xor eax, edx
mov dword [edi], edx
mov dword [edi + 4], eax
lea edi, [edi + 0x20]
xor ecx, eax
mov eax, dword [edi - 0x34]
xor eax, ecx
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], eax
mov ecx, dword [edi - 0x14]
mov eax, ecx
shr eax, 0x18
movzx edx, byte [eax*4 + 0x8d8b18]
mov eax, ecx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x8d9318]
and eax, ebp
xor edx, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x8d8f18]
and eax, ebx
xor edx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x8d8718]
and eax, 0xff00
xor edx, eax
xor edx, dword [esi + 0x8d76f0]
add esi, 4
xor edx, dword [edi - 0x30]
mov dword [edi - 0x10], edx
mov eax, dword [edi - 0x2c]
xor eax, edx
mov dword [edi - 0xc], eax
mov ecx, dword [edi - 0x28]
xor ecx, eax
mov dword [edi - 8], ecx
mov eax, dword [edi - 0x24]
xor eax, ecx
mov dword [edi - 4], eax
cmp esi, 0x1c
jne 0x427471
jmp 0x427748
mov ecx, dword [esi + 0x14]
lea edi, [esi + 0x28]
mov eax, ecx
mov ebx, 0xff000000
shr eax, 0x10
mov ebp, 0xff0000
movzx eax, al
push 4
mov edx, dword [eax*4 + 0x8d8f18]
mov eax, ecx
shr eax, 0x18
xor edx, 0x1000000
and edx, ebx
movzx eax, byte [eax*4 + 0x8d8b18]
xor edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x8d9318]
and eax, ebp
xor edx, eax
movzx eax, cl
mov ecx, dword [esi + 8]
mov eax, dword [eax*4 + 0x8d8718]
and eax, 0xff00
xor edx, eax
mov eax, dword [esi + 4]
xor edx, dword [esi]
xor eax, edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
xor ecx, eax
mov eax, dword [esi + 0xc]
xor eax, ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
pop esi
mov ecx, dword [edi - 0x18]
xor ecx, dword [edi - 4]
mov eax, dword [edi - 0x14]
xor eax, ecx
mov dword [edi], ecx
mov dword [edi + 4], eax
lea edi, [edi + 0x18]
mov ecx, dword [edi - 0x14]
mov eax, ecx
shr eax, 0x18
movzx edx, byte [eax*4 + 0x8d8b18]
mov eax, ecx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x8d9318]
and eax, ebp
xor edx, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x8d8f18]
and eax, ebx
xor edx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x8d8718]
and eax, 0xff00
xor edx, eax
xor edx, dword [esi + 0x8d76f0]
add esi, 4
xor edx, dword [edi - 0x28]
mov dword [edi - 0x10], edx
mov eax, dword [edi - 0x24]
xor eax, edx
mov dword [edi - 0xc], eax
mov ecx, dword [edi - 0x20]
xor ecx, eax
mov dword [edi - 8], ecx
mov eax, dword [edi - 0x1c]
xor eax, ecx
mov dword [edi - 4], eax
cmp esi, 0x20
jne 0x4275ce
jmp 0x427748
mov edx, dword [esi + 0xc]
lea edi, [esi + 4]
mov eax, edx
mov ebx, 0xff000000
shr eax, 0x10
mov ebp, 0xff0000
movzx eax, al
push 4
mov ecx, dword [eax*4 + 0x8d8f18]
mov eax, edx
shr eax, 0x18
xor ecx, 0x1000000
and ecx, ebx
movzx eax, byte [eax*4 + 0x8d8b18]
xor ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x8d9318]
and eax, ebp
xor ecx, eax
movzx eax, dl
mov eax, dword [eax*4 + 0x8d8718]
and eax, 0xff00
xor ecx, eax
mov eax, dword [edi]
xor ecx, dword [esi]
mov dword [esi + 0x10], ecx
xor eax, ecx
mov ecx, dword [esi + 8]
xor ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
xor ecx, edx
mov dword [esi + 0x1c], ecx
pop esi
lea edi, [edi + 0x10]
mov ecx, dword [edi + 8]
mov eax, ecx
shr eax, 0x18
movzx edx, byte [eax*4 + 0x8d8b18]
mov eax, ecx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x8d9318]
and eax, ebp
xor edx, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x8d8f18]
and eax, ebx
xor edx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x8d8718]
and eax, 0xff00
xor edx, eax
xor edx, dword [esi + 0x8d76f0]
add esi, 4
xor edx, dword [edi - 4]
mov dword [edi + 0xc], edx
mov eax, dword [edi]
xor eax, edx
mov dword [edi + 0x10], eax
mov ecx, dword [edi + 4]
xor ecx, eax
mov dword [edi + 0x14], ecx
mov eax, dword [edi + 8]
xor eax, ecx
mov dword [edi + 0x18], eax
cmp esi, 0x28
jne 0x4276d3
mov esi, dword [esp + 0x10]
xor edi, edi
inc edi
cmp dword [esp + 0x20], edi
jne 0x427936
mov ebx, dword [esi + 0xf0]
lea ebp, [esi + 8]
shl ebx, 2
test ebx, ebx
je 0x4277b6
lea edx, [ebx + 2]
mov edi, ebp
lea edx, [esi + edx*4]
xor esi, esi
mov ecx, dword [edi - 8]
add esi, 4
mov eax, dword [edx - 8]
sub ebx, 4
mov dword [edi - 8], eax
mov eax, dword [edx - 4]
mov dword [edx - 8], ecx
mov ecx, dword [edi - 4]
mov dword [edi - 4], eax
mov eax, dword [edx]
mov dword [edx - 4], ecx
mov ecx, dword [edi]
mov dword [edi], eax
lea edi, [edi + 0x10]
mov eax, dword [edx + 4]
mov dword [edx], ecx
lea edx, [edx - 0x10]
mov ecx, dword [edi - 0xc]
mov dword [edi - 0xc], eax
mov dword [edx + 0x14], ecx
cmp esi, ebx
jb 0x427773
mov esi, dword [esp + 0x10]
xor edi, edi
inc edi
cmp dword [esi + 0xf0], edi
jbe 0x427936
lea ebp, [ebp + 0x10]
mov edx, dword [ebp - 8]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [eax*4 + 0x8d8b18]
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
mov ecx, dword [ecx*4 + 0x8d7718]
movzx eax, byte [eax*4 + 0x8d8b18]
xor ecx, dword [eax*4 + 0x8d7b18]
movzx eax, dl
mov edx, dword [ebp - 4]
movzx eax, byte [eax*4 + 0x8d8b18]
xor ecx, dword [eax*4 + 0x8d7f18]
movzx eax, byte [ebp - 8]
movzx eax, byte [eax*4 + 0x8d8b18]
xor ecx, dword [eax*4 + 0x8d8318]
mov eax, edx
shr eax, 0x18
mov dword [ebp - 8], ecx
movzx ecx, byte [eax*4 + 0x8d8b18]
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
mov ecx, dword [ecx*4 + 0x8d7718]
movzx eax, byte [eax*4 + 0x8d8b18]
xor ecx, dword [eax*4 + 0x8d7b18]
movzx eax, dl
mov edx, dword [ebp]
movzx eax, byte [eax*4 + 0x8d8b18]
xor ecx, dword [eax*4 + 0x8d7f18]
movzx eax, byte [ebp - 4]
movzx eax, byte [eax*4 + 0x8d8b18]
xor ecx, dword [eax*4 + 0x8d8318]
mov eax, edx
shr eax, 0x18
mov dword [ebp - 4], ecx
movzx ecx, byte [eax*4 + 0x8d8b18]
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
mov ecx, dword [ecx*4 + 0x8d7718]
movzx eax, byte [eax*4 + 0x8d8b18]
xor ecx, dword [eax*4 + 0x8d7b18]
movzx eax, dl
mov edx, dword [ebp + 4]
movzx eax, byte [eax*4 + 0x8d8b18]
xor ecx, dword [eax*4 + 0x8d7f18]
movzx eax, byte [ebp]
movzx eax, byte [eax*4 + 0x8d8b18]
xor ecx, dword [eax*4 + 0x8d8318]
mov eax, edx
shr eax, 0x18
mov dword [ebp], ecx
movzx ecx, byte [eax*4 + 0x8d8b18]
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
mov ecx, dword [ecx*4 + 0x8d7718]
movzx eax, byte [eax*4 + 0x8d8b18]
xor ecx, dword [eax*4 + 0x8d7b18]
movzx eax, dl
movzx eax, byte [eax*4 + 0x8d8b18]
xor ecx, dword [eax*4 + 0x8d7f18]
movzx eax, byte [ebp + 4]
movzx eax, byte [eax*4 + 0x8d8b18]
xor ecx, dword [eax*4 + 0x8d8318]
inc edi
mov dword [ebp + 4], ecx
cmp edi, dword [esi + 0xf0]
jb 0x4277c2
mov edx, dword [esp + 0x1c]
mov ecx, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x427993
test ecx, ecx
jne 0x42799d
mov eax, 0xffffff53
ret
lea eax, [ecx + 0xf8]
push 0x10
test edx, edx
je 0x4279b2
push edx
push eax
call fcn.00436910
jmp 0x4279ba
push 0
push eax
call fcn.00436e90
add esp, 0xc
xor eax, eax
ret