Function at 0x140016670
Capabilities:
Create process on windows
Execute command
Move file
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400dc010]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor esi, esi
mov dword [rsp + 0x44], esi
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x38], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x48], xmm1
lea r8d, [rsi + 0x3d]
lea rdx, str.https:__raw.githubusercontent.com_Forbidi_Loader_main_ver.txt
lea rcx, [rbp + 0x38]
call fcn.1400148a0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rsi
lea r8d, [rsi + 0x45]
lea rdx, str.https:__github.com_Forbidi_Loader_releases_latest_download_Loader.zip
lea rcx, [rbp + 0x18]
call fcn.1400148a0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
lea r8d, [rsi + 5]
lea rdx, str.1.6.0
lea rcx, [rbp - 0x28]
call fcn.1400148a0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x68], xmm0
vmovdqu xmm1, xmmword [0x1400cd480]
vmovdqu xmmword [rbp - 0x58], xmm1
mov byte [rbp - 0x68], sil
vmovups xmmword [rbp - 8], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 8], xmm1
lea r8d, [rsi + 0x3d]
lea rdx, str.https:__raw.githubusercontent.com_Forbidi_Loader_main_ver.txt
lea rcx, [rbp - 8]
call fcn.1400148a0
nop
lea ecx, [rsi + 3]
call qword [sym.imp.libcurl.dll_curl_global_init]
call qword [sym.imp.libcurl.dll_curl_easy_init]
mov rbx, rax
test rax, rax
je 0x140016d74
lea r8, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae r8, qword [rbp - 8]
mov edx, 0x2712
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [0x140016640]
mov edx, 0x4e2b
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [rbp - 0x68]
mov edx, 0x2711
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_perform]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_cleanup]
test edi, edi
jne 0x140016d3b
lea rcx, [rsp + 0x50]
call fcn.140018d00
mov rbx, rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x48], xmm0
vmovdqu xmm1, xmmword [0x1400cd480]
vmovdqu xmmword [rbp - 0x38], xmm1
mov byte [rbp - 0x48], dil
mov dword [rsp + 0x44], 3
vmovups xmmword [rsp + 0x78], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x78], xmm1
lea r8d, [rsi + 2]
lea rdx, [0x1400ca848]
lea rcx, [rsp + 0x78]
call fcn.1400148a0
nop
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rdx, qword [rbp - 0x68]
mov r9, qword [rbp - 0x58]
add r9, rdx
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae r8, qword [rbp - 0x68]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x48]
call fcn.14001af10
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400168a4
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001689f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001689f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c500
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400168e2
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400168dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400168dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c500
vmovups ymm0, ymmword [rbp - 0x48]
vmovups ymmword [rbp - 0x68], ymm0
vmovdqu xmm1, xmmword [0x1400cd480]
vmovdqu xmmword [rbp - 0x38], xmm1
mov byte [rbp - 0x48], 0
lea rcx, [rsp + 0x50]
vzeroupper
call fcn.1400199c0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140016930
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140016930
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x28]
call fcn.1400162d0
test eax, eax
jns 0x140016d11
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.Remote_version:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000eb10
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
mov rcx, rax
call fcn.14000f5c0
lea rdx, [0x14000ece0]
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 edx, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.Local_version:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000eb10
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
mov rcx, rax
call fcn.14000f5c0
lea rdx, [0x14000ece0]
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 edx, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.Do_you_want_to_download_the_new_version___Y_N_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000eb10
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140019cd0
movsx ecx, byte [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
cmp eax, 0x59
jne 0x140016d34
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov r8d, 0x104
lea rdx, [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x78]
call fcn.140016f20
nop
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
je 0x140016a9e
lea rdx, [0x140070de6]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000eb10
lea rdx, [0x14000ece0]
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 rdi, qword [rbp - 0x78]
lea r9, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae r9, qword [rsp + 0x78]
mov rax, qword [0x14015d320]
cmp rdi, rax
ja 0x140016aec
lea rbx, [0x14015d308]
cmp rax, 0x10
cmovae rbx, qword [0x14015d308]
mov qword [0x14015d318], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140016afc
mov rdx, rdi
lea rcx, [0x14015d308]
call fcn.14000ef90
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140016b3b
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016b36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016b36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c500
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x28]
sub rax, rcx
cmp rax, 0xf
jb 0x140016f0c
lea rax, [rbp + 0x18]
cmp qword [rbp + 0x30], 0x10
cmovae rax, qword [rbp + 0x18]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xf
lea r9, str.cmd__c_curl__L
lea rcx, [rsp + 0x78]
call fcn.14000f470
nop
mov r8d, 0x1f
lea rdx, str.___output_Loader.zip___insecure
lea rcx, [rsp + 0x78]
call fcn.14000e880
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x48], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x38], xmm1
vmovups ymm0, ymmword [rax]
vmovups ymmword [rbp - 0x48], ymm0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140016c0f
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016c07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016c07
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
vzeroupper
call fcn.14006c500
vmovdqu xmm0, xmmword [0x1400cd480]
vmovdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test eax, eax
jne 0x140016ca9
lea rdx, str.File_downloaded_successfully.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000eb10
lea rdx, [0x14000ece0]
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]
call fcn.1400160e0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, str.unzip.bat
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.Error_downloading_the_file.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000eb10
lea rdx, [0x14000ece0]
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]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140016d74
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016d0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016d0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c500
jmp 0x140016d74
lea rdx, str.Current_version_is_the_latest.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000eb10
lea rdx, [0x14000ece0]
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]
call fcn.1400040e0
jmp 0x140016d74
lea rdx, str.Error_making_HTTP_request:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000eb10
mov rbx, rax
mov ecx, edi
call qword [sym.imp.libcurl.dll_curl_easy_strerror]
mov rdx, rax
mov rcx, rbx
call fcn.14000eb10
lea rdx, [0x14000ece0]
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]
call qword [sym.imp.libcurl.dll_curl_global_cleanup]
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140016db9
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016db4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016db4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c500
vmovdqu xmm0, xmmword [0x1400cd480]
vmovdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140016e08
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016e03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016e03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c500
vmovdqu xmm0, xmmword [0x1400cd480]
vmovdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140016e57
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016e52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016e52
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c500
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x140016ea6
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016ea0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016ea0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c500
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x140016ee4
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016edf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016edf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c500
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14006c170
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400019a0
nop
int3