Function at 0x53e9e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x739640], 0
jne 0x53e9fb
call fcn.0053e64e
mov dword [0x739640], 1
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, ebx
sub eax, 0x80
je 0x53ea32
sub eax, 0x40
je 0x53ea27
sub eax, 0x40
je 0x53ea1c
mov eax, 0xfffff800
jmp 0x53ec5e
mov edx, dword [ebp + 8]
mov dword [edx], 0xe
jmp 0x53ea3b
mov edx, dword [ebp + 8]
mov dword [edx], 0xc
jmp 0x53ea3b
mov edx, dword [ebp + 8]
mov dword [edx], 0xa
push esi
push edi
sar ebx, 5
lea edi, [edx + 8]
mov dword [edx + 4], edi
test ebx, ebx
jle 0x53ea7e
mov esi, dword [ebp + 0xc]
add esi, 2
xor edx, edx
movzx ecx, byte [esi + 1]
movzx eax, byte [esi]
lea esi, [esi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 6]
shl ecx, 8
or ecx, eax
mov dword [edi + edx*4], ecx
inc edx
cmp edx, ebx
jl 0x53ea52
mov edx, dword [ebp + 8]
mov eax, dword [edx]
sub eax, 0xa
je 0x53ebef
dec eax
sub eax, 1
je 0x53eb72
dec eax
sub eax, 1
jne 0x53ec5a
mov edx, 0x739618
mov dword [ebp + 0x10], edx
mov ebx, dword [edi + 0x1c]
movzx eax, bl
movzx ecx, byte [eax + 0x737418]
movzx eax, byte [edi + 0x1f]
shl ecx, 8
movzx eax, byte [eax + 0x737418]
xor ecx, eax
movzx eax, byte [edi + 0x1e]
shl ecx, 8
movzx eax, byte [eax + 0x737418]
xor ecx, eax
movzx eax, byte [edi + 0x1d]
shl ecx, 8
movzx eax, byte [eax + 0x737418]
xor ecx, eax
mov eax, dword [edi + 4]
xor ecx, dword [edi]
lea edi, [edi + 0x20]
xor ecx, dword [edx]
mov edx, dword [edi - 0x14]
xor eax, ecx
mov dword [edi], ecx
mov ecx, dword [edi - 0x18]
xor ecx, eax
mov dword [edi + 4], eax
xor edx, ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
movzx eax, byte [edi + 0xf]
movzx ecx, byte [eax + 0x737418]
movzx eax, byte [edi + 0xe]
shl ecx, 8
movzx eax, byte [eax + 0x737418]
xor ecx, eax
movzx eax, byte [edi + 0xd]
shl ecx, 8
movzx eax, byte [eax + 0x737418]
xor ecx, eax
movzx eax, dl
mov edx, dword [ebp + 0x10]
shl ecx, 8
add edx, 4
mov dword [ebp + 0x10], edx
movzx eax, byte [eax + 0x737418]
xor ecx, eax
mov eax, dword [edi - 0xc]
xor ecx, dword [edi - 0x10]
xor eax, ecx
mov dword [edi + 0x10], ecx
mov ecx, dword [edi - 8]
xor ecx, eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
xor ecx, ebx
mov dword [edi + 0x1c], ecx
cmp edx, 0x739634
jl 0x53eaa5
jmp 0x53ec5a
mov esi, 0x739618
mov ebx, dword [edi + 0x14]
movzx eax, bl
movzx ecx, byte [eax + 0x737418]
movzx eax, byte [edi + 0x17]
shl ecx, 8
movzx eax, byte [eax + 0x737418]
xor ecx, eax
movzx eax, byte [edi + 0x16]
shl ecx, 8
movzx eax, byte [eax + 0x737418]
xor ecx, eax
movzx eax, byte [edi + 0x15]
shl ecx, 8
movzx eax, byte [eax + 0x737418]
xor ecx, eax
mov eax, dword [edi + 4]
xor ecx, dword [esi]
add esi, 4
xor ecx, dword [edi]
lea edi, [edi + 0x18]
xor eax, ecx
mov dword [edi], ecx
mov ecx, dword [edi - 0x10]
xor ecx, eax
mov dword [edi + 4], eax
mov eax, dword [edi - 0xc]
xor eax, ecx
mov dword [edi + 8], ecx
mov ecx, dword [edi - 8]
xor ecx, eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
xor ecx, ebx
mov dword [edi + 0x14], ecx
cmp esi, 0x739638
jl 0x53eb77
jmp 0x53ec5a
mov esi, 0x739618
mov ebx, dword [edi + 0xc]
movzx eax, bl
movzx ecx, byte [eax + 0x737418]
movzx eax, byte [edi + 0xf]
shl ecx, 8
movzx eax, byte [eax + 0x737418]
xor ecx, eax
movzx eax, byte [edi + 0xe]
shl ecx, 8
movzx eax, byte [eax + 0x737418]
xor ecx, eax
movzx eax, byte [edi + 0xd]
shl ecx, 8
movzx eax, byte [eax + 0x737418]
xor ecx, eax
mov eax, dword [edi + 4]
xor ecx, dword [edi]
lea edi, [edi + 0x10]
xor ecx, dword [esi]
add esi, 4
xor eax, ecx
mov dword [edi], ecx
mov ecx, dword [edi - 8]
xor ecx, eax
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
xor ecx, ebx
mov dword [edi + 0xc], ecx
cmp esi, 0x739640
jl 0x53ebf4
pop edi
xor eax, eax
pop esi
pop ebx
pop ebp
ret