Function at 0x140033cc0
Capabilities:
Get token membership
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rbp + 0x240], rax
xor ebx, ebx
mov qword [rbp - 8], rbx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], 7
mov word [rbp - 8], bx
lea r8d, [rbx + 0x20]
lea rdx, str.disable_runas_admin_check_report
lea rcx, [rbp - 8]
call fcn.14000a430
nop
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], bx
lea r8d, [rbx + 7]
lea rdx, str.general
lea rcx, [rbp - 0x68]
call fcn.14000a430
nop
lea rcx, [rsp + 0x70]
call fcn.140037670
nop
lea rdx, str.local_store.dat
lea rcx, [rsp + 0x70]
call fcn.14000cd60
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x40]
call fcn.140245f10
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rdx, qword [rbp - 8]
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0x40]
lea r8, str.false
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, str.true
lea rcx, [rbp + 0x40]
call fcn.140256824
test eax, eax
sete dil
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140033dea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140033e2a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033e25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003425f
call fcn.1402434a4
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], bx
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x140033e7a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033e75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034265
call fcn.1402434a4
test dil, dil
je 0x140033e9e
lea r8, str.report_is_disabled
lea rdx, str.ReportStatusIfNeed
lea rcx, str.UpdateReporter
call fcn.140039ff0
jmp 0x1400341fa
mov dword [rbp - 0x74], 0
mov word [rbp - 0x70], 0x500
mov qword [rsp + 0x78], rbx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp - 0x74]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x1400341fa
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x1400341fa
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov edx, dword [rsp + 0x60]
mov ecx, 1
test eax, eax
cmovne edx, ecx
mov dword [rsp + 0x60], edx
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140033f37
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov edx, dword [rsp + 0x60]
test edx, edx
je 0x1400341fa
mov edi, ebx
mov qword [rbp - 0x80], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x80]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140033f8e
mov dword [rsp + 0x64], ebx
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x64]
lea edx, [r9 + 0x10]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne edi, dword [rsp + 0x64]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140033f9d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1400341fa
lea r8, str.Updater_runas_admin___
lea rdx, str.ReportStatusIfNeed
lea rcx, str.UpdateReporter
call fcn.140039ff0
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], bx
mov r8d, 4
lea rdx, str.true
lea rcx, [rbp + 0x18]
call fcn.14000a430
nop
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], bx
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.updater_runas_admin
lea rcx, [rbp - 0x28]
call fcn.14000a430
nop
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], bx
mov r8d, 7
lea rdx, str.general
lea rcx, [rbp - 0x48]
call fcn.14000a430
nop
lea rcx, [rsp + 0x68]
call fcn.140037670
nop
lea rdx, str.local_store.dat
lea rcx, [rsp + 0x68]
call fcn.14000cd60
lea r8, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae r8, qword [rbp + 0x18]
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
mov r9, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400340af
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400340ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400340ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003426b
call fcn.1402434a4
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], bx
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x14003413f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003413a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034271
call fcn.1402434a4
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], bx
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x14003418f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003418a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034277
call fcn.1402434a4
mov ecx, dword [0x1403771f8]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x140372964], eax
jg 0x140034222
mov rax, qword [0x140372930]
test rax, rax
jne 0x1400341e6
mov ecx, 0xb0
call fcn.140242f80
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400341dd
mov rcx, rax
call fcn.14001bce0
mov rbx, rax
mov qword [0x140372930], rbx
jmp 0x1400341e9
mov rbx, rax
xor r8d, r8d
mov edx, dword [0x140372960]
mov rcx, rbx
call fcn.140025b40
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1402435c0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rcx, [0x140372964]
call fcn.140243394
cmp dword [0x140372964], 0xffffffff
jne 0x1400341b2
lea rcx, [0x14028bcb0]
call qword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x140372960], eax
lea rcx, [0x140372964]
call fcn.140243334
jmp 0x1400341b2
call fcn.14024a84c
nop
call fcn.14024a84c
nop
call fcn.14024a84c
nop
call fcn.14024a84c
nop
call fcn.14024a84c
int3