Function at 0x140003750
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x60]
mov edx, 0x20
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1400037b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenProcessToken_error:__u_n
call fcn.140001020
mov eax, 1
jmp 0x140003b02
mov rbx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x1400037e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LookupPrivilegeValue_error:__u_n
call fcn.140001020
jmp 0x14000385e
mov dword [rsp + 0x70], 1
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x74], rax
mov dword [rsp + 0x7c], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140003845
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.AdjustTokenPrivileges_error:__u_n
call fcn.140001020
jmp 0x14000385e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
jne 0x14000387c
lea rcx, str.The_token_does_not_have_the_specified_privilege._n
call fcn.140001020
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Enable_SeDebugPrivilege_error:__u_n
call fcn.140001020
mov eax, 1
jmp 0x140003b02
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, [0x140005c18]
call fcn.140001020
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0xc
mov qword [rsp + 0x58], 0xf
movsd xmm0, qword [str.winlogon.exe]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x140005c38]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0
lea rcx, [rsp + 0x40]
call fcn.1400035d0
mov ebx, eax
mov edx, eax
lea rcx, str.winlogon_
call fcn.140001020
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov rdx, rax
lea rcx, [0x140005ba0]
call fcn.140001020
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xf
mov ecx, 0x40
call fcn.140003ba8
mov rcx, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0x3b
mov qword [rsp + 0x58], 0x3f
movups xmm0, xmmword [str.F:cplusworkspaceWinLogonTestx64ReleaseWinLogonTest.dll]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140005c70]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140005c80]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x140005c90]
movsd qword [rax + 0x30], xmm0
movzx eax, word [0x140005c98]
mov word [rcx + 0x38], ax
movzx eax, byte [0x140005c9a]
mov byte [rcx + 0x3a], al
mov byte [rcx + 0x3b], 0
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140002300
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x74], edx
cmp qword [rbp + 0x20], 0
jne 0x140003a18
lea rdx, str.Error_while_reading_DLL_file_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002570
lea rdx, [0x140002740]
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]
jmp 0x140003a9d
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rcx, qword [rsp + 0x70]
add rcx, qword [rsp + 0x78]
call fcn.140003be4
mov rbx, rax
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
mov r8, qword [rsp + 0x78]
add r8, qword [rsp + 0x70]
mov rdx, rbx
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp - 0x60]
call fcn.140002240
test rax, rax
jne 0x140003a89
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
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 rdx, rbx
mov rcx, rdi
call fcn.140002a10
mov rcx, rbx
call fcn.140003ba0
nop
lea rcx, [rbp - 0x70]
call fcn.140001300
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140003ae7
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ae2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ae2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003ba0
lea rdx, str.ok__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002570
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140003b80
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret