Function at 0x140050ce0
Capabilities:
Download url
Receive data
Set console window title
Terminate process

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 - 0x60]
sub rsp, 0x160
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rbp + 0x58], rax
xor esi, esi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x58], rsi
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x50], rdi
mov byte [rbp - 0x68], sil
lea r8d, [rsi + 3]
lea rdx, [0x1401415f4]
lea rcx, [rbp - 0x68]
call fcn.140059490
nop
mov r14, qword [rbp - 0x58]
test r14, r14
jne 0x140050d50
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdi
mov r8d, 0x42
lea rdx, str.https:__raw.githubusercontent.com_Zocey_autoupdate_main_samirv.txt
lea rcx, [rsp + 0x58]
call fcn.140059490
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.1400504c0
nop
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
lea rbx, [rbp - 0x68]
mov r13, qword [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rbx, r13
cmp r14, 0x10
jae 0x140050db8
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x78], xmm0
mov rsi, qword [rsp + 0x78]
jmp 0x140050e2a
mov rdi, r14
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140050e09
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140051279
mov rcx, rax
call fcn.1400bd318
test rax, rax
je 0x1400511bc
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140050e16
test rcx, rcx
je 0x140050e16
call fcn.1400bd318
mov rsi, rax
mov qword [rsp + 0x78], rsi
lea r8, [r14 + 1]
mov rdx, rbx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rax, rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x78], r14
lea r15, [rsp + 0x78]
cmp rax, 0x10
cmovae r15, rsi
lea rax, [rbp - 0x48]
mov r12, qword [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rax, r12
mov qword [rsp + 0x30], rax
mov rcx, qword [rbp - 0x38]
cmp r14, rcx
ja 0x140050ec5
sub rcx, r14
inc rcx
add rcx, rax
mov qword [rsp + 0x58], rcx
movsx edx, byte [r15]
mov r8, rcx
sub r8, rax
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140050ec5
nop dword [rax]
mov r8, r14
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140051182
inc rbx
mov r8, qword [rsp + 0x58]
sub r8, rbx
movsx edx, byte [r15]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140050e90
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x140141630]
lea rcx, str.conin_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x140141b0c]
lea rcx, str.conout_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x140141b0c]
lea rcx, str.conout_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
lea rcx, str.Redflag_Bypass_Auto_Updater
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0x133
mov r9d, 0x1c9
mov r8d, dword [rsp + 0x58]
mov edx, dword [rsp + 0x5c]
mov rcx, rbx
call qword [sym.imp.USER32.dll_MoveWindow]
lea rdx, str.Checking_For_New_Updates
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400599e0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x140141b54]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400599e0
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x140141b54]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400599e0
mov ecx, 0x384
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x140141b54]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400599e0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str._nNew_Update_Detected_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400599e0
lea rdx, [0x140059bb0]
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, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str._nUpdating_Bypass
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400599e0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x140141b54]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400599e0
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x140141b54]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400599e0
mov ecx, 0x384
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x140141b54]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400599e0
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.https:__raw.githubusercontent.com_Zocey_autoupdate_main_RedFlag.txt
lea rcx, [rsp + 0x38]
call fcn.140058af0
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.1400504c0
nop
lea rcx, [rbp + 0x18]
call fcn.140058840
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140058af0
nop
lea rcx, [rbp - 0x28]
call fcn.140058840
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.140058af0
nop
lea rcx, [rsp + 0x38]
call fcn.14004ef60
nop
lea r8, str..exe
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.140059bf0
nop
lea rcx, [rsp + 0x38]
call fcn.140058a00
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 8]
call fcn.140058840
mov rbx, rax
lea rcx, [rbp - 0x28]
call fcn.140058840
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rbx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
lea rdx, str._nUpdate_Is_Done.._Open_RedFlag_Again_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400599e0
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 8]
call fcn.140058840
mov rcx, rax
call fcn.140050b10
call fcn.140050bd0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
sub rbx, qword [rsp + 0x30]
cmp rbx, 0xffffffffffffffff
je 0x140050ec5
cmp rdi, 0x10
jb 0x1400511cc
lea rdx, [rdi + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400511c3
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400511c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400bd5b8
nop
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x14005120c
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x140051203
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051203
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1400bd5b8
nop
mov rax, qword [rbp - 0x50]
cmp rax, 0x10
jb 0x14005124a
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x140051242
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051242
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.1400bd5b8
mov al, 1
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.1400bd060
lea r11, [rsp + 0x160]
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.14004a4a0
nop
int3