Function at 0x4989d8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 8], edx
mov esi, 0x4e83d4
mov edi, 0x4e83b4
mov ebp, esp
mov dl, byte [ebp + 7]
test dl, 0x40
seta al
mov byte [edi], al
test dl, 0x80
seta al
mov byte [esi], al
mov cl, byte [ebp + 6]
test cl, 0x40
seta al
mov byte [edi + 1], al
test cl, 0x80
seta al
mov byte [esi + 1], al
mov al, byte [ebp + 5]
test al, 0x40
seta bl
mov byte [edi + 2], bl
test al, 0x80
seta bl
mov byte [esi + 2], bl
test byte [ebp + 4], 0x40
seta bl
mov byte [edi + 3], bl
test byte [ebp + 4], 0x80
seta bl
mov byte [esi + 3], bl
test byte [ebp + 3], 0x40
seta bl
mov byte [edi + 4], bl
test byte [ebp + 3], 0x80
seta bl
mov byte [esi + 4], bl
test byte [ebp + 2], 0x40
seta bl
mov byte [edi + 5], bl
test byte [ebp + 2], 0x80
seta bl
mov byte [esi + 5], bl
test byte [ebp + 1], 0x40
seta bl
mov byte [edi + 6], bl
test byte [ebp + 1], 0x80
seta bl
mov byte [esi + 6], bl
test byte [ebp], 0x40
seta bl
mov byte [edi + 7], bl
test byte [ebp], 0x80
seta bl
mov byte [esi + 7], bl
test dl, 0x10
seta bl
mov byte [edi + 8], bl
test dl, 0x20
seta dl
mov byte [esi + 8], dl
test cl, 0x10
seta dl
mov byte [edi + 9], dl
test cl, 0x20
seta dl
mov byte [esi + 9], dl
test al, 0x10
seta dl
mov byte [edi + 0xa], dl
test al, 0x20
seta al
mov byte [esi + 0xa], al
test byte [ebp + 4], 0x10
seta al
mov byte [edi + 0xb], al
test byte [ebp + 4], 0x20
seta al
mov byte [esi + 0xb], al
test byte [ebp + 3], 0x10
seta al
mov byte [edi + 0xc], al
test byte [ebp + 3], 0x20
seta al
mov byte [esi + 0xc], al
test byte [ebp + 2], 0x10
seta al
mov byte [edi + 0xd], al
test byte [ebp + 2], 0x20
seta al
mov byte [esi + 0xd], al
test byte [ebp + 1], 0x10
seta al
mov byte [edi + 0xe], al
test byte [ebp + 1], 0x20
seta al
mov byte [esi + 0xe], al
test byte [ebp], 0x10
seta al
mov byte [edi + 0xf], al
test byte [ebp], 0x20
seta al
mov byte [esi + 0xf], al
test byte [ebp + 7], 4
seta al
mov byte [edi + 0x10], al
test byte [ebp + 7], 8
seta al
mov byte [esi + 0x10], al
test byte [ebp + 6], 4
seta al
mov byte [edi + 0x11], al
test byte [ebp + 6], 8
seta al
mov byte [esi + 0x11], al
test byte [ebp + 5], 4
seta al
mov byte [edi + 0x12], al
test byte [ebp + 5], 8
seta al
mov byte [esi + 0x12], al
test byte [ebp + 4], 4
seta al
mov byte [edi + 0x13], al
test byte [ebp + 4], 8
seta al
mov byte [esi + 0x13], al
test byte [ebp + 3], 4
seta al
mov byte [edi + 0x14], al
test byte [ebp + 3], 8
seta al
mov byte [esi + 0x14], al
test byte [ebp + 2], 4
seta al
mov byte [edi + 0x15], al
test byte [ebp + 2], 8
seta al
mov byte [esi + 0x15], al
test byte [ebp + 1], 4
seta al
mov byte [edi + 0x16], al
test byte [ebp + 1], 8
seta al
mov byte [esi + 0x16], al
test byte [ebp], 4
seta al
mov byte [edi + 0x17], al
test byte [ebp], 8
seta al
mov byte [esi + 0x17], al
mov al, byte [ebp + 7]
and al, 1
mov byte [edi + 0x18], al
test byte [ebp + 7], 2
seta al
mov byte [esi + 0x18], al
mov al, byte [ebp + 6]
and al, 1
mov byte [edi + 0x19], al
test byte [ebp + 6], 2
seta al
mov byte [esi + 0x19], al
mov al, byte [ebp + 5]
and al, 1
mov byte [edi + 0x1a], al
test byte [ebp + 5], 2
seta al
mov byte [esi + 0x1a], al
mov al, byte [ebp + 4]
and al, 1
mov byte [edi + 0x1b], al
test byte [ebp + 4], 2
seta al
mov byte [esi + 0x1b], al
mov al, byte [ebp + 3]
and al, 1
mov byte [edi + 0x1c], al
test byte [ebp + 3], 2
seta al
mov byte [esi + 0x1c], al
mov al, byte [ebp + 2]
and al, 1
mov byte [edi + 0x1d], al
test byte [ebp + 2], 2
seta al
mov byte [esi + 0x1d], al
mov al, byte [ebp + 1]
and al, 1
mov byte [edi + 0x1e], al
test byte [ebp + 1], 2
seta al
mov byte [esi + 0x1e], al
mov al, byte [ebp]
and al, 1
mov byte [edi + 0x1f], al
test byte [ebp], 2
seta al
mov byte [esi + 0x1f], al
mov dl, 0x10
mov eax, 0x4e80b4
mov cl, byte [esi + 0x1f]
xor cl, byte [eax]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 4]
xor bl, byte [eax + 5]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi]
xor bl, byte [eax + 1]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 1]
xor bl, byte [eax + 2]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 2]
xor bl, byte [eax + 3]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 3]
xor bl, byte [eax + 4]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x4e2118]
xor bl, byte [edi + 8]
mov byte [0x4e83fc], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e2318]
xor bl, byte [edi + 0x10]
mov byte [0x4e8404], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e2518]
xor bl, byte [edi + 0x16]
mov byte [0x4e840a], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4e2718]
xor cl, byte [edi + 0x1e]
mov byte [0x4e8412], cl
mov cl, byte [esi + 3]
xor cl, byte [eax + 6]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 8]
xor bl, byte [eax + 0xb]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi + 4]
xor bl, byte [eax + 7]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 5]
xor bl, byte [eax + 8]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 6]
xor bl, byte [eax + 9]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 7]
xor bl, byte [eax + 0xa]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x4e2158]
xor bl, byte [edi + 0xc]
mov byte [0x4e8400], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e2358]
xor bl, byte [edi + 0x1b]
mov byte [0x4e840f], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e2558]
xor bl, byte [edi + 1]
mov byte [0x4e83f5], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4e2758]
xor cl, byte [edi + 0x11]
mov byte [0x4e8405], cl
mov cl, byte [esi + 7]
xor cl, byte [eax + 0xc]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 0xc]
xor bl, byte [eax + 0x11]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi + 8]
xor bl, byte [eax + 0xd]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 9]
xor bl, byte [eax + 0xe]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 0xa]
xor bl, byte [eax + 0xf]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 0xb]
xor bl, byte [eax + 0x10]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x4e2198]
xor bl, byte [edi + 0x17]
mov byte [0x4e840b], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e2398]
xor bl, byte [edi + 0xf]
mov byte [0x4e8403], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e2598]
xor bl, byte [edi + 0x1d]
mov byte [0x4e8411], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4e2798]
xor cl, byte [edi + 5]
mov byte [0x4e83f9], cl
mov cl, byte [esi + 0xb]
xor cl, byte [eax + 0x12]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 0x10]
xor bl, byte [eax + 0x17]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi + 0xc]
xor bl, byte [eax + 0x13]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 0xd]
xor bl, byte [eax + 0x14]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 0xe]
xor bl, byte [eax + 0x15]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 0xf]
xor bl, byte [eax + 0x16]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x4e21d8]
xor bl, byte [edi + 0x19]
mov byte [0x4e840d], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e23d8]
xor bl, byte [edi + 0x13]
mov byte [0x4e8407], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e25d8]
xor bl, byte [edi + 9]
mov byte [0x4e83fd], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4e27d8]
xor cl, byte [edi]
mov byte [0x4e83f4], cl
mov cl, byte [esi + 0xf]
xor cl, byte [eax + 0x18]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 0x14]
xor bl, byte [eax + 0x1d]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi + 0x10]
xor bl, byte [eax + 0x19]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 0x11]
xor bl, byte [eax + 0x1a]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 0x12]
xor bl, byte [eax + 0x1b]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 0x13]
xor bl, byte [eax + 0x1c]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x4e2218]
xor bl, byte [edi + 7]
mov byte [0x4e83fb], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e2418]
xor bl, byte [edi + 0xd]
mov byte [0x4e8401], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e2618]
xor bl, byte [edi + 0x18]
mov byte [0x4e840c], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4e2818]
xor cl, byte [edi + 2]
mov byte [0x4e83f6], cl
mov cl, byte [esi + 0x13]
xor cl, byte [eax + 0x1e]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 0x18]
xor bl, byte [eax + 0x23]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi + 0x14]
xor bl, byte [eax + 0x1f]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 0x15]
xor bl, byte [eax + 0x20]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 0x16]
xor bl, byte [eax + 0x21]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 0x17]
xor bl, byte [eax + 0x22]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x4e2258]
xor bl, byte [edi + 3]
mov byte [0x4e83f7], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e2458]
xor bl, byte [edi + 0x1c]
mov byte [0x4e8410], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e2658]
xor bl, byte [edi + 0xa]
mov byte [0x4e83fe], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4e2858]
xor cl, byte [edi + 0x12]
mov byte [0x4e8406], cl
mov cl, byte [esi + 0x17]
xor cl, byte [eax + 0x24]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 0x1c]
xor bl, byte [eax + 0x29]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi + 0x18]
xor bl, byte [eax + 0x25]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 0x19]
xor bl, byte [eax + 0x26]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 0x1a]
xor bl, byte [eax + 0x27]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 0x1b]
xor bl, byte [eax + 0x28]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x4e2298]
xor bl, byte [edi + 0x1f]
mov byte [0x4e8413], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e2498]
xor bl, byte [edi + 0xb]
mov byte [0x4e83ff], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e2698]
xor bl, byte [edi + 0x15]
mov byte [0x4e8409], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4e2898]
xor cl, byte [edi + 6]
mov byte [0x4e83fa], cl
mov cl, byte [esi + 0x1b]
xor cl, byte [eax + 0x2a]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi]
xor bl, byte [eax + 0x2f]
and ebx, 0xff
shl ebx, 4
or cx, bx
mov bl, byte [esi + 0x1c]
xor bl, byte [eax + 0x2b]
and ebx, 0xff
shl ebx, 3
or cx, bx
mov bl, byte [esi + 0x1d]
xor bl, byte [eax + 0x2c]
and ebx, 0xff
shl ebx, 2
or cx, bx
mov bl, byte [esi + 0x1e]
xor bl, byte [eax + 0x2d]
and ebx, 0xff
add ebx, ebx
or cx, bx
mov bl, byte [esi + 0x1f]
xor bl, byte [eax + 0x2e]
and ebx, 0xff
or cx, bx
movzx ebx, cx
mov bl, byte [ebx + 0x4e22d8]
xor bl, byte [edi + 4]
mov byte [0x4e83f8], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e24d8]
xor bl, byte [edi + 0x1a]
mov byte [0x4e840e], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4e26d8]
xor bl, byte [edi + 0xe]
mov byte [0x4e8402], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4e28d8]
xor cl, byte [edi + 0x14]
mov byte [0x4e8408], cl
push esi
push edi
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
mov edi, esi
mov esi, 0x4e83f4
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
add eax, 0x30
dec dl
jne 0x498c68
mov al, byte [edi + 7]
shl eax, 7
mov dl, byte [esi + 7]
shl edx, 6
or al, dl
mov dl, byte [edi + 0xf]
shl edx, 5
or al, dl
mov dl, byte [esi + 0xf]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x17]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x17]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x1f]
add edx, edx
or al, dl
or al, byte [esi + 0x1f]
mov edx, dword [esp + 8]
mov byte [edx], al
mov al, byte [edi + 6]
shl eax, 7
mov dl, byte [esi + 6]
shl edx, 6
or al, dl
mov dl, byte [edi + 0xe]
shl edx, 5
or al, dl
mov dl, byte [esi + 0xe]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x16]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x16]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x1e]
add edx, edx
or al, dl
or al, byte [esi + 0x1e]
mov edx, dword [esp + 8]
mov byte [edx + 1], al
mov al, byte [edi + 5]
shl eax, 7
mov dl, byte [esi + 5]
shl edx, 6
or al, dl
mov dl, byte [edi + 0xd]
shl edx, 5
or al, dl
mov dl, byte [esi + 0xd]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x15]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x15]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x1d]
add edx, edx
or al, dl
or al, byte [esi + 0x1d]
mov edx, dword [esp + 8]
mov byte [edx + 2], al
mov al, byte [edi + 4]
shl eax, 7
mov dl, byte [esi + 4]
shl edx, 6
or al, dl
mov dl, byte [edi + 0xc]
shl edx, 5
or al, dl
mov dl, byte [esi + 0xc]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x14]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x14]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x1c]
add edx, edx
or al, dl
or al, byte [esi + 0x1c]
mov edx, dword [esp + 8]
mov byte [edx + 3], al
mov al, byte [edi + 3]
shl eax, 7
mov dl, byte [esi + 3]
shl edx, 6
or al, dl
mov dl, byte [edi + 0xb]
shl edx, 5
or al, dl
mov dl, byte [esi + 0xb]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x13]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x13]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x1b]
add edx, edx
or al, dl
or al, byte [esi + 0x1b]
mov edx, dword [esp + 8]
mov byte [edx + 4], al
mov al, byte [edi + 2]
shl eax, 7
mov dl, byte [esi + 2]
shl edx, 6
or al, dl
mov dl, byte [edi + 0xa]
shl edx, 5
or al, dl
mov dl, byte [esi + 0xa]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x12]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x12]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x1a]
add edx, edx
or al, dl
or al, byte [esi + 0x1a]
mov edx, dword [esp + 8]
mov byte [edx + 5], al
mov al, byte [edi + 1]
shl eax, 7
mov dl, byte [esi + 1]
shl edx, 6
or al, dl
mov dl, byte [edi + 9]
shl edx, 5
or al, dl
mov dl, byte [esi + 9]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x11]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x11]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x19]
add edx, edx
or al, dl
or al, byte [esi + 0x19]
mov edx, dword [esp + 8]
mov byte [edx + 6], al
mov al, byte [edi]
shl eax, 7
mov dl, byte [esi]
shl edx, 6
or al, dl
mov dl, byte [edi + 8]
shl edx, 5
or al, dl
mov dl, byte [esi + 8]
shl edx, 4
or al, dl
mov dl, byte [edi + 0x10]
shl edx, 3
or al, dl
mov dl, byte [esi + 0x10]
shl edx, 2
or al, dl
mov dl, byte [edi + 0x18]
add edx, edx
or al, dl
or al, byte [esi + 0x18]
mov edx, dword [esp + 8]
mov byte [edx + 7], al
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret