Function at 0x402670
Capabilities:
Read .ini file
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x654
mov eax, dword [0x414014]
xor eax, esp
mov dword [esp + 0x650], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x30], esi
call dword [sym.imp.mfc140.dll_Ordinal_10421]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_316]
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x54], edx
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x24]
movsd qword [esp + 0x24], xmm0
push eax
call fcn.0040a240
push 0x40e9a7
lea ecx, [esi + 0x5a0]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
mov ecx, esi
call fcn.00403e20
movq xmm0, qword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xac], 0
mov dword [0x415714], 0
mov dword [0x415718], 1
movq qword [0x415838], xmm0
mov dword [0x415840], eax
mov dword [0x4146f4], 0
mov dword [0x4146f0], 0
call fcn.00408cd0
mov eax, dword [0x4146f8]
mov edi, dword [sym.imp.mfc140.dll_Ordinal_4807]
test eax, eax
je 0x402766
push eax
lea eax, [esp + 0x20]
push 0x40efdc
push eax
call edi
add esp, 0xc
mov ecx, esi
push dword [esp + 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_14054]
push 0
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4869]
mov ebx, eax
test ebx, ebx
je 0x4027c9
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_316]
push 0x64
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_8426]
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x4027bf
mov esi, dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push 0x800
push dword [ebx + 4]
call esi
push dword [esp + 0x10]
push 0x10
push 0
push dword [ebx + 4]
call esi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc140.dll_Ordinal_316]
push 0x104
lea eax, [esp + 0x16c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
lea eax, [esp + 0x168]
push eax
lea eax, [esp + 0x24]
push 0x40efec
push eax
call edi
add esp, 0xc
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push 0x12
push eax
call dword [sym.imp.mfc140.dll_Ordinal_12863]
push 0x40eccc
push dword [eax]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
setne bl
call dword [sym.imp.mfc140.dll_Ordinal_1044]
test bl, bl
je 0x40288b
cmp dword [0x415728], 0
lea eax, [esp + 0x14]
jne 0x402863
push 0x40eff0
jmp 0x402868
push str.The_name_of_applicate_program_must_be_ProgramProtect.exe_
push eax
call edi
add esp, 8
lea ecx, [esp + 0x14]
push 0
push 0
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_2298]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push ecx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x2c]
call fcn.00409e10
mov esi, eax
mov ecx, esi
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [esi]
push dword [eax - 0xc]
push eax
push 9
lea eax, [esp + 0x24]
push 0x40f074
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [esp + 0x18]
push 0xa
push 0x40f054
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x415824]
push dword [eax - 0xc]
push eax
mov eax, dword [esp + 0x18]
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
mov ebx, dword [esp + 0x44]
add esp, 0x14
mov ecx, ebx
push dword [esp + 0xc]
push 0x3f7
call dword [sym.imp.mfc140.dll_Ordinal_13407]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push 0x104
lea eax, [esp + 0x64]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc140.dll_Ordinal_503]
push 0x40f080
push dword [0x415824]
lea eax, [esp + 0x68]
push str._s_s
push eax
call fcn.00409940
add esp, 0x10
lea eax, [esp + 0x60]
lea ecx, [esp + 0x34]
push 0
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4705]
cmp eax, 1
je 0x4029cb
lea eax, [esp + 0x60]
push eax
call fcn.004025e0
add esp, 4
push 2
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
sub esp, 8
lea eax, [esp + 0x58]
lea ecx, [esp + 0x2c]
push eax
call fcn.0040a060
push dword [eax]
lea eax, [esp + 0x18]
push 2
push str._d__s
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x415824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [esp + 0x60]
push dword [esp + 0xc]
push dword [esp + 0x18]
push eax
push str.ThreadInfo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push 0x7ffe
push 0
lea esi, [ebx + 0x478]
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
mov ecx, esi
call dword [sym.imp.mfc140.dll_Ordinal_2520]
lea eax, [ebx + 0x480]
push eax
push 0x18
push dword [ebx + 0x47c]
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebx + 0x484]
lea ecx, [esp + 0x50]
push 0
push ebx
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x488]
push ecx
mov dword [esp + 0x68], eax
lea ecx, [ebx + 0x3f8]
mov eax, dword [ebx + 0x3f8]
push 0x5000000e
push 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call dword [eax + 0x16c]
test esi, esi
jne 0x402ada
xor eax, eax
jmp 0x402add
mov eax, dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0x172
push dword [ebx + 0x418]
call esi
mov ecx, dword [ebx + 0x488]
mov edx, dword [ebx + 0x484]
mov eax, dword [ebx + 0x3e4]
push 1
push ecx
sub eax, ecx
lea ecx, [ebx + 0x3f8]
push edx
push eax
mov eax, dword [ebx + 0x3e0]
sub eax, edx
push eax
call dword [sym.imp.mfc140.dll_Ordinal_8776]
push dword [ebx + 0x3f4]
lea ecx, [ebx + 0x3f8]
call dword [sym.imp.mfc140.dll_Ordinal_14149]
push ecx
push dword [ebx + 0x11c]
lea ecx, [ebx + 0x120]
sub esp, 8
push ebx
call fcn.0040afa0
push dword [ebx + 0x11c]
push 1
push 0x80
push dword [ebx + 0x20]
call esi
push dword [ebx + 0x11c]
push 0
push 0x80
push dword [ebx + 0x20]
call esi
push 0x1c
call dword [sym.imp.mfc140.dll_Ordinal_1507]
add esp, 4
test eax, eax
je 0x402b88
push 0xa
mov ecx, eax
call dword [sym.imp.mfc140.dll_Ordinal_554]
jmp 0x402b8a
xor eax, eax
mov ecx, 0x415824
mov dword [ebx + 0xa8], eax
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x415824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x284]
add esp, 0x14
push dword [esp + 0xc]
push 0x64
push eax
push 0x40f0cc
push str.CheckIntervalMin
push str.Setting
call edi
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
lea eax, [esp + 0x270]
push eax
call esi
add esp, 4
mov dword [0x415720], eax
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x415824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [esp + 0x270]
push dword [esp + 0xc]
push 0x64
push eax
push 0x40f0ec
push str.TimeOutMin
push str.Setting
call edi
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [esp + 0x270]
push eax
call esi
add esp, 4
mov dword [0x415724], eax
mov ecx, 0x415824
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [0x415824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [esp + 0x270]
push dword [esp + 0xc]
push 0x64
push eax
push 0x40f0ec
push str.CheckIntervalMin_ICON
push str.Setting
call edi
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [esp + 0x270]
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_SetTimer]
add esp, 4
mov dword [0x41571c], eax
imul eax, dword [0x415720], 0xea60
push 0
push eax
push 0x79
push dword [ebx + 0x20]
call esi
push 0
push 0xdbba0
push 0x468
push dword [ebx + 0x20]
call esi
imul eax, dword [0x41571c], 0xea60
push 0
push eax
push 0x469
push dword [ebx + 0x20]
call esi
mov ecx, ebx
call fcn.00403130
mov ecx, ebx
call fcn.00406ca0
mov eax, dword [ebx + 0x20]
push 0
push 0xbb8
push 0x23
push eax
mov dword [0x41572c], eax
call esi
push 0
push 0x1d4c0
push 0x24
push dword [ebx + 0x20]
call esi
push 0
push 0xea60
push 0x25
push dword [ebx + 0x20]
call esi
push 0
push 0xea60
push 0x26
push dword [ebx + 0x20]
call esi
mov ecx, ebx
call fcn.00409070
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc140.dll_Ordinal_1142]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [esp + 0x65c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040bb2c
mov esp, ebp
pop ebp
ret