Function at 0x419a90
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], 0x93ed91f2
mov dword [esp + 0x24], 0x9fed9dee
mov dword [esp + 0x28], 0x9bfb99ec
mov dword [esp + 0x2c], 0xa7cba5f3
mov dword [esp + 0x30], 0xa3cca1c2
mov dword [esp + 0x34], 0xafc2adcd
mov dword [esp + 0x38], 0xabd7a9cd
mov dword [esp + 0x3c], 0xb7c8b5de
lea eax, [esp + 0x40]
mov word [esp + 0x40], 0xb1b6
mov dword [esp + 0x42], 0
mov dword [esp + 0x46], 0
mov dword [esp + 0x4a], 0
mov word [esp + 0x4e], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x2f
ja 0x419b5e
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
movzx edx, byte [esp + edx + 0x20]
lea esi, [ecx + 0x13]
add ecx, edx
and esi, edx
add esi, esi
sub ecx, esi
add ecx, 0x56c86313
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x70]
add cl, 0x7b
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x30
jb 0x419b20
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 ecx, 0xfffffffe
cmp word [edi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x419b90
mov eax, ecx
sar eax, 1
and ecx, 0x22
xor eax, 0x11
add eax, ecx
jns 0x419bb0
mov eax, 0xffffffff
jmp 0x419bb2
add eax, eax
push eax
call fcn.00408d00
add esp, 4
mov esi, eax
movzx ecx, word [edi]
test cx, cx
je 0x419be1
add edi, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x419bd0
mov word [eax], 0
movzx ecx, word [esp + 0x70]
test cx, cx
je 0x419c11
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 0x419c00
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], 0xf3618d21
mov dword [esp + 0x24], 0xf79bf16e
mov dword [esp + 0x28], 0xfb62f551
mov dword [esp + 0x2c], 0xff5bf96c
mov dword [esp + 0x30], 0xe375fd6e
mov dword [esp + 0x34], 0xe775e149
mov dword [esp + 0x38], 0xeb85e576
mov dword [esp + 0x3c], 0xef81e987
mov dword [esp + 0x40], 0xd370ed82
mov dword [esp + 0x44], 0xd741d145
mov dword [esp + 0x48], 0xdb4cd571
mov dword [esp + 0x4c], 0xdf4dd99f
mov dword [esp + 0x50], 0xc356dd4e
mov dword [esp + 0x54], 0xc75ec165
mov dword [esp + 0x58], 0xcb83c550
mov dword [esp + 0x5c], 0xcf93c96c
mov dword [esp + 0x60], 0x3332cda2
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x4b
ja 0x419d2f
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x20]
lea edx, [eax + ecx]
add edx, 0xb67c23e
add eax, 0xb67c23e
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
add al, 0x4e
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, 0x4c
jb 0x419ce0
lea eax, [esp + 8]
push eax
push 0x41a070
lea eax, [esp + 0x28]
push eax
push esi
call fcn.0041a5b0
add esp, 0x10
mov ebx, eax
mov eax, dword [0x4434f8]
mov ecx, 0x8cdc3911
xor ecx, dword [0x443500]
add eax, ecx
inc eax
jmp eax