Function at 0x140001290
Capabilities:
Download url
Receive data

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 - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x140008010]
xor rax, rsp
mov qword [rbp + 0xe0], rax
xor r13d, r13d
mov dword [rsp + 0x70], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [0x140005514]
lea rdx, str.https:__mirror.ghproxy.com_https:__raw.githubusercontent.com_1771245847_NodeSubscriber_master_node.txt
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov ebx, 0xf
mov qword [rbp - 0x38], rbx
mov byte [rbp - 0x50], r13b
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], rbx
mov byte [rbp - 0x70], r13b
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140005638]
mov qword [rbp - 0x30], rax
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r12d, 4
mov dword [rsp + 0x70], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rsi
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x34], edx
lea rax, [rbp - 0x20]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x20], rax
mov byte [rbp + 0x5c], r13b
mov byte [rbp + 0x51], r13b
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x60], r13
mov rax, qword [0x1400088e0]
mov qword [rbp + 0x54], rax
mov qword [rbp + 0x48], r13
lea edx, [rbx - 0xe]
lea r8d, [r13 + 0x40]
lea rcx, str.D:_node.txt
call qword [sym.imp.MSVCP140.dll_struct__iobuf____ptr64___cdecl_std::_Fiopen_char_const____ptr64__int__int_]
mov rdi, rax
test rax, rax
jne 0x140001405
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [rbx - 0xd]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
jmp 0x1400014f0
mov byte [rbp + 0x5c], 1
mov byte [rbp + 0x51], 0
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x80], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], r13
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_stream_buffer_pointers]
mov r9, qword [rsp + 0x70]
mov qword [rsp + 0x30], r9
mov r8, qword [rsp + 0x78]
mov qword [rsp + 0x28], r8
mov rdx, qword [rbp - 0x80]
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64__char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64____ptr64]
mov qword [rbp + 0x60], rdi
mov rax, qword [0x1400088e0]
mov qword [rbp + 0x54], rax
mov qword [rbp + 0x48], r13
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void____ptr64]
nop
mov rcx, rax
call fcn.140002990
mov rdi, rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::codecvt_base::always_noconv_void_const___ptr64]
test al, al
je 0x1400014a4
mov qword [rbp + 0x48], r13
jmp 0x1400014b3
mov qword [rbp + 0x48], rdi
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400014d6
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400014d6
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
cmp qword [rbp + 0x60], 0
jne 0x140001508
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400027e0
jmp 0x1400017a9
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140002e20
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140001787
mov edx, 0x16
movabs rcx, 0x8000000000000000
movabs rax, 0x7fffffffffffffff
mov rsi, qword [rbp - 0x60]
cmp rsi, rax
je 0x1400018b2
lea r15, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae r15, qword [rbp - 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea r14, [rsi + 1]
mov ebx, 0xf
lea rdi, [rsp + 0x40]
cmp r14, rbx
jbe 0x140001608
mov rbx, r14
or rbx, 0xf
cmp rbx, rax
jbe 0x1400015b0
mov rbx, rax
lea rax, [rcx + 0x27]
jmp 0x1400015d2
cmp rbx, 0x16
cmovb rbx, rdx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400015f1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400018b8
mov rcx, rax
call fcn.140003230
test rax, rax
je 0x140001829
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001603
test rcx, rcx
je 0x140001600
call fcn.140003230
mov rdi, rax
jmp 0x140001603
mov rdi, r13
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rbx
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0xa
mov byte [rdi + r14], 0
or r12d, 1
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae r9, qword [rbp - 0x50]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
mov rdi, qword [rbp - 0x40]
cmp rdi, rax
ja 0x140001688
lea rax, [rdi + rcx]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x40]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
lea rax, [rsp + 0x40]
jmp 0x14000169a
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140002c00
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r12d, 2
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140001701
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001822
call fcn.14000326c
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm1
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140001746
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001741
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001829
call fcn.14000326c
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140002e20
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x140001542
lea rsi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002fc0
mov rbx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x30], rsi
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x20]
call fcn.1400024d0
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140001835
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001830
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001830
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000326c
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
cmp rbx, 0x10
jb 0x140001880
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000187b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000187b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000326c
xor eax, eax
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140003210
lea r11, [rsp + 0x1f0]
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.1400011b0
nop
call fcn.140001110
int3