Function at 0x19ae50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov dword [esp + 0x20], 0x63f161dc
mov dword [esp + 0x24], 0x67c965f0
mov dword [esp + 0x28], 0x6bcb69fa
mov dword [esp + 0x2c], 0x6fcb6dcb
mov dword [esp + 0x30], 0x53f651ec
mov dword [esp + 0x34], 0x57f055f1
mov dword [esp + 0x38], 0x5bcf59f9
mov dword [esp + 0x3c], 0x5fca5df0
lea eax, [esp + 0x40]
mov word [esp + 0x40], 0x4140
mov dword [esp + 0x42], 0
mov dword [esp + 0x46], 0
mov byte [esp + 0x4a], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x2a
ja 0x19af1f
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
movzx edx, byte [esp + edx + 0x20]
lea esi, [ecx + edx]
add esi, 0xd2d5e150
add ecx, 0xd2d5e150
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 0x70], esi
mov ecx, dword [esp + 0x70]
mov edx, ecx
xor edx, 0xcf
and ecx, 0x4f
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x2b
jb 0x19aed0
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x70]
lea edx, [esp + 0x20]
mov ecx, 8
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x90]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x19af60
cmp eax, 0xffffffdd
jge 0x19af77
mov eax, 0xffffffff
jmp 0x19af7a
add eax, 0x22
push eax
call fcn.00189390
add esp, 4
mov esi, eax
movzx ecx, word [edi]
test cx, cx
je 0x19afb1
add edi, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x19afa0
mov word [eax], 0
movzx ecx, word [esp + 0x70]
test cx, cx
je 0x19afe1
lea edx, [esp + 0x72]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x19afd0
mov word [eax], 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x3910d91
mov dword [esp + 0x24], 0x7db018e
mov dword [esp + 0x28], 0x3bb205e1
mov dword [esp + 0x2c], 0x3fdb39ac
mov dword [esp + 0x30], 0x33a53dae
mov dword [esp + 0x34], 0x37a531a9
mov dword [esp + 0x38], 0x2bf535a6
mov dword [esp + 0x3c], 0x2ff129f7
mov dword [esp + 0x40], 0x23c02df2
mov dword [esp + 0x44], 0x27b121b5
mov dword [esp + 0x48], 0xdb4c25c1
mov dword [esp + 0x4c], 0xdf4dd91f
mov dword [esp + 0x50], 0xd346dd4e
mov dword [esp + 0x54], 0xd75ed135
mov dword [esp + 0x58], 0xcb33d540
mov dword [esp + 0x5c], 0xcf03c92c
mov dword [esp + 0x60], 0xc3c2cd12
mov word [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x49
ja 0x19b109
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx edx, byte [esp + ecx + 0x20]
lea ecx, [eax + edx]
add ecx, 0xf4f28cd6
add eax, 0xf4f28cd6
and eax, edx
add eax, eax
mov edx, ecx
not edx
and edx, eax
not eax
and eax, ecx
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add al, 0x26
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x20], al
mov eax, dword [esp + 4]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
cmp eax, 0x4a
jb 0x19b0b0
lea eax, [esp + 8]
push eax
push 0x19b420
lea eax, [esp + 0x28]
push eax
push esi
call fcn.0019ba90
add esp, 0x10
mov ebx, eax
mov eax, dword [0x1c2d74]
mov ecx, 0x2c1537a7
xor ecx, dword [0x1c2d7c]
add eax, ecx
inc eax
jmp eax