Function at 0x41cc20
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov edi, dword [ebx + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41cc40
mov esi, dword [ecx + 4]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
cmp word [esi + edx + 2], 0
lea edx, [edx + 2]
jne 0x41cc60
mov ecx, eax
sar ecx, 1
sar edx, 1
and eax, 0x36
mov dword [esp + 0x44], ecx
xor ecx, 0x1b
add ecx, eax
add ecx, edx
mov dword [esp + 0x48], edx
jns 0x41cc8e
mov ecx, 0xffffffff
jmp 0x41cc90
add ecx, ecx
push ecx
call fcn.00409730
add esp, 4
mov dword [esp + 8], 0xe35ee14c
mov dword [esp + 0xc], 0xe745e57b
mov dword [esp + 0x10], 0xdb46d979
mov dword [esp + 0x14], 0xdf9bddbc
mov dword [esp + 0x18], 0xd346d158
mov dword [esp + 0x1c], 0xd748d571
mov dword [esp + 0x20], 0xcb53c95b
mov dword [esp + 0x24], 0xcf50cd53
mov dword [esp + 0x28], 0xc371c1a0
mov dword [esp + 0x2c], 0xc752c561
mov dword [esp + 0x30], 0x3ba339ac
mov dword [esp + 0x34], 0x3f993da2
mov dword [esp + 0x38], 0x339e31a3
mov dword [esp + 0x3c], 0x3534
mov ebp, 0x2464cd8
nop
nop
movzx ecx, byte [esp + ebp - 0x2464cd0]
xor ecx, ebp
mov edx, ecx
and edx, 0x47
xor ecx, 0xc7
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + ebp - 0x2464cd0], cl
inc ebp
cmp ebp, 0x2464d10
jne 0x41cd10
movzx ecx, word [edi]
mov ebp, eax
test cx, cx
je 0x41cd62
add edi, 2
mov ebp, eax
nop
nop
nop
nop
nop
nop
nop
mov word [ebp], cx
add ebp, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x41cd50
mov word [ebp], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x41cd92
lea edx, [esp + 0xa]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebp], cx
add ebp, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41cd80
mov word [ebp], 0
movzx ecx, word [esi]
test cx, cx
mov dword [esp + 4], eax
je 0x41cdc2
add esi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebp], cx
add ebp, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x41cdb0
mov word [ebp], 0
mov ebp, dword [ebx]
mov eax, 0xfffffffe
nop
cmp word [ebp + eax + 2], 0
lea eax, [eax + 2]
jne 0x41cdd0
mov edx, dword [ebx + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x41cdf0
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x6c]
mov esi, dword [edx]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
cmp word [esi + edx + 2], 0
lea edx, [edx + 2]
jne 0x41ce10
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0x13
test eax, eax
jns 0x41ce34
mov eax, 0xffffffff
jmp 0x41ce3d
add ecx, edx
lea eax, [ecx*2 + 0x26]
mov dword [esp], esi
push eax
call fcn.00409730
add esp, 4
movzx ecx, word [ebp]
mov ebx, eax
test cx, cx
je 0x41ce72
add ebp, 2
mov ebx, eax
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [ebp]
add ebp, 2
test cx, cx
jne 0x41ce60
mov dword [esp + 0x40], eax
mov word [ebx], 0x2f
mov dword [esp + 8], 0x1f5b196b
mov dword [esp + 0xc], 0x63d61da4
mov dword [esp + 0x10], 0x67d461c5
mov dword [esp + 0x14], 0x6bc365d3
mov dword [esp + 0x18], 0x6fdc69db
mov dword [esp + 0x1c], 0x73016ddb
mov dword [esp + 0x20], 0x7170
mov eax, 0x911ffaba
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, byte [esp + eax + 0x6ee0054e]
mov edx, eax
and edx, ebp
mov edi, edx
and edi, 0xfffffffd
mov esi, edx
and esi, 2
mov ecx, edx
or ecx, 0xfffffffd
inc ecx
imul ecx, edi
or edx, 2
imul edx, esi
add ecx, ebp
sub ecx, edx
add ecx, eax
mov edx, ecx
and edx, 0x5d
xor ecx, 0x2a601a5d
lea edx, [ecx + edx*2]
and ecx, 1
or edx, 1
xor edx, ecx
lea ecx, [edx + ecx*2]
mov byte [esp + eax + 0x6ee0054e], cl
inc eax
cmp eax, 0x911ffad6
jne 0x41cec0
add ebx, 2
mov ecx, dword [esp + 0x4c]
movzx eax, word [ecx]
test ax, ax
je 0x41cf43
add ecx, 2
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 4]
mov edx, dword [esp]
mov word [ebx], ax
add ebx, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cf30
jmp 0x41cf4e
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 4]
mov edx, dword [esp]
mov word [ebx], 0
movzx eax, word [esp + 8]
test ax, ax
je 0x41cf81
lea ecx, [esp + 0xa]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], ax
add ebx, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cf70
mov word [ebx], 0
movzx eax, word [edx]
test ax, ax
je 0x41cfb1
add edx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], ax
add ebx, 2
movzx eax, word [edx]
add edx, 2
test ax, ax
jne 0x41cfa0
mov word [ebx], 0
mov dword [esp + 8], 0x7372712a
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
xor eax, eax
xor ecx, ecx
nop
nop
mov esi, eax
and esi, 8
mov edx, ecx
xor edx, 0xec
add edx, esi
xor dl, byte [esp + ecx + 8]
add dl, 0x64
mov byte [esp + ecx + 8], dl
inc ecx
add eax, 2
cmp ecx, 7
jne 0x41cfd0
lea eax, [esp + 8]
push 0
push 0
push 0xc00000
push eax
push ebp
mov esi, dword [esp + 0x54]
push esi
push dword [esp + 0x7c]
call fcn.00420e60
add esp, 0x1c
mov byte [esp], al
jmp dword [0x444f2c]