Function at 0x407180
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 0x40e9a7
mov dword [ebp - 4], ebx
call dword [sym.imp.mfc140.dll_Ordinal_310]
push 0x40e9a7
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_310]
push 0x40e9a7
lea ecx, [ebp - 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_310]
push 0x40e9a7
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 0x407211
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 0x4071f3
mov ecx, dword [ebp - 4]
call fcn.00406e70
test eax, eax
jne 0x407401
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x48]
push eax
call ebx
test eax, eax
je 0x40724e
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 0x407230
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 0x40f650
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 0x4072e5
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 0x4072c7
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x40f534
mov edx, 0x415824
lea ecx, [ebp - 4]
call fcn.00401250
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, 0x415824
lea ecx, [ebp - 4]
call fcn.00401250
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, 0x415824
lea ecx, [ebp - 4]
call fcn.00401250
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 0x40eca8
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 0x40eca8
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 0x40eca8
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140.dll_Ordinal_2894]
push 0
mov ecx, 0x415824
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