Function at 0x438210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc071
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x50d080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0xb4], eax
mov dword [eax], 0
test edi, edi
jne 0x438288
push 0x17
push str.Product_Code_is_missing
mov ecx, esi
call fcn.00410170
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047cdd2
mov esp, ebp
pop ebp
ret 0x14
test ebx, ebx
jne 0x438295
push 0x18
push str.Computer_Code_is_missing
jmp 0x438261
mov al, byte [ecx + 0x24]
mov ecx, edi
mov byte [ebp - 0x91], al
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4382a3
sub ecx, edx
sar ecx, 1
cmp ecx, 0x10
jbe 0x4382c0
push 0x31
push str.Product_ID_should_not_be_more_than_16_characters_
jmp 0x438261
push edi
lea ecx, [ebp - 0x90]
call fcn.00405a00
push 0x510860
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0
call fcn.00405a00
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], 0x24
je 0x438390
push 0x19
push 0x4fba64
mov ecx, esi
call fcn.00410170
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x438336
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43832c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438865
push edx
push ecx
call fcn.0047cdbf
add esp, 8
mov edx, dword [ebp - 0x7c]
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
cmp edx, 8
jb 0x438268
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438381
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43886a
push edx
push ecx
call fcn.0047cdbf
add esp, 8
jmp 0x438268
push ebx
lea ecx, [ebp - 0x78]
call fcn.00405a00
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00438e00
cmp dword [ebp - 0x68], 0x10
je 0x438486
push 0x26
push str.Computer_Code_must_have_16_characters_
mov ecx, esi
call fcn.00410170
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
je 0x438433
mov edx, dword [ebp - 0x98]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x43840b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43886f
push edx
push ecx
call fcn.0047cdbf
add esp, 8
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x43846d
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438463
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438874
push edx
push ecx
call fcn.0047cdbf
add esp, 8
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
jmp 0x4382fc
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x78]
call fcn.00433ad0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
lea edx, [ebp - 0xac]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.00433ad0
cmp byte [ebp - 0x91], 0
je 0x4385cc
push 0x35
push str.Only_Activation_Codes_generated_on_line_are_accepted.
mov ecx, esi
call fcn.00410170
mov ecx, dword [ebp - 0xac]
test ecx, ecx
je 0x438537
mov edx, dword [ebp - 0xa4]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x43850f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438865
push edx
push ecx
call fcn.0047cdbf
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
je 0x43858f
mov edx, dword [ebp - 0x98]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x438567
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438865
push edx
push ecx
call fcn.0047cdbf
add esp, 8
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x43846d
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438463
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x438463
jmp 0x438865
mov eax, dword [ebp - 0xac]
mov esi, dword [ebp - 0xa0]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0044afd0
mov dl, byte [ebp - 0x1d]
xor dl, byte [ebp - 0x1e]
xor dl, byte [ebp - 0x1f]
xor dl, byte [ebp - 0x20]
xor dl, byte [ebp - 0x21]
xor dl, byte [ebp - 0x22]
xor dl, byte [ebp - 0x23]
xor dl, byte [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov bl, dl
xor bl, byte [edi]
xor ecx, ecx
mov al, byte [ecx + edi + 1]
xor al, bl
sub al, dl
xor al, byte [ebp + ecx - 0x24]
mov byte [ebp + ecx - 0x48], al
inc ecx
cmp ecx, 8
jb 0x438606
mov dl, byte [ebp - 0x15]
xor dl, byte [ebp - 0x16]
xor dl, byte [ebp - 0x17]
xor dl, byte [ebp - 0x18]
xor dl, byte [ebp - 0x19]
xor dl, byte [ebp - 0x1a]
xor dl, byte [ebp - 0x1b]
xor dl, byte [ebp - 0x1c]
mov bl, dl
xor bl, byte [edi + 9]
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + edi + 0xa]
xor al, bl
sub al, dl
xor al, byte [ebp + ecx - 0x1c]
mov byte [ebp + ecx - 0x40], al
inc ecx
cmp ecx, 8
jb 0x438640
xor eax, eax
mov dword [ebp - 0xb0], 0
cmp eax, 9
jae 0x438860
mov byte [ebp + eax - 0x38], 0
inc eax
cmp eax, 9
jb 0x43866b
xor edx, edx
mov al, byte [ebp + edx - 0x48]
mov ecx, edx
shr ecx, 1
test dl, 1
jne 0x43868b
mov byte [ebp + ecx - 0x2c], al
jmp 0x43868f
mov byte [ebp + ecx - 0x38], al
inc edx
cmp edx, 0x10
jb 0x438678
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x38]
push 0x4fd390
push eax
call fcn.0044b4b0
lea edx, [ebp - 0x2c]
add esp, 0xc
xor ecx, ecx
sub edx, esi
mov al, byte [esi]
cmp al, byte [edx + esi]
jne 0x4386c2
inc ecx
inc esi
cmp ecx, 8
jb 0x4386b4
cmp ecx, 8
sete bl
jne 0x4386d8
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xb0]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xac]
test ecx, ecx
je 0x438730
mov edx, dword [ebp - 0xa4]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x438708
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438865
push edx
push ecx
call fcn.0047cdbf
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
je 0x438788
mov edx, dword [ebp - 0x98]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x438760
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438865
push edx
push ecx
call fcn.0047cdbf
add esp, 8
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x4387c2
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4387b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438865
push edx
push ecx
call fcn.0047cdbf
add esp, 8
mov edx, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
cmp edx, 8
jb 0x43880c
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438802
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438865
push edx
push ecx
call fcn.0047cdbf
add esp, 8
mov edx, dword [ebp - 0x7c]
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
cmp edx, 8
jb 0x438859
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43884f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438865
push edx
push ecx
call fcn.0047cdbf
add esp, 8
mov al, bl
jmp 0x43826a
call fcn.0047d80e
call fcn.0048954f
call fcn.0048954f
call fcn.0048954f
call fcn.0048954f
int3