Function at 0x467446
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call fcn.0045c4aa
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], eax
call fcn.0044ea5a
lea edx, [esp + 0x28]
lea ecx, [esp + 0x40]
call fcn.004868c5
lea edx, [esp + 0x14]
mov ecx, eax
call fcn.00487ccf
xor esi, esi
lea ecx, [esp + 0x40]
push edi
inc esi
push esi
call fcn.00451108
push edi
push esi
lea ecx, [esp + 0x30]
call fcn.0044ea87
push str.OnlyForkInstallDependent
lea ecx, [esp + 0x2c]
call fcn.00450dd2
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call fcn.00467a26
mov edx, eax
mov ecx, 0x56b674
call fcn.00467b27
push edi
push esi
lea ecx, [esp + 0x30]
mov bl, al
call fcn.00451108
mov eax, str.wsWAE.log
test bl, bl
mov ecx, 0x56b678
cmove ecx, eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00450dd2
lea ecx, [esp + 0x28]
call fcn.00466bfb
push edi
push esi
lea ecx, [esp + 0x30]
call fcn.00451108
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x59d50c], edi
je 0x467547
movzx eax, bl
push eax
call esi
push eax
push str._INFO___d___start__fork__d_.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x14
push 0x466de0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
xor ecx, ecx
mov word [esp + 0x24], 0x500
lea eax, [esp + 0xc]
mov dword [esp + 0x10], ecx
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push 0x220
push 0x20
push 2
lea eax, [esp + 0x48]
mov dword [esp + 0x34], ecx
push eax
mov dword [esp + 0x4c], ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
xor edi, edi
test eax, eax
je 0x4675b8
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [esp + 0xc]
test eax, eax
setne al
xor ecx, ecx
test al, al
cmovne ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [esp + 0x10], 0
jne 0x4675f2
cmp dword [0x59d50c], 0
je 0x4675e0
call esi
push eax
push str._ERROR___d___You_must_be_logged_in_as_administrator_when_installing_this_program.
push 1
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
test bl, bl
jne 0x467639
push 0x10
push 0x56b71c
push str.You_must_be_logged_in_as_administrator_when_installing_this_program.
jmp 0x467632
mov byte [0x59dd61], bl
call fcn.0046b225
test al, al
jne 0x467641
cmp dword [0x59d50c], 0
je 0x467622
call esi
push eax
push str._ERROR___d___LoadLocalXml_failed_
push 1
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
test bl, bl
jne 0x467639
push 0x10
push 0x56b7d8
push str.Load_product_xml_error.
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
or esi, 0xffffffff
jmp 0x467a04
call fcn.0046d79f
test bl, bl
je 0x46772b
push str.HostLang
lea ecx, [esp + 0x44]
call fcn.00450dd2
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
call fcn.00467a26
push eax
call fcn.0046e897
push edi
push 1
lea ecx, [esp + 0x48]
call fcn.00451108
push str.HostVersion
lea ecx, [esp + 0x44]
call fcn.00450dd2
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
call fcn.00467a26
push eax
mov ecx, 0x59dd64
call fcn.004510b3
push edi
push 1
lea ecx, [esp + 0x48]
call fcn.00451108
push str.HostHwnd
lea ecx, [esp + 0x44]
call fcn.00450dd2
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
call fcn.00467a26
push eax
lea ecx, [esp + 0x2c]
call fcn.0044f86d
push edi
push 1
lea ecx, [esp + 0x48]
call fcn.00451108
cmp dword [esp + 0x38], 0
je 0x46771f
push ecx
lea ecx, [esp + 0x2c]
call fcn.00467ef1
cmp dword [0x59d50c], 0
mov edi, eax
pop ecx
je 0x467717
push edi
call esi
push eax
push str._INFO___d___set_host_hwnd__x_.
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x14
mov dword [0x59dd7c], edi
xor edi, edi
push edi
push 1
lea ecx, [esp + 0x30]
call fcn.00451108
lea ecx, [esp + 0x88]
call fcn.0044ec9b
cmp dword [0x59d660], 8
mov eax, 0x59d64c
push ecx
cmovae eax, dword [0x59d64c]
mov ecx, esp
push eax
call fcn.00450c1b
lea ecx, [esp + 0x8c]
call fcn.0044f33b
test eax, eax
jne 0x4677a2
cmp dword [0x59d50c], eax
je 0x467783
call esi
push eax
push str._ERROR___d___loadLangXML_failed_
push 1
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
test bl, bl
jne 0x46779a
push 0x10
push str.Error
push str.Load_lang_xml_error.
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
or esi, 0xffffffff
jmp 0x4679f8
push 0x59d664
lea ecx, [esp + 0x5c]
call fcn.0044f86d
push str._wae
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x74]
call fcn.00454143
pop ecx
test bl, bl
je 0x4677de
mov edi, str._fork
push edi
call fcn.00450dae
pop ecx
push eax
push edi
lea ecx, [esp + 0x78]
call fcn.0045439e
cmp dword [esp + 0x84], 8
lea eax, [esp + 0x70]
cmovae eax, dword [esp + 0x70]
push eax
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov edi, eax
mov dword [esp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x467843
cmp dword [0x59d50c], 0
je 0x467830
call esi
push eax
push str._WARN___d___Already_exist_PreInstance.
push 2
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
test bl, bl
jne 0x46783d
lea ecx, [esp + 0x58]
call fcn.0048a4cf
push edi
jmp 0x4678db
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x467879
cmp dword [0x59d50c], 0
je 0x46783d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call esi
push eax
push str._ERROR___d___CoInitialize_failed__err__d_
push 1
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x14
jmp 0x46783d
mov edi, dword [esp + 0x1c]
push edi
call fcn.004a476c
pop ecx
call fcn.004671e7
push 0x1440
call fcn.00508738
pop ecx
test eax, eax
je 0x4678af
lea ecx, [esp + 0x88]
push ecx
push ecx
push edi
mov ecx, eax
call fcn.00473ecf
mov edi, eax
xor ecx, ecx
jmp 0x4678b3
xor ecx, ecx
mov edi, ecx
test edi, edi
jne 0x4678e9
cmp dword [0x59d50c], edi
je 0x4678d7
call esi
push eax
push str._ERROR___d___create_WaeWnd_failed_
push 1
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
jmp 0x4679de
cmp dword [esp + 0x6c], 8
lea eax, [esp + 0x58]
push ecx
cmovae eax, dword [esp + 0x5c]
push 0x190
push 0x1f4
push ecx
push ecx
push ecx
push 0x80b
push eax
push ecx
mov ecx, edi
call fcn.004a52b4
cmp dword [0x59d50c], 0
mov dword [esp + 0x1c], eax
je 0x46793d
push eax
call esi
push eax
push str._INFO___d___WaeWnd_handle__x_
push 3
push dword [0x59d50c]
call fcn.00485f11
mov eax, dword [esp + 0x30]
add esp, 0x14
push 0x65
mov ecx, edi
mov dword [0x59dd5c], eax
call fcn.004a5808
mov ecx, edi
call fcn.004a515e
test bl, bl
mov ecx, edi
push 1
sete al
movzx eax, al
push eax
call fcn.004a5979
cmp dword [0x59d50c], 0
je 0x467985
call esi
push eax
push str._INFO___d___MessageLoop
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
call fcn.004a2b36
cmp dword [0x59d50c], 0
je 0x4679ab
call esi
push eax
push str._INFO___d___MessageLoop_end
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x59d50c], 0
je 0x4679dc
call esi
push eax
push str._INFO___d___exit_
push 3
push dword [0x59d50c]
call fcn.00485f11
add esp, 0x10
xor esi, esi
push 0
push 1
lea ecx, [esp + 0x78]
call fcn.00451108
push 0
push 1
lea ecx, [esp + 0x60]
call fcn.00451108
lea ecx, [esp + 0x88]
call fcn.0044f31b
lea ecx, [esp + 0x14]
call fcn.00467a7e
mov ecx, dword [esp + 0xb4]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00508163
mov esp, ebp
pop ebp
ret 0x10