Function at 0x41d876
Capabilities:
Encode data using xor

Disassembly:
push 0x8c
mov eax, 0x446fa8
call fcn.0042be30
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 4]
sub eax, dword [esi]
xor ebx, ebx
mov byte [ebp - 0x49], bl
cmp eax, 0x11
je 0x41d8d5
cmp eax, 0x15
je 0x41d8d5
mov esi, str.Length_of_the_Activation_Code_is_wrong
push esi
call fcn.0042c241
pop ecx
mov ecx, dword [ebp - 0x5c]
push eax
push esi
call fcn.00408e00
jmp 0x41da4e
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x54], ebx
call fcn.00403f30
mov dword [ebp - 4], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
push ebx
lea eax, [ebp - 0x48]
push edi
push eax
mov byte [ebp - 4], 1
call fcn.0041d830
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x41d917
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407e40
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 3
call fcn.0042096d
pop ecx
pop ecx
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x2c]
call fcn.004097b0
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.004097b0
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x98]
push eax
mov byte [ebp - 4], 4
call fcn.004212cf
mov eax, dword [ebp - 0x88]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x84]
sub ecx, eax
mov dword [ebp - 0x50], edi
cmp ecx, edi
jbe 0x41d9a9
mov edx, dword [ebp - 0x68]
sub edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x54], edx
jne 0x41d98f
mov dword [ebp - 0x54], ebx
mov edi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x6c]
mov dl, byte [edx + edi]
mov edi, dword [ebp - 0x50]
xor byte [eax + edi], dl
inc dword [ebp - 0x50]
inc dword [ebp - 0x54]
cmp dword [ebp - 0x50], ecx
jb 0x41d981
mov edx, dword [ebp - 0x6c]
mov dl, byte [edx]
xor byte [eax], dl
mov dl, byte [eax]
mov dword [ebp - 0x50], 1
cmp ecx, 1
jbe 0x41d9cc
mov edi, dword [ebp - 0x50]
xor byte [eax + edi], dl
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], ecx
jb 0x41d9be
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx]
mov cl, byte [eax + ebx + 1]
cmp cl, byte [edi + ebx]
jne 0x41da59
inc ebx
cmp ebx, 8
jb 0x41d9d1
mov ecx, dword [ebp - 0x58]
push 9
lea eax, [ebp - 0x88]
push eax
call fcn.0041d801
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x58]
push 0xd
lea eax, [ebp - 0x88]
push eax
call fcn.0041d801
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp eax, 0x15
jne 0x41da2c
mov ecx, dword [ebp - 0x58]
push 0x11
lea eax, [ebp - 0x88]
push eax
call fcn.0041d801
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
mov byte [ebp - 0x49], 1
lea ecx, [ebp - 0x6c]
call fcn.00404020
lea ecx, [ebp - 0x98]
call fcn.00404020
lea ecx, [ebp - 0x88]
call fcn.00404020
mov al, byte [ebp - 0x49]
call fcn.0042beb3
ret 0x1c
mov esi, str.This_Activation_Code_has_been_generated_for_other_PC.
push esi
call fcn.0042c241
pop ecx
mov ecx, dword [ebp - 0x5c]
push eax
push esi
call fcn.00408e00
jmp 0x41da30