Function at 0x46bbfa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [ebx]
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
lea edi, [ebx + 4]
mov dword [ebx], eax
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
lea ecx, [ebx + 8]
mov dword [edi], eax
mov eax, dword [ecx]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ecx], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
bswap eax
push 0x30
mov dword [ebx + 0x3c], eax
pop ebx
mov ecx, dword [edi]
mov edx, dword [edi + 0x34]
mov esi, ecx
ror esi, 0x12
mov eax, ecx
shr ecx, 3
ror eax, 7
xor esi, eax
xor esi, ecx
mov ecx, edx
mov eax, edx
shr edx, 0xa
lea edi, [edi + 4]
ror ecx, 0x13
ror eax, 0x11
xor ecx, eax
xor ecx, edx
add esi, ecx
add esi, dword [edi + 0x1c]
add esi, dword [edi - 8]
mov dword [edi + 0x38], esi
dec ebx
jne 0x46bcec
mov ebx, dword [ebp + 8]
mov edx, 0x501e0c
mov eax, dword [ebx + 0x100]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x108]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x114]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x118]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x11c]
mov dword [ebp - 0x14], eax
mov esi, dword [ebx + 0x104]
mov ecx, dword [ebx + 0x110]
mov edi, dword [ebx + 0x10c]
mov eax, 0x501e08
sub eax, ebx
mov dword [ebp - 0x28], eax
mov eax, edx
sub eax, ebx
mov dword [ebp - 0x2c], eax
mov eax, 0x501e10
sub eax, ebx
mov dword [ebp - 0x30], eax
mov eax, 0x501e14
sub eax, ebx
mov dword [ebp - 0x34], eax
mov eax, 0x501e18
sub eax, ebx
mov dword [ebp - 0x38], eax
mov eax, 0x501e1c
sub eax, ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x3c], eax
jmp 0x46bdbb
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edx, ecx
ror edx, 0x19
mov eax, ecx
ror eax, 0xb
xor edx, eax
mov eax, ecx
ror eax, 6
xor edx, eax
mov eax, dword [ebp - 8]
and eax, dword [ebp - 4]
not ecx
and ecx, dword [ebp - 0x10]
xor ecx, eax
mov eax, dword [ebp - 0x1c]
add edx, ecx
add edx, dword [eax - 8]
mov eax, dword [ebp - 0x24]
add edx, dword [eax - 4]
mov eax, dword [ebp - 0x14]
add eax, edx
mov edx, dword [ebp - 0x18]
add edi, eax
mov dword [ebp - 0x14], eax
mov ecx, edx
ror ecx, 0x16
mov eax, edx
mov dword [ebp - 0x28], edi
ror eax, 0xd
xor ecx, eax
mov eax, edx
ror eax, 2
xor ecx, eax
mov edi, esi
xor edi, edx
and esi, edx
mov eax, edi
and eax, dword [ebp - 0x20]
xor eax, esi
add eax, dword [ebp - 0x14]
add eax, ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov edx, ecx
ror edx, 0x19
mov eax, ecx
ror eax, 0xb
xor edx, eax
mov eax, ecx
ror eax, 6
xor edx, eax
mov eax, dword [ebp - 4]
and eax, dword [ebp - 0x28]
not ecx
and ecx, dword [ebp - 8]
xor ecx, eax
mov eax, dword [ebp - 0x1c]
add edx, ecx
add edx, dword [eax - 4]
mov eax, dword [ebp - 0x24]
add edx, dword [eax]
mov eax, dword [ebp - 0x10]
add eax, edx
add dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov ecx, edx
ror ecx, 0x16
mov eax, edx
and edi, edx
ror eax, 0xd
xor ecx, eax
mov eax, edx
ror eax, 2
xor edi, esi
add edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
xor eax, ecx
add eax, edi
mov edx, esi
ror edx, 0x19
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x28]
mov eax, esi
ror eax, 0xb
xor edx, eax
mov eax, esi
ror eax, 6
xor edx, eax
mov ecx, esi
not ecx
and ecx, dword [ebp - 4]
mov eax, edi
and eax, esi
xor ecx, eax
mov eax, dword [ebp - 0x1c]
add edx, ecx
add edx, dword [ebx + eax]
mov ecx, dword [ebp - 0x10]
add edx, dword [eax]
mov eax, dword [ebp - 8]
add eax, edx
add dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov edx, ecx
ror edx, 0x16
mov eax, ecx
ror eax, 0xd
xor edx, eax
mov eax, ecx
ror eax, 2
xor ecx, dword [ebp - 0x18]
xor edx, eax
and ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 0x18]
xor eax, ecx
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 8], eax
mov edx, ecx
mov eax, ecx
ror eax, 0xb
ror edx, 0x19
xor edx, eax
mov eax, ecx
ror eax, 6
xor edx, eax
not ecx
and ecx, edi
mov eax, esi
and eax, dword [ebp - 0xc]
xor ecx, eax
mov eax, dword [ebp - 0x2c]
add edx, ecx
mov ecx, dword [ebp - 0x1c]
add edx, dword [eax + ecx]
mov eax, dword [ebp - 4]
add edx, dword [ecx + 4]
mov ecx, dword [ebp - 8]
add eax, edx
add dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov edx, ecx
ror edx, 0x16
mov eax, ecx
ror eax, 0xd
xor edx, eax
mov eax, ecx
ror eax, 2
xor edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, eax
xor ecx, dword [ebp - 8]
and eax, dword [ebp - 8]
and ecx, dword [ebp - 0x14]
xor eax, ecx
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 4], eax
mov edx, ecx
ror edx, 0x19
mov eax, ecx
ror eax, 0xb
xor edx, eax
mov eax, ecx
ror eax, 6
xor edx, eax
mov eax, dword [ebp - 0xc]
and eax, dword [ebp - 0x18]
not ecx
and ecx, esi
xor ecx, eax
add edx, ecx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
add edx, dword [eax + ecx]
add edx, dword [ecx + 8]
mov ecx, dword [ebp - 4]
add edi, edx
add dword [ebp - 0x14], edi
mov edx, ecx
ror edx, 0x16
mov eax, ecx
ror eax, 0xd
xor edx, eax
mov eax, ecx
ror eax, 2
xor edx, eax
mov eax, dword [ebp - 8]
mov ecx, eax
and eax, dword [ebp - 4]
xor ecx, dword [ebp - 4]
and ecx, dword [ebp - 0x10]
xor ecx, eax
add edi, ecx
mov ecx, dword [ebp - 0x14]
add edi, edx
mov edx, ecx
mov eax, ecx
ror eax, 0xb
ror edx, 0x19
xor edx, eax
mov eax, ecx
ror eax, 6
xor edx, eax
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0x18]
not ecx
and ecx, dword [ebp - 0xc]
xor ecx, eax
mov eax, dword [ebp - 0x34]
add edx, ecx
mov ecx, dword [ebp - 0x1c]
add edx, dword [eax + ecx]
mov eax, edi
add edx, dword [ecx + 0xc]
ror eax, 0xd
add esi, edx
add dword [ebp - 0x10], esi
mov edx, edi
ror edx, 0x16
xor edx, eax
mov eax, edi
ror eax, 2
xor edx, eax
mov eax, dword [ebp - 4]
mov ecx, eax
xor ecx, edi
and ecx, dword [ebp - 8]
and eax, edi
xor ecx, eax
add esi, ecx
mov ecx, dword [ebp - 0x10]
add esi, edx
mov edx, ecx
mov eax, ecx
mov dword [ebp - 0x20], esi
ror eax, 0xb
ror edx, 0x19
xor edx, eax
mov eax, ecx
ror eax, 6
xor edx, eax
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0x10]
not ecx
and ecx, dword [ebp - 0x18]
xor ecx, eax
add edx, ecx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
add edx, dword [eax + ecx]
mov eax, dword [ebp - 0xc]
add edx, dword [ecx + 0x10]
mov ecx, edi
add eax, edx
add dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor ecx, esi
and ecx, dword [ebp - 4]
mov edx, esi
ror edx, 0x16
mov eax, esi
ror eax, 0xd
xor edx, eax
mov eax, esi
ror eax, 2
xor edx, eax
mov eax, edi
and eax, esi
xor eax, ecx
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov edx, ecx
mov eax, ecx
ror eax, 0xb
ror edx, 0x19
xor edx, eax
mov eax, ecx
ror eax, 6
xor edx, eax
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 8]
not ecx
and ecx, dword [ebp - 0x14]
xor ecx, eax
mov eax, dword [ebp - 0x3c]
add edx, ecx
mov ecx, dword [ebp - 0x1c]
add dword [ebp - 0x1c], 0x20
add edx, dword [eax + ecx]
mov eax, dword [ebp - 0x18]
add edx, dword [ecx + 0x14]
mov ecx, dword [ebp - 0xc]
add eax, edx
add dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov edx, ecx
ror edx, 0x16
mov eax, ecx
ror eax, 0xd
xor edx, eax
mov eax, ecx
ror eax, 2
xor edx, eax
mov ecx, esi
xor ecx, dword [ebp - 0xc]
mov eax, esi
and eax, dword [ebp - 0xc]
and ecx, edi
xor ecx, eax
add ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
add eax, 0x20
add ecx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], eax
cmp eax, 0x501f0c
jl 0x46bdb5
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
add dword [ebx + 0x10c], edi
add dword [ebx + 0x108], esi
add eax, ecx
mov ecx, dword [ebp - 0xc]
add dword [ebx + 0x104], ecx
mov ecx, dword [ebp - 4]
add dword [ebx + 0x110], ecx
mov ecx, dword [ebp - 8]
add dword [ebx + 0x114], ecx
mov ecx, dword [ebp - 0x10]
add dword [ebx + 0x118], ecx
mov ecx, dword [ebp - 0x14]
add dword [ebx + 0x11c], ecx
pop edi
pop esi
mov dword [ebx + 0x100], eax
pop ebx
leave
ret