Function at 0x3046f958
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff3c
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 4]
add eax, 0x28
mov ecx, 0x10
call fcn.30402998
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x2c]
add eax, eax
mov eax, dword [ebp + eax*8 - 0xc8]
mov edx, 8
call fcn.3045f82c
mov edx, dword [ebp - 0x2c]
add edx, edx
xor eax, dword [ebp + edx*8 - 0xd4]
mov ecx, dword [ebp - 0x2c]
dec ecx
mov edx, 1
shl edx, cl
xor eax, edx
mov edx, dword [ebp - 0x2c]
add edx, edx
mov dword [ebp + edx*8 - 0xc4], eax
mov eax, dword [ebp - 0x2c]
add eax, eax
mov eax, dword [ebp + eax*8 - 0xd0]
mov edx, dword [ebp - 0x2c]
add edx, edx
xor eax, dword [ebp + edx*8 - 0xc4]
mov edx, dword [ebp - 0x2c]
add edx, edx
mov dword [ebp + edx*8 - 0xc0], eax
mov eax, dword [ebp - 0x2c]
add eax, eax
mov eax, dword [ebp + eax*8 - 0xcc]
mov edx, dword [ebp - 0x2c]
add edx, edx
xor eax, dword [ebp + edx*8 - 0xc0]
mov edx, dword [ebp - 0x2c]
add edx, edx
mov dword [ebp + edx*8 - 0xbc], eax
mov eax, dword [ebp - 0x2c]
add eax, eax
mov eax, dword [ebp + eax*8 - 0xc8]
mov edx, dword [ebp - 0x2c]
add edx, edx
xor eax, dword [ebp + edx*8 - 0xbc]
mov edx, dword [ebp - 0x2c]
add edx, edx
mov dword [ebp + edx*8 - 0xb8], eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
add eax, eax
lea eax, [ebp + eax*8 - 0xc4]
mov edx, dword [ebp - 0x30]
mov eax, dword [eax + edx*4 - 0x10]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x304b41b0]
mov edx, 8
call fcn.3045f824
mov ebx, eax
mov eax, dword [ebp - 0x2c]
add eax, eax
lea eax, [ebp + eax*8 - 0xc4]
mov edx, dword [ebp - 0x30]
mov eax, dword [eax + edx*4 - 0x10]
and eax, 0xff
xor ebx, dword [eax*4 + 0x304b41b0]
mov eax, dword [ebp - 0x2c]
add eax, eax
lea eax, [ebp + eax*8 - 0xc4]
mov edx, dword [ebp - 0x30]
mov eax, dword [eax + edx*4 - 0x10]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x304b41b0]
mov edx, 0x10
call fcn.3045f824
xor ebx, eax
mov eax, dword [ebp - 0x2c]
add eax, eax
lea eax, [ebp + eax*8 - 0xc4]
mov edx, dword [ebp - 0x30]
mov eax, dword [eax + edx*4 - 0x10]
shr eax, 0x18
mov eax, dword [eax*4 + 0x304b41b0]
mov edx, 0x18
call fcn.3045f824
xor ebx, eax
mov eax, dword [ebp - 0x2c]
add eax, eax
lea eax, [ebp + eax*8 - 0xc4]
mov edx, dword [ebp - 0x30]
mov dword [eax + edx*4 - 0x10], ebx
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 4
jne 0x3046fa31
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 9
jne 0x3046f985
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x34]
xor eax, dword [edx]
mov dword [ebp - 0xc], eax
add dword [ebp - 0x34], 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x34]
xor eax, dword [edx]
mov dword [ebp - 0x10], eax
add dword [ebp - 0x34], 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x34]
xor eax, dword [edx]
mov dword [ebp - 0x14], eax
add dword [ebp - 0x34], 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x34]
xor eax, dword [edx]
mov dword [ebp - 0x18], eax
add dword [ebp - 0x34], 4
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
and eax, 0xff
mov eax, dword [eax*4 + 0x304b45b0]
mov edx, dword [ebp - 0x10]
and edx, 0xff
xor eax, dword [edx*4 + 0x304b49b0]
mov edx, dword [ebp - 0x14]
and edx, 0xff
xor eax, dword [edx*4 + 0x304b4db0]
mov edx, dword [ebp - 0x18]
and edx, 0xff
xor eax, dword [edx*4 + 0x304b51b0]
mov edx, dword [ebp - 0x34]
xor eax, dword [edx]
mov dword [ebp - 0x1c], eax
add dword [ebp - 0x34], 4
mov eax, dword [ebp - 0xc]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x304b45b0]
mov edx, dword [ebp - 0x10]
shr edx, 8
and edx, 0xff
xor eax, dword [edx*4 + 0x304b49b0]
mov edx, dword [ebp - 0x14]
shr edx, 8
and edx, 0xff
xor eax, dword [edx*4 + 0x304b4db0]
mov edx, dword [ebp - 0x18]
shr edx, 8
and edx, 0xff
xor eax, dword [edx*4 + 0x304b51b0]
mov edx, dword [ebp - 0x34]
xor eax, dword [edx]
mov dword [ebp - 0x20], eax
add dword [ebp - 0x34], 4
mov eax, dword [ebp - 0xc]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x304b45b0]
mov edx, dword [ebp - 0x10]
shr edx, 0x10
and edx, 0xff
xor eax, dword [edx*4 + 0x304b49b0]
mov edx, dword [ebp - 0x14]
shr edx, 0x10
and edx, 0xff
xor eax, dword [edx*4 + 0x304b4db0]
mov edx, dword [ebp - 0x18]
shr edx, 0x10
and edx, 0xff
xor eax, dword [edx*4 + 0x304b51b0]
mov edx, dword [ebp - 0x34]
xor eax, dword [edx]
mov dword [ebp - 0x24], eax
add dword [ebp - 0x34], 4
mov eax, dword [ebp - 0xc]
shr eax, 0x18
mov eax, dword [eax*4 + 0x304b45b0]
mov edx, dword [ebp - 0x10]
shr edx, 0x18
xor eax, dword [edx*4 + 0x304b49b0]
mov edx, dword [ebp - 0x14]
shr edx, 0x18
xor eax, dword [edx*4 + 0x304b4db0]
mov edx, dword [ebp - 0x18]
shr edx, 0x18
xor eax, dword [edx*4 + 0x304b51b0]
mov edx, dword [ebp - 0x34]
xor eax, dword [edx]
mov dword [ebp - 0x28], eax
add dword [ebp - 0x34], 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 7
jne 0x3046fb57
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x18]
mov edx, dword [ebp - 0xc]
and edx, 0xff
movzx edx, byte [edx + 0x304b40b0]
xor eax, edx
mov edx, dword [ebp - 0x10]
and edx, 0xff
movzx edx, byte [edx + 0x304b40b0]
shl edx, 8
xor eax, edx
mov edx, dword [ebp - 0x14]
and edx, 0xff
movzx edx, byte [edx + 0x304b40b0]
shl edx, 0x10
xor eax, edx
mov edx, dword [ebp - 0x18]
and edx, 0xff
movzx edx, byte [edx + 0x304b40b0]
shl edx, 0x18
xor eax, edx
mov edx, dword [ebp - 0x34]
xor eax, dword [edx]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
add dword [ebp - 0x34], 4
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x19]
mov edx, dword [ebp - 0xc]
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + 0x304b40b0]
xor eax, edx
mov edx, dword [ebp - 0x10]
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + 0x304b40b0]
shl edx, 8
xor eax, edx
mov edx, dword [ebp - 0x14]
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + 0x304b40b0]
shl edx, 0x10
xor eax, edx
mov edx, dword [ebp - 0x18]
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + 0x304b40b0]
shl edx, 0x18
xor eax, edx
mov edx, dword [ebp - 0x34]
xor eax, dword [edx]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
add dword [ebp - 0x34], 4
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1a]
mov edx, dword [ebp - 0xc]
shr edx, 0x10
and edx, 0xff
movzx edx, byte [edx + 0x304b40b0]
xor eax, edx
mov edx, dword [ebp - 0x10]
shr edx, 0x10
and edx, 0xff
movzx edx, byte [edx + 0x304b40b0]
shl edx, 8
xor eax, edx
mov edx, dword [ebp - 0x14]
shr edx, 0x10
and edx, 0xff
movzx edx, byte [edx + 0x304b40b0]
shl edx, 0x10
xor eax, edx
mov edx, dword [ebp - 0x18]
shr edx, 0x10
and edx, 0xff
movzx edx, byte [edx + 0x304b40b0]
shl edx, 0x18
xor eax, edx
mov edx, dword [ebp - 0x34]
xor eax, dword [edx]
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
add dword [ebp - 0x34], 4
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1b]
mov edx, dword [ebp - 0xc]
shr edx, 0x18
movzx edx, byte [edx + 0x304b40b0]
xor eax, edx
mov edx, dword [ebp - 0x10]
shr edx, 0x18
movzx edx, byte [edx + 0x304b40b0]
shl edx, 8
xor eax, edx
mov edx, dword [ebp - 0x14]
shr edx, 0x18
movzx edx, byte [edx + 0x304b40b0]
shl edx, 0x10
xor eax, edx
mov edx, dword [ebp - 0x18]
shr edx, 0x18
movzx edx, byte [edx + 0x304b40b0]
shl edx, 0x18
xor eax, edx
mov edx, dword [ebp - 0x34]
xor eax, dword [edx]
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
pop ebx
mov esp, ebp
pop ebp
ret