Function at 0x41c280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f4c20
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x907074]
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 [0x1802f5c], 0
je 0x41c82a
mov eax, dword [0x1802d70]
cmp dword [eax + 0x38], 0
je 0x41c82a
cmp word [0x8ccbd6], 0
mov eax, dword [0x8ccbd4]
mov dword [ebp - 0x20], eax
je 0x41c308
xor esi, esi
nop dword [eax]
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x39
xor word [ebp + esi*2 - 0x20], cx
inc esi
cmp esi, 2
jl 0x41c2e0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push 0x1802ee0
push eax
call fcn.00411db0
push 0x1802e50
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 0
push eax
call fcn.00427d40
add esp, 0x18
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x41c345
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, 0x39
lea edi, [ebp - 0x1dc]
mov esi, 0x8cd000
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
cmp dword [0x17f8f7c], 2
jl 0x41c490
movaps xmm4, xmmword [0x8d06a0]
mov eax, 5
movaps xmm3, xmmword [0x8d0750]
movaps xmm6, xmmword [0x8d06d0]
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 [0x8d0700]
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 [0x8d0700]
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 0x41c390
cmp esi, 0x73
jge 0x41c4bb
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x39
xor word [ebp + esi*2 - 0x1dc], cx
inc esi
cmp esi, 0x73
jl 0x41c490
push dword [ebp - 0x18]
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040f9e0
add esp, 0xc
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x41c50f
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c505
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cbae
push edx
push ecx
call fcn.00478f62
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 0x41c561
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c557
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cbb3
push edx
push ecx
call fcn.00478f62
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 [0x1802d70]
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 [0x8ccf04]
mov dword [ebp - 0x20], eax
mov ax, word [0x8ccf08]
mov word [ebp - 0x1c], ax
nop
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x39
xor word [ebp + esi*2 - 0x20], cx
inc esi
cmp esi, 3
jl 0x41c5a0
push edi
lea eax, [ebp - 0x20]
push eax
call dword [ebp - 0x18]
movups xmm0, xmmword [0x8ccfb0]
mov eax, dword [0x1802d70]
xor esi, esi
cmp dword [0x17f8f7c], 2
movups xmmword [ebp - 0xe8], xmm0
movups xmm0, xmmword [0x8ccfc0]
mov edi, dword [eax + 0x38]
movups xmmword [ebp - 0xd8], xmm0
movups xmm0, xmmword [0x8ccfd0]
movups xmmword [ebp - 0xc8], xmm0
movups xmm0, xmmword [0x8ccfe0]
movups xmmword [ebp - 0xb8], xmm0
movups xmm0, xmmword [0x8ccff0]
movups xmmword [ebp - 0xa8], xmm0
jl 0x41c760
movaps xmm4, xmmword [0x8d06a0]
mov eax, 5
movaps xmm3, xmmword [0x8d0750]
xor ecx, ecx
movaps xmm6, xmmword [0x8d06d0]
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 [0x8d0700]
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 [0x8d0700]
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 0x41c660
jmp 0x41c78b
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x39
xor word [ebp + esi*2 - 0xe8], cx
inc esi
cmp esi, 0x28
jl 0x41c760
mov eax, dword [0x8ccf04]
xor esi, esi
mov dword [ebp - 0x18], eax
mov ax, word [0x8ccf08]
mov word [ebp - 0x14], ax
nop
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x39
xor word [ebp + esi*2 - 0x18], cx
inc esi
cmp esi, 3
jl 0x41c7a0
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 0x41c816
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c80c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cbb8
push edx
push ecx
call fcn.00478f62
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [0x1802d70]
cmp dword [eax + 0x7b0], 0
jne 0x41cb93
mov ax, word [0x8ccbd0]
xor edx, edx
mov word [ebp - 0x20], ax
mov al, byte [0x8ccbd2]
mov byte [ebp - 0x1e], al
mov dword [ebp - 0x18], edx
mov eax, 0x8d3dcb09
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, 0x3a
sub cl, al
add cl, 0x39
xor byte [ebp + edx - 0x20], cl
inc edx
mov dword [ebp - 0x18], edx
cmp edx, 3
jl 0x41c853
lea edx, [ebp - 0x20]
call fcn.00405260
test al, al
je 0x41cb93
cmp word [0x8ccbd6], 0
mov eax, dword [0x8ccbd4]
mov dword [ebp - 0x18], eax
je 0x41c8d8
xor esi, esi
nop dword [eax + eax]
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x39
xor word [ebp + esi*2 - 0x18], cx
inc esi
cmp esi, 2
jl 0x41c8b0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push 0x1802ee0
push eax
call fcn.00411db0
push 0x1802e80
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 5
push eax
call fcn.00427d40
mov edx, dword [ebp - 0x24]
add esp, 0x18
cmp edx, 8
jb 0x41c940
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c936
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cbbd
push edx
push ecx
call fcn.00478f62
add esp, 8
movups xmm0, xmmword [0x8ccf34]
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 [0x8ccf44]
mov dword [ebp - 0x58], eax
mov ax, word [0x8ccf48]
mov dword [ebp - 0x24], 7
movups xmmword [ebp - 0x68], xmm0
mov word [ebp - 0x54], ax
nop word [eax + eax]
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x39
xor word [ebp + esi*2 - 0x68], cx
inc esi
cmp esi, 0xb
jl 0x41c990
mov ecx, 0x17
lea edi, [ebp - 0xf4]
mov esi, 0x8ccf50
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [0x17f8f7c], 2
jl 0x41cb00
movaps xmm4, xmmword [0x8d06a0]
mov eax, 5
movaps xmm3, xmmword [0x8d0750]
movaps xmm6, xmmword [0x8d06d0]
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 [0x8d0700]
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 [0x8d0700]
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 0x41ca00
cmp esi, 0x2e
jge 0x41cb2b
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x39
xor word [ebp + esi*2 - 0xf4], cx
inc esi
cmp esi, 0x2e
jl 0x41cb00
mov eax, dword [0x1802d70]
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 [0x80e6b0]
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x41cb93
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cb89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cbc2
push edx
push ecx
call fcn.00478f62
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.00478d26
mov esp, ebp
pop ebp
ret
call fcn.006b9a29
call fcn.006b9a29
call fcn.006b9a29
call fcn.006b9a29
call fcn.006b9a29
int3