Function at 0x41e290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x110
mov dword [esp + 8], 0xc30ec125
mov dword [esp + 0xc], 0xc765c56b
mov dword [esp + 0x10], 0xcb66c969
mov dword [esp + 0x14], 0xcf7ecd0d
mov dword [esp + 0x18], 0xd316d160
mov dword [esp + 0x1c], 0xd762d575
mov dword [esp + 0x20], 0xdb3fd979
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0xdddc
mov byte [esp + 0x28], 0
mov dword [esp + 0x8c], 0
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x20
ja 0x41e356
nop
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x8c]
movzx edx, byte [esp + edx + 8]
lea esi, [ecx + 0xa0]
add ecx, edx
and esi, edx
add esi, esi
sub ecx, esi
add ecx, 0xa2012da0
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0xc0]
add cl, 0xa0
mov edx, dword [esp + 0x8c]
mov byte [esp + edx + 8], cl
inc dword [esp + 0x8c]
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x21
jb 0x41e300
lea esi, [esp + 0x8c]
lea edx, [esp + 8]
mov ecx, 7
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xa8]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea edi, [esp + 0x80]
push edi
push 0
push 0
push 0xe
push esi
push 0
call dword [0x44745c]
mov ebx, dword [esp + 0x80]
test ebx, ebx
jns 0x41e3a8
mov eax, 0xffffffff
jmp 0x41e3ab
lea eax, [ebx + ebx]
push eax
call fcn.00409080
add esp, 4
push edi
push ebx
mov ebx, eax
push eax
push 0xe
push esi
push 0
call dword [0x44745c]
mov dword [esp + 8], 0xb344b552
mov dword [esp + 0xc], 0xaf2db12d
mov dword [esp + 0x10], 0xab33ad3b
mov dword [esp + 0x14], 0xa733a933
mov dword [esp + 0x18], 0xa3a4a52b
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x60]
cmp ecx, 0x1b
ja 0x41e468
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x60]
movzx edx, byte [esp + edx + 8]
lea esi, [ecx + edx]
add esi, 0x71dcc9e9
add ecx, 0x71dcc9e9
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 0xc0], esi
mov ecx, dword [esp + 0xc0]
add cl, 0xa1
mov edx, dword [esp + 0x60]
mov byte [esp + edx + 8], cl
inc dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
cmp ecx, 0x1c
jb 0x41e420
lea edi, [esp + 0xac]
lea edx, [esp + 8]
mov ecx, 5
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xc0]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esp + 0x80]
mov ecx, eax
add ecx, 9
jns 0x41e4a1
mov eax, 0xffffffff
jmp 0x41e4a6
add eax, eax
add eax, 0x12
push eax
call fcn.00409080
add esp, 4
mov esi, eax
movzx ecx, word [ebx]
test cx, cx
je 0x41e4d1
lea edx, [ebx + 2]
mov eax, esi
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41e4c0
mov word [eax], 0
movzx ecx, word [esp + 0xac]
test cx, cx
je 0x41e501
lea edx, [esp + 0xae]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41e4f0
mov edi, dword [ebp + 8]
mov word [eax], 0
lea eax, [esp + 0x88]
push eax
push esi
call fcn.0043b120
add esp, 8
not eax
shr eax, 0x1f
mov dword [esp + 0x7c], ebx
jmp dword [eax*4 + 0x442d28]