Function at 0x41d870
Capabilities:
Encode data using xor

Disassembly:
push 0x8c
mov eax, 0x446f98
call fcn.0042be10
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 0x41d8cf
cmp eax, 0x15
je 0x41d8cf
mov esi, str.Length_of_the_Activation_Code_is_wrong
push esi
call fcn.0042c221
pop ecx
mov ecx, dword [ebp - 0x5c]
push eax
push esi
call fcn.00408e30
jmp 0x41da48
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.0041d82a
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x41d911
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407e70
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 3
call fcn.004208bd
pop ecx
pop ecx
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x2c]
call fcn.004097f0
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.004097f0
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.0042121f
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 0x41d9a3
mov edx, dword [ebp - 0x68]
sub edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x54], edx
jne 0x41d989
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 0x41d97b
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 0x41d9c6
mov edi, dword [ebp - 0x50]
xor byte [eax + edi], dl
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], ecx
jb 0x41d9b8
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx]
mov cl, byte [eax + ebx + 1]
cmp cl, byte [edi + ebx]
jne 0x41da53
inc ebx
cmp ebx, 8
jb 0x41d9cb
mov ecx, dword [ebp - 0x58]
push 9
lea eax, [ebp - 0x88]
push eax
call fcn.0041d7fb
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x58]
push 0xd
lea eax, [ebp - 0x88]
push eax
call fcn.0041d7fb
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp eax, 0x15
jne 0x41da26
mov ecx, dword [ebp - 0x58]
push 0x11
lea eax, [ebp - 0x88]
push eax
call fcn.0041d7fb
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
mov byte [ebp - 0x49], 1
lea ecx, [ebp - 0x6c]
call fcn.00404b70
lea ecx, [ebp - 0x98]
call fcn.00404b70
lea ecx, [ebp - 0x88]
call fcn.00404b70
mov al, byte [ebp - 0x49]
call fcn.0042be93
ret 0x1c
mov esi, str.This_Activation_Code_has_been_generated_for_other_PC.
push esi
call fcn.0042c221
pop ecx
mov ecx, dword [ebp - 0x5c]
push eax
push esi
call fcn.00408e30
jmp 0x41da2a