Function at 0x41c350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f5740
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1803f5c], 0
je 0x41c933
mov eax, dword [0x1803d70]
cmp dword [eax + 0x38], 0
je 0x41c933
cmp word [0x8cdbd6], 0
mov eax, dword [0x8cdbd4]
mov dword [ebp - 0x18], eax
je 0x41c3e1
xor esi, esi
nop dword [eax]
mov eax, 0x92492493
mov ecx, 1
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [esi + eax*8]
xor word [ebp + esi*2 - 0x18], ax
inc esi
cmp esi, 2
jl 0x41c3b0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push 0x1803ee0
push eax
call fcn.00411e30
push 0x1803e50
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 0
push eax
call fcn.00428260
add esp, 0x18
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x41c41e
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, 0x39
lea edi, [ebp - 0x1dc]
mov esi, 0x8ce000
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
cmp dword [0x17f9f7c], 2
jl 0x41c570
movaps xmm4, xmmword [0x8d1650]
mov eax, 5
movaps xmm3, xmmword [0x8d1710]
movaps xmm6, xmmword [0x8d1680]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop dword [eax + eax]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x8d16b0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x1dc]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x1dc], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x8d16b0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x1d4]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x1d4], xmm1
add esi, 8
cmp esi, 0x70
jl 0x41c470
cmp esi, 0x73
jge 0x41c5a4
mov eax, 0x92492493
mov ecx, 1
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [esi + eax*8]
xor word [ebp + esi*2 - 0x1dc], ax
inc esi
cmp esi, 0x73
jl 0x41c570
push dword [ebp - 0x18]
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040fa60
add esp, 0xc
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x41c5f8
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c5ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ccd7
push edx
push ecx
call fcn.00479a82
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x41c64a
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c640
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ccdc
push edx
push ecx
call fcn.00479a82
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x3c], 8
lea edi, [ebp - 0x50]
mov word [ebp - 0x38], ax
mov eax, dword [0x1803d70]
cmovae edi, dword [ebp - 0x50]
xor esi, esi
mov dword [ebp - 0x24], 7
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [0x8cdf04]
mov dword [ebp - 0x18], eax
mov ax, word [0x8cdf08]
mov word [ebp - 0x14], ax
nop dword [eax + eax]
mov eax, 0x92492493
mov ecx, 1
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [esi + eax*8]
xor word [ebp + esi*2 - 0x18], ax
inc esi
cmp esi, 3
jl 0x41c690
push edi
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x20]
movups xmm0, xmmword [0x8cdfb0]
mov eax, dword [0x1803d70]
xor esi, esi
cmp dword [0x17f9f7c], 2
movups xmmword [ebp - 0xe8], xmm0
movups xmm0, xmmword [0x8cdfc0]
mov edi, dword [eax + 0x38]
movups xmmword [ebp - 0xd8], xmm0
movups xmm0, xmmword [0x8cdfd0]
movups xmmword [ebp - 0xc8], xmm0
movups xmm0, xmmword [0x8cdfe0]
movups xmmword [ebp - 0xb8], xmm0
movups xmm0, xmmword [0x8cdff0]
movups xmmword [ebp - 0xa8], xmm0
jl 0x41c850
movaps xmm4, xmmword [0x8d1650]
mov eax, 5
movaps xmm3, xmmword [0x8d1710]
xor ecx, ecx
movaps xmm6, xmmword [0x8d1680]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x8d16b0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0xe8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0xe8], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x8d16b0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0xe0]
pxor xmm1, xmm0
movq qword [ebp + ecx*2 - 0xe0], xmm1
add ecx, 8
cmp ecx, 0x28
jl 0x41c750
jmp 0x41c884
mov eax, 0x92492493
mov ecx, 1
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [esi + eax*8]
xor word [ebp + esi*2 - 0xe8], ax
inc esi
cmp esi, 0x28
jl 0x41c850
mov eax, dword [0x8cdf04]
xor esi, esi
mov dword [ebp - 0x20], eax
mov ax, word [0x8cdf08]
mov word [ebp - 0x1c], ax
nop dword [eax + eax]
mov eax, 0x92492493
mov ecx, 1
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [esi + eax*8]
xor word [ebp + esi*2 - 0x20], ax
inc esi
cmp esi, 3
jl 0x41c8a0
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x20]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x41c91f
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c915
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cce1
push edx
push ecx
call fcn.00479a82
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [0x1803d70]
cmp dword [eax + 0x7b0], 0
jne 0x41ccbc
mov ax, word [0x8cdbd0]
xor ecx, ecx
mov word [ebp - 0x18], ax
mov al, byte [0x8cdbd2]
mov byte [ebp - 0x16], al
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov eax, 0x92492493
imul ecx
add edx, ecx
mov cl, 1
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub cl, al
mov al, cl
shl al, 3
sub al, cl
mov ecx, dword [ebp - 0x20]
shl al, 3
add al, cl
xor byte [ebp + ecx - 0x18], al
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 3
jl 0x41c960
lea edx, [ebp - 0x18]
call fcn.004052e0
test al, al
je 0x41ccbc
cmp word [0x8cdbd6], 0
mov eax, dword [0x8cdbd4]
mov dword [ebp - 0x18], eax
je 0x41c9f1
xor esi, esi
nop word [eax + eax]
mov eax, 0x92492493
mov ecx, 1
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [esi + eax*8]
xor word [ebp + esi*2 - 0x18], ax
inc esi
cmp esi, 2
jl 0x41c9c0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push 0x1803ee0
push eax
call fcn.00411e30
push 0x1803e80
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 5
push eax
call fcn.00428260
mov edx, dword [ebp - 0x24]
add esp, 0x18
cmp edx, 8
jb 0x41ca59
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ca4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cce6
push edx
push ecx
call fcn.00479a82
add esp, 8
movups xmm0, xmmword [0x8cdf34]
xor eax, eax
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x84], 8
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
xor esi, esi
mov dword [ebp - 0x20], eax
mov eax, dword [0x8cdf44]
mov dword [ebp - 0x58], eax
mov ax, word [0x8cdf48]
mov dword [ebp - 0x24], 7
movups xmmword [ebp - 0x68], xmm0
mov word [ebp - 0x54], ax
mov eax, 0x92492493
mov ecx, 1
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [esi + eax*8]
xor word [ebp + esi*2 - 0x68], ax
inc esi
cmp esi, 0xb
jl 0x41caa3
mov ecx, 0x17
lea edi, [ebp - 0xf4]
mov esi, 0x8cdf50
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [0x17f9f7c], 2
jl 0x41cc20
movaps xmm4, xmmword [0x8d1650]
mov eax, 5
movaps xmm3, xmmword [0x8d1710]
movaps xmm6, xmmword [0x8d1680]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop dword [eax]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x8d16b0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0xf4]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0xf4], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x8d16b0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0xec]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0xec], xmm1
add esi, 8
cmp esi, 0x28
jl 0x41cb20
cmp esi, 0x2e
jge 0x41cc54
mov eax, 0x92492493
mov ecx, 1
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [esi + eax*8]
xor word [ebp + esi*2 - 0xf4], ax
inc esi
cmp esi, 0x2e
jl 0x41cc20
mov eax, dword [0x1803d70]
push 0xff
push dword [ebp - 0x20]
cmp dword [eax + 0x6e8], 0
lea eax, [ebp - 0x68]
push 1
push eax
lea eax, [ebp - 0xf4]
push eax
push 0x80000001
call dword [0x80f6b0]
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x41ccbc
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ccb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cceb
push edx
push ecx
call fcn.00479a82
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00479846
mov esp, ebp
pop ebp
ret
call fcn.006ba549
call fcn.006ba549
call fcn.006ba549
call fcn.006ba549
call fcn.006ba549
int3