Function at 0x406e90
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov ebx, ecx
lea ecx, [ebp - 0x14]
push 0x40d967
mov dword [ebp - 4], ebx
call dword [sym.imp.mfc140.dll_Ordinal_310]
push 0x40d967
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_310]
push 0x40d967
lea ecx, [ebp - 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_310]
push 0x40d967
lea ecx, [ebp - 8]
call dword [sym.imp.mfc140.dll_Ordinal_310]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
lea eax, [ebp - 0x48]
push 1
push 0
push 0
push 0
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
test eax, eax
je 0x406f21
lea eax, [ebp - 0x48]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call edi
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
call ebx
test eax, eax
jne 0x406f03
mov ecx, dword [ebp - 4]
call fcn.00406b80
test eax, eax
jne 0x407111
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x48]
push eax
call ebx
test eax, eax
je 0x406f5e
lea eax, [ebp - 0x48]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call edi
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
call ebx
test eax, eax
jne 0x406f40
mov ecx, dword [ebp - 4]
mov edi, dword [sym.imp.mfc140.dll_Ordinal_5401]
push 5
push 0x3fa
call edi
mov esi, dword [sym.imp.mfc140.dll_Ordinal_14149]
mov ecx, eax
call esi
mov ecx, dword [ebp - 4]
push 0
push 0x3f8
call edi
mov ecx, eax
call esi
mov ecx, dword [ebp - 4]
push 0
push 0x3f9
call edi
mov ecx, eax
call esi
push 0x40e5d8
lea ecx, [ebp - 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
push 0x3fa
call dword [sym.imp.mfc140.dll_Ordinal_13407]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
call ebx
test eax, eax
je 0x406ff5
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x48]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call edi
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
call ebx
test eax, eax
jne 0x406fd7
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x40e4bc
mov edx, 0x414824
lea ecx, [ebp - 4]
call fcn.00401230
add esp, 4
lea ecx, [ebp - 0x14]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_1526]
lea ecx, [ebp - 4]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push str.UPG_ProgramProtect.exe
mov edx, 0x414824
lea ecx, [ebp - 4]
call fcn.00401230
add esp, 4
lea ecx, [ebp - 0x10]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_1526]
lea ecx, [ebp - 4]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push str._update.bat
mov edx, 0x414824
lea ecx, [ebp - 4]
call fcn.00401230
add esp, 4
lea ecx, [ebp - 8]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_1526]
lea ecx, [ebp - 4]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push 0x1001
lea ecx, [ebp - 8]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140.dll_Ordinal_971]
mov esi, dword [sym.imp.mfc140.dll_Ordinal_14592]
lea ecx, [ebp - 0x2c]
push str.timeout__t_5__nobreak___NUL
call esi
push 0x40e618
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
lea ecx, [ebp - 0x2c]
call esi
push 0x40e618
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
lea ecx, [ebp - 0x2c]
call esi
push 0x40e618
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140.dll_Ordinal_2894]
push 0
mov ecx, 0x414824
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
push 0
lea ecx, [ebp - 8]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 8]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret