Function at 0x4e1240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x10
test edx, edx
je 0x4e1901
cmp dword [ebp + 0xc], 0
je 0x4e1901
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4e1900
mov eax, dword [esi + 0x110]
mov dword [ebp - 8], eax
cmp eax, 0xc
je 0x4e1283
cmp eax, 0xe
je 0x4e1283
cmp eax, 0x10
jne 0x4e1900
movzx ecx, byte [edx]
shl ecx, 8
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 5]
xor ecx, dword [esi]
mov dword [ebp - 0xc], ecx
movzx ecx, byte [edx + 4]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 9]
xor ecx, dword [esi + 4]
mov dword [ebp - 0x10], ecx
movzx ecx, byte [edx + 0xc]
push ebx
movzx ebx, byte [edx + 8]
shl ebx, 8
xor ebx, eax
shl ecx, 8
movzx eax, byte [edx + 0xa]
shl ebx, 8
xor ebx, eax
movzx eax, byte [edx + 0xb]
shl ebx, 8
xor ebx, eax
movzx eax, byte [edx + 0xd]
xor ebx, dword [esi + 8]
xor ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
xor ecx, eax
mov eax, ebx
xor ecx, dword [esi + 0xc]
add esi, 0x10
mov dword [ebp + 8], ecx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx ecx, al
push edi
mov eax, dword [edx*4 + 0x5bf3b0]
mov dword [ebp - 4], esi
xor eax, dword [ecx*4 + 0x5bf7b0]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5befb0]
movzx ecx, bl
mov ebx, dword [ebp + 8]
xor eax, dword [ecx*4 + 0x5bfbb0]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edi, dword [edx*4 + 0x5bf3b0]
xor edi, dword [ecx*4 + 0x5bf7b0]
mov ecx, ebx
shr ecx, 0x18
xor edi, dword [ecx*4 + 0x5befb0]
movzx ecx, bl
mov ebx, dword [ebp - 0x10]
xor edi, dword [ecx*4 + 0x5bfbb0]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov esi, dword [edx*4 + 0x5bf3b0]
xor esi, dword [ecx*4 + 0x5bf7b0]
mov ecx, ebx
shr ecx, 0x18
xor esi, dword [ecx*4 + 0x5befb0]
movzx ecx, bl
mov ebx, dword [ebp - 0xc]
xor esi, dword [ecx*4 + 0x5bfbb0]
mov ecx, ebx
shr ecx, 0x10
xor esi, eax
movzx edx, cl
xor eax, edi
mov ecx, ebx
xor edi, esi
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x5bf3b0]
xor edx, dword [ecx*4 + 0x5bf7b0]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x5befb0]
movzx ecx, bl
mov ebx, edi
and ebx, 0xff0000
xor edx, dword [ecx*4 + 0x5bfbb0]
mov ecx, edi
shr ecx, 0x10
xor edx, esi
xor ebx, ecx
xor eax, edx
mov ecx, edi
shr ebx, 8
and ecx, 0xff00
shl edi, 0x10
xor ecx, edi
xor esi, eax
mov edi, dword [ebp - 4]
shl ecx, 8
xor ebx, ecx
rol eax, 0x10
mov dword [ebp + 8], ebx
mov ecx, esi
shl ecx, 8
mov ebx, esi
shr ebx, 8
xor ebx, ecx
shl esi, 8
mov ecx, dword [ebp + 8]
and ebx, 0xff00ff
xor ebx, esi
xor ebx, eax
xor eax, ecx
xor ecx, ebx
xor edx, ebx
mov dword [ebp + 8], ecx
xor eax, edx
mov ecx, dword [edi + 4]
xor edx, dword [edi]
xor ecx, eax
xor eax, dword [edi + 8]
xor ebx, ecx
mov ecx, dword [ebp + 8]
xor ecx, dword [edi + 0xc]
add edi, 0x10
sub dword [ebp - 8], 2
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ebx
mov dword [ebp + 8], ecx
mov dword [ebp - 4], edi
je 0x4e1742
nop
mov ecx, eax
mov edi, dword [ebp - 0xc]
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov ebx, dword [edx*4 + 0x5bfbb0]
mov edx, dword [ebp + 8]
xor ebx, dword [ecx*4 + 0x5befb0]
mov ecx, eax
movzx eax, al
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x5bf7b0]
xor ebx, dword [eax*4 + 0x5bf3b0]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x5bfbb0]
xor esi, dword [eax*4 + 0x5befb0]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*4 + 0x5bf7b0]
movzx eax, dl
xor esi, dword [eax*4 + 0x5bf3b0]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x5bfbb0]
mov ecx, dword [ebp - 0x10]
xor edx, dword [eax*4 + 0x5befb0]
mov eax, ecx
shr eax, 0x18
xor edx, dword [eax*4 + 0x5bf7b0]
movzx eax, cl
xor edx, dword [eax*4 + 0x5bf3b0]
mov eax, edi
shr eax, 0x10
xor edx, ebx
movzx ecx, al
xor ebx, esi
mov eax, edi
xor esi, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5bfbb0]
xor ecx, dword [eax*4 + 0x5befb0]
mov eax, edi
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5bf7b0]
mov eax, edi
movzx eax, al
xor ecx, dword [eax*4 + 0x5bf3b0]
mov eax, esi
xor ecx, edx
shl eax, 8
xor ebx, ecx
mov dword [ebp - 0x10], ecx
xor edx, ebx
mov dword [ebp + 8], ebx
mov ebx, esi
mov ecx, edx
shr ebx, 8
and ecx, 0xff0000
xor ebx, eax
shl esi, 8
mov eax, edx
and ebx, 0xff00ff
shr eax, 0x10
xor ebx, esi
xor ecx, eax
mov eax, edx
shr ecx, 8
and eax, 0xff00
shl edx, 0x10
mov esi, dword [ebp - 4]
xor eax, edx
mov edx, dword [ebp + 8]
shl eax, 8
xor ecx, eax
mov eax, dword [ebp - 0x10]
xor ecx, edx
rol eax, 0x10
xor eax, ecx
xor edx, ebx
xor ebx, ecx
xor edx, eax
xor eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
xor eax, edx
xor ebx, dword [esi + 0xc]
xor edx, dword [esi + 8]
xor ecx, eax
mov dword [ebp - 0xc], ecx
mov eax, edx
mov dword [ebp + 8], edx
add esi, 0x10
shr eax, 0x10
movzx edx, al
mov eax, dword [ebp + 8]
shr eax, 8
movzx ecx, al
mov eax, dword [edx*4 + 0x5bf3b0]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], esi
xor eax, dword [ecx*4 + 0x5bf7b0]
mov ecx, edx
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5befb0]
movzx ecx, dl
xor eax, dword [ecx*4 + 0x5bfbb0]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edi, dword [edx*4 + 0x5bf3b0]
xor edi, dword [ecx*4 + 0x5bf7b0]
mov ecx, ebx
shr ecx, 0x18
xor edi, dword [ecx*4 + 0x5befb0]
movzx ecx, bl
mov ebx, dword [ebp - 0xc]
xor edi, dword [ecx*4 + 0x5bfbb0]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov esi, dword [edx*4 + 0x5bf3b0]
xor esi, dword [ecx*4 + 0x5bf7b0]
mov ecx, ebx
shr ecx, 0x18
xor esi, dword [ecx*4 + 0x5befb0]
movzx ecx, bl
mov ebx, dword [ebp - 0x10]
xor esi, dword [ecx*4 + 0x5bfbb0]
mov ecx, ebx
shr ecx, 0x10
xor esi, eax
movzx edx, cl
xor eax, edi
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x5bf3b0]
xor edx, dword [ecx*4 + 0x5bf7b0]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x5befb0]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x5bfbb0]
xor edx, esi
xor edi, esi
xor eax, edx
mov ebx, edi
mov ecx, edi
shr ecx, 0x10
and ebx, 0xff0000
xor ebx, ecx
xor esi, eax
mov ecx, edi
shr ebx, 8
and ecx, 0xff00
shl edi, 0x10
xor ecx, edi
rol eax, 0x10
mov edi, dword [ebp - 4]
shl ecx, 8
xor ebx, ecx
mov ecx, esi
mov dword [ebp + 8], ebx
mov ebx, esi
shl ecx, 8
shr ebx, 8
xor ebx, ecx
shl esi, 8
mov ecx, dword [ebp + 8]
and ebx, 0xff00ff
xor ebx, esi
xor ebx, eax
xor eax, ecx
xor ecx, ebx
xor edx, ebx
mov dword [ebp + 8], ecx
xor eax, edx
mov ecx, dword [edi + 4]
xor edx, dword [edi]
xor ecx, eax
xor eax, dword [edi + 8]
xor ebx, ecx
mov ecx, dword [ebp + 8]
xor ecx, dword [edi + 0xc]
add edi, 0x10
sub dword [ebp - 8], 2
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ebx
mov dword [ebp + 8], ecx
mov dword [ebp - 4], edi
jne 0x4e1480
mov ebx, dword [ebp - 0xc]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
mov esi, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x5bfbb0]
shr ecx, 8
movzx edx, cl
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx*4 + 0x5bf7b0]
shl ecx, 8
or edx, ecx
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx*4 + 0x5befb0]
or edx, ecx
movzx ecx, bl
shl edx, 8
movzx ecx, byte [ecx*4 + 0x5bf3b0]
or edx, ecx
xor edx, dword [edi]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x10]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x5bfbb0]
shr ecx, 8
movzx ebx, cl
mov ecx, edx
shr ecx, 0x18
movzx ecx, byte [ecx*4 + 0x5bf7b0]
shl ecx, 8
or ebx, ecx
mov ecx, edx
shr ecx, 8
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx*4 + 0x5befb0]
or ebx, ecx
movzx ecx, dl
shl ebx, 8
movzx ecx, byte [ecx*4 + 0x5bf3b0]
or ebx, ecx
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor ebx, dword [edi + 4]
mov ecx, dword [ecx*4 + 0x5bfbb0]
shr ecx, 8
movzx edx, cl
mov ecx, eax
shr ecx, 0x18
movzx ecx, byte [ecx*4 + 0x5bf7b0]
shl ecx, 8
or edx, ecx
mov ecx, eax
shr ecx, 8
movzx eax, al
movzx ecx, cl
shl edx, 8
movzx eax, byte [eax*4 + 0x5bf3b0]
movzx ecx, byte [ecx*4 + 0x5befb0]
or edx, ecx
shl edx, 8
or edx, eax
mov eax, esi
xor edx, dword [edi + 8]
shr eax, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x5bfbb0]
shr eax, 8
movzx ecx, al
mov eax, esi
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5bf7b0]
shl eax, 8
or ecx, eax
mov eax, esi
shl ecx, 8
shr eax, 8
movzx eax, al
movzx eax, byte [eax*4 + 0x5befb0]
or ecx, eax
mov eax, esi
movzx eax, al
mov esi, dword [ebp - 0xc]
shl ecx, 8
movzx eax, byte [eax*4 + 0x5bf3b0]
or ecx, eax
mov eax, esi
xor ecx, dword [edi + 0xc]
mov edi, dword [ebp + 0xc]
shr eax, 0x18
mov byte [edi], al
mov eax, esi
shr eax, 0x10
mov byte [edi + 1], al
mov eax, esi
shr eax, 8
mov byte [edi + 2], al
mov eax, esi
mov byte [edi + 3], al
mov eax, ebx
shr eax, 0x18
mov byte [edi + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, ebx
shr eax, 8
mov byte [edi + 6], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 8], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 9], al
mov eax, edx
shr eax, 8
mov byte [edi + 0xa], al
mov eax, ecx
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edi + 7], bl
mov byte [edi + 0xb], dl
mov byte [edi + 0xe], al
mov byte [edi + 0xf], cl
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret