Function at 0x41bd80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f56f3
mov eax, dword fs:[0]
push eax
sub esp, 0x84
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
mov eax, dword [0x1803d70]
cmp dword [eax + 0x38], 0
je 0x41c31c
cmp dword [eax + 0x6e0], 0
jne 0x41bde5
mov esi, dword [0x80f36c]
nop dword [eax + eax]
push 0x3e8
call esi
mov eax, dword [0x1803d70]
cmp dword [eax + 0x6e0], 0
je 0x41bdd0
push 0x8cd290
lea eax, [ebp - 0x70]
push 0x1803ee0
push eax
call fcn.00411e30
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, 0x1803e80
cmp dword [0x1803e94], 8
push dword [0x1803e90]
cmovae ecx, dword [0x1803e80]
push ecx
mov ecx, eax
call fcn.004139e0
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 0x41be93
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41be89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c337
push edx
push ecx
call fcn.00479a82
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x44], 8
mov word [ebp - 0x70], ax
mov eax, dword [0x1803d70]
mov dword [ebp - 0x5c], 7
push 0x8ccadc
mov ecx, dword [eax + 0x38]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call ecx
movups xmm0, xmmword [0x8ce0e8]
mov eax, dword [0x1803d70]
xor esi, esi
cmp dword [0x17f9f7c], 2
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [0x8ce0f8]
mov edi, dword [eax + 0x38]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [0x8ce108]
movq qword [ebp - 0x20], xmm0
jl 0x41c020
movaps xmm4, xmmword [0x8d1650]
mov eax, 5
movaps xmm3, xmmword [0x8d1710]
movaps xmm6, xmmword [0x8d1680]
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 [0x8d16b0]
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
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 - 0x38]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x38], xmm1
add esi, 8
cmp esi, 0x10
jl 0x41bf23
cmp esi, 0x14
jge 0x41c051
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 - 0x40], ax
inc esi
cmp esi, 0x14
jl 0x41c020
mov eax, dword [0x8cdf04]
xor esi, esi
mov dword [ebp - 0x18], eax
mov ax, word [0x8cdf08]
mov word [ebp - 0x14], ax
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, 3
jl 0x41c070
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
call edi
mov ax, word [0x8cdbd0]
xor ecx, ecx
mov word [ebp - 0x8c], ax
mov al, byte [0x8cdbd2]
mov byte [ebp - 0x8a], al
mov dword [ebp - 0x90], ecx
nop dword [eax + 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 - 0x90]
shl al, 3
add al, cl
xor byte [ebp + ecx - 0x8c], al
inc ecx
mov dword [ebp - 0x90], ecx
cmp ecx, 3
jl 0x41c0d0
lea edx, [ebp - 0x8c]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41c115
mov esi, dword [0x17f09c8]
sub edx, ecx
cmp dword [0x17f09cc], 0x10
mov ecx, 0x17f09b8
cmovae ecx, dword [0x17f09b8]
cmp esi, edx
jne 0x41c2e6
lea edx, [ebp - 0x8c]
sub esi, 4
jb 0x41c161
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x41c166
add ecx, 4
add edx, 4
sub esi, 4
jae 0x41c150
cmp esi, 0xfffffffc
je 0x41c19a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x41c193
cmp esi, 0xfffffffd
je 0x41c19a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x41c193
cmp esi, 0xfffffffe
je 0x41c19a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x41c193
cmp esi, 0xffffffff
je 0x41c19a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x41c19a
sbb eax, eax
or eax, 1
jmp 0x41c19c
xor eax, eax
test eax, eax
jne 0x41c2e6
mov eax, dword [0x1803d70]
cmp dword [eax + 0x7b4], 0
jne 0x41c2e6
cmp word [0x8cdbd6], 0
mov eax, dword [0x8cdbd4]
mov dword [ebp - 0x8c], eax
je 0x41c204
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 - 0x8c], ax
inc esi
cmp esi, 2
jl 0x41c1d0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x88]
push 0x1803ee0
push eax
call fcn.00411e30
push 0x1803e38
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
call fcn.00428260
add esp, 0x18
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x41c273
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c269
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c33c
push edx
push ecx
call fcn.00479a82
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
lea edx, [ebp - 0x8c]
mov eax, dword [0x1803d70]
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 0x41c2e6
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c2dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c341
push edx
push ecx
call fcn.00479a82
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x41c31c
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c312
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c346
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
int3