Function at 0x100457b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov eax, esi
shr eax, 4
xor eax, edx
mov ebp, dword [esp + 0x18]
and eax, 0xf0f0f0f
xor edx, eax
shl eax, 4
xor esi, eax
mov eax, edx
shr eax, 0x10
xor eax, esi
and eax, 0xffff
xor esi, eax
shl eax, 0x10
xor edx, eax
mov eax, esi
shr eax, 2
xor eax, edx
and eax, 0x33333333
xor edx, eax
shl eax, 2
xor esi, eax
mov eax, edx
shr eax, 8
xor eax, esi
and eax, 0xff00ff
xor esi, eax
shl eax, 8
xor edx, eax
mov ecx, esi
shr ecx, 1
xor ecx, edx
and ecx, 0x55555555
mov eax, ecx
xor eax, edx
ror eax, 0x1d
lea ebx, [ecx + ecx]
xor ebx, esi
ror ebx, 0x1d
cmp dword [esp + 0x1c], 0
je 0x10045a46
add ebp, 8
mov dword [esp + 0x18], 4
mov edi, edi
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
xor esi, eax
ror esi, 4
xor edi, eax
mov edx, esi
mov ecx, esi
shr ecx, 0xa
and ecx, 0x3f
shr edx, 0x12
and edx, 0x3f
mov edx, dword [edx*4 + 0x100add40]
xor edx, dword [ecx*4 + 0x100adb40]
mov ecx, esi
shr ecx, 2
and ecx, 0x3f
shr esi, 0x1a
xor edx, dword [ecx*4 + 0x100ad940]
mov ecx, edi
shr ecx, 0x12
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100adc40]
mov ecx, edi
shr ecx, 0xa
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100ada40]
mov ecx, edi
shr ecx, 2
and ecx, 0x3f
shr edi, 0x1a
xor edx, dword [ecx*4 + 0x100ad840]
xor edx, dword [esi*4 + 0x100adf40]
xor edx, dword [edi*4 + 0x100ade40]
mov esi, dword [ebp + 4]
xor ebx, edx
mov edi, dword [ebp]
xor esi, ebx
ror esi, 4
xor edi, ebx
mov edx, esi
mov ecx, esi
shr ecx, 0xa
shr edx, 0x12
and ecx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x100add40]
xor edx, dword [ecx*4 + 0x100adb40]
mov ecx, esi
shr ecx, 2
and ecx, 0x3f
shr esi, 0x1a
xor edx, dword [ecx*4 + 0x100ad940]
mov ecx, edi
shr ecx, 0x12
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100adc40]
mov ecx, edi
shr ecx, 0xa
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100ada40]
mov ecx, edi
shr ecx, 2
and ecx, 0x3f
shr edi, 0x1a
xor edx, dword [ecx*4 + 0x100ad840]
xor edx, dword [esi*4 + 0x100adf40]
xor edx, dword [edi*4 + 0x100ade40]
mov esi, dword [ebp + 0xc]
xor eax, edx
mov edi, dword [ebp + 8]
xor esi, eax
ror esi, 4
xor edi, eax
mov edx, esi
mov ecx, esi
shr edx, 0x12
and edx, 0x3f
shr ecx, 0xa
and ecx, 0x3f
mov edx, dword [edx*4 + 0x100add40]
xor edx, dword [ecx*4 + 0x100adb40]
mov ecx, esi
lea ebp, [ebp + 0x20]
shr ecx, 2
and ecx, 0x3f
shr esi, 0x1a
xor edx, dword [ecx*4 + 0x100ad940]
mov ecx, edi
shr ecx, 0x12
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100adc40]
mov ecx, edi
shr ecx, 0xa
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100ada40]
mov ecx, edi
shr ecx, 2
and ecx, 0x3f
shr edi, 0x1a
xor edx, dword [ecx*4 + 0x100ad840]
xor edx, dword [esi*4 + 0x100adf40]
xor edx, dword [edi*4 + 0x100ade40]
mov esi, dword [ebp - 0xc]
xor ebx, edx
mov edi, dword [ebp - 0x10]
xor esi, ebx
ror esi, 4
xor edi, ebx
mov edx, esi
mov ecx, esi
shr ecx, 0xa
shr edx, 0x12
and ecx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x100add40]
xor edx, dword [ecx*4 + 0x100adb40]
mov ecx, esi
shr ecx, 2
and ecx, 0x3f
shr esi, 0x1a
xor edx, dword [ecx*4 + 0x100ad940]
mov ecx, edi
shr ecx, 0x12
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100adc40]
mov ecx, edi
shr ecx, 0xa
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100ada40]
mov ecx, edi
shr ecx, 2
and ecx, 0x3f
shr edi, 0x1a
xor edx, dword [ecx*4 + 0x100ad840]
xor edx, dword [esi*4 + 0x100adf40]
xor edx, dword [edi*4 + 0x100ade40]
xor eax, edx
dec dword [esp + 0x18]
jne 0x10045840
jmp 0x10045c52
add ebp, 0x70
mov dword [esp + 0x18], 4
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor esi, eax
ror esi, 4
xor edi, eax
mov edx, esi
mov ecx, esi
shr ecx, 0xa
and ecx, 0x3f
shr edx, 0x12
and edx, 0x3f
mov edx, dword [edx*4 + 0x100add40]
xor edx, dword [ecx*4 + 0x100adb40]
mov ecx, esi
shr ecx, 2
and ecx, 0x3f
shr esi, 0x1a
xor edx, dword [ecx*4 + 0x100ad940]
mov ecx, edi
shr ecx, 0x12
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100adc40]
mov ecx, edi
shr ecx, 0xa
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100ada40]
mov ecx, edi
shr ecx, 2
and ecx, 0x3f
shr edi, 0x1a
xor edx, dword [ecx*4 + 0x100ad840]
xor edx, dword [esi*4 + 0x100adf40]
xor edx, dword [edi*4 + 0x100ade40]
mov esi, dword [ebp + 4]
xor ebx, edx
mov edi, dword [ebp]
xor esi, ebx
ror esi, 4
xor edi, ebx
mov edx, esi
mov ecx, esi
shr ecx, 0xa
shr edx, 0x12
and ecx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x100add40]
xor edx, dword [ecx*4 + 0x100adb40]
mov ecx, esi
shr ecx, 2
and ecx, 0x3f
shr esi, 0x1a
xor edx, dword [ecx*4 + 0x100ad940]
mov ecx, edi
shr ecx, 0x12
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100adc40]
mov ecx, edi
shr ecx, 0xa
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100ada40]
mov ecx, edi
shr ecx, 2
and ecx, 0x3f
shr edi, 0x1a
xor edx, dword [ecx*4 + 0x100ad840]
xor edx, dword [esi*4 + 0x100adf40]
xor edx, dword [edi*4 + 0x100ade40]
mov esi, dword [ebp - 4]
xor eax, edx
mov edi, dword [ebp - 8]
xor esi, eax
ror esi, 4
xor edi, eax
mov edx, esi
mov ecx, esi
shr edx, 0x12
and edx, 0x3f
shr ecx, 0xa
and ecx, 0x3f
mov edx, dword [edx*4 + 0x100add40]
xor edx, dword [ecx*4 + 0x100adb40]
mov ecx, esi
lea ebp, [ebp - 0x20]
shr ecx, 2
and ecx, 0x3f
shr esi, 0x1a
xor edx, dword [ecx*4 + 0x100ad940]
mov ecx, edi
shr ecx, 0x12
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100adc40]
mov ecx, edi
shr ecx, 0xa
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100ada40]
mov ecx, edi
shr ecx, 2
and ecx, 0x3f
shr edi, 0x1a
xor edx, dword [ecx*4 + 0x100ad840]
xor edx, dword [esi*4 + 0x100adf40]
xor edx, dword [edi*4 + 0x100ade40]
mov esi, dword [ebp + 0x14]
xor ebx, edx
mov edi, dword [ebp + 0x10]
xor esi, ebx
ror esi, 4
xor edi, ebx
mov edx, esi
mov ecx, esi
shr ecx, 0xa
shr edx, 0x12
and ecx, 0x3f
and edx, 0x3f
mov edx, dword [edx*4 + 0x100add40]
xor edx, dword [ecx*4 + 0x100adb40]
mov ecx, esi
shr ecx, 2
and ecx, 0x3f
shr esi, 0x1a
xor edx, dword [ecx*4 + 0x100ad940]
mov ecx, edi
shr ecx, 0x12
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100adc40]
mov ecx, edi
shr ecx, 0xa
and ecx, 0x3f
xor edx, dword [ecx*4 + 0x100ada40]
mov ecx, edi
shr ecx, 2
and ecx, 0x3f
shr edi, 0x1a
xor edx, dword [ecx*4 + 0x100ad840]
xor edx, dword [esi*4 + 0x100adf40]
xor edx, dword [edi*4 + 0x100ade40]
xor eax, edx
dec dword [esp + 0x18]
jne 0x10045a51
ror eax, 3
mov ecx, eax
ror ebx, 3
shr ecx, 1
xor ecx, ebx
mov esi, dword [esp + 0x14]
and ecx, 0x55555555
xor ebx, ecx
add ecx, ecx
xor eax, ecx
mov ecx, ebx
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor ebx, ecx
mov ecx, eax
shr ecx, 2
xor ecx, ebx
and ecx, 0x33333333
xor ebx, ecx
shl ecx, 2
xor eax, ecx
mov ecx, ebx
shr ecx, 0x10
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor ebx, ecx
mov edx, eax
shr edx, 4
xor edx, ebx
and edx, 0xf0f0f0f
mov ecx, edx
shl edx, 4
xor ecx, ebx
xor edx, eax
pop edi
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ebp
pop ebx
ret