Function at 0x4169e0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Enumerate processes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44779f
mov eax, dword fs:[0]
push eax
mov eax, 0x1204
call fcn.00445a10
mov eax, dword [0x467040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0xc]
push 0x124
mov dword [ebp - 0x11a4], eax
lea eax, [ebp - 0x1194]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1198], 0x128
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x1198]
mov dword [ebp - 0x11ac], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32First]
nop dword [eax]
test eax, eax
je 0x4170b5
nop dword [eax + eax]
mov ecx, esi
lea eax, [ebp - 0x1174]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x416a9a
nop
test dl, dl
je 0x416a96
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x416a9a
add eax, 2
add ecx, 2
test dl, dl
jne 0x416a78
xor eax, eax
jmp 0x416a9f
sbb eax, eax
or eax, 1
nop
test eax, eax
je 0x416ac5
lea eax, [ebp - 0x1198]
push eax
push dword [ebp - 0x11ac]
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x416a70
nop dword [eax + eax]
jmp 0x4170b5
mov edx, dword [ebp - 0x1190]
lea ecx, [ebp - 0x1070]
call fcn.00412ce0
push 0xe
push str.memory.exe__p
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00415940
xorps xmm0, xmm0
mov dword [ebp - 0x1048], 0
movups xmmword [ebp - 0x1058], xmm0
mov dword [ebp - 0x1044], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1058], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1048], xmm0
mov byte [ebp - 4], 2
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x105c]
cmp ecx, 7
jbe 0x416b7c
mov edx, dword [ebp - 0x1070]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416b72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x416b72
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00444ae8
add esp, 8
xor eax, eax
mov dword [ebp - 0x1060], 0
push eax
mov word [ebp - 0x1070], ax
mov dword [ebp - 0x11b8], eax
lea eax, [ebp - 0x11bc]
push eax
lea eax, [ebp - 0x11a0]
mov dword [ebp - 0x105c], 7
push eax
lea eax, [ebp - 0x119c]
mov dword [ebp - 0x11bc], 0xc
push eax
mov dword [ebp - 0x11b4], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 0
push 1
push dword [ebp - 0x119c]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0x40
lea eax, [ebp - 0x120c]
mov dword [ebp - 0x1210], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x11a0]
lea ecx, [ebp - 0x11cc]
or dword [ebp - 0x11e4], 0x101
add esp, 0xc
mov dword [ebp - 0x11d4], eax
xor eax, eax
cmp dword [ebp - 0x1044], 7
mov word [ebp - 0x11e0], ax
lea eax, [ebp - 0x1058]
cmova eax, dword [ebp - 0x1058]
push ecx
lea ecx, [ebp - 0x1210]
push ecx
push 0
push 0
push 0x10
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x417066
push dword [ebp - 0x11a0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x11a8]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x119c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [eax]
test eax, eax
je 0x41703d
nop dword [eax + eax]
cmp dword [ebp - 0x11a8], 0
je 0x41703d
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x1010]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ecx
mov esi, eax
lea ecx, [ebp - 0x1028]
push esi
call fcn.00410260
push 0
push 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1028]
cmp dword [ebp - 0x1014], 0xf
lea eax, [ebp - 0x1010]
push esi
cmova ecx, dword [ebp - 0x1028]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp - 0x1014], 0xf
lea ecx, [ebp - 0x1028]
cmova ecx, dword [ebp - 0x1028]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416d35
sub ecx, edx
push ecx
push ecx
lea ecx, [ebp - 0x1028]
call fcn.00405b40
cmp byte [ebp + 8], 0
je 0x416e65
cmp dword [ebp - 0x1014], 0xf
lea eax, [ebp - 0x1028]
push 1
cmova eax, dword [ebp - 0x1028]
lea ecx, [ebp - 0x103c]
push eax
call fcn.004176e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1028]
cmp dword [ebp - 0x1014], 0xf
lea eax, [ebp - 0x103c]
mov edx, dword [ebp - 0x1018]
cmova ecx, dword [ebp - 0x1028]
push ecx
push 0x10
push eax
lea edx, [edx + ecx]
push ecx
call fcn.004182e0
add esp, 0x10
test al, al
je 0x416e06
mov eax, dword [ebp - 0x11a4]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x416dbf
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.00408f60
add esp, 4
mov edx, edi
cmp dword [edi + 0x14], 7
jbe 0x416dda
mov edx, dword [edi]
push dword ds:[edi + 0x10]
mov ecx, eax
call fcn.00408f60
add esp, 4
mov edx, str.._This_is_bannable.
mov ecx, eax
call fcn.00406160
push 0x408660
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_____]
lea ecx, [ebp - 0x103c]
call fcn.00417bc0
mov eax, dword [ebp - 0x102c]
test eax, eax
je 0x416fd4
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x44b694]
mov ecx, dword [ebp - 0x102c]
call esi
mov dword ds:[ebp - 0x11b0], eax
test eax, eax
je 0x416fd4
mov ecx, dword [eax]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x44b694]
mov ecx, dword [ebp - 0x11b0]
call esi
nop
jmp 0x416fd4
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x416e6f
mov eax, dword [edi]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ecx
mov esi, eax
lea ecx, [ebp - 0x1040]
push esi
call fcn.00410260
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1040]
cmp dword [ebp - 0x102c], 0xf
mov eax, edi
cmova ecx, dword [ebp - 0x1040]
cmp dword [edi + 0x14], 7
jbe 0x416eb8
mov eax, dword [edi]
push 0
push 0
push esi
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp - 0x102c], 0xf
lea ecx, [ebp - 0x1040]
cmova ecx, dword [ebp - 0x1040]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416ee5
sub ecx, edx
push ecx
push ecx
lea ecx, [ebp - 0x1040]
call fcn.00405b40
cmp dword [ebp - 0x102c], 0xf
lea eax, [ebp - 0x1040]
push dword [ebp - 0x1030]
cmova eax, dword [ebp - 0x1040]
lea ecx, [ebp - 0x1028]
cmp dword [ebp - 0x1014], 0xf
mov edx, dword [ebp - 0x1018]
cmova ecx, dword [ebp - 0x1028]
push eax
push 0
call fcn.00417ee0
add esp, 0xc
cmp eax, 0xffffffff
je 0x416f92
mov eax, dword [ebp - 0x11a4]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x416f4f
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.00408f60
add esp, 4
mov edx, edi
cmp dword [edi + 0x14], 7
jbe 0x416f6a
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.00408f60
add esp, 4
mov edx, str.._This_is_bannable.
mov ecx, eax
call fcn.00406160
push 0x408660
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 byte ds:[ebp - 4], 3
mov ecx, dword [ebp - 0x102c]
cmp ecx, 0xf
jbe 0x416fd4
mov edx, dword [ebp - 0x1040]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416fca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b6c
push ecx
push edx
call fcn.00444ae8
add esp, 8
mov byte ds:[ebp - 4], 2
mov ecx, dword [ebp - 0x1014]
cmp ecx, 0xf
jbe 0x417014
mov edx, dword [ebp - 0x1028]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41700a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b6c
push ecx
push edx
call fcn.00444ae8
add esp, 8
push 0
lea eax, [ebp - 0x11a8]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x119c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x416cb0
push 0xffffffffffffffff
push dword [ebp - 0x11cc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x11cc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword ds:[ebp - 0x11c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x119c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1044]
cmp ecx, 7
jbe 0x4170b5
mov edx, dword [ebp - 0x1058]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4170ab
mov edx, dword ds:[eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4170ab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00444ae8
add esp, 8
push dword ds:[ebp - 0x11ac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.00444aa0
mov esp, ebp
pop ebp
ret