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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x954
push 0x100
call fcn.00402961
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 0x402475
cmp eax, 0x807
je 0x402475
cmp eax, 0xc07
je 0x402475
cmp eax, 0x1007
je 0x402475
cmp eax, 0x1407
jne 0x40247c
mov byte [0x42389c], 1
push ebx
push esi
push edi
push 0x26d
call fcn.00402961
pop ecx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push str.648861
mov dword [ebp + 0x10], eax
call fcn.00403160
mov edi, eax
mov dword [esp], str.153116
call fcn.00403160
and byte [ebp - 0x154], 0
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x154]
push str.d_d
push eax
call fcn.00402c9f
push edi
lea eax, [ebp - 0x1c]
push str._d.rc
push eax
call fcn.00402c9f
push edi
push str._d.log
push dword [0x40a898]
call fcn.00402c9f
mov esi, 0x40a89c
push str.________
push esi
call fcn.00402c9f
push dword [0x40a898]
push esi
call fcn.00401016
push dword [ebp - 4]
push edi
push str.dlNumber:__ld._Permit:__ld.
push esi
call fcn.00402c9f
add esp, 0x48
push dword [0x40a898]
push esi
call fcn.00401016
call fcn.00402364
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.00401a09
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.00401bef
call fcn.004012e5
mov edi, eax
push edi
push str.Calculated_Seed_value:__d._n
push esi
call fcn.00402c9f
push dword [0x40a898]
push esi
call fcn.00401016
push edi
call fcn.00403525
and dword [ebp - 8], 0
lea eax, [ebp - 0x554]
push eax
push dword [ebp + 0x10]
call fcn.00401bef
and byte [ebp - 0x954], 0
lea eax, [ebp - 0x954]
push eax
call fcn.00401cd4
push ebx
call fcn.004013c5
add esp, 0x40
lea eax, [ebp - 0x1c]
push eax
push str.File_to_get_values_from:__s._n
push esi
call fcn.00402c9f
push dword [0x40a898]
push esi
call fcn.00401016
lea eax, [ebp - 0x1c]
push eax
call fcn.00401404
mov edi, eax
mov ebx, 0x409204
push ebx
lea eax, [edi + 0x258]
push eax
call fcn.00402df0
add esp, 0x20
test eax, eax
jne 0x4026ae
lea eax, [edi + 0x25f]
push ebx
push eax
call fcn.00402df0
pop ecx
test eax, eax
pop ecx
jne 0x4026ae
mov al, byte [0x42389c]
mov ecx, str.Best
test al, al
jne 0x40260f
mov ecx, str.Confirm
test al, al
mov eax, str.Bitte_best
jne 0x40261d
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 0x402668
mov al, byte [0x42389c]
mov ecx, str.Beenden
test al, al
jne 0x402644
mov ecx, str.Use_not_wanted
test al, al
mov eax, str.Sie_m
jne 0x402652
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.00402b97
and dword [ebp - 0x10], 0
lea eax, [edi + 0x258]
push eax
call fcn.00401cd4
lea eax, [edi + 0x25f]
push eax
call fcn.00401cd4
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.00402c9f
push dword [0x40a898]
push esi
call fcn.00401016
add esp, 0x20
jmp 0x4026b5
push edi
call fcn.00401324
pop ecx
lea eax, [edi + 0x258]
cmp eax, ebx
je 0x40271d
lea ecx, [edi + 0x25f]
push ecx
push eax
call fcn.004019e9
push eax
push str.Calculated_PCKey_value_is:__ld._n
push esi
mov dword [ebp - 8], eax
call fcn.00402c9f
push dword [0x40a898]
push esi
call fcn.00401016
lea eax, [edi + 0x258]
push eax
push str.LicenseKey_is_still:__s._n
push esi
call fcn.00402c9f
push dword [0x40a898]
push esi
call fcn.00401016
lea eax, [edi + 0x266]
push ebx
push eax
call fcn.00402df0
add esp, 0x38
test eax, eax
je 0x4027bd
lea eax, [edi + 0x266]
push eax
call fcn.00403160
push dword [ebp - 8]
mov ebx, eax
call fcn.00401c95
xor ebx, eax
xor ebx, dword [ebp - 8]
xor ebx, 0x27b92d
push ebx
push str.the_PcKeyToUse_is:__ld._n
push esi
call fcn.00402c9f
push dword [0x40a898]
push esi
call fcn.00401016
push ebx
call fcn.00401c60
add esp, 0x20
push eax
push 0
push dword [ebp - 4]
call fcn.00401c4e
pop ecx
pop ecx
push eax
push str.Mashed_value:__ld._Check_value:__ld._n
push esi
call fcn.00402c9f
push dword [0x40a898]
push esi
call fcn.00401016
push 0
push dword [ebp - 4]
call fcn.00401c4e
mov edx, eax
push ebx
mov dword [ebp - 0x20], edx
call fcn.00401c60
mov ecx, dword [ebp - 0x20]
add esp, 0x24
cmp ecx, eax
je 0x402871
push 9
push 0x30
push str.Not_Authenticated_Yet
push str.Authentication_is_required._Click_OK_to_proceed.
call fcn.00401e56
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x4027fb
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 0x4027fb
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.00402b97
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x954]
push eax
push str.Authentication
push str.auth0
push dword [ebp - 8]
call fcn.00401f83
push 0x1f4
mov dword [ebp - 0xc], eax
call fcn.00402961
call fcn.00401208
mov ebx, 0x409030
push eax
push ebx
push edi
call fcn.00402c9f
push dword [ebp - 0xc]
push ebx
lea ebx, [edi + 0x266]
push ebx
call fcn.00402c9f
push ebx
push str.The_value_of_the_inputKey_is:__s._n
push esi
call fcn.00402c9f
push dword [0x40a898]
push esi
call fcn.00401016
add esp, 0x44
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.0040153d
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.00401404
add eax, 0x266
push eax
push dword [ebp - 0xc]
call fcn.00403070
mov ebx, dword [ebp - 8]
push ebx
call fcn.00401c95
push dword [ebp - 0xc]
mov edi, eax
call fcn.00403160
xor edi, eax
xor edi, ebx
xor edi, 0x27b92d
push edi
push str.the_PcKeyToUse_is_2:__ld._n
push esi
call fcn.00402c9f
push dword [0x40a898]
push esi
call fcn.00401016
push edi
call fcn.00401c60
add esp, 0x2c
push eax
push 0
push dword [ebp - 4]
call fcn.00401c4e
pop ecx
pop ecx
push eax
push str.Mashed_value_2:__ld._Check_value_2:__ld._n
push esi
call fcn.00402c9f
push dword [0x40a898]
push esi
call fcn.00401016
push 0
push dword [ebp - 4]
call fcn.00401c4e
push edi
mov esi, eax
call fcn.00401c60
add esp, 0x24
cmp esi, eax
je 0x40291a
push 0xf
push 0x30
push str.Not_Authenticated_Yet
push str.Consistency_check_failure._Click_OK_to_proceed.
call fcn.00401e56
add esp, 0x10
push dword [ebp - 4]
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.00401d02
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.00401b37
push ebx
call fcn.00401892
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.00401749
add esp, 0x2c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10