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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x75c
mov eax, dword [0x413014]
xor eax, esp
mov dword [esp + 0x758], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x30], esi
call dword [sym.imp.mfc140.dll_Ordinal_10421]
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.00409af0
push 0x40d967
lea ecx, [esi + 0x5a0]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
mov ecx, esi
call fcn.00403b20
lea eax, [esp + 0x270]
mov dword [esi + 0x114], 0
push 0x104
push eax
mov dword [0x414714], 0
mov dword [0x414718], 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__getcwd]
add esp, 8
lea eax, [esp + 0x270]
mov ecx, 0x414824
push eax
call dword [sym.imp.mfc140.dll_Ordinal_1529]
movq xmm0, qword [esp + 0x24]
mov eax, dword [esp + 0x2c]
movq qword [0x414834], xmm0
mov dword [0x41483c], eax
mov dword [0x4136f4], 0
mov dword [0x4136f0], 0
call fcn.00408950
push 0
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4869]
mov edi, eax
test edi, edi
je 0x4024cd
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_316]
push 0x64
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_8426]
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
je 0x4024c3
mov esi, dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push 0x800
push dword [edi + 4]
call esi
push dword [esp + 0x14]
push 0x10
push 0
push dword [edi + 4]
call esi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [esp + 0x18]
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 + 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
mov edi, dword [sym.imp.mfc140.dll_Ordinal_4807]
lea eax, [esp + 0x168]
push eax
lea eax, [esp + 0x24]
push 0x40df74
push eax
call edi
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push 0x12
push eax
call dword [sym.imp.mfc140.dll_Ordinal_12863]
push 0x40dc70
push dword [eax]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call dword [sym.imp.mfc140.dll_Ordinal_1044]
test bl, bl
je 0x402595
cmp dword [0x414728], 0
lea eax, [esp + 0x18]
jne 0x40256d
push 0x40df78
jmp 0x402572
push str.The_name_of_applicate_program_must_be_ProgramProtect.exe_
push eax
call edi
add esp, 8
lea ecx, [esp + 0x18]
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.004096c0
mov esi, eax
mov ecx, esi
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [esi]
push dword [eax - 0xc]
push eax
push 9
lea eax, [esp + 0x28]
push 0x40dffc
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [esp + 0x1c]
push 0xa
push 0x40dfdc
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea ecx, [esp + 0x14]
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 [0x414824]
push dword [eax - 0xc]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
mov ebx, dword [esp + 0x44]
add esp, 0x14
mov ecx, ebx
push dword [esp + 0x10]
push 0x3f7
call dword [sym.imp.mfc140.dll_Ordinal_13407]
lea ecx, [esp + 0x10]
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]
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 0x40e008
push dword [0x414824]
lea eax, [esp + 0x68]
push str._s_s
push eax
call fcn.004091f0
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 0x4026d5
lea eax, [esp + 0x60]
push eax
call fcn.004022f0
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.00409910
push dword [eax]
lea eax, [esp + 0x1c]
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, 0x414824
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 [0x414824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [esp + 0x60]
push dword [esp + 0x10]
push dword [esp + 0x1c]
push eax
push str.ThreadInfo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x10]
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 edx, [esp + 0x50]
push 0
push ebx
mov dword [esp + 0x60], eax
lea ecx, [ebx + 0x3f8]
mov eax, dword [ebx + 0x488]
push edx
mov dword [esp + 0x68], eax
mov eax, dword [ecx]
push 0x5000000e
push 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call dword [eax + 0x16c]
test esi, esi
jne 0x4027e0
xor eax, eax
jmp 0x4027e3
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0x172
push dword [ebx + 0x418]
call edi
mov edx, dword [ebx + 0x488]
lea ecx, [ebx + 0x3f8]
mov esi, dword [ebx + 0x484]
mov eax, dword [ebx + 0x3e4]
push 1
push edx
sub eax, edx
push esi
push eax
mov eax, dword [ebx + 0x3e0]
sub eax, esi
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.0040a740
push dword [ebx + 0x11c]
push 1
push 0x80
push dword [ebx + 0x20]
call edi
push dword [ebx + 0x11c]
push 0
push 0x80
push dword [ebx + 0x20]
call edi
push 0x1c
call dword [sym.imp.mfc140.dll_Ordinal_1507]
add esp, 4
test eax, eax
je 0x40288e
push 0xa
mov ecx, eax
call dword [sym.imp.mfc140.dll_Ordinal_554]
jmp 0x402890
xor eax, eax
mov ecx, 0x414824
mov dword [ebx + 0xa8], eax
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 [0x414824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x38c]
add esp, 0x14
push dword [esp + 0x10]
push 0x64
push eax
push 0x40e054
push str.CheckIntervalMin
push str.Setting
call edi
lea ecx, [esp + 0x10]
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 + 0x378]
push eax
call esi
add esp, 4
mov dword [0x414720], eax
mov ecx, 0x414824
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 [0x414824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [esp + 0x378]
push dword [esp + 0x10]
push 0x64
push eax
push 0x40e074
push str.TimeOutMin
push str.Setting
call edi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [esp + 0x378]
push eax
call esi
add esp, 4
mov dword [0x414724], eax
mov ecx, 0x414824
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 [0x414824]
push 0xc
push str.Initial.ini
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [esp + 0x378]
push dword [esp + 0x10]
push 0x64
push eax
push 0x40e074
push str.CheckIntervalMin_ICON
push str.Setting
call edi
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [esp + 0x378]
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_SetTimer]
add esp, 4
mov dword [0x41471c], eax
imul eax, dword [0x414720], 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 [0x41471c], 0xea60
push 0
push eax
push 0x469
push dword [ebx + 0x20]
call esi
mov ecx, ebx
call fcn.00402e30
mov ecx, ebx
call fcn.004069b0
mov eax, dword [ebx + 0x20]
push 0
push 0xbb8
push 0x23
push eax
mov dword [0x41472c], 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
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 + 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [esp + 0x764]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040b2ce
mov esp, ebp
pop ebp
ret