Function at 0x71f090
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x40], 0
mov edx, dword [ebp]
mov eax, dword [ebp + 4]
je 0x71f144
lea ecx, [esp + 8]
cmp edi, 8
jl 0x71f115
mov ebx, dword [esp + 0x30]
nop dword [eax]
mov dword [esp], edi
xor edx, dword [esi]
xor eax, dword [esi + 4]
add edi, 0xfffffff8
add esi, 8
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
push dword [esp + 0x38]
push ecx
mov ebp, ecx
call fcn.0071f3b0
mov ecx, ebp
add esp, 8
mov edx, dword [esp + 8]
mov dword [ebx], edx
mov eax, dword [esp + 0xc]
mov dword [ebx + 4], eax
add ebx, 8
cmp dword [esp], 0xf
ja 0x71f0d0
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp], eax
test edi, edi
je 0x71f24d
xor eax, eax
lea ecx, [edi - 1]
cmp ecx, 6
ja case.default.0x71f130
add esi, edi
jmp dword [ecx*4 + 0x9cd95c]
mov ebx, edx
xor ecx, ecx
mov edi, dword [esp + 4]
jmp 0x71f2c5
cmp edi, 8
jl 0x71f1e7
mov ecx, edi
mov edi, dword [esp + 0x30]
nop word cs:[eax + eax]
mov ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 4], ecx
lea eax, [ecx - 8]
mov dword [esp + 0x14], eax
mov ebp, dword [esi]
mov dword [esp + 8], ebp
mov eax, dword [esi + 4]
mov dword [esp], eax
add esi, 8
mov dword [esp + 0xc], eax
push dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
call fcn.0071f620
mov ecx, dword [esp + 0x1c]
mov edx, ebp
add esp, 8
xor ebx, dword [esp + 8]
mov ebp, dword [esp + 0x10]
xor ebp, dword [esp + 0xc]
mov byte [edi], bl
mov byte [edi + 1], bh
mov eax, ebx
shr eax, 0x10
mov byte [edi + 2], al
shr ebx, 0x18
mov byte [edi + 3], bl
mov ebx, ebp
mov byte [edi + 4], bl
mov byte [edi + 5], bh
mov eax, ebp
shr eax, 0x10
mov byte [edi + 6], al
mov eax, dword [esp]
shr ebx, 0x18
mov byte [edi + 7], bl
add edi, 8
cmp dword [esp + 4], 0xf
ja 0x71f160
mov dword [esp + 4], edi
mov ebp, dword [esp + 0x3c]
mov edi, ecx
mov ebx, eax
test edi, edi
je 0x71f377
mov dword [esp + 0x14], edx
mov eax, dword [esi]
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push dword [esp + 0x38]
push eax
call fcn.0071f620
add esp, 8
lea eax, [edi - 1]
cmp eax, 6
ja case.default.0x71f23a
mov ecx, dword [esp + 0x14]
xor ecx, dword [esp + 8]
mov edx, ebx
xor edx, dword [esp + 0xc]
mov esi, dword [esp + 4]
add esi, edi
jmp dword [eax*4 + 0x9cd978]
mov ebx, dword [esp]
mov edx, dword [esp + 0x10]
jmp 0x71f374
mov edi, edx
shr edi, 0x10
mov ecx, edx
shr ecx, 0x18
mov eax, edx
mov edx, dword [esp]
mov ebx, edx
shr ebx, 0x10
jmp 0x71f309
mov ebx, edx
xor ecx, ecx
mov edi, dword [esp + 4]
jmp 0x71f2b1
mov edi, dword [esp + 4]
jmp 0x71f2a5
xor ecx, ecx
mov esi, dword [esp + 4]
jmp 0x71f2cf
mov ebx, edx
xor ecx, ecx
mov edi, dword [esp + 4]
jmp 0x71f2bb
movzx eax, byte [esi - 1]
dec esi
shl eax, 0x10
movzx ecx, byte [esi - 1]
dec esi
shl ecx, 8
or eax, ecx
mov edi, dword [esp + 4]
movzx ecx, byte [esi - 1]
dec esi
or eax, ecx
mov ebx, edx
mov ecx, eax
movzx eax, byte [esi - 1]
dec esi
shl eax, 0x18
movzx edx, byte [esi - 1]
dec esi
shl edx, 0x10
or eax, edx
movzx edx, byte [esi - 1]
dec esi
shl edx, 8
or eax, edx
movzx edx, byte [esi - 1]
or eax, edx
mov edx, ebx
mov esi, edi
xor eax, edx
xor ecx, dword [esp]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
push dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
call fcn.0071f3b0
add esp, 8
mov eax, dword [esp + 8]
mov edi, eax
shr edi, 0x10
mov dword [esi], eax
mov ecx, eax
shr ecx, 0x18
mov edx, dword [esp + 0xc]
mov ebx, edx
shr ebx, 0x10
mov dword [esi + 4], edx
mov esi, edx
shr esi, 0x18
mov byte [ebp], al
mov byte [ebp + 1], ah
mov eax, edi
mov byte [ebp + 2], al
mov byte [ebp + 3], cl
mov byte [ebp + 4], dl
mov byte [ebp + 5], dh
mov byte [ebp + 6], bl
mov ebx, esi
jmp 0x71f39c
mov ebx, dword [esp]
jmp 0x71f356
mov ebx, dword [esp]
jmp 0x71f363
mov ebx, dword [esp]
jmp 0x71f35a
mov ebx, dword [esp]
mov edx, dword [esp + 0x10]
jmp 0x71f377
mov ebx, dword [esp]
jmp 0x71f36c
mov eax, edx
shr eax, 0x10
mov byte [esi - 1], al
dec esi
mov ebx, dword [esp]
mov byte [esi - 1], dh
dec esi
mov byte [esi - 1], dl
dec esi
mov eax, ecx
shr eax, 0x18
mov byte [esi - 1], al
dec esi
mov eax, ecx
shr eax, 0x10
mov byte [esi - 1], al
dec esi
mov edx, dword [esp + 0x10]
mov byte [esi - 1], ch
dec esi
mov byte [esi - 1], cl
mov byte [ebp], dl
mov byte [ebp + 1], dh
mov eax, edx
shr eax, 0x10
mov byte [ebp + 2], al
shr edx, 0x18
mov byte [ebp + 3], dl
mov byte [ebp + 4], bl
mov byte [ebp + 5], bh
mov eax, ebx
shr eax, 0x10
mov byte [ebp + 6], al
shr ebx, 0x18
mov byte [ebp + 7], bl
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret