Function at 0xe15170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov edi, ecx
mov dword [esp + 0xc], 0
mov word [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x8a858487
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x11
ja 0xe151e5
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
add al, 0x15
xor al, byte [esp + ecx + 0x10]
add al, 0x6d
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x12
jb 0xe151c0
mov ebx, dword [esp + 0x10]
mov eax, dword [0xe2a1f0]
test eax, eax
je 0xe15230
xor ecx, ecx
mov edx, dword [0xe2a1f4]
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x18dc7455
je 0xe15210
inc ecx
cmp eax, ecx
jne 0xe15200
jmp 0xe15230
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0xe15230
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 5
push 4
push eax
call fcn.00e15120
add esp, 0x18
mov ebx, eax
cmp ebx, 0xc0000004
jne 0xe153e8
mov eax, dword [esp + 0xc]
mov byte [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xdbdad988
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x14
ja 0xe152ba
nop
nop
mov edx, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx esi, byte [esp + ecx + 0x10]
lea ecx, [edx + esi]
add ecx, 0x41aa1f64
add edx, 0x41aa1f64
and edx, esi
add edx, edx
sub ecx, edx
add cl, 0x44
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x15
jb 0xe15280
mov ecx, dword [esp + 0x10]
mov ecx, dword fs:[ecx]
push eax
push 0
push dword [ecx + 0x18]
call dword [0xe2a830]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
mov word [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x8a858487
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x11
ja 0xe15337
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
add cl, 0x15
xor cl, byte [esp + edx + 0x10]
add cl, 0x6d
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x12
jb 0xe15310
mov ebx, dword [esp + 0x10]
mov ecx, dword [0xe2a1f0]
test ecx, ecx
je 0xe1537e
xor edx, edx
mov esi, dword [0xe2a1f4]
nop
nop
nop
cmp dword [esi + edx*8], 0x18dc7455
je 0xe15360
inc edx
cmp ecx, edx
jne 0xe15350
jmp 0xe1537e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, ebx
je 0xe1537e
push 0
push eax
push dword [esp + 0x10]
push 5
push 4
push ecx
call fcn.00e15120
add esp, 0x18
mov ebx, eax
test ebx, ebx
js 0xe153dc
mov dword [esp + 0x38], edi
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 8]
mov esi, dword [ecx]
nop
mov edx, dword [ecx + esi + 0x3c]
add ecx, esi
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [edx + ebx]
movzx edi, word [eax + ebx]
test si, si
je 0xe153b5
add ebx, 2
cmp si, di
je 0xe153a0
cmp si, di
je 0xe153c7
mov esi, dword [ecx]
test esi, esi
jne 0xe15390
mov ebx, 0xc0000225
jmp 0xe153dc
mov eax, dword [ecx + 0x44]
mov edx, dword [esp + 0x38]
mov dword [edx + 4], eax
mov eax, dword [ecx + 0xdc]
mov dword [edx + 8], eax
xor ebx, ebx
push dword [esp + 8]
call fcn.00e15050
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4