Function at 0x41d9b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x104
push ebx
push ebp
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
push esi
push edi
mov edi, edx
movq qword [esp + 0x80], xmm0
mov esi, ecx
mov dword [esp + 0x8c], 0
movups xmmword [esp + 0x50], xmm0
movups xmmword [esp + 0x60], xmm0
movups xmmword [esp + 0x70], xmm0
nop
mov eax, dword [ecx]
lea ecx, [ecx + 4]
inc dword [esp + eax*4 + 0x50]
sub edx, 1
jne 0x41d9f0
cmp dword [esp + 0x50], edi
jne 0x41da23
mov eax, dword [esp + 0x124]
mov dword [eax], edx
mov eax, dword [esp + 0x128]
mov dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
mov ebx, dword [esp + 0x128]
mov ecx, 1
mov eax, dword [ebx]
cmp dword [esp + ecx*4 + 0x50], 0
jne 0x41da3e
inc ecx
cmp ecx, 0xf
jbe 0x41da31
cmp eax, ecx
mov dword [esp + 0x10], ecx
mov edx, ecx
cmovae edx, eax
mov eax, 0xf
nop
cmp dword [esp + eax*4 + 0x50], 0
jne 0x41da5c
sub eax, 1
jne 0x41da50
cmp edx, eax
mov dword [esp + 0x2c], eax
mov ebp, eax
cmovbe ebp, edx
mov edx, 1
shl edx, cl
mov dword [esp + 0x18], ebp
mov dword [ebx], ebp
cmp ecx, eax
jae 0x41da91
nop dword [eax + eax]
sub edx, dword [esp + ecx*4 + 0x50]
js 0x41de1c
inc ecx
add edx, edx
cmp ecx, eax
jb 0x41da80
lea ebx, [eax*4]
mov ecx, edx
sub edx, dword [esp + ebx + 0x50]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x4c], edx
js 0x41de1c
xor edx, edx
mov dword [esp + ebx + 0x50], ecx
mov dword [esp + 0x94], edx
sub eax, 1
je 0x41dad3
xor ecx, ecx
add edx, dword [esp + ecx + 0x54]
lea ecx, [ecx + 4]
mov dword [esp + ecx + 0x94], edx
sub eax, 1
jne 0x41dac0
mov ebx, dword [esp + 0x134]
xor ecx, ecx
nop dword [eax]
mov edx, dword [esi]
lea esi, [esi + 4]
test edx, edx
je 0x41dafb
mov eax, dword [esp + edx*4 + 0x90]
mov dword [ebx + eax*4], ecx
inc eax
mov dword [esp + edx*4 + 0x90], eax
inc ecx
cmp ecx, edi
jb 0x41dae0
mov ebx, dword [esp + 0x30]
xor edx, edx
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor ebp, ebp
mov dword [esp + 0x1c], edx
xor esi, esi
mov dword [esp + 0x14], ecx
mov eax, dword [esp + ebx + 0x90]
mov ebx, edi
mov dword [esp + 0x48], eax
neg ebx
mov eax, dword [esp + 0x134]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x90], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0xd4], edx
mov dword [esp + 0x30], ebp
cmp eax, dword [esp + 0x2c]
jg 0x41ddf6
lea eax, [esp + eax*4 + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
nop dword [eax + eax]
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
test ecx, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
je 0x41dde2
mov eax, dword [esp + 0x24]
nop word [eax + eax]
mov dword [esp + 0x44], eax
dec eax
mov dword [esp + 0x24], eax
lea eax, [edi + ebx]
cmp dword [esp + 0x10], eax
jle 0x41dcab
mov edi, dword [esp + 0x2c]
mov ebx, eax
mov edx, dword [esp + 0x10]
inc ecx
sub edi, ebx
mov dword [esp + 0x14], ecx
cmp edi, dword [esp + 0x18]
mov eax, 1
mov dword [esp + 0x40], ebx
cmova edi, dword [esp + 0x18]
sub edx, ebx
mov ecx, edx
shl eax, cl
cmp eax, dword [esp + 0x44]
jbe 0x41dc03
mov esi, dword [esp + 0x28]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x24]
add eax, ecx
cmp edx, edi
jae 0x41dc03
inc edx
cmp edx, edi
jae 0x41dc03
nop dword [eax + eax]
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
add eax, eax
cmp eax, ecx
jbe 0x41dc03
inc edx
sub eax, ecx
cmp edx, edi
jb 0x41dbf0
mov edi, dword [esp + 0x130]
mov ecx, edx
mov esi, 1
shl esi, cl
mov eax, dword [edi]
lea ecx, [eax + esi]
cmp ecx, 0x5a0
ja 0x41de1c
mov ebp, dword [esp + 0x12c]
mov dword [edi], ecx
lea ebp, [ebp + eax*8]
mov eax, dword [esp + 0x14]
mov ecx, eax
mov dword [esp + 0x30], ebp
mov dword [esp + eax*4 + 0xd4], ebp
test ecx, ecx
je 0x41dc8e
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + ecx*4 + 0x90], edi
mov ecx, ebx
sub ecx, eax
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x34], dl
mov edx, edi
shr edx, cl
mov edi, ebp
mov ecx, dword [esp + eax*4 + 0xd0]
sub edi, ecx
mov eax, dword [esp + 0x34]
sar edi, 3
sub edi, edx
mov dword [ecx + edx*8], eax
mov dword [ecx + edx*8 + 4], edi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], edi
jmp 0x41dc97
mov eax, dword [esp + 0x124]
mov dword [eax], ebp
mov eax, dword [esp + 0x18]
add eax, ebx
cmp dword [esp + 0x10], eax
jg 0x41dba6
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 0x10]
mov ecx, dword [esp + 0x48]
sub al, bl
mov edi, dword [esp + 0x3c]
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x134]
lea eax, [eax + ecx*4]
cmp edi, eax
jb 0x41dcd2
mov byte [esp + 0x34], 0xc0
jmp 0x41dd20
mov ecx, dword [edi]
add edi, 4
mov eax, dword [esp + 0x118]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], edi
cmp ecx, eax
jae 0x41dcfc
cmp ecx, 0x100
sbb al, al
and al, 0xa0
add al, 0x60
mov byte [esp + 0x34], al
jmp 0x41dd20
sub ecx, eax
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x120]
mov al, byte [eax + ecx*4]
add al, 0x50
mov byte [esp + 0x34], al
mov eax, dword [esp + 0x11c]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x10]
mov edi, 1
mov ecx, eax
sub ecx, ebx
shl edi, cl
mov ecx, ebx
shr edx, cl
cmp edx, esi
jae 0x41dd65
mov ebx, dword [esp + 0x20]
lea eax, [edx*8]
add eax, ebp
lea ecx, [edi*8]
mov ebp, dword [esp + 0x34]
nop
mov dword [eax], ebp
add edx, edi
mov dword [eax + 4], ebx
add eax, ecx
cmp edx, esi
jb 0x41dd50
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
lea ecx, [eax - 1]
mov eax, 1
shl eax, cl
test edi, eax
je 0x41dd7f
xor edi, eax
shr eax, 1
test edi, eax
jne 0x41dd77
xor edi, eax
mov ecx, ebx
mov eax, 1
mov dword [esp + 0x1c], edi
shl eax, cl
mov ecx, dword [esp + 0x14]
dec eax
and eax, edi
cmp eax, dword [esp + ecx*4 + 0x90]
je 0x41ddc6
mov ebp, dword [esp + 0x18]
dec ecx
sub ebx, ebp
mov dword [esp + 0x14], ecx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x14]
dec eax
and eax, edi
cmp eax, dword [esp + ecx*4 + 0x90]
jne 0x41dda2
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
test eax, eax
jne 0x41db90
mov eax, dword [esp + 0x10]
add dword [esp + 0x28], 4
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x2c]
jle 0x41db70
cmp dword [esp + 0x4c], 0
je 0x41da16
cmp dword [esp + 0x2c], 1
je 0x41da16
mov eax, 0xfffffffb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x104
ret