Function at 0x712b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
mov dword [esp], edx
cmp dword [esp + 0x44], 0
mov edx, dword [eax]
mov eax, dword [eax + 4]
bswap edx
bswap eax
mov dword [esp + 8], eax
je 0x712c12
lea edi, [esp + 0xc]
cmp ebp, 8
jl 0x712be3
mov ebx, ebp
mov ebp, dword [esp + 8]
nop dword [eax]
mov edi, ebx
add ebx, 0xfffffff8
mov esi, dword [esp]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
bswap eax
xor eax, edx
add esi, 8
mov dword [esp], esi
bswap ecx
xor ecx, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push dword [esp + 0x3c]
lea eax, [esp + 0x10]
push eax
call fcn.00712f10
add esp, 8
mov edx, dword [esp + 0xc]
mov eax, edx
bswap eax
mov ecx, dword [esp + 4]
mov dword [ecx], eax
mov ebp, dword [esp + 0x10]
mov eax, ebp
bswap eax
mov dword [ecx + 4], eax
add ecx, 8
mov dword [esp + 4], ecx
cmp edi, 0xf
ja 0x712b80
mov dword [esp + 8], ebp
mov ebp, ebx
lea edi, [esp + 0xc]
test ebp, ebp
je 0x712d1c
xor eax, eax
lea ecx, [ebp - 1]
cmp ecx, 6
ja case.default.0x712c00
add dword [esp], ebp
mov dword [esp + 0x14], edx
jmp dword [ecx*4 + 0xa3c060]
xor ecx, ecx
mov ebp, dword [esp + 0x40]
jmp 0x712dd4
cmp ebp, 8
jl 0x712cb8
mov ebx, dword [esp + 8]
nop
mov esi, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 8], ebp
lea eax, [ebp - 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp]
mov ebp, dword [eax]
bswap ebp
mov dword [esp + 0xc], ebp
mov ebx, dword [eax + 4]
add eax, 8
mov dword [esp], eax
bswap ebx
mov dword [esp + 0x10], ebx
push ecx
lea eax, [esp + 0x10]
push eax
call fcn.00712f10
mov edi, dword [esp + 0xc]
mov edx, ebp
mov ebp, dword [esp + 0x20]
add esp, 8
xor esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
xor ecx, dword [esp + 0x10]
mov eax, esi
shr eax, 0x18
mov byte [edi], al
mov eax, esi
shr eax, 0x10
mov byte [edi + 1], al
mov eax, esi
mov byte [edi + 2], ah
mov byte [edi + 3], al
mov eax, ecx
shr eax, 0x18
mov byte [edi + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, ecx
mov ecx, dword [esp + 0x3c]
mov byte [edi + 6], ah
mov byte [edi + 7], al
add edi, 8
mov dword [esp + 4], edi
cmp dword [esp + 8], 0xf
ja 0x712c20
mov dword [esp + 8], ebx
test ebp, ebp
je 0x712d44
mov edi, ebp
mov ebp, edx
mov edx, dword [esp]
mov eax, dword [edx]
bswap eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov ebx, dword [edx + 4]
bswap ebx
mov dword [esp + 0x10], ebx
lea eax, [esp + 0xc]
push ecx
push eax
call fcn.00712f10
add esp, 8
lea eax, [edi - 1]
cmp eax, 6
ja case.default.0x712d0a
mov esi, ebx
mov ecx, ebp
xor ecx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
xor ebx, dword [esp + 0x10]
add dword [esp + 4], edi
jmp dword [eax*4 + 0xa3c07c]
mov ebp, dword [esp + 0x40]
mov ebx, esi
jmp 0x712ebf
mov eax, edx
shr eax, 0x18
mov dword [esp], eax
mov esi, edx
shr esi, 0x10
mov edi, edx
mov eax, dword [esp + 8]
mov edx, eax
shr edx, 0x18
mov ebx, eax
mov bh, ah
shr eax, 0x10
mov ebp, dword [esp + 0x40]
jmp 0x712e2f
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x40]
jmp 0x712ecd
mov ebp, dword [esp + 0x40]
jmp 0x712d97
xor ecx, ecx
mov ebp, dword [esp + 0x40]
jmp 0x712db4
mov ebp, dword [esp + 0x40]
jmp 0x712da7
xor ecx, ecx
mov ebp, dword [esp + 0x40]
jmp 0x712de4
xor ecx, ecx
mov ebp, dword [esp + 0x40]
jmp 0x712dc4
mov ecx, dword [esp]
movzx eax, byte [ecx - 1]
dec ecx
mov dword [esp], ecx
shl eax, 8
mov ebp, dword [esp + 0x40]
mov esi, dword [esp]
movzx ecx, byte [esi - 1]
dec esi
mov dword [esp], esi
shl ecx, 0x10
or eax, ecx
mov esi, dword [esp]
movzx ecx, byte [esi - 1]
dec esi
mov dword [esp], esi
shl ecx, 0x18
or eax, ecx
mov ecx, eax
mov edx, dword [esp]
movzx eax, byte [edx - 1]
dec edx
mov dword [esp], edx
mov esi, dword [esp]
movzx edx, byte [esi - 1]
dec esi
mov dword [esp], esi
shl edx, 8
or eax, edx
mov esi, dword [esp]
movzx edx, byte [esi - 1]
dec esi
mov dword [esp], esi
shl edx, 0x10
or eax, edx
mov edx, dword [esp]
movzx edx, byte [edx - 1]
shl edx, 0x18
or eax, edx
mov edx, dword [esp + 0x14]
xor eax, edx
xor ecx, dword [esp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push dword [esp + 0x3c]
push edi
call fcn.00712f10
add esp, 8
mov esi, dword [esp + 0xc]
mov ecx, esi
shr ecx, 0x18
mov dword [esp], ecx
mov ecx, esi
bswap ecx
mov edx, dword [esp + 4]
mov dword [edx], ecx
mov ebx, dword [esp + 0x10]
mov ecx, ebx
bswap ecx
mov dword [edx + 4], ecx
mov edi, esi
shr esi, 0x10
mov edx, ebx
shr edx, 0x18
mov eax, ebx
shr eax, 0x10
mov ecx, dword [esp]
mov byte [ebp], cl
mov ecx, esi
mov byte [ebp + 1], cl
mov ecx, edi
mov byte [ebp + 2], ch
mov byte [ebp + 3], cl
mov byte [ebp + 4], dl
jmp 0x712ef0
mov ebp, dword [esp + 0x40]
jmp 0x712ea0
mov ebp, dword [esp + 0x40]
jmp 0x712e94
mov ebp, dword [esp + 0x40]
jmp 0x712ec9
mov ebp, dword [esp + 0x40]
mov ebx, esi
jmp 0x712eae
mov eax, dword [esp + 4]
mov byte [eax - 1], bh
dec eax
mov dword [esp + 4], eax
mov eax, ebx
shr eax, 0x10
mov edx, dword [esp + 4]
mov byte [edx - 1], al
dec edx
mov dword [esp + 4], edx
mov ebp, dword [esp + 0x40]
shr ebx, 0x18
mov eax, dword [esp + 4]
mov byte [eax - 1], bl
dec eax
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov byte [eax - 1], cl
dec eax
mov dword [esp + 4], eax
mov ebx, esi
mov eax, dword [esp + 4]
mov byte [eax - 1], ch
dec eax
mov dword [esp + 4], eax
mov eax, ecx
shr eax, 0x10
mov edx, dword [esp + 4]
mov byte [edx - 1], al
dec edx
mov dword [esp + 4], edx
shr ecx, 0x18
mov eax, dword [esp + 4]
mov byte [eax - 1], cl
mov edx, dword [esp + 0x14]
mov eax, edx
shr eax, 0x18
mov byte [ebp], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 1], al
mov byte [ebp + 2], dh
mov byte [ebp + 3], dl
mov eax, ebx
shr eax, 0x18
mov byte [ebp + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp + 5], al
mov byte [ebp + 6], bh
mov byte [ebp + 7], bl
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret