Function at 0x41aee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov dword [esp + 0x30], 0x834e81a5
mov dword [esp + 0x34], 0x8765856b
mov dword [esp + 0x38], 0x8b668969
mov dword [esp + 0x3c], 0x8f7e8d4d
mov dword [esp + 0x40], 0x93569160
mov dword [esp + 0x44], 0x97629575
mov dword [esp + 0x48], 0x9bbf9979
lea eax, [esp + 0x4c]
mov word [esp + 0x4c], 0x9d9c
mov dword [esp + 0x4e], 0
mov dword [esp + 0x51], 0
mov dword [esp + 0xac], 0
mov ecx, dword [esp + 0xac]
cmp ecx, 0x24
ja 0x41afb3
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xac]
movzx esi, byte [esp + ecx + 0x30]
lea ecx, [edx + 0x5cec2c0]
add edx, 0xc0
and edx, esi
or ecx, esi
sub ecx, edx
mov edx, ecx
xor edx, 0xbf
and ecx, 0x3f
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 0xac]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 0xac]
mov ecx, dword [esp + 0xac]
cmp ecx, 0x25
jb 0x41af60
lea esi, [esp + 0x10e]
lea edx, [esp + 0x30]
mov ecx, 7
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x12a]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea edi, [esp + 0x98]
push edi
push 0
push 0
push 0xe
push esi
push 0
call dword [0x444a70]
mov ebx, dword [esp + 0x98]
test ebx, ebx
jns 0x41b005
mov eax, 0xffffffff
jmp 0x41b008
lea eax, [ebx + ebx]
push eax
call fcn.004089b0
add esp, 4
push edi
push ebx
mov dword [esp + 0x34], eax
push eax
push 0xe
push esi
push 0
call dword [0x444a70]
mov dword [esp + 0x30], 0xb304b512
mov dword [esp + 0x34], 0xaf2db12d
mov dword [esp + 0x38], 0xab33ad3b
mov dword [esp + 0x3c], 0xa733a933
mov dword [esp + 0x40], 0xa3a4a52b
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov word [esp + 0x50], 0
mov dword [esp + 0xac], 0
mov ecx, dword [esp + 0xac]
cmp ecx, 0x21
ja 0x41b0d9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xac]
movzx esi, byte [esp + ecx + 0x30]
lea ecx, [edx + esi]
add ecx, 0xc0cba4c9
add edx, 0xc0cba4c9
and edx, esi
add edx, edx
sub ecx, edx
add cl, 0x81
mov edx, dword [esp + 0xac]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 0xac]
mov ecx, dword [esp + 0xac]
cmp ecx, 0x22
jb 0x41b090
lea edi, [esp + 0xfa]
lea edx, [esp + 0x30]
mov ecx, 5
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x10e]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esp + 0x98]
mov ecx, eax
add ecx, 9
jns 0x41b112
mov eax, 0xffffffff
jmp 0x41b117
add eax, eax
add eax, 0x12
push eax
call fcn.004089b0
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x2c]
movzx ecx, word [eax]
mov eax, esi
test cx, cx
je 0x41b151
mov eax, dword [esp + 0x2c]
lea edx, [eax + 2]
mov eax, esi
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 0x41b140
mov word [eax], 0
movzx ecx, word [esp + 0xfa]
test cx, cx
je 0x41b181
lea edx, [esp + 0xfc]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41b170
mov edi, dword [ebp + 8]
mov word [eax], 0
lea eax, [esp + 0xa4]
push 0x20
push 1
push 3
push 0x120089
push eax
push esi
call fcn.00436270
add esp, 0x18
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x43ea40]
mov ecx, 0xbb901e2d
xor ecx, dword [0x43ea48]
add eax, ecx
inc eax
jmp eax
mov edx, dword [0x440ee0]
xor edx, 0xad6da336
sub ecx, edx
jmp ecx
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x68]
movzx edx, byte [eax + edx]
mov edi, ecx
add edi, 0xfca4b990
mov ebx, edx
not ebx
mov eax, edi
or eax, ebx
and edi, edx
mov ebx, dword [esi + 0x68]
add eax, edi
sub ecx, eax
rol dword [eax + 0x468b9fc1], 0x24
rol dword [eax + 0x468b9fc1], 0x24
mov byte [ebx + eax], cl
mov eax, dword [esi + 0x24]
inc eax
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x24]
cmp eax, 0x20
jb 0x425ffd
mov edi, dword [esi + 0xc]
mov edx, dword [esi + 0x140]
jmp 0x426046
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
sub esp, 0x18
mov dword [esp + 0xc], edi
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
call eax
xor ecx, ecx
test eax, eax
setns al
mov dword [esi + 0x40c], 1
mov edx, dword [esi + 0x410]
mov edi, dword [esi + 0x40c]
mov edx, dword [edx + edi*4]
mov edi, dword [0x440d88]
xor edi, 0x7fe70c13
sub edx, edi
mov edi, dword [esi + 0xc]
jmp edx