Function at 0x140001400
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x14000a010]
xor rax, rsp
mov qword [rbp + 0x230], rax
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x1400067f0]
movdqu xmmword [rbp - 0x68], xmm1
mov byte [rbp - 0x78], bl
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.C:_vampy_srcversion.ini
lea rcx, [rbp + 0xb0]
call fcn.140003240
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xb0]
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 - 0x78]
lea rcx, [rbp + 0xb0]
call fcn.140003ee0
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rsp + 0x58]
lea rdx, str.https:__github.com_vampycloudia_hanikorekhar_raw_main_srcversion.ini
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLOpenBlockingStreamA]
test eax, eax
jne 0x140001713
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400067d8]
mov qword [rbp - 0x50], rax
lea rax, [0x140006718]
mov qword [rbp - 0x40], rax
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 1
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x50], rdi
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x30], rbx
mov dword [rbp + 0x38], ebx
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea r9, [rsp + 0x60]
lea r8d, [rbx + 0x64]
lea rdx, [rbp + 0x1c0]
call qword [rax + 0x18]
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400015b9
nop word [rax + rax]
mov r8d, eax
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x40]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea r9, [rsp + 0x60]
mov r8d, 0x64
lea rdx, [rbp + 0x1c0]
call qword [rax + 0x18]
mov eax, dword [rsp + 0x60]
test eax, eax
jne 0x140001580
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x1400067f0]
movdqu xmmword [rsp + 0x78], xmm1
mov byte [rsp + 0x68], 0
mov dword [rsp + 0x30], 5
movups xmmword [rsp + 0x38], xmm0
mov ecx, dword [rbp + 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140001619
mov rax, qword [rbp + 8]
mov r8, qword [rax]
test r8, r8
je 0x140001619
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x30]
cmovb r8, qword [rbp + 0x30]
sub r8, rdx
jmp 0x14000164a
test cl, 4
jne 0x140001640
mov rax, qword [rbp]
mov rcx, qword [rax]
test rcx, rcx
je 0x140001640
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x18]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x14000164a
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14000165a
lea rcx, [rsp + 0x68]
call fcn.140003850
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
setne bl
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400016c3
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000436c
movdqa xmm0, xmmword [0x1400067f0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], rdi
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x38]
call fcn.1400024f0
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xc0]
call fcn.140003160
lea rcx, [rbp + 0xc8]
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 + 0x160]
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 - 0x60]
cmp rdx, 0x10
jb 0x1400017aa
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000436c
mov eax, ebx
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140004310
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret