Function at 0x70dcc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x38], edx
mov dword [ebp - 8], ecx
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
xor ecx, 0x7ff
shr ecx, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
shr ecx, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x3c], eax
mov ecx, 2
shl ecx, 3
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx]
sar eax, 4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0xc], 0
jmp 0x70dd32
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x38]
jae 0x70dd88
imul edx, dword [ebp - 0xc], 0x440
mov eax, dword [ebp - 8]
lea ecx, [eax + edx + 4]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0xc]
shl edx, 4
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
call fcn.00710fb0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x24]
add edx, 0x20
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x10
mov edx, dword [ebp - 0x40]
call fcn.00710fb0
jmp 0x70dd29
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x10
jbe 0x70def0
mov edx, dword [ebp + 8]
add edx, 0x200
mov dword [ebp - 0x2c], edx
mov eax, 0x440
imul ecx, eax, 0
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 0x44]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 4]
sub ecx, 0xf
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
mov eax, 2
shl eax, 3
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax]
xor edx, 0x7ff
sar edx, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 0x80
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
and edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x44]
neg ecx
and ecx, 0x7ff
xor eax, ecx
shr eax, 4
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
add ecx, dword [edx + eax*4]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x10], 2
jae 0x70de07
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + edx*2 + 0x100]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
shr edx, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + edx*4]
mov edx, dword [ebp - 4]
shl edx, 1
mov eax, dword [ebp - 0x34]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x30]
xor ecx, 0x7ff
shr ecx, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 4]
shl ecx, 1
mov edx, dword [ebp - 0x34]
mov dword [edx + ecx*4 + 4], eax
cmp dword [ebp - 4], 0
jne 0x70dded
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ecx*4 - 0x40]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x1c], 1
jmp 0x70debb
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x38]
jae 0x70def0
mov edx, dword [ebp - 0x48]
push edx
mov eax, 0x440
imul ecx, eax, 0
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 0x44]
push eax
imul ecx, dword [ebp - 0x1c], 0x440
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 0x44]
push eax
call fcn.0075a540
add esp, 0xc
jmp 0x70deb2
mov esp, ebp
pop ebp
ret 8