Function at 0x7b2ba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [esp + 0x28]
mov eax, 0x20001
lea ecx, [edi - 0x10]
cmp ecx, 0x10
ja 0x7b30ef
mov edx, 0x10101
bt edx, ecx
jae 0x7b30ef
mov ecx, dword [esp + 0x2c]
mov eax, edi
sar eax, 0x1f
shr eax, 0x1d
add eax, edi
sar eax, 3
test ecx, ecx
lea edx, [eax + eax + 6]
je 0x7b2bf0
mov eax, 0x20002
cmp edx, ecx
jne 0x7b30ef
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dword [ebp + 0x1e0], edx
movzx ecx, byte [eax]
shl ecx, 0x18
movzx edx, byte [eax + 1]
shl edx, 0x10
or edx, ecx
movzx esi, byte [eax + 2]
shl esi, 8
or esi, edx
movzx ecx, byte [eax + 3]
or ecx, esi
mov dword [ebp], ecx
movzx edx, byte [eax + 4]
shl edx, 0x18
movzx esi, byte [eax + 5]
shl esi, 0x10
or esi, edx
movzx ebx, byte [eax + 6]
shl ebx, 8
or ebx, esi
movzx edx, byte [eax + 7]
or edx, ebx
mov dword [ebp + 4], edx
movzx esi, byte [eax + 8]
shl esi, 0x18
movzx ebx, byte [eax + 9]
shl ebx, 0x10
or ebx, esi
movzx esi, byte [eax + 0xa]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0xb]
or ebx, esi
mov dword [ebp + 8], ebx
movzx esi, byte [eax + 0xc]
shl esi, 0x18
movzx ebx, byte [eax + 0xd]
shl ebx, 0x10
or ebx, esi
movzx esi, byte [eax + 0xe]
shl esi, 8
or esi, ebx
movzx ebx, byte [eax + 0xf]
or ebx, esi
mov dword [ebp + 0xc], ebx
cmp edi, 0x20
je 0x7b2d18
cmp edi, 0x18
je 0x7b2e73
mov eax, 0xffff
cmp edi, 0x10
jne 0x7b30ef
mov eax, 7
nop word [eax + eax]
mov esi, ebx
shr esi, 0xe
and esi, 0x3fc
xor ecx, dword [esi + 0x7efa20]
movzx esi, bh
xor ecx, dword [esi*4 + 0x7efe20]
movzx esi, bl
xor ecx, dword [esi*4 + 0x7f0220]
mov esi, ebx
shr esi, 0x18
xor ecx, dword [esi*4 + str.cwko0]
xor ecx, dword [eax + 0x7ed9f1]
mov esi, dword [esp + 0x30]
mov edi, esi
mov dword [edi + eax*4 - 0xc], ecx
xor edx, ecx
mov dword [edi + eax*4 - 8], edx
mov esi, dword [edi + eax*4 - 0x14]
xor esi, edx
mov dword [edi + eax*4 - 4], esi
xor ebx, esi
mov dword [edi + eax*4], ebx
add eax, 4
mov esi, 0x2c
cmp eax, 0x2f
jne 0x7b2cb0
jmp 0x7b2f3c
movzx esi, byte [eax + 0x10]
shl esi, 0x18
movzx edi, byte [eax + 0x11]
shl edi, 0x10
or edi, esi
movzx esi, byte [eax + 0x12]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0x13]
or edi, esi
mov ebp, dword [esp + 0x30]
mov dword [ebp + 0x10], edi
movzx esi, byte [eax + 0x14]
shl esi, 0x18
movzx edi, byte [eax + 0x15]
shl edi, 0x10
or edi, esi
movzx esi, byte [eax + 0x16]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0x17]
or edi, esi
mov dword [ebp + 0x14], edi
movzx esi, byte [eax + 0x18]
shl esi, 0x18
movzx edi, byte [eax + 0x19]
shl edi, 0x10
or edi, esi
movzx esi, byte [eax + 0x1a]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0x1b]
or edi, esi
mov dword [ebp + 0x18], edi
movzx esi, byte [eax + 0x1c]
shl esi, 0x18
movzx edi, byte [eax + 0x1d]
shl edi, 0x10
or edi, esi
movzx esi, byte [eax + 0x1e]
shl esi, 8
or esi, edi
movzx eax, byte [eax + 0x1f]
or eax, esi
mov dword [ebp + 0x1c], eax
mov edi, 0xffffffe8
jmp 0x7b2e16
mov ebx, dword [ebp + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], 8
call fcn.007cf0cb
mov ecx, eax
shr ecx, 0xe
and ecx, 0x3fc
movzx edx, ah
movzx esi, al
shr eax, 0x18
xor ebx, dword [ecx + 0x7efa20]
xor ebx, dword [edx*4 + 0x7efe20]
xor ebx, dword [esi*4 + 0x7f0220]
xor ebx, dword [eax*4 + str.cwko0]
mov dword [ebp + 0x30], ebx
xor ebx, dword [ebp + 0x14]
mov dword [ebp + 0x34], ebx
xor ebx, dword [ebp + 0x18]
mov dword [ebp + 0x38], ebx
xor ebx, dword [ebp + 0x1c]
mov dword [ebp + 0x3c], ebx
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x2c]
lea ebp, [ebp + 0x20]
add edi, 4
mov eax, dword [ebp + 0x1c]
mov esi, eax
shr esi, 0xe
and esi, 0x3fc
xor ecx, dword [esi + 0x7efa20]
movzx esi, ah
xor ecx, dword [esi*4 + 0x7efe20]
movzx esi, al
xor ecx, dword [esi*4 + 0x7f0220]
shr eax, 0x18
xor ecx, dword [eax*4 + str.cwko0]
xor ecx, dword [edi + 0x7eda10]
mov dword [ebp + 0x20], ecx
xor ecx, edx
mov dword [ebp + 0x24], ecx
xor ecx, dword [ebp + 8]
mov dword [ebp + 0x28], ecx
xor ecx, ebx
mov dword [ebp + 0x2c], ecx
mov esi, 0x3c
test edi, edi
jne 0x7b2db0
jmp 0x7b2f3c
movzx esi, byte [eax + 0x10]
shl esi, 0x18
movzx edi, byte [eax + 0x11]
shl edi, 0x10
or edi, esi
movzx esi, byte [eax + 0x12]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0x13]
or edi, esi
mov esi, dword [esp + 0x30]
mov dword [esi + 0x10], edi
mov ebp, esi
movzx esi, byte [eax + 0x14]
shl esi, 0x18
movzx edi, byte [eax + 0x15]
shl edi, 0x10
or edi, esi
movzx esi, byte [eax + 0x16]
shl esi, 8
or esi, edi
movzx eax, byte [eax + 0x17]
or eax, esi
mov esi, ebp
mov dword [esi + 0x14], eax
mov ebp, 0xffffffe4
mov edi, esi
jmp 0x7b2ee4
mov eax, dword [edi + 0x10]
xor eax, ebx
mov dword [edi + 0x28], eax
xor eax, dword [edi + 0x14]
mov dword [edi + 0x2c], eax
add ebp, 4
add edi, 0x18
mov eax, dword [edi + 0x14]
mov esi, eax
shr esi, 0xe
and esi, 0x3fc
xor ecx, dword [esi + 0x7efa20]
movzx esi, ah
xor ecx, dword [esi*4 + 0x7efe20]
movzx esi, al
xor ecx, dword [esi*4 + 0x7f0220]
mov esi, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + str.cwko0]
xor ecx, dword [ebp + 0x7eda14]
mov dword [edi + 0x18], ecx
xor edx, ecx
mov dword [edi + 0x1c], edx
mov ebx, dword [edi + 8]
xor ebx, edx
mov dword [edi + 0x20], ebx
xor ebx, esi
mov dword [edi + 0x24], ebx
mov esi, 0x34
test ebp, ebp
jne 0x7b2ed0
mov edi, dword [esp + 0x30]
mov eax, dword [edi + esi*4 - 0x10]
mov dword [edi + 0xf0], eax
mov eax, dword [edi + esi*4 - 0xc]
mov dword [edi + 0xf4], eax
mov eax, dword [edi + esi*4 - 8]
mov dword [edi + 0xf8], eax
mov eax, dword [edi + esi*4 - 4]
mov dword [edi + 0xfc], eax
cmp dword [edi + 0x1e0], 2
jl 0x7b30c3
lea eax, [esi*4 - 0x10]
mov dword [esp + 0xc], eax
lea esi, [esi*4 - 0x20]
mov ecx, 1
mov eax, edi
xor ebx, ebx
mov dword [esp + 8], ecx
mov edx, esi
mov ecx, dword [eax + edx]
mov esi, ecx
mov edi, ecx
shr edi, 0x18
shr esi, 0xe
and esi, 0x3fc
mov esi, dword [esi + 0x7ede20]
xor esi, dword [edi*4 + 0x7eda20]
movzx ebp, ch
movzx ecx, cl
mov edi, ebx
xor esi, dword [ebp*4 + 0x7ee220]
xor esi, dword [ecx*4 + 0x7ee620]
mov dword [eax + edi + 0x100], esi
mov ecx, dword [eax + edx + 4]
mov esi, ecx
mov ebx, ecx
shr ebx, 0x18
shr esi, 0xe
and esi, 0x3fc
mov esi, dword [esi + 0x7ede20]
xor esi, dword [ebx*4 + 0x7eda20]
movzx ebx, ch
movzx ecx, cl
xor esi, dword [ebx*4 + 0x7ee220]
xor esi, dword [ecx*4 + 0x7ee620]
mov dword [eax + edi + 0x104], esi
mov ecx, dword [eax + edx + 8]
mov esi, ecx
mov ebx, ecx
shr ebx, 0x18
shr esi, 0xe
and esi, 0x3fc
mov esi, dword [esi + 0x7ede20]
xor esi, dword [ebx*4 + 0x7eda20]
movzx ebx, ch
movzx ecx, cl
xor esi, dword [ebx*4 + 0x7ee220]
xor esi, dword [ecx*4 + 0x7ee620]
mov dword [eax + edi + 0x108], esi
mov ecx, dword [eax + edx + 0xc]
mov esi, ecx
mov ebx, ecx
shr ebx, 0x18
shr esi, 0xe
and esi, 0x3fc
mov esi, dword [esi + 0x7ede20]
xor esi, dword [ebx*4 + 0x7eda20]
movzx ebx, ch
movzx ecx, cl
mov ebp, dword [esp + 0xc]
xor esi, dword [ebx*4 + 0x7ee220]
xor esi, dword [ecx*4 + 0x7ee620]
mov ecx, dword [esp + 8]
mov dword [eax + edi + 0x10c], esi
inc ecx
lea ebx, [edi + 0x10]
lea esi, [ebp - 0x10]
mov dword [esp + 0xc], esi
lea esi, [edx - 0x10]
cmp ecx, dword [eax + 0x1e0]
jl 0x7b2f90
lea ebx, [eax + edi + 0x100]
lea ecx, [eax + ebp - 0x10]
lea edx, [eax + edx - 0x10]
lea esi, [eax + edi + 0x110]
mov edi, esi
jmp 0x7b30d7
lea ecx, [edi + esi*4 - 0x10]
lea edx, [edi + esi*4 - 0x20]
lea ebx, [edi + 0xf0]
add edi, 0x100
mov edx, dword [edx]
mov dword [edi], edx
mov edx, dword [ecx - 0xc]
mov dword [ebx + 0x14], edx
mov edx, dword [ecx - 8]
mov dword [ebx + 0x18], edx
mov ecx, dword [ecx - 4]
mov dword [ebx + 0x1c], ecx
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret