Function at 0x40af15
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
push 1
mov edi, dword [ebp + 8]
pop eax
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
and dword [0x42db5c], 0
push eax
mov dword [ebp - 0x14], eax
push dword [0x42db34]
push 0x30
push 0x41b
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call esi
push 1
push dword [0x42db34]
push 0x30
push 0x41c
push edi
call ebx
push eax
call esi
push 1
push 1
push 0xf4
push 0x414
push edi
call ebx
push eax
call esi
push 1
push 0
push 0xf4
push 0x413
push edi
call ebx
push eax
call esi
push dword [0x42f0d0]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x94
push dword [0x42e6fc]
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 1
push 0xf7
push 0x490
push edi
call ebx
push eax
call esi
push 0x93
push dword [0x42e6fc]
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 1
push 0xf7
push 0x4a5
push edi
call ebx
push eax
call esi
push 0x64
call fcn.004179b4
pop ecx
mov esi, 0x414
push esi
push edi
mov dword [ebp - 0xc], eax
call ebx
push eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp byte [0x42f159], 0
je 0x40b02c
fld qword [0x42dad8]
push ecx
push ecx
fstp qword [esp]
fld qword [0x42daa0]
push ecx
push ecx
fstp qword [esp]
push str.US____0.2f___Upgrade_price__Normally_US____0.2f_
push dword [ebp - 0xc]
call fcn.00417634
add esp, 0x18
jmp 0x40b047
fld qword [0x42daa0]
push ecx
push ecx
fstp qword [esp]
push str.US____0.2f
push dword [ebp - 0xc]
call fcn.00417634
add esp, 0x10
fld qword [0x42daa0]
fcomp qword [0x421368]
fnstsw ax
sahf
jne 0x40b069
push str.Register_it
push esi
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
call esi
jmp 0x40b06f
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [0x42f0cc]
push 0x41b
push edi
call esi
push dword [ebp - 0xc]
push 0x41c
push edi
call esi
push 0x42e6a0
call fcn.00418120
add eax, 0x28
push eax
call fcn.004179b4
push 0x42e6a0
push str.For_product_support__e_mail:__s
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push dword [ebp - 8]
push 0x474
push edi
call esi
push dword [ebp - 8]
call fcn.00417985
push dword [ebp - 0xc]
call fcn.00417985
cmp byte [0x42e62b], 0
pop ecx
pop ecx
je 0x40b12f
and dword [0x42f0b4], 0
push 0xc8
call fcn.004179b4
mov esi, eax
mov dword [esp], 0x42e6a0
push str.This_program_has_been_shutdown_by_its_publishers._nFor_further_information__please_contact_their_support_for_this_product_by_e_mailing__s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x474
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push edi
push esi
call fcn.0040a497
mov eax, dword [ebp + 0xc]
push esi
and byte [eax], 0
call fcn.00417985
add esp, 0x10
jmp 0x40b647
cmp byte [0x42e629], 0
je 0x40b17e
mov eax, dword [ebp + 0xc]
and dword [0x42f0b4], 0
and byte [eax], 0
cmp byte [0x42e628], 0
je 0x40b163
push 1
push edi
push str.Two_hack_attempts_have_been_detected._Unfortunately_this_product_has_been_disabled._Contact_Softwrap__details_on_www.softwrap.com_
call fcn.0040a497
add esp, 0xc
jmp 0x40b647
push 0
push 0x474
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push edi
push str.You_have_been_shut_out_of_the_Softwrap_system_and_its_affiliated_products._To_resolve_this__please_call_Softwrap_support__contact_details_available_on_http:__www.softwrap.com_.
jmp 0x40b156
movsx eax, byte [0x42e5e3]
sub eax, 0x42
je 0x40b549
dec eax
je 0x40b336
dec eax
je 0x40b242
sub eax, 0xa
je 0x40b1dc
sub eax, 7
jne 0x40b55f
push dword [ebp + 0xc]
mov eax, dword [0x42e618]
sub eax, dword [0x42e614]
push 0x4255ac
push edi
push eax
call fcn.0040a51f
mov eax, dword [0x42e618]
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [0x42e614]
mov dword [ebp - 8], eax
jmp 0x40b55f
xor eax, eax
cmp dword [0x42e618], eax
jne 0x40b236
cmp dword [0x42e5f0], eax
jne 0x40b236
push eax
push 0x415
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x418
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push str.This_software_has_no_usage_restrictions.
push 0x41e
push edi
call esi
push 5
push 0x41e
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebp - 0x14], 0
jmp 0x40b55f
push eax
call fcn.004105f4
pop ecx
jmp 0x40b55f
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
sub esp, 0x10
mov esi, 0x42e5f4
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x24]
mov edi, esp
mov ax, word [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebp - 0x10], ax
mov al, byte [ebp - 0x22]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0x1e]
mov byte [ebp - 0xd], al
movsd dword es:[edi], dword [esi]
call fcn.0040a8cf
add esp, 0x20
test al, al
je 0x40b28b
call fcn.0040aed7
cmp byte [0x42e5e4], 1
jne 0x40b2ee
xor esi, esi
push esi
push dword [0x42e5f0]
push dword [0x42e5ec]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0040a99c
push esi
mov edi, eax
push dword [0x42e5f0]
push dword [0x42e5ec]
push dword [0x42e610]
push dword [0x42e60c]
call fcn.0040a99c
push esi
mov dword [ebp - 4], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [0x42e610]
push dword [0x42e60c]
call fcn.0040a99c
add esp, 0x3c
jmp 0x40b31a
push dword [0x42e5e8]
push dword [0x42e610]
push dword [0x42e60c]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0040a99c
mov edi, eax
mov eax, dword [0x42e5e8]
add esp, 0x14
mov dword [ebp - 4], eax
sub eax, edi
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
push 0x4255bc
push dword [ebp + 8]
push edi
call fcn.0040a51f
add esp, 0x10
jmp 0x40b544
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
sub esp, 0x10
mov esi, 0x42e5f4
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x24]
mov edi, esp
mov ax, word [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebp - 0x10], ax
mov al, byte [ebp - 0x22]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0x1e]
mov byte [ebp - 0xd], al
movsd dword es:[edi], dword [esi]
call fcn.0040a8cf
add esp, 0x20
test al, al
je 0x40b37f
call fcn.0040aed7
cmp byte [0x42e5e4], 1
jne 0x40b398
push 0
push dword [0x42e5f0]
push dword [0x42e5ec]
jmp 0x40b3aa
push dword [0x42e5e8]
push dword [0x42e610]
push dword [0x42e60c]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0040a99c
mov ecx, dword [0x42e614]
mov edi, eax
mov eax, dword [0x42e618]
add esp, 0x14
mov esi, eax
sub esi, ecx
cmp esi, edi
jge 0x40b3d5
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x40b42b
cmp byte [0x42e5e4], 1
jne 0x40b41e
push 0
push dword [0x42e5f0]
push dword [0x42e5ec]
push dword [0x42e610]
push dword [0x42e60c]
call fcn.0040a99c
push 0
mov dword [ebp - 4], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [0x42e610]
push dword [0x42e60c]
call fcn.0040a99c
add esp, 0x28
jmp 0x40b428
mov eax, dword [0x42e5e8]
mov dword [ebp - 4], eax
sub eax, edi
mov dword [ebp - 8], eax
push 0x6e
call fcn.004179b4
cmp esi, 1
pop ecx
mov dword [ebp - 0xc], eax
jne 0x40b45f
cmp edi, esi
jne 0x40b44f
push str._This_is_the_final_day_of_free_evaluation_and_your_final_free_use.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
jmp 0x40b4c8
push str._This_is_your_final_free_use._After_this_you_must_buy_this_product.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
jmp 0x40b4c4
cmp edi, 1
jne 0x40b476
push esi
push str._This_is_your_final_day_of_free_evaluation__or__d_free_uses_remain_.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x40b4c0
cmp esi, 3
je 0x40b49c
cmp esi, 2
je 0x40b49c
cmp edi, 3
je 0x40b493
cmp edi, 2
je 0x40b493
push edi
push esi
push str._There_are__d_free_uses_or__d_days_remaining_for_free_evaluation.
jmp 0x40b4b6
push esi
push edi
push str._You_are_on_your_final__d_days_of_free_evaluation__or__d_uses_remain_.
jmp 0x40b4b6
cmp edi, 3
je 0x40b4af
cmp edi, 2
je 0x40b4af
push edi
push esi
push str._You_have__d_free_uses__or__d_days_of_free_evaluation_remain_.
jmp 0x40b4b6
push edi
push esi
push str._You_have__d_free_uses_and_only__d_days_of_free_evaluation_remain.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
test esi, esi
jle 0x40b4df
test edi, edi
jle 0x40b4db
push dword [ebp - 0xc]
push 0x418
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x40b53b
test esi, esi
jg 0x40b515
mov eax, dword [0x42e618]
mov ecx, 0x426da8
cmp eax, 1
mov edx, 0x426da4
ja 0x40b4f5
mov edx, ecx
cmp eax, 1
jne 0x40b4ff
mov ecx, 0x42f190
push edx
push ecx
push eax
push str.Your__d_trial_use_s_ha_s_elapsed._nYou_must_buy_this_product_to_continue_use.
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x40b525
push str.Your_trial_period_has_elapsed._nYou_must_buy_this_product_to_continue_use.
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
push 0
push dword [ebp + 8]
push dword [ebp - 0xc]
call fcn.0040a497
mov eax, dword [ebp + 0xc]
add esp, 0xc
and byte [eax], 0
push dword [ebp - 0xc]
call fcn.00417985
pop ecx
mov edi, dword [ebp + 8]
jmp 0x40b55f
push 0
push edi
push str.This_product_must_be_purchased_before_use.
call fcn.0040a497
mov eax, dword [ebp + 0xc]
add esp, 0xc
and byte [eax], 0
cmp dword [0x42f150], 0
je 0x40b57e
push 5
push 0x490
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40b60c
lea eax, [ebp - 0x34]
push eax
push 0x413
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
push eax
call esi
lea eax, [ebp - 0x24]
push eax
push 0x414
push edi
call ebx
push eax
call esi
mov eax, dword [ebp - 0x28]
push 0x46
sub eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
add eax, 0x10
push eax
xor eax, eax
push eax
push eax
push eax
push 0x413
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
call esi
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x18]
push 0x44
sub eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
add eax, 0x10
push eax
mov eax, dword [ebp - 0x10]
push dword [ebp - 0xc]
add eax, 0xfffffff0
push eax
push 0
push 0x414
push edi
call ebx
push eax
call esi
cmp dword [ebp - 0x14], 0
je 0x40b647
movzx eax, word [ebp - 4]
shl eax, 0x10
push eax
push 0
push 0x401
push 0x415
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push eax
call esi
push 0
push dword [ebp - 8]
push 0x402
push 0x415
push edi
call ebx
push eax
call esi
pop edi
pop esi
pop ebx
leave
ret