Function at 0x140005150
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14008f0c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
xor r14d, r14d
cmp rax, 0xffffffffffffffff
je 0x1400051c0
mov dword [rbp - 0x29], r14d
lea rdx, [rbp - 0x29]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x1400051c0
mov edx, dword [rbp - 0x29]
or edx, 4
mov dword [rbp - 0x29], edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
call fcn.140004ab0
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], r14
mov r8d, 0xbf
lea rdx, str.https:__cdn.discordapp.com_attachments_1287058363716468830_1287072784131817503_amidewinrelease.exe_ex66f03770is66eee5f0hmfcdfcb644bc866edab60b26092e94ce7ad0cd42d07f1bdcb3ee22a5c07077a6c
lea rcx, [rbp + 7]
call fcn.140005050
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r14
mov qword [rbp - 1], r14
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.C:_amidewin.exe
lea rcx, [rbp - 0x19]
call fcn.140005050
nop
movabs r15, 0x7ffffffffffffffe
movabs r12, 0x7fffffffffffffff
mov r13d, 0xa
nop dword [rax + rax]
lea rdx, str._n_____1_____Select_an_option:_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007ac0
lea rdx, str.__________________________________
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007ac0
lea rdx, str._n_____1_____Load_Cheat____load_drivers_before_loading_it__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007ac0
lea rdx, str._n_____2_____Enable_spoofer___soon___n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007ac0
lea rdx, str.__________________________________
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007ac0
lea rdx, str._n___________Your_choice:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007ac0
lea rdx, [rbp - 0x21]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov ecx, dword [rbp - 0x21]
test ecx, ecx
je 0x140005578
sub ecx, 1
je 0x1400052e1
sub ecx, 1
je 0x140005230
cmp ecx, 1
je 0x140005230
lea rdx, str.Invalid_choice._Please_try_again.
jmp 0x14000557f
call qword [fcn.1400205d0]
mov rdi, rax
test rax, rax
je 0x1400053e7
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rdx, qword [rbp - 0x19]
lea r8, [0x140081238]
lea rcx, [rbp - 0x29]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x1400053c4
cmp qword [rbp - 0x29], 0
je 0x1400053c4
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova r8, qword [rbp + 7]
mov edx, 0x2712
mov rcx, rdi
call qword [fcn.140022eb0]
mov r8, qword [rbp - 0x29]
mov edx, 0x2711
mov rcx, rdi
call qword [fcn.140022eb0]
mov edx, 0x34
mov r8d, 1
mov rcx, rdi
call qword [fcn.140022eb0]
mov rcx, rdi
call qword [fcn.140020690]
mov esi, eax
test eax, eax
je 0x1400053af
lea rdx, str.curl_easy_perform___failed:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140007ac0
mov rbx, rax
mov ecx, esi
call qword [fcn.14001fc90]
mov rdx, rax
mov rcx, rbx
call fcn.140007ac0
lea rdx, [0x140007e70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call qword [fcn.140020580]
jmp 0x1400053e7
lea rdx, str.Failed_to_open_file_for_writing.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140007ac0
lea rdx, [0x140007e70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rsi, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rsi, qword [rbp - 0x19]
add rsi, qword [rbp - 9]
lea rbx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rbx, qword [rbp - 0x19]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r14
mov qword [rbp - 0x31], 7
cmp rbx, rsi
jne 0x14000542d
mov word [rbp - 0x49], r14w
lea r8, [rbp - 0x49]
jmp 0x14000551b
sub rsi, rbx
cmp rsi, r15
ja 0x140005667
mov edi, 7
cmp rsi, rdi
jbe 0x1400054cf
mov rdi, rsi
or rdi, 7
cmp rdi, r15
jbe 0x14000549a
mov rdi, r15
lea rcx, [r12 + r12]
cmp rcx, 0x1000
jb 0x1400054c0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000566d
mov rcx, rax
call fcn.14006e810
mov rcx, rax
test rax, rax
je 0x1400055de
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x31], rdi
jmp 0x1400054d3
cmp rdi, r13
cmovb rdi, r13
lea rcx, [rdi + 1]
cmp rcx, r12
ja 0x14000566d
add rcx, rcx
jne 0x14000545a
mov rax, r14
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x31], rdi
jmp 0x1400054d3
call fcn.14006e810
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x31], rdi
jmp 0x1400054d3
mov rax, qword [rbp - 0x49]
lea r8, [rbp - 0x49]
cmp rdi, 7
cmova r8, rax
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x140005504
nop word [rax + rax]
movsx eax, byte [rbx]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x1400054f0
mov qword [rbp - 0x39], rsi
mov word [r8 + rsi*2], r14w
lea r8, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova r8, qword [rbp - 0x49]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x14000559b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005571
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400055de
call fcn.14006ea94
jmp 0x14000559b
lea rdx, str.Exiting_program.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007ac0
lea rdx, [0x140007e70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp dword [rbp - 0x21], 0
jne 0x140005230
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x1400055ea
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400055e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14006ea94
mov qword [rbp - 9], r14
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140005638
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005633
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005633
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ea94
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14006e7f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001cf0
nop
call fcn.140001c50
int3