Function at 0x41cf40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x108
mov dword [esp + 0x18], 0x73be6d49
mov dword [esp + 0x1c], 0x77917183
mov dword [esp + 0x20], 0x7b967595
mov dword [esp + 0x24], 0x7f8e79b9
mov dword [esp + 0x28], 0x3c67d8c
mov dword [esp + 0x2c], 0x7f201e1
mov dword [esp + 0x30], 0xb2f05e5
lea eax, [esp + 0x34]
mov word [esp + 0x34], 0x908
mov dword [esp + 0x36], 0
mov dword [esp + 0x98], 0
mov ecx, dword [esp + 0x98]
cmp ecx, 0x21
ja 0x41d01e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x98]
movzx edx, byte [esp + edx + 0x18]
lea esi, [ecx + 0x1b786f2e]
add ecx, 0x2e
and ecx, edx
or esi, edx
sub esi, ecx
mov dword [esp + 0xb8], esi
mov ecx, dword [esp + 0xb8]
mov edx, ecx
xor edx, 0xbd
and ecx, 0x3d
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 0x98]
mov byte [esp + edx + 0x18], cl
inc dword [esp + 0x98]
mov ecx, dword [esp + 0x98]
cmp ecx, 0x22
jb 0x41cfc0
lea esi, [esp + 0x98]
lea edx, [esp + 0x18]
mov ecx, 7
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xb4]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea eax, [esp + 0x74]
push eax
push 0
push 0
push 0xe
push esi
push 0
call dword [0x44a1a0]
mov ebx, dword [esp + 0x74]
mov edi, esi
test ebx, ebx
jns 0x41d06c
mov eax, 0xffffffff
jmp 0x41d06f
lea eax, [ebx + ebx]
push eax
call fcn.00408d00
add esp, 4
mov dword [esp + 0x8c], eax
mov esi, eax
lea eax, [esp + 0x74]
push eax
push ebx
push esi
push 0xe
push edi
push 0
call dword [0x44a1a0]
mov dword [esp + 0x18], 0x33843592
mov dword [esp + 0x1c], 0x2fad31ad
mov dword [esp + 0x20], 0x2bb32dbb
mov dword [esp + 0x24], 0x27b329b3
mov dword [esp + 0x28], 0x232425ab
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2f], 0
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x78]
cmp ecx, 0x1a
mov ebx, esi
ja 0x41d13a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x78]
movzx edx, byte [esp + edx + 0x18]
lea esi, [ecx + 9]
mov edi, edx
not edi
or edi, esi
and esi, edx
add esi, edi
neg esi
add ecx, esi
add ecx, 0x77c46808
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xb8]
add cl, 0xc1
mov edx, dword [esp + 0x78]
mov byte [esp + edx + 0x18], cl
inc dword [esp + 0x78]
mov ecx, dword [esp + 0x78]
cmp ecx, 0x1b
jb 0x41d0f0
lea edi, [esp + 0x78]
lea edx, [esp + 0x18]
mov ecx, 5
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x8c]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esp + 0x74]
mov ecx, eax
add ecx, 9
jns 0x41d16d
mov eax, 0xffffffff
jmp 0x41d172
add eax, eax
add eax, 0x12
push eax
call fcn.00408d00
add esp, 4
mov esi, eax
movzx ecx, word [ebx]
test cx, cx
je 0x41d1a1
lea edx, [ebx + 2]
mov eax, esi
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d190
mov word [eax], 0
movzx ecx, word [esp + 0x78]
test cx, cx
je 0x41d1d1
lea edx, [esp + 0x7a]
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 0x41d1c0
mov word [eax], 0
lea eax, [esp + 0x94]
push eax
push esi
call fcn.0043b820
add esp, 8
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x443fa0]
mov ecx, 0x33cdfba7
xor ecx, dword [0x443fa8]
add eax, ecx
inc eax
jmp eax