Function at 0x6800af50
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force 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, 0x78
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
test byte [0x68015140], 8
jne 0x6800afa8
cmp esi, 0x110
je 0x6800afea
cmp esi, 0x111
je 0x6800b3e0
cmp esi, 0x4e
je 0x6800b388
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___08x___08Ix___08Ix__n
mov dword [esp + 8], str.cert_properties_general_dlg_proc
mov dword [esp + 4], 0x68015140
mov dword [esp], 3
mov dword [ebp - 0x5c], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x5c]
cmp esi, 0x110
jne 0x6800af80
mov dword [esp + 4], 0x961
mov dword [esp], ebx
mov dword [ebp - 0x5c], edx
call sym._GetDlgItem_8
mov edx, dword [ebp - 0x5c]
sub esp, 8
mov esi, eax
mov edi, dword [edx + 0x1c]
mov dword [esp + 4], 0x960
mov dword [esp], ebx
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x28
mov dword [esp + 4], 0xc5
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xff
mov dword [esp + 4], 0xc5
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call sym._ShowScrollBar_12
sub esp, 0xc
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x60], eax
call eax
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x6800af95
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 4
mov dword [esp + 8], 5
mov dword [esp + 4], 0x10
mov dword [esp], 0x10
call sym._ImageList_Create_20
mov dword [esi + 8], eax
sub esp, 0x14
test eax, eax
je 0x6800b141
mov eax, dword [0x68022004]
mov dword [esp + 4], 0xcc
mov dword [esp], eax
call sym._LoadBitmapW_8
sub esp, 8
mov dword [ebp - 0x5c], eax
mov dword [esp + 8], 0xff00ff
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call sym._ImageList_AddMasked_12
mov edx, dword [ebp - 0x5c]
sub esp, 0xc
mov dword [esp], edx
call sym._DeleteObject_4
sub esp, 4
mov dword [esp + 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [esp], eax
call sym._ImageList_SetBkColor_8
sub esp, 8
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 8
mov dword [esp], ebx
call sym._SetWindowLongW_12
mov edi, dword [esi]
mov edx, 0xb
sub esp, 0xc
mov eax, edi
call sym._get_cert_property_as_string
test eax, eax
mov dword [ebp - 0x5c], eax
je 0x6800b1d6
mov dword [esp + 4], 0x960
mov dword [esp], ebx
call sym._GetDlgItem_8
mov edx, dword [ebp - 0x5c]
sub esp, 8
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
call sym._SendMessageW_16
mov edx, dword [ebp - 0x5c]
sub esp, 0x10
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, edi
mov edx, 0xd
call sym._get_cert_property_as_string
mov edi, eax
test eax, eax
je 0x6800b23e
mov dword [esp + 4], 0x961
mov dword [esp], ebx
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, dword [esi]
mov dword [esp + 4], 0x965
mov dword [esp], ebx
mov dword [ebp - 0x5c], eax
call sym._GetDlgItem_8
mov edi, eax
sub esp, 8
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x54]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._GetWindowRect_8
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], 2
sub esp, 8
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1061
call sym._SendMessageW_16
mov eax, dword [esi + 8]
sub esp, 0x10
mov dword [esp], edi
lea edi, [ebp - 0x58]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1003
call sym._SendMessageW_16
mov eax, dword [ebp - 0x5c]
sub esp, 0x10
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], eax
call sym._CertGetEnhancedKeyUsage_16
sub esp, 0x10
test eax, eax
jne 0x6800b490
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], eax
call sym._CertGetEnhancedKeyUsage_16
sub esp, 0x10
test eax, eax
jne 0x6800b678
mov eax, dword [ebp - 0x64]
mov edx, 4
call sym._add_known_usages_to_list
mov dword [ebp - 0x60], 0x962
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x5c]
mov eax, ebx
call sym._select_purposes
mov eax, dword [ebp - 0x60]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf5
mov dword [esp], eax
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [edx + 8]
cmp eax, 0xffffff36
je 0x6800b560
cmp eax, 0xfffffffe
jne 0x6800af95
mov edx, dword [edx + 0xc]
mov eax, ebx
call sym._toggle_usage
mov dword [esp], ebx
call sym._GetParent_4
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x468
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
jmp 0x6800af95
mov eax, edi
shr eax, 0x10
je 0x6800b570
cmp eax, 0x300
jne 0x6800af95
mov dword [esp], ebx
call sym._GetParent_4
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x468
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
cmp di, 0x961
jne 0x6800af95
mov dword [esp], ebx
mov dword [esp + 4], 0x961
call sym._GetDlgItem_8
sub esp, 8
mov ebx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
cmp eax, 1
setg al
mov dword [esp + 4], 1
movzx eax, al
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._ShowScrollBar_12
sub esp, 0xc
jmp 0x6800af95
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x60]
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x68], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
sub esp, 0xc
mov esi, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0xc], edi
mov dword [esp + 4], 4
mov dword [esp], eax
call sym._CertGetEnhancedKeyUsage_16
mov edx, dword [ebp - 0x68]
sub esp, 0x10
test eax, eax
je 0x6800b610
mov eax, dword [esi]
test eax, eax
je 0x6800b638
mov dword [ebp - 0x60], 0x964
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x68], ebx
xor edi, edi
mov ebx, dword [ebp - 0x64]
jmp 0x6800b527
mov ecx, 4
mov eax, ebx
call sym._add_known_usage
add edi, 1
cmp edi, dword [esi]
jae 0x6800b670
mov dword [esp + 8], 7
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
mov dword [esp], 1
mov dword [esp + 4], eax
call sym._CryptFindOIDInfo_12
sub esp, 0xc
mov edx, eax
test eax, eax
jne 0x6800b510
mov eax, dword [esi + 4]
mov edx, dword [eax + edi*4]
mov eax, dword [ebp - 0x68]
call sym._add_purpose
jmp 0x6800b51c
mov eax, ebx
call sym._apply_general_changes
jmp 0x6800af95
cmp edi, 0x964
jbe 0x6800b5c0
cmp edi, 0x966
jne 0x6800af95
mov eax, dword [0x68022004]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], sym._add_purpose_dlg_proc_16
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x69
mov dword [esp], eax
call sym._DialogBoxParamW_20
sub esp, 0x14
cmp eax, 1
jne 0x6800af95
jmp 0x6800b3a9
cmp edi, 0x961
jbe 0x6800af95
mov dword [esp], ebx
call sym._GetParent_4
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x468
mov dword [esp], eax
call sym._SendMessageW_16
lea edx, [edi - 0x962]
mov eax, ebx
sub esp, 0x10
call sym._select_purposes
jmp 0x6800af95
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6800b318
mov dword [ebp - 0x60], 0x963
mov dword [ebp - 0x5c], 1
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6800b333
mov ebx, dword [ebp - 0x68]
jmp 0x6800b646
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x68], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x60]
call eax
sub esp, 0xc
mov esi, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0xc], edi
mov dword [esp + 4], 2
mov dword [esp], eax
call sym._CertGetEnhancedKeyUsage_16
mov edx, dword [ebp - 0x68]
sub esp, 0x10
test eax, eax
je 0x6800b610
mov eax, dword [esi]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x5c], ecx
add ecx, 0x962
mov dword [ebp - 0x60], ecx
test eax, eax
jne 0x6800b4fd
jmp 0x6800b646