Function at 0x140001a60
Capabilities:
Execute command
Self delete

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 - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xor r13d, r13d
mov dword [rsp + 0x50], r13d
lea rdx, str.Downloading_CloudServerLauncherVersion.txt
call fcn.140003a30
mov rcx, rax
lea rdx, [0x140003c20]
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 rcx, str.powershell__Command___New_Object_Net.WebClient_.DownloadFile_https:__storage.gatoga.ru_ServerLauncherUpdates_CloudServerLauncherVersion.txt__C:_Users_user_AppData_Roaming_Launcher_CloudServerLauncherVersion.txt__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test eax, eax
jne 0x140002038
lea rdx, str.Downloading_CloudServerLauncherVersion.txt_complete
call fcn.140003a30
mov rcx, rax
lea rdx, [0x140003c20]
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 qword [rsp + 0x30], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], r13b
lea r8d, [r13 + 0x27]
lea rcx, [rsp + 0x30]
call fcn.140003590
nop
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1e
jb 0x140001b63
lea rax, [rcx + 0x1e]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x30]
add rbx, rcx
lea r8d, [r13 + 0x1e]
lea rdx, str.CloudServerLauncherVersion.txt
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1e], r13b
lea rax, [rsp + 0x30]
jmp 0x140001b82
mov qword [rsp + 0x20], 0x1e
lea r9, str.CloudServerLauncherVersion.txt
mov edx, 0x1e
lea rcx, [rsp + 0x30]
call fcn.140004080
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140001bec
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001be7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001be7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004754
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140006e60]
mov qword [rbp - 0x40], rax
lea rcx, [rbp + 0x70]
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 + 0x50], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x40]
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 - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x44], edx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x30]
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 - 0x30], rax
mov byte [rbp + 0x4c], 0
mov byte [rbp + 0x41], 0
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x50], r13
mov rax, qword [0x14000ab60]
mov qword [rbp + 0x44], rax
mov qword [rbp + 0x38], r13
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
mov r8d, 1
lea rcx, [rbp - 0x30]
call fcn.140003450
xor r8d, r8d
test rax, rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
je 0x140001ceb
add rcx, rax
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]
jmp 0x140001cf9
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.140003840
lea rcx, [rbp - 0x30]
call fcn.1400033a0
test rax, rax
jne 0x140001d49
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
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 r15, qword [rbp - 0x50]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 4
jb 0x140002091
lea r12, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae r12, qword [rbp - 0x60]
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
lea r14, [r15 + 4]
mov ebx, 0xf
lea rdi, [rbp - 0x80]
lea rsi, [rbx - 0x10]
cmp r14, rbx
jbe 0x140001e16
mov rbx, r14
mov eax, 0x10
cmp r14, rax
cmovb rbx, rax
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001db4
mov rbx, rcx
jmp 0x140001dc0
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
cmovb rcx, rsi
cmp rcx, 0x1000
jb 0x140001e00
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000208b
mov rcx, rax
call fcn.1400044c8
test rax, rax
je 0x140001ef5
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001e12
test rcx, rcx
je 0x140001e0f
call fcn.1400044c8
mov rdi, rax
jmp 0x140001e12
mov rdi, r13
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], rbx
mov dword [rdi], 0x206c6564
lea rcx, [rdi + 4]
mov r8, r15
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test eax, eax
lea rdx, str.Deleting_CloudServerLauncherVersion.txt_complete
je 0x140001e5e
lea rdx, str.Deleting_CloudServerLauncherVersion.txt_failed
call fcn.140003a30
lea rdx, [0x140003c20]
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 rcx, [rsp + 0x60]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x78]
cmp rdi, 0x10
cmovae rcx, rbx
mov r8, qword [rsp + 0x70]
test r8, r8
jne 0x140001ea4
lea rdx, [0x140006798]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140001ec3
lea rcx, [rsp + 0x60]
cmp rdi, 0x10
cmovae rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov esi, eax
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140001f0b
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001efc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001efc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004754
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
cmp rdi, 0x10
jb 0x140001f55
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140001f4d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140004754
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x44], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x30], rax
cmp qword [rbp + 0x50], 0
je 0x140001fc7
mov rax, qword [rbp - 0x18]
lea rcx, [rbp + 0x40]
cmp qword [rax], rcx
jne 0x140001fc7
mov rdx, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x58]
mov qword [rax], rcx
mov rax, qword [rbp + 8]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x20]
mov dword [rax], edx
cmp byte [rbp + 0x4c], 0
je 0x140001fd6
lea rcx, [rbp - 0x30]
call fcn.1400033a0
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x28]
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 + 0x70]
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 - 0x48]
cmp rdx, 0x10
jb 0x140002034
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000202f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000202f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004754
mov eax, esi
jmp 0x14000205b
lea rdx, str.Downloading_CloudServerLauncherVersion.txt_failed
call fcn.140003a30
mov rcx, rax
lea rdx, [0x140003c20]
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 rax, 0xffffffffffffffff
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1400043b0
lea r11, [rsp + 0x1e0]
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.140001320
nop
call fcn.1400013c0
int3