Function at 0x41e70c
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
push ebp
mov ebp, ecx
push edi
mov dword [esp + 0x20], ebp
call fcn.004041f6
mov dword [ebp], vtable.cdk::GHASH.0
call fcn.0041fa3c
cmp byte [0x463eb8], 0
je 0x41e75c
mov ecx, dword [esp + 0x38]
lea eax, [ebp + 8]
push eax
push ecx
call fcn.0041fbf8
mov byte [0x463eb8], al
lea edi, [ebp + 0x18]
xor eax, eax
stosd dword es:[edi], eax
pop ecx
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp byte [0x463eb8], 0
jne 0x41e9f1
mov ecx, dword [esp + 0x38]
xor eax, eax
push ebx
push esi
lea ebx, [ebp + 8]
mov dword [esp + 0x1c], eax
mov esi, ecx
mov edi, ebx
push eax
push ecx
push 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp + 0x38], al
call fcn.0041ea04
mov ecx, dword [esp + 0x4c]
xor esi, esi
push esi
add ecx, 8
mov dword [esp + 0x20], eax
push ecx
push 1
mov edi, edx
call fcn.0041ea04
add esp, 0x18
mov dword [esp + 0x20], esi
mov esi, edx
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ebx
push esi
push eax
push edi
push dword [esp + 0x1c]
call fcn.0041e6ae
mov ecx, eax
call fcn.0041e6ae
xor ebx, ebx
mov edx, ebx
mov dword [esp + 0x18], ebx
mov eax, edx
and eax, 0x8000001f
jns 0x41e7d9
dec eax
or eax, 0xffffffe0
inc eax
cmp eax, 4
jge 0x41e80e
push 7
pop ecx
sub ecx, eax
mov dword [esp + 0x20], ebx
xor esi, esi
mov eax, edx
cdq
inc esi
shl esi, cl
and edx, 0x1f
add eax, edx
lea ecx, [esp + 0x20]
sar eax, 5
add esi, 0x63a
shl eax, 8
add esi, ebp
add eax, esi
mov dword [esp + 0x24], eax
jmp 0x41e841
cmp eax, 8
jge 0x41e85b
push 0xb
pop ecx
sub ecx, eax
mov dword [esp + 0x2c], ebx
xor esi, esi
mov eax, edx
cdq
inc esi
shl esi, cl
and edx, 0x1f
add eax, edx
lea ecx, [esp + 0x2c]
sar eax, 5
add esi, 0x23a
shl eax, 8
add esi, ebp
add eax, esi
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x14]
push esi
push dword [esp + 0x44]
push edi
push dword [esp + 0x1c]
call fcn.0041e6ae
mov ecx, eax
call fcn.0041e6ae
mov edx, dword [esp + 0x40]
xor eax, eax
shrd dword [esp + 0x40], esi, 1
mov ecx, dword [esp + 0x10]
or dword [esp + 0x40], eax
shl ecx, 0x1f
shr esi, 1
or esi, ecx
mov dword [esp + 0x14], esi
test dl, 1
je 0x41e888
mov ecx, ebx
mov edx, 0xe1000000
jmp 0x41e899
xorps xmm0, xmm0
movlpd qword [esp + 0x34], xmm0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
shrd eax, edi, 1
shr edi, 1
xor eax, ecx
xor edi, edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x18]
inc edx
mov dword [esp + 0x18], edx
cmp edx, 0x68
jl 0x41e7cb
lea ecx, [ebp + 0x23a]
mov dword [esp + 0x18], ecx
xor eax, eax
mov edi, ecx
push 2
pop esi
mov dword [esp + 0x40], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ecx + 0x400]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp esi, 1
jle 0x41e95d
lea eax, [ebx + esi]
shl eax, 4
lea edx, [ebp + 0x23a]
add edx, eax
lea ebx, [esi - 1]
mov dword [esp + 0x10], edx
lea edi, [ecx + 0x410]
mov esi, dword [esp + 0x10]
lea edx, [ebp + 0x63a]
add ebp, 0x64a
add edx, eax
add eax, ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
mov ebp, eax
lea eax, [edi - 0x400]
push eax
lea eax, [ebp - 0x400]
push esi
push eax
call fcn.00410713
push edi
push dword [esp + 0x30]
push ebp
call fcn.00410713
add esp, 0x18
add edi, 0x10
add ebp, 0x10
sub ebx, 1
jne 0x41e920
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
add esi, esi
mov dword [esp + 0x40], esi
cmp esi, 8
jle 0x41e8e2
add ebx, 0x10
add ecx, 0x100
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
cmp ebx, 0x40
jl 0x41e8c7
cmp byte [ebp + 0x38], 0
jne 0x41e9ef
xor eax, eax
lea ebx, [ebp + 0x3c]
mov word [ebp + 0x3a], ax
mov esi, 0x1c2
mov ax, si
mov ch, al
mov cl, ah
push 2
mov word [ebx], cx
pop edx
add esi, esi
mov ax, si
mov ch, al
mov cl, ah
mov word [ebp + edx*2 + 0x3a], cx
cmp edx, 1
jle 0x41e9e1
lea ecx, [edx*2 + 0x3c]
mov edi, ebx
add ecx, ebp
lea ebx, [edx - 1]
mov ax, word [edi]
lea edi, [edi + 2]
xor ax, word [ebp + edx*2 + 0x3a]
mov word [ecx], ax
add ecx, 2
sub ebx, 1
jne 0x41e9c8
lea ebx, [ebp + 0x3c]
add edx, edx
cmp edx, 0x80
jle 0x41e9a7
mov byte [ebp + 0x38], 1
pop esi
pop ebx
xor eax, eax
lea edi, [ebp + 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, ebp
pop edi
pop ebp
add esp, 0x2c
ret 4