Function at 0x140016660
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 [0x140089010]
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.140014890
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], rsi
lea r8d, [rsi + 0x45]
lea rdx, str.https:__github.com_Forbidi_Loader_releases_latest_download_Loader.zip
lea rcx, [rbp - 8]
call fcn.140014890
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x18], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x28], xmm1
lea r8d, [rsi + 5]
lea rdx, str.1.6.0
lea rcx, [rbp + 0x18]
call fcn.140014890
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x78], xmm0
vmovdqu xmm1, xmmword [0x14007a870]
vmovdqu xmmword [rbp - 0x78], xmm1
mov byte [rsp + 0x78], sil
vmovups xmmword [rbp - 0x28], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x18], xmm1
lea r8d, [rsi + 0x3d]
lea rdx, str.https:__raw.githubusercontent.com_Forbidi_Loader_main_ver.txt
lea rcx, [rbp - 0x28]
call fcn.140014890
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 0x140016d26
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae r8, qword [rbp - 0x28]
mov edx, 0x2712
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [0x140016630]
mov edx, 0x4e2b
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [rsp + 0x78]
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 0x140016ced
lea rcx, [rsp + 0x50]
call fcn.140018a20
mov rbx, rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x48], xmm0
vmovdqu xmm1, xmmword [0x14007a870]
vmovdqu xmmword [rbp - 0x38], xmm1
mov byte [rbp - 0x48], dil
mov dword [rsp + 0x44], 3
vmovups xmmword [rbp - 0x68], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x58], xmm1
lea r8d, [rsi + 2]
lea rdx, [0x140077c68]
lea rcx, [rbp - 0x68]
call fcn.140014890
nop
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
mov r9, qword [rbp - 0x78]
add r9, rdx
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae r8, qword [rsp + 0x78]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x48]
call fcn.14001ab00
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140016898
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016893
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016893
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c0f0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400168d7
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400168d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400168d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c0f0
vmovups ymm0, ymmword [rbp - 0x48]
vmovups ymmword [rsp + 0x78], ymm0
vmovdqu xmm1, xmmword [0x14007a870]
vmovdqu xmmword [rbp - 0x38], xmm1
mov byte [rbp - 0x48], 0
lea rcx, [rsp + 0x50]
vzeroupper
call fcn.1400196e0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140016926
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140016926
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.1400162c0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test eax, eax
jns 0x140016cca
lea rdx, str.Remote_version:
call fcn.14000eb00
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
mov rcx, rax
call fcn.14000f5b0
lea rdx, [0x14000ecd0]
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 rdx, str.New_version_available:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000eb00
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
mov rcx, rax
call fcn.14000f5b0
lea rdx, [0x14000ecd0]
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 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.14000eb00
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.1400199f0
movsx ecx, byte [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
cmp eax, 0x59
jne 0x140016ce6
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, [rbp - 0x68]
call fcn.140016ec0
nop
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rdx, qword [rbp - 0x68]
lea rcx, [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
je 0x140016a5e
lea rdx, [0x140070de6]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000eb00
lea rdx, [0x14000ecd0]
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 - 0x58]
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae r9, qword [rbp - 0x68]
mov rax, qword [0x14010a320]
cmp rdi, rax
ja 0x140016aaa
lea rbx, [0x14010a308]
cmp rax, 0x10
cmovae rbx, qword [0x14010a308]
mov qword [0x14010a318], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x140016aba
mov rdx, rdi
lea rcx, [0x14010a308]
call fcn.14000ef80
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140016af8
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016af3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016af3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c0f0
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 8]
sub rax, rcx
cmp rax, 0xf
jb 0x140016eb1
lea rax, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rax, qword [rbp - 8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xf
lea r9, str.cmd__c_curl__L
lea rcx, [rbp - 0x68]
call fcn.14000f460
nop
mov r8d, 0x1f
lea rdx, str.___output_Loader.zip___insecure
lea rcx, [rbp - 0x68]
call fcn.14000e870
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 - 0x50]
cmp rdx, 0x10
jb 0x140016bc9
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016bc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016bc1
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
vzeroupper
call fcn.14006c0f0
vmovdqu xmm0, xmmword [0x14007a870]
vmovdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 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 0x140016c62
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.14000eb00
lea rdx, [0x14000ecd0]
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.1400160d0
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.14000eb00
lea rdx, [0x14000ecd0]
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 0x140016d26
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016cc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016cc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c0f0
jmp 0x140016d26
lea rdx, str.Current_version_is_the_latest.
call fcn.14000eb00
lea rdx, [0x14000ecd0]
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 0x140016d26
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.14000eb00
mov rbx, rax
mov ecx, edi
call qword [sym.imp.libcurl.dll_curl_easy_strerror]
mov rdx, rax
mov rcx, rbx
call fcn.14000eb00
lea rdx, [0x14000ecd0]
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 0x140016d6b
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016d66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016d66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c0f0
vmovdqu xmm0, xmmword [0x14007a870]
vmovdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140016dbb
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016db6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016db6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c0f0
vmovdqu xmm0, xmmword [0x14007a870]
vmovdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x140016e0c
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016e06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016e06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c0f0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140016e4b
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016e45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016e45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c0f0
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x140016e89
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016e84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016e84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c0f0
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14006bd60
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