Function at 0x41c400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f6130
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 [0x181e304], 0
je 0x41c9aa
mov eax, dword [0x181e118]
cmp dword [eax + 0x38], 0
je 0x41c9aa
cmp word [0x8ce1d6], 0
mov eax, dword [0x8ce1d4]
mov dword [ebp - 0x20], eax
je 0x41c488
xor esi, esi
nop dword [eax]
mov eax, 0x8fb823ef
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x39
sub ecx, eax
add ecx, 0x36
xor word [ebp + esi*2 - 0x20], cx
inc esi
cmp esi, 2
jl 0x41c460
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push 0x181e288
push eax
call fcn.00411e30
push 0x181e1f8
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 0
push eax
call fcn.00427e10
add esp, 0x18
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x41c4c5
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, 0x39
lea edi, [ebp - 0x1dc]
mov esi, 0x8ce600
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
cmp dword [0x1813edc], 2
jl 0x41c610
movaps xmm4, xmmword [0x8d1c50]
mov eax, 5
movaps xmm3, xmmword [0x8d1d00]
movaps xmm6, xmmword [0x8d1c90]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop
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 [0x8d1cb0]
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 [0x8d1cb0]
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 0x41c510
cmp esi, 0x73
jge 0x41c63b
mov eax, 0x8fb823ef
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x39
sub ecx, eax
add ecx, 0x36
xor word [ebp + esi*2 - 0x1dc], cx
inc esi
cmp esi, 0x73
jl 0x41c610
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 0x41c68f
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c685
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cd2e
push edx
push ecx
call fcn.00479074
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 0x41c6e1
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c6d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cd33
push edx
push ecx
call fcn.00479074
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 [0x181e118]
cmovae edi, dword [ebp - 0x50]
xor esi, esi
mov dword [ebp - 0x24], 7
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [0x8ce504]
mov dword [ebp - 0x20], eax
mov ax, word [0x8ce508]
mov word [ebp - 0x1c], ax
nop
mov eax, 0x8fb823ef
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x39
sub ecx, eax
add ecx, 0x36
xor word [ebp + esi*2 - 0x20], cx
inc esi
cmp esi, 3
jl 0x41c720
push edi
lea eax, [ebp - 0x20]
push eax
call dword [ebp - 0x18]
movups xmm0, xmmword [0x8ce5b0]
mov eax, dword [0x181e118]
xor esi, esi
cmp dword [0x1813edc], 2
movups xmmword [ebp - 0xe8], xmm0
movups xmm0, xmmword [0x8ce5c0]
mov edi, dword [eax + 0x38]
movups xmmword [ebp - 0xd8], xmm0
movups xmm0, xmmword [0x8ce5d0]
movups xmmword [ebp - 0xc8], xmm0
movups xmm0, xmmword [0x8ce5e0]
movups xmmword [ebp - 0xb8], xmm0
movups xmm0, xmmword [0x8ce5f0]
movups xmmword [ebp - 0xa8], xmm0
jl 0x41c8e0
movaps xmm4, xmmword [0x8d1c50]
mov eax, 5
movaps xmm3, xmmword [0x8d1d00]
xor ecx, ecx
movaps xmm6, xmmword [0x8d1c90]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop word [eax + eax]
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 [0x8d1cb0]
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 [0x8d1cb0]
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 0x41c7e0
jmp 0x41c90b
mov eax, 0x8fb823ef
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x39
sub ecx, eax
add ecx, 0x36
xor word [ebp + esi*2 - 0xe8], cx
inc esi
cmp esi, 0x28
jl 0x41c8e0
mov eax, dword [0x8ce504]
xor esi, esi
mov dword [ebp - 0x18], eax
mov ax, word [0x8ce508]
mov word [ebp - 0x14], ax
nop
mov eax, 0x8fb823ef
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x39
sub ecx, eax
add ecx, 0x36
xor word [ebp + esi*2 - 0x18], cx
inc esi
cmp esi, 3
jl 0x41c920
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x18]
push eax
call edi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x41c996
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c98c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cd38
push edx
push ecx
call fcn.00479074
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [0x181e118]
cmp dword [eax + 0x7b0], 0
jne 0x41cd13
mov ax, word [0x8ce1d0]
xor edx, edx
mov word [ebp - 0x20], ax
mov al, byte [0x8ce1d2]
mov byte [ebp - 0x1e], al
mov dword [ebp - 0x18], edx
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 0x18]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x18]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x20], cl
inc edx
mov dword [ebp - 0x18], edx
cmp edx, 3
jl 0x41c9d3
lea edx, [ebp - 0x20]
call fcn.004052e0
test al, al
je 0x41cd13
cmp word [0x8ce1d6], 0
mov eax, dword [0x8ce1d4]
mov dword [ebp - 0x18], eax
je 0x41ca58
xor esi, esi
nop dword [eax + eax]
mov eax, 0x8fb823ef
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x39
sub ecx, eax
add ecx, 0x36
xor word [ebp + esi*2 - 0x18], cx
inc esi
cmp esi, 2
jl 0x41ca30
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push 0x181e288
push eax
call fcn.00411e30
push 0x181e228
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 5
push eax
call fcn.00427e10
mov edx, dword [ebp - 0x24]
add esp, 0x18
cmp edx, 8
jb 0x41cac0
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cab6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cd3d
push edx
push ecx
call fcn.00479074
add esp, 8
movups xmm0, xmmword [0x8ce534]
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 - 0x18], eax
mov eax, dword [0x8ce544]
mov dword [ebp - 0x58], eax
mov ax, word [0x8ce548]
mov dword [ebp - 0x24], 7
movups xmmword [ebp - 0x68], xmm0
mov word [ebp - 0x54], ax
nop word [eax + eax]
mov eax, 0x8fb823ef
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x39
sub ecx, eax
add ecx, 0x36
xor word [ebp + esi*2 - 0x68], cx
inc esi
cmp esi, 0xb
jl 0x41cb10
mov ecx, 0x17
lea edi, [ebp - 0xf4]
mov esi, 0x8ce550
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [0x1813edc], 2
jl 0x41cc80
movaps xmm4, xmmword [0x8d1c50]
mov eax, 5
movaps xmm3, xmmword [0x8d1d00]
movaps xmm6, xmmword [0x8d1c90]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, 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 [0x8d1cb0]
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 [0x8d1cb0]
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 0x41cb80
cmp esi, 0x2e
jge 0x41ccab
mov eax, 0x8fb823ef
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x39
sub ecx, eax
add ecx, 0x36
xor word [ebp + esi*2 - 0xf4], cx
inc esi
cmp esi, 0x2e
jl 0x41cc80
mov eax, dword [0x181e118]
push 0xff
push dword [ebp - 0x18]
cmp dword [eax + 0x6e8], 0
lea eax, [ebp - 0x68]
push 1
push eax
lea eax, [ebp - 0xf4]
push eax
push 0x80000001
call dword [0x80f6f0]
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x41cd13
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cd09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cd42
push edx
push ecx
call fcn.00479074
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.00478e38
mov esp, ebp
pop ebp
ret
call fcn.006bd179
call fcn.006bd179
call fcn.006bd179
call fcn.006bd179
call fcn.006bd179
int3