Function at 0x140001ba0
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14000a010]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xor edi, edi
mov dword [rbp - 0x78], edi
mov dword [rbp - 0x78], edi
mov dword [rbp - 0x74], edi
mov word [rbp - 0x70], 0x500
lea rax, [rsp + 0x60]
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
lea r8d, [rdi + 0x20]
mov dl, 2
lea rcx, [rbp - 0x74]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140001c40
lea r8, [rbp - 0x78]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140001c35
mov dword [rbp - 0x78], edi
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp dword [rbp - 0x78], 1
jne 0x1400021d0
lea rdx, [0x140006588]
call fcn.140003650
mov rcx, rax
lea rdx, [0x140003610]
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]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebx, eax
mov eax, 0x38e38e39
imul ebx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*8]
sub ebx, ecx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], 0xf
mov ecx, 0x30
call fcn.1400043e0
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x38], 0x25
mov qword [rbp - 0x30], 0x2f
movups xmm0, xmmword [str.C:WindowsSystem32driversetchosts]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400065e8]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x1400065f8]
mov dword [rax + 0x20], ecx
movzx ecx, byte [0x1400065fc]
mov byte [rax + 0x24], cl
mov byte [rax + 0x25], dil
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], 0xf
mov qword [rbp - 0x50], 0xf
movsd xmm0, qword [str.www.moezone.moe]
movsd qword [rbp - 0x68], xmm0
mov eax, dword [0x140006608]
mov dword [rbp - 0x60], eax
movzx eax, word [0x14000660c]
mov word [rbp - 0x5c], ax
movzx eax, byte [0x14000660e]
mov byte [rbp - 0x5a], al
mov byte [rbp - 0x59], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
lea rsi, [0x140000000]
cmp ebx, 8
ja case.0x140001d70.8
movsxd rax, ebx
mov ecx, dword [rsi + rax*4 + 0x2244]
add rcx, rsi
jmp rcx
movsd xmm0, qword [str.154.214.4.125]
mov eax, dword [0x140006618]
mov dword [rsp + 0x70], eax
movzx eax, byte [0x14000661c]
jmp 0x140001ebf
mov qword [rsp + 0x78], 0xc
movsd xmm0, qword [str.154.214.4.67]
mov eax, dword [0x140006628]
mov dword [rsp + 0x70], eax
mov byte [rsp + 0x74], 0
jmp 0x140001ed1
mov qword [rsp + 0x78], 0xc
movsd xmm0, qword [str.154.214.4.12]
mov eax, dword [0x140006638]
mov dword [rsp + 0x70], eax
mov byte [rsp + 0x74], 0
jmp 0x140001ed1
mov qword [rsp + 0x78], 0xc
movsd xmm0, qword [str.154.214.4.61]
mov eax, dword [0x140006648]
mov dword [rsp + 0x70], eax
mov byte [rsp + 0x74], 0
jmp 0x140001ed1
movsd xmm0, qword [str.172.247.129.6]
mov eax, dword [0x140006658]
mov dword [rsp + 0x70], eax
movzx eax, byte [0x14000665c]
jmp 0x140001ebf
mov qword [rsp + 0x78], 0xf
movsd xmm0, qword [str.156.251.190.134]
mov eax, dword [0x140006668]
mov dword [rsp + 0x70], eax
movzx eax, word [0x14000666c]
mov word [rsp + 0x74], ax
movzx eax, byte [0x14000666e]
mov byte [rsp + 0x76], al
mov byte [rsp + 0x77], 0
jmp 0x140001ed1
mov qword [rsp + 0x78], 0xe
movsd xmm0, qword [str.172.247.129.93]
mov eax, dword [0x140006678]
mov dword [rsp + 0x70], eax
movzx eax, word [0x14000667c]
mov word [rsp + 0x74], ax
mov byte [rsp + 0x76], 0
jmp 0x140001ed1
mov qword [rsp + 0x78], 0xc
movsd xmm0, qword [str.154.214.4.50]
mov eax, dword [0x140006688]
mov dword [rsp + 0x70], eax
mov byte [rsp + 0x74], 0
jmp 0x140001ed1
movsd xmm0, qword [str.154.208.9.143]
mov eax, dword [0x140006698]
mov dword [rsp + 0x70], eax
movzx eax, byte [0x14000669c]
mov qword [rsp + 0x78], 0xd
mov byte [rsp + 0x74], al
mov byte [rsp + 0x75], 0
movsd qword [rsp + 0x68], xmm0
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.140001290
test al, al
je 0x140001eff
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.1400015a0
jmp 0x1400020a2
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rbx, qword [rbp - 0x48]
lea rax, [rsi + 0x6770]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp - 0x78], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rsi
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x18], rax
mov byte [rbp + 0x64], 0
mov byte [rbp + 0x59], 0
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x68], rdi
mov rax, qword [0x14000a980]
mov qword [rbp + 0x5c], rax
mov qword [rbp + 0x50], rdi
mov r8d, 0xa
mov rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.1400034d0
test rax, rax
jne 0x140001fe7
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
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]
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x20], rsi
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x24], edx
lea rdx, [0x140003610]
lea rcx, [rbp - 0x20]
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 rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
lea rcx, [rbp - 0x20]
call fcn.140003d50
lea rdx, [0x140006584]
mov rcx, rax
call fcn.140003650
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
mov rcx, rax
call fcn.140003d50
mov rcx, rax
lea rdx, [0x140003610]
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, [rbp - 0x18]
call fcn.1400033c0
test rax, rax
jne 0x140002099
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
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]
nop
lea rcx, [rbp - 0x20]
call fcn.140001ae0
lea rdx, str.Hosts
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003650
mov rcx, rax
lea rdx, [0x140003610]
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 rdx, [0x1400065c8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003650
mov rcx, rax
lea rdx, [0x140003610]
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]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14000212e
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002129
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002129
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000441c
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14000217e
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002179
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002179
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000441c
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400021cc
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000441c
xor eax, eax
jmp 0x14000221a
lea rdx, [0x1400065a8]
call fcn.140003650
mov rcx, rax
lea rdx, [0x140003610]
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 rdx, [0x1400065c8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003650
mov rcx, rax
lea rdx, [0x140003610]
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]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov eax, 0xffffffff
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400043c0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret