Function at 0x401390
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4043d3
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x408008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
call dword [sym.imp.libcurl.dll_curl_easy_init]
mov edi, dword [sym.imp.libcurl.dll_curl_easy_setopt]
mov esi, eax
push str.https:__raw.githubusercontent.com_fheahdythdr_ClientFlagOptimizer_main_programversion.cfo
push 0x2712
push esi
call edi
push 4
push 0x54
push esi
call edi
push 6
push 0x20
push esi
call edi
push 0x401330
push 0x4e2b
push esi
call edi
lea eax, [ebp - 0x28]
push eax
push 0x2711
push esi
call edi
push esi
call dword [sym.imp.libcurl.dll_curl_easy_perform]
add esp, 0x40
test eax, eax
je 0x4014b0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.NETWORK_ERROR__PLEASE_CHECK_YOUR_INTERNET_CONNECTION__0x2_n
call fcn.00402990
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
push esi
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 0x10
jb 0x401490
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401486
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401587
push ecx
push edx
call fcn.004036da
add esp, 8
mov eax, 2
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.00403446
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
push str.RCO.exe
lea ecx, [ebp - 0x154]
call fcn.00402850
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x4014d2
mov eax, dword [eax]
push 0x405364
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov ecx, dword [ebp - 0x140]
add esp, 0xc
test eax, eax
setne al
mov byte [ebp - 0x131], al
cmp ecx, 0x10
jb 0x401535
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401525
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401525
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004036da
mov al, byte [ebp - 0x131]
add esp, 8
test al, al
je 0x40158d
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Could_not_open_filepoint...__0x1_n
call fcn.00402990
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x401490
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401486
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401486
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call dword [sym.imp.libcurl.dll_curl_easy_init]
push str.https:__raw.githubusercontent.com_fheahdythdr_ClientFlagOptimizer_main_CFO.exe
mov esi, eax
push 0x2712
push esi
call edi
push 4
push 0x54
push esi
call edi
push 6
push 0x20
push esi
call edi
push 0
push 0x4e2b
push esi
call edi
push dword [ebp - 0x120]
push 0x2711
push esi
call edi
push esi
call dword [sym.imp.libcurl.dll_curl_easy_perform]
add esp, 0x40
push esi
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
push dword [ebp - 0x120]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea ecx, [ebp - 0x11c]
call fcn.004017e0
push ecx
lea ecx, [ebp - 0x11c]
call fcn.00402420
push str.programversion.rco
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 1
call fcn.00402850
push ecx
push eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 2
call fcn.004022a0
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 1
call fcn.00402510
lea ecx, [ebp - 0x28]
call fcn.004012f0
mov edx, eax
lea ecx, [ebp - 0x11c]
call fcn.00402bb0
lea ecx, [ebp - 0x11c]
call fcn.00402270
lea eax, [ebp - 0x138]
mov dword [ebp - 0x138], 0x7d0
push eax
lea ecx, [ebp - 0x15c]
call fcn.00402bd0
mov ecx, eax
call fcn.00402bf0
mov esi, dword [ebp - 0x13c]
lea ecx, [ebp - 0x154]
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0x44
push str.RCO.exe
movlpd qword [ebp - 0x68], xmm0
mov esi, dword [esi + 4]
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x130], xmm0
call fcn.00402850
add esp, 4
mov ecx, eax
call fcn.00402500
lea ecx, [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0x154]
call fcn.00402510
push dword [ebp - 0x130]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x12c]
call esi
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3