Function at 0x41d907
Capabilities:
Encode data using xor

Disassembly:
push 0x8c
mov eax, 0x4470c2
call fcn.0042bf10
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 0x41d966
cmp eax, 0x15
je 0x41d966
mov esi, str.Length_of_the_Activation_Code_is_wrong
push esi
call fcn.0042c321
pop ecx
mov ecx, dword [ebp - 0x5c]
push eax
push esi
call fcn.00408e20
jmp 0x41dadf
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.0041d8c1
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x41d9a8
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407e30
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 3
call fcn.004209bb
pop ecx
pop ecx
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x2c]
call fcn.004097e0
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.004097e0
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.0042131d
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 0x41da3a
mov edx, dword [ebp - 0x68]
sub edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x54], edx
jne 0x41da20
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 0x41da12
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 0x41da5d
mov edi, dword [ebp - 0x50]
xor byte [eax + edi], dl
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], ecx
jb 0x41da4f
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx]
mov cl, byte [eax + ebx + 1]
cmp cl, byte [edi + ebx]
jne 0x41daea
inc ebx
cmp ebx, 8
jb 0x41da62
mov ecx, dword [ebp - 0x58]
push 9
lea eax, [ebp - 0x88]
push eax
call fcn.0041d892
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x58]
push 0xd
lea eax, [ebp - 0x88]
push eax
call fcn.0041d892
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp eax, 0x15
jne 0x41dabd
mov ecx, dword [ebp - 0x58]
push 0x11
lea eax, [ebp - 0x88]
push eax
call fcn.0041d892
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.0042bf93
ret 0x1c
mov esi, str.This_Activation_Code_has_been_generated_for_other_PC.
push esi
call fcn.0042c321
pop ecx
mov ecx, dword [ebp - 0x5c]
push eax
push esi
call fcn.00408e20
jmp 0x41dac1