Function at 0x6800eac0
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x118
mov eax, dword [ecx]
mov dword [ebp - 0xec], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xf0], eax
test byte [0x68015140], 8
jne 0x6800eb20
mov eax, dword [ebp - 0xec]
cmp dword [eax], 0x48
je 0x6800eb5d
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x57
xor esi, esi
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xec]
mov dword [esp + 0xc], str.__p___p__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.CryptUIDlgViewCertificateW
mov dword [esp + 4], 0x68015140
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0xec]
cmp dword [eax], 0x48
jne 0x6800eafc
mov esi, dword [ebp - 0xec]
mov ecx, 0x12
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xec]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x6800f0f0
mov dword [esp], eax
call sym._WTHelperProvDataFromStateData_4
mov edx, dword [ebp - 0x30]
sub esp, 4
mov dword [ebp - 0x44], eax
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x34]
mov dword [esp], eax
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 4], edx
call sym._WTHelperGetProvSignerFromChain_16
mov edx, dword [ebp - 0x38]
sub esp, 0x10
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WTHelperGetProvCertFromChain_8
sub esp, 8
mov dword [esp], str.riched20
xor ebx, ebx
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x58]
sub esp, 4
mov dword [esp + 4], 0
test al, 2
sete bl
and eax, 1
add ebx, esi
cmp eax, 1
adc ebx, 1
imul eax, ebx, 0x38
mov dword [ebp - 0xfc], ebx
mov esi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0xf4], eax
call eax
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x6800f242
lea edx, [ebp - 0x8c]
xor eax, eax
mov ecx, 0xb
mov dword [ebp - 0x94], 0x34
mov dword [ebp - 0x90], 0x188
mov edi, edx
mov edx, dword [0x68022004]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x54]
mov edi, 0x3e8
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x88], edx
test ecx, ecx
cmove ecx, edi
lea edi, [ebx + 0x14]
and edi, 0xfffffffc
mov dword [ebp - 0x80], ecx
lea ecx, [ebx + 0x10]
sub ecx, edi
mov dword [ebx + 0x10], 0
add ecx, 0x28
mov dword [ebx + 0x34], 0
shr ecx, 2
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x60]
mov dword [ebx], 0x38
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebx + 4], pe_nt_image_headers32
mov dword [ebx + 0x20], sym._general_callback_proc_12
mov edi, eax
mov dword [ebx + 8], edx
and edi, 2
mov dword [ebx + 0xc], 0x64
mov dword [ebx + 0x18], sym._general_dlg_proc_16
mov dword [ebp - 0x100], edi
je 0x6800f048
and eax, 1
mov dword [ebp - 0xf0], eax
je 0x6800eef0
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x6800edf8
mov dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x1c]
and eax, 0x7fff
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x74], ebx
mov dword [esp], eax
mov dword [ebp - 0x70], sym._cert_prop_sheet_proc_12
call sym._PropertySheetW_4
sub esp, 4
mov esi, eax
test eax, eax
je 0x6800ede0
mov esi, 1
mov eax, dword [ebp - 0xf4]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xf0]
call eax
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xf0]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0xf8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov eax, dword [ebp - 0xec]
sub esp, 4
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x6800eb0b
lea eax, [ebp - 0xc8]
mov dword [esp + 4], 0x68015044
mov dword [esp + 8], eax
mov dword [esp], 0
mov dword [ebp - 0xac], 2
call sym._WinVerifyTrust_12
sub esp, 0xc
jmp 0x6800eb0b
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x4c7
jmp 0x6800ed37
shl eax, 3
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xf4]
call eax
mov dword [ebp - 0xf4], eax
sub esp, 0xc
test eax, eax
je 0x6800f250
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x6800eed2
mov ecx, dword [ebp - 0xf4]
imul eax, dword [ebp - 0x7c], 0x38
mov dword [ebp - 0x104], ebx
mov edi, dword [ebp - 0x50]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x100], ecx
lea esi, [ecx + esi*8]
add eax, ebx
lea esi, [esi]
mov ebx, dword [edx]
add eax, 0x38
add edx, 0x38
mov dword [eax - 0x38], ebx
mov ebx, dword [edx - 0x34]
mov dword [eax - 0x34], ebx
mov ebx, dword [edx - 0x30]
mov dword [eax - 0x30], ebx
mov ebx, dword [edx - 0x2c]
mov dword [eax - 0x2c], ebx
mov ebx, dword [edx - 0x28]
mov dword [eax - 0x28], ebx
mov ebx, dword [edx - 0x24]
mov dword [eax - 0x24], ebx
mov ebx, dword [edx - 0x20]
mov dword [eax - 0x20], ebx
mov ebx, dword [edx - 0x1c]
mov dword [eax - 0x1c], ebx
mov ebx, dword [edx - 0x18]
mov dword [eax - 0x18], ebx
mov ebx, dword [edx - 0x14]
mov dword [eax - 0x14], ebx
mov ebx, dword [edx - 0x10]
mov dword [eax - 0x10], ebx
mov ebx, dword [edx - 0xc]
mov dword [eax - 0xc], ebx
mov ebx, dword [edx - 8]
mov dword [eax - 8], ebx
mov ebx, dword [edx - 4]
mov dword [eax - 4], ebx
mov ebx, dword [edx - 0x1c]
mov dword [eax - 0x1c], ecx
add ecx, 8
mov dword [ecx - 8], ebx
mov dword [ecx - 4], edi
cmp ecx, esi
jne 0x6800ee60
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x1c]
test ah, 0x80
je 0x6800eedd
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x7c], eax
jmp 0x6800ed0d
mov dword [esp + 8], 0xc
mov edi, dword [ebp - 0x7c]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xf4]
call eax
sub esp, 0xc
test eax, eax
je 0x6800ece2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov dword [esp + 8], 5
mov dword [esp + 4], 0x10
mov dword [esp], 0x10
mov dword [ebp - 0x100], eax
call sym._ImageList_Create_20
mov edx, dword [ebp - 0x100]
sub esp, 0x14
mov dword [edx + 4], eax
test eax, eax
je 0x6800f218
mov dword [edx + 8], 0xffffffff
imul esi, edi, 0x38
lea eax, [ebp - 0x60]
mov dword [edx], eax
mov eax, dword [0x68022004]
mov dword [esp + 4], 0xc8
mov dword [esp], eax
add esi, ebx
call sym._LoadBitmapW_8
mov edx, dword [ebp - 0x100]
sub esp, 8
mov edi, eax
mov dword [esp + 8], 0xff00ff
mov dword [esp + 4], eax
mov eax, dword [edx + 4]
mov dword [esp], eax
call sym._ImageList_AddMasked_12
sub esp, 0xc
mov dword [esp], edi
lea edi, [esi + 0x14]
and edi, 0xfffffffc
call sym._DeleteObject_4
mov edx, dword [ebp - 0x100]
sub esp, 4
mov dword [esp + 4], 0xffffffff
mov eax, dword [edx + 4]
mov dword [esp], eax
call sym._ImageList_SetBkColor_8
lea ecx, [esi + 0x10]
mov dword [esi + 0x10], 0
sub ecx, edi
mov dword [esi + 0x34], 0
mov eax, dword [ebp - 0xf0]
sub esp, 8
add ecx, 0x28
shr ecx, 2
rep stosd dword es:[edi], eax
mov dword [esi], 0x38
mov dword [esi + 4], pe_nt_image_headers32
mov eax, dword [0x68022004]
mov edx, dword [ebp - 0x100]
mov dword [esi + 0xc], 0x66
add dword [ebp - 0x7c], 1
mov dword [esi + 8], eax
mov dword [esi + 0x18], sym._hierarchy_dlg_proc_16
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], sym._hierarchy_callback_12
jmp 0x6800ece2
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xf4]
call eax
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x6800f0e7
lea eax, [ebp - 0x60]
lea edi, [ebx + 0x4c]
mov dword [edx + 8], 0
mov dword [edx], eax
and edi, 0xfffffffc
lea ecx, [ebx + 0x48]
mov eax, dword [ebp - 0xf0]
sub ecx, edi
mov dword [edx + 0xc], 0
mov dword [edx + 4], eax
add ecx, 0x28
mov dword [ebx + 0x48], 0
shr ecx, 2
mov dword [ebx + 0x6c], 0
mov eax, dword [ebp - 0x100]
rep stosd dword es:[edi], eax
mov dword [ebx + 0x38], 0x38
mov dword [ebx + 0x3c], pe_nt_image_headers32
mov eax, dword [0x68022004]
add dword [ebp - 0x7c], 1
mov dword [ebx + 0x58], sym._detail_callback_12
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], 0x65
mov dword [ebx + 0x50], sym._detail_dlg_proc_16
mov dword [ebx + 0x54], edx
mov eax, dword [ebp - 0x58]
jmp 0x6800ecd3
lea edx, [ebp - 0xc4]
mov ecx, 0xc
mov dword [ebp - 0xc8], 0x34
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xbc], 2
test ah, 8
je 0x6800f125
mov dword [ebp - 0xb8], pe_nt_image_headers32
test ah, 0x40
je 0x6800f131
or dword [ebp - 0xb8], 0x20
test ah, 0x80
jne 0x6800f208
mov dword [ebp - 0xb4], 5
xor edx, edx
xor eax, eax
mov dword [ebp + eax - 0xe0], edx
add eax, 4
cmp eax, 0x18
jb 0x6800f148
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], 0x68015044
mov dword [esp], 0
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xe4], 0x1c
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xac], 1
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc8]
mov dword [esp + 8], eax
call sym._WinVerifyTrust_12
mov eax, dword [ebp - 0xa8]
sub esp, 0xc
mov dword [esp], eax
call sym._WTHelperProvDataFromStateData_4
sub esp, 4
mov dword [ebp - 0x44], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WTHelperGetProvSignerFromChain_16
sub esp, 0x10
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WTHelperGetProvCertFromChain_8
sub esp, 8
jmp 0x6800ebbe
or dword [ebp - 0xb8], 0x40
jmp 0x6800f13a
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0xf0], eax
call eax
sub esp, 0xc
jmp 0x6800eced
mov dword [esi + 0x34], 0xe
xor esi, esi
jmp 0x6800ed84
mov dword [esi + 0x34], 0xe
xor esi, esi
jmp 0x6800ed37