Function at 0x41fee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f6c53
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x90cf34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1807d24]
cmp dword [eax + 0x38], 0
je 0x420432
cmp dword [eax + 0x6e0], 0
jne 0x41ff45
mov esi, dword [0x810368]
nop dword [eax + eax]
push 0x3e8
call esi
mov eax, dword [0x1807d24]
cmp dword [eax + 0x6e0], 0
je 0x41ff30
push 0x8d1730
lea eax, [ebp - 0x70]
push 0x1807e90
push eax
call fcn.00416140
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, 0x1807e30
cmp dword [0x1807e44], 8
push dword [0x1807e40]
cmovae ecx, dword [0x1807e30]
push ecx
mov ecx, eax
call fcn.00417d30
mov dword [ebp - 0x48], 0
xor ecx, ecx
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x41fff3
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ffe9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42044d
push edx
push ecx
call fcn.0059982b
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x44], 8
mov word [ebp - 0x70], ax
mov eax, dword [0x1807d24]
mov dword [ebp - 0x5c], 7
push 0x8d0df8
mov ecx, dword [eax + 0x38]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call ecx
movups xmm0, xmmword [0x8d26e0]
mov eax, dword [0x1807d24]
xor esi, esi
cmp dword [0x18011f4], 2
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [0x8d26f0]
mov edi, dword [eax + 0x38]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [0x8d2700]
movq qword [ebp - 0x20], xmm0
jl 0x420170
movaps xmm4, xmmword [0x8d5c60]
mov eax, 1
movaps xmm3, xmmword [0x8d5cd0]
movaps xmm6, xmmword [0x8d5c80]
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
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
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 [0x8d5cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x40]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x40], 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
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 [0x8d5cb0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x38]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x38], xmm1
add esi, 8
cmp esi, 0x10
jl 0x420083
cmp esi, 0x14
jge 0x420195
nop
mov eax, 0x94f2095
mov ecx, esi
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x37
sub ecx, eax
add ecx, 0x32
xor word [ebp + esi*2 - 0x40], cx
inc esi
cmp esi, 0x14
jl 0x420170
mov eax, dword [0x8d24fc]
xor esi, esi
mov dword [ebp - 0x18], eax
mov ax, word [0x8d2500]
mov word [ebp - 0x14], ax
nop dword [eax]
mov eax, 0x94f2095
mov ecx, esi
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x37
sub ecx, eax
add ecx, 0x32
xor word [ebp + esi*2 - 0x18], cx
inc esi
cmp esi, 3
jl 0x4201b0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
call edi
mov ax, word [0x8d21c8]
xor edx, edx
mov word [ebp - 0x8c], ax
mov al, byte [0x8d21ca]
mov byte [ebp - 0x8a], al
mov dword [ebp - 0x90], edx
nop
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x90]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x32
xor byte [ebp + edx - 0x8c], cl
inc edx
mov dword [ebp - 0x90], edx
cmp edx, 3
jl 0x420200
lea edx, [ebp - 0x8c]
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x420240
mov esi, dword [0x17f49c8]
sub edx, ecx
cmp dword [0x17f49cc], 0x10
mov ecx, 0x17f49b8
cmovae ecx, dword [0x17f49b8]
cmp esi, edx
jne 0x4203fc
lea edx, [ebp - 0x8c]
sub esi, 4
jb 0x420286
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42028b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x420275
cmp esi, 0xfffffffc
je 0x4202bf
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4202b8
cmp esi, 0xfffffffd
je 0x4202bf
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4202b8
cmp esi, 0xfffffffe
je 0x4202bf
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4202b8
cmp esi, 0xffffffff
je 0x4202bf
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4202bf
sbb eax, eax
or eax, 1
jmp 0x4202c1
xor eax, eax
test eax, eax
jne 0x4203fc
mov eax, dword [0x1807d24]
cmp dword [eax + 0x7b4], 0
jne 0x4203fc
cmp word [0x8d21ce], 0
mov eax, dword [0x8d21cc]
mov dword [ebp - 0x8c], eax
je 0x42031a
xor esi, esi
mov eax, 0x94f2095
mov ecx, esi
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x37
sub ecx, eax
add ecx, 0x32
xor word [ebp + esi*2 - 0x8c], cx
inc esi
cmp esi, 2
jl 0x4202f2
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x88]
push 0x1807e90
push eax
call fcn.00416140
push 0x1807de8
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
call fcn.0042ba10
add esp, 0x18
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x420389
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42037f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420452
push edx
push ecx
call fcn.0059982b
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
lea edx, [ebp - 0x8c]
mov eax, dword [0x1807d24]
mov dword [ebp - 0x74], 7
push edx
mov ecx, dword [eax + 0x38]
xor eax, eax
cmp dword [ebp - 0x1c], 8
mov word [ebp - 0x8c], ax
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call ecx
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x4203fc
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4203f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420457
push edx
push ecx
call fcn.0059982b
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x420432
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420428
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42045c
push edx
push ecx
call fcn.0059982b
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.0059961f
mov esp, ebp
pop ebp
ret
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
call fcn.006a6ec9
int3