Function at 0x41a020
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], 0x4bb54da8
mov dword [esp + 0x14], 0x57a549b4
mov dword [esp + 0x18], 0x53b355aa
mov dword [esp + 0x1c], 0x5fb351bb
mov dword [esp + 0x20], 0x5bb65db8
mov dword [esp + 0x24], 0x678c59b5
mov dword [esp + 0x28], 0x639f6585
mov dword [esp + 0x2c], 0x6f926194
lea eax, [esp + 0x30]
mov word [esp + 0x30], 0x6d6c
mov dword [esp + 0x32], 0
mov dword [esp + 0x36], 0
mov dword [esp + 0x3a], 0
mov dword [esp + 0x3e], 0
mov dword [esp + 0x74], 0
mov ecx, dword [esp + 0x74]
cmp ecx, 0x31
ja 0x41a0ef
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x74]
movzx edx, byte [esp + edx + 0x10]
mov esi, ecx
and esi, 0xddfe600a
xor ecx, 0xddfe600a
lea esi, [ecx + esi*2]
lea ecx, [esi + edx]
and esi, edx
add esi, esi
sub ecx, esi
add cl, 0xba
mov edx, dword [esp + 0x74]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0x74]
mov ecx, dword [esp + 0x74]
cmp ecx, 0x32
jb 0x41a0b0
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
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41a130
cmp eax, 0xffffffdd
jge 0x41a147
mov eax, 0xffffffff
jmp 0x41a14a
add eax, 0x22
push eax
call fcn.00437310
add esp, 4
mov esi, eax
movzx ecx, word [edi]
test cx, cx
je 0x41a181
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 0x41a170
mov word [eax], 0
movzx ecx, word [esp + 0x74]
test cx, cx
je 0x41a1b1
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 0x41a1a0
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], 0xfb69f959
mov dword [esp + 0x14], 0xff23fd70
mov dword [esp + 0x18], 0xf378f119
mov dword [esp + 0x1c], 0xf713f566
mov dword [esp + 0x20], 0xeb7de968
mov dword [esp + 0x24], 0xef7ded71
mov dword [esp + 0x28], 0xe33de170
mov dword [esp + 0x2c], 0xe739e53f
mov dword [esp + 0x30], 0x9b76993c
mov dword [esp + 0x34], 0x9f099d0d
mov dword [esp + 0x38], 0x93029179
mov dword [esp + 0x3c], 0x97059557
mov dword [esp + 0x40], 0x8b1c8908
mov dword [esp + 0x44], 0x8f048d6d
mov dword [esp + 0x48], 0x837b811a
mov dword [esp + 0x4c], 0x874b8566
mov dword [esp + 0x50], 0xbbb8b95c
mov dword [esp + 0x63], 0
mov dword [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, 0x56
ja 0x41a2ed
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
movzx edx, byte [esp + eax + 0x10]
lea eax, [ecx - 0x70deeee1]
add ecx, 0x1f
and ecx, edx
or eax, edx
sub eax, ecx
mov ecx, eax
or ecx, 0x26
and eax, 0x26
add eax, ecx
inc al
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x57
jb 0x41a2b0
lea eax, [esp + 0x98]
push eax
push 0x419a30
lea eax, [esp + 0x18]
push eax
push esi
call fcn.0041add0
add esp, 0x10
mov ebx, eax
mov eax, dword [0x443bb4]
mov ecx, 0xa575e23f
xor ecx, dword [0x443bbc]
add eax, ecx
inc eax
jmp eax