Function at 0x445970
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531b28
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x599850]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x254]
mov dword [ebp - 0x260], str.dbg.dll
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x25c], str.version.dll
push eax
push ecx
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x258], 0x53d0b4
call fcn.00443d90
push 0x104
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x445a15
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00444e90
add esp, 8
mov byte [ebp - 0x261], al
jmp 0x445a1c
mov byte [ebp - 0x261], 0
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
call fcn.00443f00
cmp byte [ebp - 0x261], 0
jne 0x445a3c
call fcn.00436bf0
call fcn.00445800
lea eax, [ebp - 0x268]
mov dword [ebp - 0x224], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x224]
mov word [ebp - 0x220], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x26c], eax
test eax, eax
je 0x445ab8
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x268]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x268]
neg eax
sbb eax, eax
and dword [ebp - 0x26c], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x26c]
cmp eax, 1
jne 0x445ac2
call fcn.00444210
lea eax, [ebp - 0x23c]
push eax
call fcn.00435bc0
mov ecx, dword [ebp - 0x228]
add esp, 4
cmp ecx, 0x10
jb 0x445b0b
mov edx, dword [ebp - 0x23c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x445b01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445e31
push ecx
push edx
call fcn.004ff746
add esp, 8
call fcn.00436d70
mov dword [ebp - 4], 1
call fcn.004439d0
test al, al
jne 0x445b31
call fcn.00443a40
call fcn.004439e0
xor eax, eax
jmp 0x445e13
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5a4408]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x5a05c8]
cmp eax, dword [esi + 0xc]
jg 0x445e36
mov eax, dword [0x5a05d4]
cmp eax, dword [esi + 0xc]
jg 0x445e81
mov edx, dword [str.IQOptionUpdater]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x244], 0
movups xmmword [ebp - 0x254], xmm0
mov dword [ebp - 0x240], 0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x445b90
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x254]
call fcn.0040b4f0
push 0xa
push str.Helper.exe
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 3
call fcn.00415020
mov dword [ebp - 0x22c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 0x228], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x23c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x22c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x240]
mov byte [ebp - 4], 5
cmp ecx, 0x10
jb 0x445c40
mov edx, dword [ebp - 0x254]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x445c36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445ec5
push ecx
push edx
call fcn.004ff746
add esp, 8
push 0
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x244], 0
push eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x240], 0xf
push eax
mov byte [ebp - 0x254], 0
call fcn.0044c7c0
add esp, 0xc
mov esi, dword [ebp - 0x260]
mov edi, dword [ebp - 0x25c]
mov byte [ebp - 4], 6
cmp esi, edi
je 0x445c96
push dword [esi]
call fcn.0044d470
add esp, 4
add esi, 4
jmp 0x445c83
mov esi, dword [0x598648]
push 0x10
call fcn.004ff716
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x445cc2
mov dword [ecx + 4], 1
mov dword [ecx + 8], 1
mov dword [ecx], vtable.std::_Ref_count_obj2_class_WindowsTask_.0
jmp 0x445cc4
xor ecx, ecx
lea eax, [ecx + 0xc]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x224], eax
push 0x5a05cc
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 7
push esi
push eax
call fcn.00444b70
mov esi, dword [ebp - 0x220]
mov cl, al
xor eax, eax
add esp, 0xc
test cl, cl
sete al
mov dword [ebp - 0x268], eax
test esi, esi
je 0x445d26
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x445d26
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x445d26
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x260]
test edx, edx
je 0x445d81
mov ecx, dword [ebp - 0x258]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x445d59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445eca
push ecx
push edx
call fcn.004ff746
add esp, 8
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov ecx, dword [ebp - 0x228]
cmp ecx, 0x10
jb 0x445dbb
mov edx, dword [ebp - 0x23c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x445db1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445eca
push ecx
push edx
call fcn.004ff746
add esp, 8
mov eax, dword [ebp - 0x268]
jmp 0x445e13
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ff754
mov esp, ebp
pop ebp
ret 0x10
call fcn.00508363
push 0x5a05c8
call fcn.004ffb5e
add esp, 4
cmp dword [0x5a05c8], 0xffffffff
jne 0x445b51
push 0x5a05b0
mov byte [ebp - 4], 2
call fcn.0044b2d0
add esp, 4
push 0x537600
call fcn.004ffa16
push 0x5a05c8
mov byte [ebp - 4], 1
call fcn.004ffb14
add esp, 8
jmp 0x445b51
push 0x5a05d4
call fcn.004ffb5e
add esp, 4
cmp dword [0x5a05d4], 0xffffffff
jne 0x445b62
cmp dword [0x5a05c4], 0x10
mov eax, 0x5a05b0
push 0x5a05d4
cmovae eax, dword [0x5a05b0]
mov dword [0x5a05cc], eax
call fcn.004ffb14
add esp, 4
jmp 0x445b62
call fcn.00508363
call fcn.00508363
int3