Function at 0x6b5259a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor edx, edx
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
mov eax, dword [esi + 0x170]
mov edi, dword [esi + 0x160]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x174]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x164]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c]
add eax, dword [esi + 0x38]
adc edx, dword [esi + 0x3c]
mov ecx, edx
mov edx, eax
mov eax, 0xffffffe0
cmp eax, edx
mov eax, 0xf
sbb eax, ecx
jb 0x6b526137
mov eax, dword [esi + 0x16c]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], ecx
test eax, eax
jne 0x6b525d86
mov ecx, dword [esi + 0x168]
mov eax, dword [esi + 0xc]
bswap eax
mov dword [esp + 0x28], eax
mov eax, ecx
mov dword [esp + 0x24], ecx
and eax, 0xf
je 0x6b526141
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x6b525d72
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x6c]
jmp 0x6b525a43
test ebp, ebp
je 0x6b525a68
movzx edx, byte [edi]
add ebx, 1
xor dl, byte [esi + eax + 0x10]
add ecx, 1
add eax, 1
mov byte [ebx - 1], dl
add edi, 1
sub ebp, 1
mov byte [esi + ecx + 0x177], dl
and eax, 0xf
jne 0x6b525a3f
mov dword [esp + 0x24], ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], ebp
test eax, eax
jne 0x6b525d72
lea eax, [esi + 0x178]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
lea eax, [esi + 0x60]
mov dword [esp + 4], eax
lea eax, [esi + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
call eax
mov dword [esp + 0x24], 0
cmp dword [esp + 0x6c], 0xbff
jbe 0x6b525baa
lea eax, [esi + 0x60]
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x40]
mov dword [esp + 0x30], eax
lea eax, [esi + 0x10]
mov dword [esp + 0x20], eax
lea eax, [ebx + 0xc00]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
add eax, ebx
mov dword [esp + 0x3c], eax
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x60], esi
sub eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x38], eax
mov esi, ebp
mov ebp, dword [esp + 0x60]
mov ebx, eax
lea esi, [esi]
mov eax, dword [esp + 0x18]
add esi, 1
mov dword [esp], ebp
add ebx, 0x10
add edi, 0x10
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
call eax
mov edx, esi
bswap edx
mov dword [ebp + 0xc], edx
mov edx, dword [edi - 0x10]
xor edx, dword [ebp + 0x10]
mov dword [ebx - 0x10], edx
mov edx, dword [edi - 0xc]
xor edx, dword [ebp + 0x14]
mov dword [ebx - 0xc], edx
mov edx, dword [edi - 8]
xor edx, dword [ebp + 0x18]
mov dword [ebx - 8], edx
mov edx, dword [edi - 4]
xor edx, dword [ebp + 0x1c]
mov dword [ebx - 4], edx
cmp ebx, dword [esp + 0x1c]
jne 0x6b525b00
mov eax, dword [esp + 0x38]
add dword [esp + 0x28], 0xc0
mov esi, ebp
add dword [esp + 0x64], 0xc00
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], 0xc00
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
call eax
sub dword [esp + 0x6c], 0xc00
lea eax, [ebx + 0xc00]
cmp dword [esp + 0x6c], 0xbff
mov dword [esp + 0x1c], eax
ja 0x6b525adc
mov edi, dword [esp + 0x6c]
and edi, 0xfffffff0
jne 0x6b525e6c
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x6b525d72
mov eax, dword [esp + 0x18]
mov dword [esp], esi
mov dword [esp + 8], eax
lea eax, [esi + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
lea edx, [esi + 0x14]
mov edi, edx
add eax, 1
add ecx, 4
bswap eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x6c]
cmp ecx, ebx
setbe dl
mov dword [esp + 0x1c], ecx
lea ebp, [eax - 1]
mov eax, dword [esp + 0x24]
lea eax, [esi + eax + 0x178]
mov dword [esp + 0x14], eax
lea eax, [ebx + 4]
cmp dword [esp + 0x64], eax
mov ecx, eax
setae al
or edx, eax
cmp dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
setae al
cmp ebx, edi
setae cl
or eax, ecx
mov ecx, dword [esp + 0x14]
and eax, edx
cmp ebp, 2
seta dl
and eax, edx
mov edx, dword [esp + 0x24]
mov byte [esp + 0x28], al
lea edx, [esi + edx + 0x17c]
cmp edx, ebx
setbe al
cmp dword [esp + 0x20], ecx
setbe cl
or eax, ecx
movzx ecx, byte [esp + 0x28]
and ecx, eax
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x1c], eax
setbe al
cmp edx, dword [esp + 0x64]
mov byte [esp + 0x20], cl
setbe cl
or eax, ecx
and al, byte [esp + 0x20]
cmp dword [esp + 0x14], edi
mov ecx, eax
setae al
cmp dword [esp + 0x18], edx
setae dl
or eax, edx
test cl, al
je 0x6b525f4a
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x14]
or eax, ebx
or eax, ecx
test al, 3
jne 0x6b525f4a
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
shr edx, 2
mov eax, dword [eax]
xor eax, dword [esi + 0x10]
mov dword [ebx], eax
mov dword [ecx], eax
cmp edx, 1
je 0x6b525cf0
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 4]
xor eax, dword [esi + 0x14]
mov dword [ebx + 4], eax
mov dword [ecx + 4], eax
cmp edx, 3
jne 0x6b525cf0
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 8]
xor eax, dword [esi + 0x18]
mov dword [ebx + 8], eax
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x24]
and eax, 0xfffffffc
add ecx, eax
sub ebp, eax
cmp dword [esp + 0x6c], eax
je 0x6b525d6a
mov edi, dword [esp + 0x64]
movzx edx, byte [edi + eax]
lea edi, [ecx + 1]
xor dl, byte [esi + eax + 0x10]
mov byte [ebx + eax], dl
mov dword [esp + 0x14], edi
mov byte [esi + ecx + 0x178], dl
test ebp, ebp
je 0x6b525d6a
add ecx, 2
mov edx, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
movzx edx, byte [edx + eax + 1]
xor dl, byte [esi + eax + 0x11]
mov byte [ebx + eax + 1], dl
mov byte [esi + ecx + 0x178], dl
cmp ebp, 1
je 0x6b525d6a
mov edi, dword [esp + 0x64]
movzx ecx, byte [edi + eax + 2]
xor cl, byte [esi + eax + 0x12]
mov byte [ebx + eax + 2], cl
mov eax, dword [esp + 0x18]
mov byte [esi + eax + 0x178], cl
mov ecx, dword [esp + 0x6c]
add dword [esp + 0x24], ecx
mov eax, dword [esp + 0x24]
mov dword [esi + 0x168], eax
add esp, 0x4c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, dword [esp + 0x6c]
lea eax, [esi + 0x40]
test ebp, ebp
jne 0x6b525db1
lea edx, [esi + 0x60]
mov dword [esp], eax
mov dword [esp + 4], edx
call edi
xor eax, eax
mov dword [esi + 0x16c], 0
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x24], 0x10
mov dword [esi + 0x178], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0x17c], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 0x180], ecx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x16c], 0
mov dword [esi + 0x184], eax
mov eax, dword [esi + 0xc]
bswap eax
mov dword [esp + 0x28], eax
mov eax, 1
cmp dword [esp + 0x6c], 0xf
jbe 0x6b525aa5
test al, al
je 0x6b525aa5
mov eax, dword [esp + 0x24]
lea ecx, [esi + 0x60]
lea edi, [esi + 0x40]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
lea eax, [esi + 0x178]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], edi
mov dword [esp + 4], ecx
mov dword [esp], edi
call eax
cmp dword [esp + 0x6c], 0xbff
jbe 0x6b526123
mov dword [esp + 0x24], 0
jmp 0x6b525ac1
lea eax, [esi + 0x60]
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x40]
mov dword [esp + 0x30], eax
lea eax, [esi + 0x10]
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov edi, esi
add ebp, 1
mov dword [esp + 0x68], ebx
mov esi, ecx
sub eax, 0x10
shr eax, 4
mov dword [esp + 0x38], eax
add eax, ebp
mov dword [esp + 0x20], eax
jmp 0x6b525eb1
add ebp, 1
mov eax, dword [esp + 0x18]
mov dword [esp], edi
add ebx, 0x10
add esi, 0x10
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
call eax
mov eax, ebp
bswap eax
mov dword [edi + 0xc], eax
mov eax, dword [esi - 0x10]
xor eax, dword [edi + 0x10]
mov dword [ebx - 0x10], eax
mov eax, dword [esi - 0xc]
xor eax, dword [edi + 0x14]
mov dword [ebx - 0xc], eax
mov eax, dword [esi - 8]
xor eax, dword [edi + 0x18]
mov dword [ebx - 8], eax
mov eax, dword [esi - 4]
xor eax, dword [edi + 0x1c]
mov dword [ebx - 4], eax
cmp ebp, dword [esp + 0x20]
jne 0x6b525eae
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x68]
mov esi, edi
mov dword [esp + 0x28], ebp
mov edi, dword [esp + 0x3c]
and dword [esp + 0x6c], 0xf
add eax, 1
shl eax, 4
add dword [esp + 0x64], eax
add ebx, eax
mov dword [esp + 0xc], edi
mov eax, ebx
sub eax, edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
call eax
jmp 0x6b525bb7
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x24]
movzx eax, byte [eax]
xor al, byte [esi + 0x10]
mov byte [ebx], al
mov byte [esi + edi + 0x178], al
test ebp, ebp
je 0x6b525d6a
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 1]
xor al, byte [esi + 0x11]
cmp dword [esp + 0x6c], 2
mov byte [ebx + 1], al
mov byte [esi + edi + 0x179], al
je 0x6b525d6a
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 2]
xor al, byte [esi + 0x12]
cmp dword [esp + 0x6c], 3
mov byte [ebx + 2], al
mov byte [esi + edi + 0x17a], al
je 0x6b525d6a
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 3]
xor al, byte [esi + 0x13]
cmp dword [esp + 0x6c], 4
mov byte [ebx + 3], al
mov byte [esi + edi + 0x17b], al
je 0x6b525d6a
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 4]
xor al, byte [esi + 0x14]
cmp dword [esp + 0x6c], 5
mov byte [ebx + 4], al
mov byte [esi + edi + 0x17c], al
je 0x6b525d6a
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 5]
xor al, byte [esi + 0x15]
cmp dword [esp + 0x6c], 6
mov byte [ebx + 5], al
mov byte [esi + edi + 0x17d], al
je 0x6b525d6a
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 6]
xor al, byte [esi + 0x16]
cmp dword [esp + 0x6c], 7
mov byte [ebx + 6], al
mov byte [esi + edi + 0x17e], al
je 0x6b525d6a
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 7]
xor al, byte [esi + 0x17]
cmp dword [esp + 0x6c], 8
mov byte [ebx + 7], al
mov byte [esi + edi + 0x17f], al
je 0x6b525d6a
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 8]
xor al, byte [esi + 0x18]
cmp dword [esp + 0x6c], 9
mov byte [ebx + 8], al
mov byte [esi + edi + 0x180], al
je 0x6b525d6a
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 9]
xor al, byte [esi + 0x19]
cmp dword [esp + 0x6c], 0xa
mov byte [ebx + 9], al
mov byte [esi + edi + 0x181], al
je 0x6b525d6a
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 0xa]
xor al, byte [esi + 0x1a]
cmp dword [esp + 0x6c], 0xb
mov byte [ebx + 0xa], al
mov byte [esi + edi + 0x182], al
je 0x6b525d6a
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 0xb]
xor al, byte [esi + 0x1b]
cmp dword [esp + 0x6c], 0xc
mov byte [ebx + 0xb], al
mov byte [esi + edi + 0x183], al
je 0x6b525d6a
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 0xc]
xor al, byte [esi + 0x1c]
cmp dword [esp + 0x6c], 0xd
mov byte [ebx + 0xc], al
mov byte [esi + edi + 0x184], al
je 0x6b525d6a
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 0xd]
xor al, byte [esi + 0x1d]
cmp dword [esp + 0x6c], 0xe
mov byte [ebx + 0xd], al
mov byte [esi + edi + 0x185], al
je 0x6b525d6a
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 0xe]
xor al, byte [esi + 0x1e]
mov byte [ebx + 0xe], al
mov byte [esi + edi + 0x186], al
jmp 0x6b525d6a
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x24], 0
and edi, 0xfffffff0
jmp 0x6b525e7a
mov eax, 0xffffffff
jmp 0x6b525da9
mov edx, dword [esp + 0x24]
test edx, edx
setne al
jmp 0x6b525e11