Function at 0x41a2a9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov dword [esp + 0x10], 0xb321b15c
mov dword [esp + 0x14], 0xb729b520
mov dword [esp + 0x18], 0xab4ba93a
mov dword [esp + 0x1c], 0xaf4bad4b
mov dword [esp + 0x20], 0xa346a14c
mov dword [esp + 0x24], 0xa740a541
mov dword [esp + 0x28], 0x5bcf59b9
mov dword [esp + 0x2c], 0x5fca5dc0
lea eax, [esp + 0x30]
mov word [esp + 0x30], 0x5150
mov dword [esp + 0x32], 0
mov dword [esp + 0x36], 0
mov dword [esp + 0x3a], 0
mov dword [esp + 0x3e], 0
mov dword [esp + 0x42], 0
mov dword [esp + 0x46], 0
mov word [esp + 0x4a], 0
mov dword [esp + 0x74], 0
mov ecx, dword [esp + 0x74]
cmp ecx, 0x3b
ja 0x41a1fa
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x74]
movzx esi, byte [esp + ecx + 0x10]
lea ecx, [edx + esi]
add ecx, 0xd70992e8
add edx, 0xd70992e8
and edx, esi
add edx, edx
sub ecx, edx
add cl, 0xa8
mov edx, dword [esp + 0x74]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x74]
mov ecx, dword [esp + 0x74]
cmp ecx, 0x3c
jb 0x41a1c0
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x74]
lea edx, [esp + 0x10]
mov ecx, 8
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x94]
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
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41a230
cmp eax, 0xffffffdd
jge 0x41a247
mov eax, 0xffffffff
jmp 0x41a24a
add eax, 0x22
push eax
call fcn.00408810
add esp, 4
mov esi, eax
movzx ecx, word [edi]
test cx, cx
je 0x41a281
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 0x41a270
mov word [eax], 0
movzx ecx, word [esp + 0x74]
test cx, cx
je 0x41a2b1
lea edx, [esp + 0x76]
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 0x41a2a0
mov word [eax], 0
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xa8], eax
mov dword [esp + 0x10], 0xfb69f919
mov dword [esp + 0x14], 0xffa3fd70
mov dword [esp + 0x18], 0xf378f159
mov dword [esp + 0x1c], 0xf753f566
mov dword [esp + 0x20], 0xeb7de968
mov dword [esp + 0x24], 0xef7ded71
mov dword [esp + 0x28], 0xe3bde170
mov dword [esp + 0x2c], 0xe7b9e5bf
mov dword [esp + 0x30], 0xdb76d9bc
mov dword [esp + 0x34], 0xdf49dd4d
mov dword [esp + 0x38], 0xd342d179
mov dword [esp + 0x3c], 0xd745d597
mov dword [esp + 0x40], 0xcb5cc948
mov dword [esp + 0x44], 0xcf44cd6d
mov dword [esp + 0x48], 0xc37bc15a
mov dword [esp + 0x4c], 0xc78bc566
mov dword [esp + 0x50], 0x3b38399c
mov byte [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x50
ja 0x41a3c5
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
add al, 0x3f
xor al, byte [esp + ecx + 0x10]
add al, 0x47
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x51
jb 0x41a3a0
lea eax, [esp + 0x98]
push eax
push 0x41a730
lea eax, [esp + 0x18]
push eax
push esi
call fcn.0041b0e0
add esp, 0x10
mov ebx, eax
mov eax, dword [0x44310c]
mov ecx, 0xfca0c319
xor ecx, dword [0x443114]
add eax, ecx
inc eax
jmp eax