Function at 0x404820
Capabilities:
Create process on windows
Enumerate processes
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a419
mov eax, dword fs:[0]
push eax
sub esp, 0x3fc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push 9
push 0x40ba34
lea ecx, [ebp - 0x408]
movq qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x408], xmm0
mov dword [ebp - 0x3f8], 0
mov dword [ebp - 0x3f4], 0
call fcn.00407330
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3f0]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x3e0], 0
push str.umpdc.dll
movups xmmword [ebp - 0x3f0], xmm0
mov dword [ebp - 0x3dc], 0
call fcn.00407330
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3d8]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x3c8], 0
push str.dinput8.dll
movups xmmword [ebp - 0x3d8], xmm0
mov dword [ebp - 0x3c4], 0
call fcn.00407330
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c0]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x3b0], 0
push str.Dinput8.dll
movups xmmword [ebp - 0x3c0], xmm0
mov dword [ebp - 0x3ac], 0
call fcn.00407330
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3a8]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x398], 0
push str.audioses.dll
movups xmmword [ebp - 0x3a8], xmm0
mov dword [ebp - 0x394], 0
call fcn.00407330
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x390]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x380], 0
push str.profapi.dll
movups xmmword [ebp - 0x390], xmm0
mov dword [ebp - 0x37c], 0
call fcn.00407330
lea edi, [ebp - 0x408]
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x378]
mov dword [ebp - 0x1c], 0
sub ecx, edi
mov dword [ebp - 0x18], 0
mov eax, 0x2aaaaaab
mov dword [ebp - 0x14], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x404a91
cmp eax, 0xaaaaaaa
ja 0x40520a
lea esi, [eax + eax*2]
shl esi, 3
mov dword [ebp - 0x368], esi
test esi, esi
je 0x404a26
cmp esi, 0x1000
jb 0x404a1b
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x40520f
push eax
call fcn.00408d79
add esp, 4
test eax, eax
je 0x404deb
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x404a26
push esi
call fcn.00408d79
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x368]
lea eax, [ebp - 0x1c]
add ecx, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x36c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x378]
mov byte [ebp - 4], 7
cmp edi, eax
je 0x404a81
push edi
mov ecx, esi
call fcn.00405b20
add esi, 0x18
lea eax, [ebp - 0x378]
add edi, 0x18
mov dword [ebp - 0x24], esi
cmp edi, eax
jne 0x404a66
push ecx
mov edx, esi
mov ecx, esi
call fcn.004076f0
add esp, 4
mov dword [ebp - 0x18], esi
push 0x402040
push 6
push 0x18
lea eax, [ebp - 0x408]
mov byte [ebp - 4], 9
push eax
call fcn.00408da9
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0
push 0x40bac0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x94], xmm0
call fcn.00407610
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xdc]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0xcc], 0
push str.bs.dll
movups xmmword [ebp - 0xdc], xmm0
mov dword [ebp - 0xc8], 0
call fcn.00407610
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x7c]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
push 0x40ba30
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x68], 0
call fcn.00407610
lea edx, [ebp - 0xdc]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc4]
call fcn.00403090
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0
push str.minia.exe
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x98], 0
movups xmmword [ebp - 0xac], xmm0
call fcn.00407330
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x64]
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
push str._app_run_use_english
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0
call fcn.00407330
push 0x40
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 0xf
push 0
push eax
mov dword [ebp - 0x120], 0x44
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x9c]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 0x370], ecx
add esp, 0xc
cmp eax, 1
jb 0x405214
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0xac]
cmp eax, 7
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0xac]
lea edi, [ebp - 0x34]
cmova edx, eax
mov dword [ebp - 0x368], eax
inc ecx
mov dword [ebp - 0x360], edx
mov esi, 7
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x364], ecx
movups xmmword [ebp - 0x34], xmm0
cmp ecx, esi
jbe 0x404cc7
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x404c8d
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
cmp eax, 0x1000
jb 0x404cad
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x40520f
push ecx
call fcn.00408d79
add esp, 4
test eax, eax
je 0x404deb
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x404cb8
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x40520f
add eax, eax
jne 0x404c5f
xor edi, edi
jmp 0x404cc4
push eax
call fcn.00408d79
add esp, 4
mov edi, eax
mov edx, dword [ebp - 0x360]
mov ecx, dword [ebp - 0x364]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x370]
add esi, esi
mov dword [ebp - 0x24], ecx
push esi
push edx
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x20
xor ecx, ecx
mov word [esi + edi], ax
add esp, 0xc
mov eax, dword [ebp - 0x370]
mov word [edi + eax*2 + 2], cx
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x50]
cmp eax, 7
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x64]
cmova edx, eax
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0x360], ecx
cmp edi, eax
ja 0x404d5f
cmp dword [ebp - 0x20], 7
lea eax, [ecx + edi]
lea esi, [ebp - 0x34]
mov dword [ebp - 0x24], eax
cmova esi, dword [ebp - 0x34]
lea eax, [edi + edi]
push eax
push edx
lea ecx, [esi + ecx*2]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x360]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x34]
jmp 0x404d82
push edi
push edx
push dword [ebp - 0x36c]
lea ecx, [ebp - 0x34]
push edi
call fcn.004071b0
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x364], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x374], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x3c], xmm0
mov byte [ebp - 4], 0x12
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x20]
cmp ecx, 7
jbe 0x404dfb
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404df1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404df1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00408ec3
add esp, 8
lea ecx, [ebp - 0x35c]
mov dword [ebp - 0x24], 0
push ecx
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x20], 7
push ecx
push 0
push 0
push 0
xor eax, eax
cmp dword [ebp - 0x38], 7
push 0
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x404e79
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov edx, str.Failed_to_start_the_process._Error:
call fcn.00406660
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
push 0x406b70
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov esi, 1
jmp 0x404ff9
mov eax, dword [ebp - 0x354]
push dword [ebp - 0x35c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x36c], eax
call esi
push dword [ebp - 0x358]
call esi
lea ecx, [ebp - 0x1c]
call fcn.004036e0
lea eax, [ebp - 0xc4]
push eax
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x94]
call fcn.004045a0
add esp, 4
nop dword [eax + eax]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x360], esi
cmp esi, 0xffffffff
je 0x404fd5
lea eax, [ebp - 0x34c]
mov dword [ebp - 0x34c], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x404fce
nop dword [eax + eax]
lea eax, [ebp - 0x328]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404f10
mov ecx, dword [ebp - 0x370]
lea edi, [ebp - 0xac]
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x378], 7
cmova edi, dword [ebp - 0x368]
cmp ecx, eax
jne 0x404fb8
mov esi, ecx
lea edx, [ebp - 0x328]
test esi, esi
je 0x404f61
mov eax, edx
sub edi, eax
nop dword [eax]
mov cx, word [edx + edi]
cmp cx, word [edx]
jne 0x404fb2
add edx, 2
sub esi, 1
jne 0x404f50
push dword [ebp - 0x360]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x36c]
mov ecx, edi
call fcn.00403a00
test al, al
je 0x404fa2
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str.Process_is_suspended._Resuming...
call fcn.00406660
push 0x406b70
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov ecx, edi
call fcn.00403b00
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x404ec0
mov esi, dword [ebp - 0x360]
lea eax, [ebp - 0x34c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x404f00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str.Process_is_no_longer_running._Logging_closure...
call fcn.00406660
push 0x406b70
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
call fcn.00403ed0
xor esi, esi
mov ecx, dword [ebp - 0x38]
cmp ecx, 7
jbe 0x405033
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405029
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4051bd
push ecx
push edx
call fcn.00408ec3
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x38], 7
cmp eax, 7
jbe 0x405087
mov edx, dword [ebp - 0x374]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40507d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4051bd
push ecx
push edx
call fcn.00408ec3
add esp, 8
mov eax, dword [ebp - 0x378]
cmp eax, 7
jbe 0x4050c7
mov edx, dword [ebp - 0x368]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4050bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4051bd
push ecx
push edx
call fcn.00408ec3
add esp, 8
mov ecx, dword [ebp - 0xb0]
cmp ecx, 0xf
jbe 0x405101
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4050f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4051bd
push ecx
push edx
call fcn.00408ec3
add esp, 8
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], 0
cmp ecx, 0xf
jbe 0x40514c
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405142
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4051bd
push ecx
push edx
call fcn.00408ec3
add esp, 8
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp ecx, 0xf
jbe 0x405194
mov edx, dword [ebp - 0xdc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40518a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4051bd
push ecx
push edx
call fcn.00408ec3
add esp, 8
mov ecx, dword [ebp - 0x80]
cmp ecx, 0xf
jbe 0x4051cd
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4051c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4051c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00408ec3
add esp, 8
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
call fcn.004060c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408d6b
mov esp, ebp
pop ebp
ret
call fcn.00407d10
call fcn.00401110
call fcn.004011b0
int3