Function at 0x140016870
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 - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140089010]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor esi, esi
mov dword [rsp + 0x44], esi
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x58], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x68], xmm1
lea r8d, [rsi + 0x3d]
lea rdx, str.https:__raw.githubusercontent.com_Forbidi_Loader_main_ver.txt
lea rcx, [rbp + 0x58]
call fcn.140014c90
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.140014c90
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.4.0
lea rcx, [rbp - 0x28]
call fcn.140014c90
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x68], xmm0
vmovdqu xmm1, xmmword [0x14007a910]
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.140014c90
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 0x140016fd1
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, [0x140016840]
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 0x140016f93
lea edx, [rsi + 2]
mov rcx, qword [0x14010b9d8]
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.14000eea0
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
mov rcx, rax
call fcn.14000f950
lea rdx, [0x14000f070]
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 edx, [rsi + 4]
mov rcx, qword [0x14010b9d8]
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.14000eea0
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
mov rcx, rax
call fcn.14000f950
lea rdx, [0x14000f070]
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 edx, [rsi + 7]
mov rcx, qword [0x14010b9d8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [rsp + 0x50]
call fcn.140018cd0
mov rbx, rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x48], xmm0
vmovdqu xmm1, xmmword [0x14007a910]
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, [0x140077d30]
lea rcx, [rsp + 0x78]
call fcn.140014c90
nop
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae r9, qword [rbp - 0x68]
add r9, qword [rbp - 0x58]
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.14001adb0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140016b4b
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016b46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016b46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c3b0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140016b89
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016b84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016b84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c3b0
vmovups ymm0, ymmword [rbp - 0x48]
vmovups ymmword [rbp - 0x68], ymm0
vmovdqu xmm1, xmmword [0x14007a910]
vmovdqu xmmword [rbp - 0x38], xmm1
mov byte [rbp - 0x48], 0
lea rcx, [rsp + 0x50]
vzeroupper
call fcn.140019990
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140016bd7
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140016bd7
mov rcx, qword [rax]
mov r9, qword [rcx]
mov edx, 1
mov rcx, rax
call r9
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x38], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x48], xmm1
mov r8d, 5
lea rdx, str.1.4.0
lea rcx, [rbp + 0x38]
call fcn.140014c90
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x38]
call fcn.1400164d0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test eax, eax
jns 0x140016f31
lea rdx, str.Do_you_want_to_download_the_new_version___Y_N_:
call fcn.14000eea0
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.140019ca0
movsx ecx, byte [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
cmp eax, 0x59
jne 0x140016f4d
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 + 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x78]
call fcn.140017170
nop
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
lea rcx, [rbp + 0x80]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
je 0x140016cc2
lea rdx, [0x140070e06]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000eea0
lea rdx, [0x14000f070]
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 [0x14010a320]
cmp rdi, rax
ja 0x140016d10
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 [rbx + rdi], 0
jmp 0x140016d20
mov rdx, rdi
lea rcx, [0x14010a308]
call fcn.14000f320
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140016d5f
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016d5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016d5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c3b0
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x28]
sub rax, rcx
cmp rax, 0xf
jb 0x140017169
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.14000f800
nop
mov r8d, 0x1f
lea rdx, str.___output_Loader.zip___insecure
lea rcx, [rsp + 0x78]
call fcn.14000ec10
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 0x140016e33
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016e2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016e2b
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
vzeroupper
call fcn.14006c3b0
vmovdqu xmm0, xmmword [0x14007a910]
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 0x140016ecd
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.14000eea0
lea rdx, [0x14000f070]
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.1400056c0
mov ecx, 0x64
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.14000eea0
lea rdx, [0x14000f070]
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 0x140016f53
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016f2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016f2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c3b0
jmp 0x140016f53
lea rdx, str.Current_version_is_the_latest.
call fcn.14000eea0
lea rdx, [0x14000f070]
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.140004160
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x140016fd1
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016f8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016f8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c3b0
jmp 0x140016fd1
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.14000eea0
mov rbx, rax
mov ecx, edi
call qword [sym.imp.libcurl.dll_curl_easy_strerror]
mov rdx, rax
mov rcx, rbx
call fcn.14000eea0
lea rdx, [0x14000f070]
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.140004160
call qword [sym.imp.libcurl.dll_curl_global_cleanup]
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140017016
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017011
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017011
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c3b0
vmovdqu xmm0, xmmword [0x14007a910]
vmovdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140017065
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017060
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017060
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c3b0
vmovdqu xmm0, xmmword [0x14007a910]
vmovdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400170b4
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400170af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400170af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c3b0
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x140017103
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400170fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400170fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c3b0
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x140017141
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001713c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001713c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c3b0
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14006c020
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140001a20
nop
int3