Function at 0x140003740
Capabilities:
Acquire debug privileges
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov dword [rsp + 0x30], 0x57
mov eax, dword [rsp + 0x30]
xor al, 0x4f
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
inc al
xor al, 0x70
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x30]
add al, 2
xor al, 0x65
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x30]
add al, 3
xor al, 0x6e
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x30]
add al, 4
xor al, 0x50
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x30]
add al, 5
xor al, 0x72
mov byte [rsp + 0x39], al
mov eax, dword [rsp + 0x30]
add al, 6
xor al, 0x6f
mov byte [rsp + 0x3a], al
mov eax, dword [rsp + 0x30]
add al, 7
xor al, 0x63
mov byte [rsp + 0x3b], al
mov eax, dword [rsp + 0x30]
add al, 8
xor al, 0x65
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x30]
add al, 9
xor al, 0x73
mov byte [rsp + 0x3d], al
mov eax, dword [rsp + 0x30]
add al, 0xa
xor al, 0x73
mov byte [rsp + 0x3e], al
mov eax, dword [rsp + 0x30]
add al, 0xb
xor al, 0x54
mov byte [rsp + 0x3f], al
mov eax, dword [rsp + 0x30]
add al, 0xc
xor al, 0x6f
mov byte [rsp + 0x40], al
mov eax, dword [rsp + 0x30]
add al, 0xd
xor al, 0x6b
mov byte [rsp + 0x41], al
mov eax, dword [rsp + 0x30]
add al, 0xe
xor al, 0x65
mov byte [rsp + 0x42], al
mov eax, dword [rsp + 0x30]
add al, 0xf
xor al, 0x6e
mov byte [rsp + 0x43], al
xor eax, eax
mov byte [rsp + 0x44], al
xor esi, esi
movzx eax, byte [rsp + 0x34]
mov eax, esi
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rsp + rax + 0x34]
mov edx, dword [rsp + 0x30]
add dl, al
xor dl, cl
mov byte [rsp + rax + 0x34], dl
inc rax
cmp rax, 0x10
jb 0x140003850
mov byte [rsp + 0x44], sil
lea rdx, str.____Implementation_
mov ebx, dword [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001d50
mov rcx, rax
mov edx, 1
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___int____ptr64]
mov rcx, rax
lea rdx, str._with_key_0x
call fcn.140001d50
mov edx, 2
lea rcx, [rbp - 0x58]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov rdx, qword [r8 + 8]
add rcx, rdi
call qword [r8]
mov rax, qword [rdi]
lea rdx, [0x1400011c0]
movzx ebx, bl
movsxd rcx, dword [rax + 4]
mov byte [rcx + rdi + 0x58], 0x30
mov rcx, rdi
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1400011a0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x140001f20]
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 byte [rsp + 0x48], 0x64
mov rcx, rsi
mov byte [rsp + 0x49], 0x67
mov byte [rsp + 0x4a], 0x79
mov byte [rsp + 0x4b], 0x64
mov byte [rsp + 0x4c], 0x73
mov byte [rsp + 0x4d], 0x6c
mov byte [rsp + 0x4e], 0x36
mov byte [rsp + 0x4f], 0x35
mov byte [rsp + 0x50], 0x31
mov byte [rsp + 0x51], 0x67
mov byte [rsp + 0x52], 0x6f
mov byte [rsp + 0x53], 0x6f
mov byte [rsp + 0x54], sil
movzx eax, byte [rsp + 0x48]
nop dword [rax]
movzx eax, byte [rsp + rcx + 0x48]
sub al, 3
mov byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0xc
jb 0x140003960
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.____Implementation_
call fcn.140001d50
mov rcx, rax
mov edx, 2
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___int____ptr64]
mov rcx, rax
lea rdx, str._with_key_0x
call fcn.140001d50
mov edx, 2
lea rcx, [rbp - 0x48]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, rax
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov rdx, qword [r8 + 8]
add rcx, rbx
call qword [r8]
mov rax, qword [rbx]
lea rdx, [0x1400011c0]
movsxd rcx, dword [rax + 4]
mov byte [rcx + rbx + 0x58], 0x30
mov rcx, rbx
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, 0x6a
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1400011a0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x140001f20]
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 + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [rsp + 0x68], 0x4d
mov rcx, rsi
mov byte [rsp + 0x69], 0x70
mov r14, rax
mov byte [rsp + 0x6a], 0x76
mov byte [rsp + 0x6b], 0x81
mov byte [rsp + 0x6c], 0x7f
mov byte [rsp + 0x6d], 0x80
mov byte [rsp + 0x6e], 0x60
mov byte [rsp + 0x6f], 0x7b
mov byte [rsp + 0x70], 0x77
mov byte [rsp + 0x71], 0x71
mov byte [rsp + 0x72], 0x7a
mov byte [rsp + 0x73], 0x5c
mov byte [rsp + 0x74], 0x7e
mov byte [rsp + 0x75], 0x75
mov byte [rsp + 0x76], 0x82
mov byte [rsp + 0x77], 0x75
mov byte [rsp + 0x78], 0x78
mov byte [rsp + 0x79], 0x71
mov byte [rsp + 0x7a], 0x73
mov byte [rsp + 0x7b], 0x71
mov byte [rsp + 0x7c], 0x7f
mov byte [rsp + 0x7d], sil
movzx eax, byte [rsp + 0x68]
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x68]
sub al, 0xc
mov byte [rsp + rcx + 0x68], al
inc rcx
cmp rcx, 0x15
jb 0x140003ab0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.____Implementation_
call fcn.140001d50
mov rcx, rax
mov edx, 2
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___int____ptr64]
mov rcx, rax
lea rdx, str._with_key_0x
call fcn.140001d50
mov edx, 2
lea rcx, [rbp - 0x38]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, rax
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov rdx, qword [r8 + 8]
add rcx, rbx
call qword [r8]
mov rax, qword [rbx]
lea rdx, [0x1400011c0]
movsxd rcx, dword [rax + 4]
mov byte [rcx + rbx + 0x58], 0x30
mov rcx, rbx
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, 0xb
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1400011a0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x140001f20]
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 byte [rbp - 0x68], 0x6c
lea rcx, [rbp - 0x68]
mov byte [rbp - 0x67], 0x6f
mov byte [rbp - 0x66], 0x81
mov byte [rbp - 0x65], 0x6c
mov byte [rbp - 0x64], 0x7b
mov byte [rbp - 0x63], 0x74
mov byte [rbp - 0x62], 0x3e
mov byte [rbp - 0x61], 0x3d
mov byte [rbp - 0x60], 0x39
mov byte [rbp - 0x5f], 0x6f
mov byte [rbp - 0x5e], 0x77
mov byte [rbp - 0x5d], 0x77
mov byte [rbp - 0x5c], sil
movzx eax, byte [rbp - 0x68]
call fcn.140003e90
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [rbp - 0x80], 0x4d
mov rcx, rsi
mov byte [rbp - 0x7f], 0x70
mov rdi, rax
mov byte [rbp - 0x7e], 0x70
mov byte [rbp - 0x7d], 0x6c
mov byte [rbp - 0x7c], 0x76
mov byte [rbp - 0x7b], 0x71
mov byte [rbp - 0x7a], 0x51
mov byte [rbp - 0x79], 0x73
mov byte [rbp - 0x78], 0x6a
mov byte [rbp - 0x77], 0x77
mov byte [rbp - 0x76], 0x6a
mov byte [rbp - 0x75], 0x6d
mov byte [rbp - 0x74], 0x66
mov byte [rbp - 0x73], 0x68
mov byte [rbp - 0x72], 0x66
mov byte [rbp - 0x71], 0x57
mov byte [rbp - 0x70], 0x62
mov byte [rbp - 0x6f], 0x6d
mov byte [rbp - 0x6e], 0x76
mov byte [rbp - 0x6d], 0x66
mov byte [rbp - 0x6c], 0x58
mov byte [rbp - 0x6b], sil
movzx eax, byte [rbp - 0x80]
nop
movzx eax, byte [rbp + rcx - 0x80]
dec al
mov byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 0x15
jb 0x140003c20
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.____Implementation_
call fcn.140001d50
mov rcx, rax
mov edx, 2
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___int____ptr64]
mov rcx, rax
lea rdx, str._with_key_0x
call fcn.140001d50
mov edx, 2
lea rcx, [rbp - 0x28]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, rax
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov rdx, qword [r8 + 8]
add rcx, rbx
call qword [r8]
mov rax, qword [rbx]
lea rdx, [0x1400011c0]
movsxd rcx, dword [rax + 4]
mov byte [rcx + rbx + 0x58], 0x30
mov rcx, rbx
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, 0x27
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1400011a0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x140001f20]
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 byte [rsp + 0x58], 0x6b
mov rcx, rsi
mov byte [rsp + 0x59], 0x6e
mov byte [rsp + 0x5a], 0x80
mov byte [rsp + 0x5b], 0x6b
mov byte [rsp + 0x5c], 0x7a
mov byte [rsp + 0x5d], 0x73
mov byte [rsp + 0x5e], 0x3d
mov byte [rsp + 0x5f], 0x3c
mov byte [rsp + 0x60], 0x38
mov byte [rsp + 0x61], 0x6e
mov byte [rsp + 0x62], 0x76
mov byte [rsp + 0x63], 0x76
mov byte [rsp + 0x64], sil
movzx eax, byte [rsp + 0x58]
nop dword [rax]
movzx eax, byte [rsp + rcx + 0x58]
sub al, 0xa
mov byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 0xc
jb 0x140003d20
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.____Implementation_
call fcn.140001d50
mov rcx, rax
mov edx, 2
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___int____ptr64]
mov rcx, rax
lea rdx, str._with_key_0x
call fcn.140001d50
mov edx, 2
lea rcx, [rbp - 0x18]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, rax
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov rdx, qword [r8 + 8]
add rcx, rbx
call qword [r8]
mov rax, qword [rbx]
lea rdx, [0x1400011c0]
movsxd rcx, dword [rax + 4]
mov byte [rcx + rbx + 0x58], 0x30
mov rcx, rbx
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, 0x23
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1400011a0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x140001f20]
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 + 0x58]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp - 8]
mov edx, 0x20
mov rcx, rax
call r14
test eax, eax
je 0x140003e57
lea r8, [rbp + 4]
mov dword [rbp], 1
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call rbx
mov rcx, qword [rbp - 8]
lea r8, [rbp]
mov r9d, 0x10
mov qword [rsp + 0x28], rsi
xor edx, edx
mov dword [rbp + 0xc], 2
mov qword [rsp + 0x20], rsi
call rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 8]
test eax, eax
sete sil
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140003f80
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret