Function at 0x89cb22
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x7608c0]
sub esp, 8
inc eax
jne 0x89cba8
push 0x75a7d0
call fcn.0088e022
add esp, 4
push 0x674
push 0x648aec
call fcn.0088de12
push eax
call fcn.0088de02
mov ecx, dword [0x67fa0c]
add esp, 4
push eax
push ecx
push 0x75a7d0
call fcn.00924278
push 0x75a7d0
push 0x649108
call fcn.00925512
mov edx, dword [0x67fa10]
push 0x75a7d0
push edx
call fcn.00925512
mov eax, dword [0x7608c8]
mov dword [0x7608c4], 1
mov ecx, dword [eax]
add esp, 0x24
test ecx, ecx
je 0x89cbb1
mov dword [0x7608c8], 0
jmp 0x89cbb1
mov eax, dword [0x7608c4]
test eax, eax
je 0x89cbe8
push 0x674
push 0x648aec
call fcn.0088de12
push eax
call fcn.0088de02
mov ecx, dword [0x67fa14]
add esp, 4
push eax
push ecx
push 0x75a7d0
call fcn.00924278
push 0x3b9aca00
call fcn.0088de82
add esp, 0x18
mov ecx, dword [0x761c24]
mov eax, dword [ecx + 0xf8]
mov ecx, dword [ecx + 0xfc]
mov edx, eax
shr edx, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [ebp + 0x48]
mov byte [esi], dl
mov byte [esi + 3], al
mov edx, eax
shr edx, 0x10
mov byte [esi + 1], dl
mov edx, eax
shr edx, 8
mov byte [esi + 2], dl
mov byte [esi + 7], cl
mov eax, ecx
shr eax, 0x18
mov byte [esi + 4], al
lea ebx, [esi + 2]
mov edx, ecx
shr edx, 0x10
mov byte [esi + 5], dl
mov eax, ecx
shr eax, 8
mov byte [esi + 6], al
mov ecx, dword [0x761c24]
mov eax, dword [ecx + 0x108]
mov ecx, dword [ecx + 0x10c]
mov edx, eax
shr edx, 0x18
mov byte [esi + 8], dl
push edi
lea edi, [esi + 8]
mov edx, eax
mov byte [edi + 3], al
shr edx, 0x10
mov byte [edi + 1], dl
mov edx, eax
shr edx, 8
mov byte [edi + 2], dl
mov eax, ecx
shr eax, 0x18
mov byte [edi + 4], al
mov edx, ecx
mov eax, ecx
shr edx, 0x10
shr eax, 8
mov byte [edi + 5], dl
mov byte [edi + 6], al
mov byte [edi + 7], cl
mov eax, dword [0x761c24]
mov ecx, dword [eax + 0x10c]
mov edx, dword [eax + 0x108]
push ebp
push ecx
push edx
call fcn.0089ae62
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 0x10], cl
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x11], dl
mov ecx, eax
shr ecx, 8
mov byte [esi + 0x12], cl
mov byte [esi + 0x13], al
mov edx, dword [0x761c24]
mov eax, dword [edx + 0x70]
mov ecx, eax
shr ecx, 0x18
mov edx, eax
add esp, 0xc
shr edx, 0x10
mov byte [esi + 0x14], cl
mov byte [esi + 0x15], dl
mov ecx, eax
mov byte [esi + 0x17], al
shr ecx, 8
mov byte [esi + 0x16], cl
mov eax, dword [0x67fa68]
mov ecx, dword [0x67fa6c]
mov edx, eax
shr edx, 0x18
mov byte [esi + 0x18], dl
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x19], dl
mov byte [esi + 0x1b], al
mov edx, eax
shr edx, 8
mov byte [esi + 0x1a], dl
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x1c], al
mov edx, ecx
mov eax, ecx
shr edx, 0x10
shr eax, 8
mov byte [esi + 0x1e], al
mov byte [esi + 0x1f], cl
mov byte [esi + 0x1d], dl
lea eax, [esi + 0x22]
mov ecx, 0x20
lea ebx, [ebx]
mov byte [eax - 2], 0
mov byte [eax - 1], 0
mov byte [eax], 0
mov byte [eax + 1], 0
mov byte [eax + 2], 0
mov byte [eax + 3], 0
mov byte [eax + 4], 0
mov byte [eax + 5], 0
add eax, 8
dec ecx
jne 0x89cd32
mov ecx, dword [0x761c24]
mov ecx, dword [ecx + 0x8c]
test ecx, ecx
je 0x89cda3
jmp 0x89cd72
mov eax, dword [ecx]
mov byte [esi + eax*8 + 0x20], 0
mov byte [esi + eax*8 + 0x21], 0
mov byte [esi + eax*8 + 0x22], 0
mov byte [esi + eax*8 + 0x23], 0
mov byte [esi + eax*8 + 0x24], 0
mov byte [esi + eax*8 + 0x25], 0
mov byte [esi + eax*8 + 0x26], 0
mov byte [esi + eax*8 + 0x27], 0
mov ecx, dword [ecx + 0x50]
test ecx, ecx
jne 0x89cd72
mov edx, ebx
xor ecx, ecx
mov ebx, 0x30
lea ebx, [ebx]
movzx ebp, byte [edx - 2]
mov eax, ebp
xor eax, ecx
xor eax, 0xff946a4f
shl eax, 8
add eax, ecx
xor eax, 0x573ed587
add eax, ebp
movzx ebp, byte [edx - 1]
mov ecx, ebp
xor ecx, eax
xor ecx, 0xff946a4f
shl ecx, 8
add ecx, eax
xor ecx, 0x573ed587
add ecx, ebp
movzx ebp, byte [edx]
mov eax, ebp
xor eax, ecx
xor eax, 0xff946a4f
shl eax, 8
add eax, ecx
xor eax, 0x573ed587
add eax, ebp
movzx ebp, byte [edx + 1]
mov ecx, ebp
xor ecx, eax
xor ecx, 0xff946a4f
shl ecx, 8
add ecx, eax
xor ecx, 0x573ed587
add ecx, ebp
movzx ebp, byte [edx + 2]
mov eax, ebp
xor eax, ecx
xor eax, 0xff946a4f
shl eax, 8
add eax, ecx
movzx ecx, byte [edx + 3]
xor eax, 0x573ed587
add eax, ebp
mov ebp, ecx
xor ebp, eax
xor ebp, 0xff946a4f
shl ebp, 8
add ebp, eax
xor ebp, 0x573ed587
add ecx, ebp
add edx, 6
dec ebx
jne 0x89cdb2
mov edx, ecx
shr edx, 0x18
mov byte [esi + 0x120], dl
mov edx, ecx
mov eax, ecx
shr edx, 8
shr eax, 0x10
mov byte [esi + 0x122], dl
mov byte [esi + 0x123], cl
mov byte [esi + 0x121], al
mov edx, edi
xor ecx, ecx
mov ebx, 0x47
movzx edi, byte [edx]
mov eax, edi
xor eax, ecx
xor eax, 0xff946a4f
shl eax, 8
add eax, ecx
xor eax, 0x573ed587
add eax, edi
movzx edi, byte [edx + 1]
mov ecx, edi
xor ecx, eax
xor ecx, 0xff946a4f
shl ecx, 8
add ecx, eax
xor ecx, 0x573ed587
add ecx, edi
movzx edi, byte [edx + 2]
mov eax, edi
xor eax, ecx
xor eax, 0xff946a4f
shl eax, 8
add eax, ecx
movzx ecx, byte [edx + 3]
xor eax, 0x573ed587
add eax, edi
mov edi, ecx
xor edi, eax
xor edi, 0xff946a4f
shl edi, 8
add edi, eax
xor edi, 0x573ed587
add ecx, edi
add edx, 4
dec ebx
jne 0x89ce87
mov byte [esi + 0x127], cl
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x124], al
mov edx, ecx
mov eax, ecx
shr edx, 0x10
mov byte [esi + 0x125], dl
shr eax, 8
mov byte [esi + 0x126], al
mov eax, dword [0x761c20]
mov cl, byte [0x761c23]
mov byte [esi + 0x128], cl
mov byte [esi + 0x12b], al
mov edx, eax
mov ecx, eax
shr edx, 0x10
mov byte [esi + 0x129], dl
shr ecx, 8
mov byte [esi + 0x12a], cl
mov byte [esi + 0x12c], 0x55
mov byte [esi + 0x12d], 0xe7
mov byte [esi + 0x12e], 0x71
mov byte [esi + 0x12f], 0x8b
mov eax, dword [0x761c24]
movzx edi, byte [eax + 0xfc]
mov ecx, dword [0x67fa18]
mov edx, dword [eax + 0xf8]
and edi, 1
shl edi, 0xa
or edi, 0x200
test ecx, ecx
mov dword [esp + 0x10], edx
je 0x89cffb
mov ecx, dword [eax + 0x110]
test ecx, ecx
jne 0x89cfbc
push 0x6c4
push 0x648aec
add eax, 0x114
push 0x4b035b5
push eax
call fcn.008e69a2
mov eax, dword [0x761c24]
add esp, 0x10
inc dword [eax + 0x110]
mov eax, dword [0x761c24]
inc dword [eax + 0xd4]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [eax + 0xc]
push ecx
push esi
push 0x200
mov edx, edi
and edx, 0x3fff
push edx
shr edi, 0xe
push edi
push eax
push 0
push 0x10b
call fcn.008c3532
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret