Function at 0x41c300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x190
mov dword [esp + 8], 0xf964fbd5
mov dword [esp + 0xc], 0xfd6fff6d
mov dword [esp + 0x10], 0xf1f2f36e
mov word [esp + 0x14], 0
xor ecx, ecx
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 8]
lea esi, [edx + edx]
not esi
add esi, edx
mov edi, esi
xor edi, 0x514d6a5d
or esi, 0xaeb295a2
and esi, edi
and edx, 0x5d
or edx, esi
lea esi, [eax + 0x195a5b7f]
or esi, 0xaeb295a2
add esi, ecx
add esi, 0xe6a5a481
and ecx, 0x5d
xor ecx, 0x11484a5d
or ecx, esi
xor ecx, edx
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
add cl, 0x84
mov byte [esp + eax + 8], cl
mov ecx, eax
not ecx
or ecx, 1
mov edx, eax
and edx, 0xe
mov esi, eax
xor esi, 1
add esi, ecx
sub esi, edx
lea ecx, [esi + eax*2]
lea eax, [esi + eax*2]
inc eax
not ecx
cmp eax, 0xe
jb 0x41c340
mov dword [esp + 0x28], 0xcf5ac950
mov dword [esp + 0x2c], 0xc352cd58
mov dword [esp + 0x30], 0xc795c18e
mov dword [esp + 0x34], 0xfb66c597
mov dword [esp + 0x38], 0xff99f96b
mov dword [esp + 0x3c], 0xf36efd9d
mov dword [esp + 0x40], 0xf765f168
mov dword [esp + 0x44], 0xeb7ef563
mov dword [esp + 0x48], 0xefeee9a6
mov dword [esp + 0x4c], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x28]
mov esi, eax
and esi, 0x24
mov edi, ecx
xor edi, 0x52
add edi, esi
lea ebx, [edx + edx]
not ebx
add ebx, edx
xor ebx, edx
and ebx, edi
xor ebx, edx
add bl, 0x66
mov byte [esp + ecx + 0x28], bl
inc ecx
add eax, 2
cmp ecx, 0x28
jne 0x41c410
movzx ecx, word [esp + 0x28]
lea eax, [esp + 0x14c]
test cx, cx
je 0x41c473
lea edx, [esp + 0x2a]
mov esi, dword [ebp + 0x10]
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 0x41c460
jmp 0x41c476
mov esi, dword [ebp + 0x10]
mov word [eax], 0
movzx ecx, word [esi]
test cx, cx
mov edi, dword [ebp + 0xc]
je 0x41c4a1
lea edx, [esi + 2]
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 0x41c490
mov word [eax], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x41c4d1
lea edx, [esp + 0xa]
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 0x41c4c0
mov word [eax], 0
mov ebx, dword [edi]
mov dword [esp + 0x28], 0x2724248a
mov byte [esp + 0x2c], 0x84
mov dword [esp + 0x2d], 0
mov byte [esp + 0x31], 0
xor eax, eax
mov ecx, 0x5f
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x28]
mov esi, edx
not esi
or esi, ecx
or edx, eax
or edx, 0x316d49a0
and edx, esi
mov esi, edx
and esi, 0x5f
xor edx, 0x8dd8fdf
lea esi, [edx + esi*2]
and edx, 1
xor esi, 1
lea edx, [esi + edx*2]
mov byte [esp + eax + 0x28], dl
inc eax
dec ecx
cmp eax, 0xa
jne 0x41c500
movzx eax, byte [esp + 0x28]
test al, al
je 0x41c55b
lea ecx, [esp + 0x29]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [ebx], al
inc ebx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x41c550
mov byte [ebx], 0
lea eax, [esp + 0x134]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x14c]
push eax
push ecx
push edx
call fcn.0040b170
add esp, 0xc
movzx eax, al
mov eax, dword [eax*4 + 0x446cb0]
mov ecx, 0x3d1b9e1e
xor ecx, dword [0x446cb8]
add eax, ecx
inc eax
jmp eax