Function at 0x40238f
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x954
push 0x100
call fcn.004028cb
pop ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
cmp eax, 0x407
je 0x4023df
cmp eax, 0x807
je 0x4023df
cmp eax, 0xc07
je 0x4023df
cmp eax, 0x1007
je 0x4023df
cmp eax, 0x1407
jne 0x4023e6
mov byte [0x42382c], 1
push ebx
push esi
push edi
push 0x26d
call fcn.004028cb
pop ecx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push str.506137
mov dword [ebp + 0x10], eax
call fcn.004030d0
mov edi, eax
mov dword [esp], str.7524
call fcn.004030d0
and byte [ebp - 0x154], 0
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x154]
push str.d_d
push eax
call fcn.00402c09
push edi
lea eax, [ebp - 0x1c]
push str._d.rc
push eax
call fcn.00402c09
push edi
push str._d.log
push dword [0x40a828]
call fcn.00402c09
mov esi, 0x40a82c
push str.________
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
push dword [ebp - 4]
push edi
push str.dlNumber:__ld._Permit:__ld.
push esi
call fcn.00402c09
add esp, 0x48
push dword [0x40a828]
push esi
call fcn.00401016
call fcn.004022ce
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.00401973
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.00401b59
call fcn.004012e9
mov edi, eax
push edi
push str.Calculated_Seed_value:__d._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
push edi
call fcn.00403495
and dword [ebp - 8], 0
lea eax, [ebp - 0x554]
push eax
push dword [ebp + 0x10]
call fcn.00401b59
and byte [ebp - 0x954], 0
lea eax, [ebp - 0x954]
push eax
call fcn.00401c3e
push ebx
call fcn.004013c9
add esp, 0x40
lea eax, [ebp - 0x1c]
push eax
push str.File_to_get_values_from:__s._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
lea eax, [ebp - 0x1c]
push eax
call fcn.00401408
mov edi, eax
mov ebx, 0x409204
push ebx
lea eax, [edi + 0x258]
push eax
call fcn.00402d60
add esp, 0x20
test eax, eax
jne 0x402618
lea eax, [edi + 0x25f]
push ebx
push eax
call fcn.00402d60
pop ecx
test eax, eax
pop ecx
jne 0x402618
mov al, byte [0x42382c]
mov ecx, str.Best
test al, al
jne 0x402579
mov ecx, str.Confirm
test al, al
mov eax, str.Bitte_best
jne 0x402587
mov eax, str.Please_confirm_that_this_is_the_computer_on_which_you_want_to_authenticate_this_document.
push 0x50024
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x4025d2
mov al, byte [0x42382c]
mov ecx, str.Beenden
test al, al
jne 0x4025ae
mov ecx, str.Use_not_wanted
test al, al
mov eax, str.Sie_m
jne 0x4025bc
mov eax, str.You_have_chosen_not_to_authenticate_this_document._n_nThe_program_will_now_exit.
push 0x50010
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00402b01
and dword [ebp - 0x10], 0
lea eax, [edi + 0x258]
push eax
call fcn.00401c3e
lea eax, [edi + 0x25f]
push eax
call fcn.00401c3e
lea eax, [edi + 0x25f]
push eax
lea eax, [edi + 0x258]
push eax
push str.Random_license_Key:__s._Random_prepared_key:__s._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
add esp, 0x20
jmp 0x40261f
push edi
call fcn.00401328
pop ecx
lea eax, [edi + 0x258]
cmp eax, ebx
je 0x402687
lea ecx, [edi + 0x25f]
push ecx
push eax
call fcn.00401953
push eax
push str.Calculated_PCKey_value_is:__ld._n
push esi
mov dword [ebp - 8], eax
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
lea eax, [edi + 0x258]
push eax
push str.LicenseKey_is_still:__s._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
lea eax, [edi + 0x266]
push ebx
push eax
call fcn.00402d60
add esp, 0x38
test eax, eax
je 0x402727
lea eax, [edi + 0x266]
push eax
call fcn.004030d0
push dword [ebp - 8]
mov ebx, eax
call fcn.00401bff
xor ebx, eax
xor ebx, dword [ebp - 8]
xor ebx, 0x27b92d
push ebx
push str.the_PcKeyToUse_is:__ld._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
push ebx
call fcn.00401bca
add esp, 0x20
push eax
push 0
push dword [ebp - 4]
call fcn.00401bb8
pop ecx
pop ecx
push eax
push str.Mashed_value:__ld._Check_value:__ld._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
push 0
push dword [ebp - 4]
call fcn.00401bb8
mov edx, eax
push ebx
mov dword [ebp - 0x20], edx
call fcn.00401bca
mov ecx, dword [ebp - 0x20]
add esp, 0x24
cmp ecx, eax
je 0x4027db
push 9
push 0x30
push str.Not_Authenticated_Yet
push str.Authentication_is_required._Click_OK_to_proceed.
call fcn.00401dc0
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x402765
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
push 0x50024
push str.Confirm
push str.Please_confirm_that_this_is_the_computer_on_which_you_want_to_authenticate_this_document.
push 0
call ebx
cmp eax, 7
jne 0x402765
push 0x50010
push str.Use_not_wanted
push str.You_have_chosen_not_to_authenticate_this_document._n_nThe_program_will_now_exit.
push 0
call ebx
push 1
call fcn.00402b01
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x954]
push eax
push str.Authentication
push str.auth0
push dword [ebp - 8]
call fcn.00401eed
push 0x1f4
mov dword [ebp - 0xc], eax
call fcn.004028cb
call fcn.0040120c
mov ebx, 0x409030
push eax
push ebx
push edi
call fcn.00402c09
push dword [ebp - 0xc]
push ebx
lea ebx, [edi + 0x266]
push ebx
call fcn.00402c09
push ebx
push str.The_value_of_the_inputKey_is:__s._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
add esp, 0x44
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.00401541
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.00401408
add eax, 0x266
push eax
push dword [ebp - 0xc]
call fcn.00402fe0
mov ebx, dword [ebp - 8]
push ebx
call fcn.00401bff
push dword [ebp - 0xc]
mov edi, eax
call fcn.004030d0
xor edi, eax
xor edi, ebx
xor edi, 0x27b92d
push edi
push str.the_PcKeyToUse_is_2:__ld._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
push edi
call fcn.00401bca
add esp, 0x2c
push eax
push 0
push dword [ebp - 4]
call fcn.00401bb8
pop ecx
pop ecx
push eax
push str.Mashed_value_2:__ld._Check_value_2:__ld._n
push esi
call fcn.00402c09
push dword [0x40a828]
push esi
call fcn.00401016
push 0
push dword [ebp - 4]
call fcn.00401bb8
push edi
mov esi, eax
call fcn.00401bca
add esp, 0x24
cmp esi, eax
je 0x402884
push 0xf
push 0x30
push str.Not_Authenticated_Yet
push str.Consistency_check_failure._Click_OK_to_proceed.
call fcn.00401dc0
add esp, 0x10
push dword [ebp - 4]
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.00401c6c
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x254]
push ebx
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x454]
push eax
call fcn.00401aa1
push ebx
call fcn.00401856
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.0040170d
add esp, 0x2c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10