Function at 0x43ee80
Capabilities:
Get token membership
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x230
mov esi, esp
mov dword [esi + 0x218], ebp
mov edi, dword [ebp + 8]
lea eax, [esi + 0x220]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x44fe10
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov eax, dword [0x7f2f14]
mov ecx, dword [0x7f325c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43f1b6
lea ebx, [esi + 0x70]
mov ecx, edi
push 3
push 0x797e81
push ebx
call fcn.0043c70e
mov ecx, 0x7e775c
push ebx
call fcn.004114fc
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jb 0x43ef13
inc eax
push eax
push dword [esi + 0x70]
call fcn.00404bbf
add esp, 8
mov eax, dword [0x7e776c]
test eax, eax
je 0x43ef45
mov ecx, 0x7e775c
cmp dword [0x7e7770], 0x10
jb 0x43ef30
mov ecx, dword [0x7e775c]
cmp byte [ecx + eax - 1], 0x20
jne 0x43ef45
lea edx, [eax - 1]
mov dword [0x7e776c], edx
mov byte [ecx + eax - 1], 0
xor eax, eax
mov dword [esi + 0x70], eax
mov word [esi + 0x74], 0x500
sub esp, 0x2c
lea ecx, [esi + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
movaps xmm0, xmmword [0x726330]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esi], eax
test eax, eax
je 0x43eff9
mov eax, esi
push eax
push dword [esi + 0x20]
push 0xfffffffffffffffc
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x43ef99
mov dword [esi], 0
push dword [esi + 0x20]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [esi], 1
jne 0x43eff9
call fcn.0040365e
add eax, 0x24
mov ecx, dword [edi]
mov edx, 0x7e775c
cmp dword [0x7e7770], 0x10
jb 0x43efc5
mov edx, dword [0x7e775c]
mov edi, dword [0x7e776c]
mov dword [esi + 0x70], edx
mov dword [esi + 0x74], edi
xor edx, edx
mov dword [esi + 0x78], edx
sub esp, 0x10
mov dword [esp + 8], edx
movsd xmm0, qword [esi + 0x70]
movsd qword [esp], xmm0
mov dword [esp + 0xc], ecx
mov ecx, eax
call fcn.0043c9c8
mov edi, eax
jmp 0x43f19e
xor eax, eax
mov byte [esi + 0x20], al
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov byte [esi + 0x2c], 1
mov byte [esi + 0x34], al
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0x7e775c
mov byte [esi + 0x40], al
mov eax, dword [0x7f2f30]
mov ecx, dword [0x7f325c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43f1ef
mov eax, dword [0x7f2f28]
mov ecx, 0x7f2f18
cmp dword [0x7f2f2c], 0x10
jb 0x43f052
mov ecx, dword [0x7f2f18]
xor edx, edx
mov dword [esi + 0x228], edx
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, eax
cmp edx, dword [0x7f2f28]
jb 0x43f0c1
add edx, 0x104
mov ecx, 0x7f2f18
push 0
push edx
call fcn.0040b9bc
mov eax, 0x7f2f18
cmp dword [0x7f2f2c], 0x10
jb 0x43f093
mov eax, dword [0x7f2f18]
push dword [0x7f2f28]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0x7f2f18
push 0
push eax
mov dword [esi + 0x30], eax
call fcn.0040b9bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 0x30]
test eax, eax
jne 0x43f065
jmp 0x43f0ce
mov ecx, 0x7f2f18
push 0
push edx
call fcn.0040b9bc
xorps xmm0, xmm0
movsd qword [esi + 0x10], xmm0
xorps xmm0, xmm0
movaps xmmword [esi], xmm0
mov eax, dword [0x7f2f28]
mov edx, 0x7f2f18
cmp dword [0x7f2f2c], 0x10
jb 0x43f0f5
mov edx, dword [0x7f2f18]
mov ecx, esi
push eax
push edx
call fcn.00410ad6
mov dword [esi + 0x228], 2
lea eax, [esi + 0x34]
lea ecx, [esi + 0x70]
push 0xa
lea edx, [esi + 0x20]
push edx
push eax
mov eax, esi
push eax
call fcn.0043f32c
xor ecx, ecx
lea eax, [esi + 0x64]
mov byte [eax], cl
lea edx, [esi + 0x54]
mov byte [edx], cl
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
lea edi, [esi + 0x44]
mov byte [edi], cl
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov cl, 1
mov byte [eax + 8], cl
mov byte [edx + 0xc], cl
mov byte [edi + 0xc], cl
mov dword [esi + 0x228], 3
lea ecx, [esi + 0x70]
push eax
push edx
push edi
call fcn.0043f462
mov ebx, eax
xor bl, 1
lea ecx, [esi + 0x44]
call fcn.00440bea
lea ecx, [esi + 0x54]
call fcn.00440bea
lea ecx, [esi + 0x70]
call fcn.0043f57c
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x43f18b
inc eax
push eax
push dword [esi]
call fcn.00404bbf
add esp, 8
movzx edi, bl
lea ecx, [esi + 0x34]
call fcn.00440bea
lea ecx, [esi + 0x20]
call fcn.00440bea
mov eax, dword [esi + 0x220]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x7f2f14
call fcn.0053e579
add esp, 4
cmp dword [0x7f2f14], 0xffffffff
jne 0x43eee1
push 0x40247f
call fcn.0053e73b
add esp, 4
push 0x7f2f14
call fcn.0053e5f3
add esp, 4
jmp 0x43eee1
push 0x7f2f30
call fcn.0053e579
add esp, 4
cmp dword [0x7f2f30], 0xffffffff
jne 0x43f039
xorps xmm0, xmm0
movsd qword [0x7f2f28], xmm0
xorps xmm0, xmm0
movups xmmword [0x7f2f18], xmm0
mov dword [esi + 0x228], 1
push 0x110
call fcn.0053e4fc
add esp, 4
mov dword [0x7f2f18], eax
mov dword [0x7f2f28], 0x104
mov dword [0x7f2f2c], 0x10f
push 0x105
push 0
push eax
call fcn.006fba50
add esp, 0xc
push 0x4024b5
call fcn.0053e73b
add esp, 4
push 0x7f2f30
call fcn.0053e5f3
add esp, 4
jmp 0x43f039