Function at 0x401560
Capabilities:
Create thread
Enumerate processes
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403ceb
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x407008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.MiniA.exe
lea ecx, [ebp - 0x150]
call fcn.00402620
push str.Sourcev1.dll
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 0
call fcn.00402620
push 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
cmp dword [ebp - 0x124], 0x10
lea eax, [ebp - 0x138]
push ecx
cmovae eax, dword [ebp - 0x138]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push 0x402bf0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Waiting_for_Revolt_Ran_
call fcn.004029d0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop
push 0
push 2
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x401672
lea eax, [ebp - 0x278]
mov dword [ebp - 0x278], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x401672
lea eax, [ebp - 0x254]
push str.minia.exe
push eax
call edi
add esp, 8
test eax, eax
je 0x401669
lea eax, [ebp - 0x278]
push eax
push esi
call ebx
test eax, eax
jne 0x401644
jmp 0x401672
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x18], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x401610
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [ebp - 0x150]
mov esi, eax
test esi, esi
je 0x4017db
cmp esi, 0xffffffff
je 0x4017db
cmp dword [ebp - 0x13c], 0x10
lea ecx, [ebp - 0x150]
mov eax, str.minia.exe
cmovae ecx, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4016e4
test dl, dl
je 0x4016e0
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4016e4
add ecx, 2
add eax, 2
test dl, dl
jne 0x4016c4
xor eax, eax
jmp 0x4016e9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401723
push str.NtOpenFile
push str.ntdll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401723
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov cl, byte [eax + 4]
push 0
push 5
mov byte [ebp - 0x14], cl
lea ecx, [ebp - 0x18]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 4
push 0x3000
push 0x104
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
je 0x401765
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401747
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x120]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push ebx
push dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
push 0x402bf0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test ebx, ebx
je 0x4017bb
mov edx, str.Hack_Loaded_
call fcn.004029d0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push esi
call ebx
jmp 0x4017db
mov edx, str.Hack_Not_Loaded_
call fcn.004029d0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x124]
cmp ecx, 0x10
jb 0x401811
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401807
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401854
push ecx
push edx
call fcn.00402e4d
add esp, 8
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
cmp eax, 0x10
jb 0x401864
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40185a
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40185a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.00402e4d
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402e0f
mov esp, ebp
pop ebp
ret