Function at 0x6800a1d0
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, 0x88
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
test byte [0x68015140], 8
jne 0x6800a230
cmp esi, 0x110
je 0x6800a272
cmp esi, 0x111
je 0x6800a678
cmp esi, 0x4e
je 0x6800a620
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 + 0x18], edx
mov dword [esp + 0x1c], 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 0x6800a203
mov eax, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x961
mov dword [esp], ebx
mov dword [ebp - 0x60], eax
call eax
mov edi, dword [edi + 0x1c]
sub esp, 8
mov esi, eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0x960
mov dword [esp], ebx
call eax
sub esp, 8
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x28
mov dword [esp + 4], 0xc5
mov dword [ebp - 0x5c], eax
call eax
mov eax, dword [ebp - 0x5c]
sub esp, 0x10
mov dword [esp], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xff
mov dword [esp + 4], 0xc5
call eax
sub esp, 0x10
mov dword [esp], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call dword [sym.imp.user32.dll_ShowScrollBar]
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 - 0x70], eax
call eax
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x6800a218
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 dword [sym.imp.comctl32.dll_ImageList_Create]
mov dword [esi + 8], eax
sub esp, 0x14
test eax, eax
je 0x6800a3d3
mov eax, dword [0x68024004]
mov dword [esp + 4], 0xcc
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadBitmapW]
sub esp, 8
mov dword [ebp - 0x64], eax
mov dword [esp + 8], 0xff00ff
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call dword [sym.imp.comctl32.dll_ImageList_AddMasked]
mov edx, dword [ebp - 0x64]
sub esp, 0xc
mov dword [esp], edx
call dword [sym.imp.gdi32.dll_DeleteObject]
sub esp, 4
mov dword [esp + 4], 0xffffffff
mov eax, dword [esi + 8]
mov dword [esp], eax
call dword [sym.imp.comctl32.dll_ImageList_SetBkColor]
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 dword [sym.imp.user32.dll_SetWindowLongW]
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 - 0x64], eax
je 0x6800a469
mov dword [esp + 4], 0x960
mov eax, dword [ebp - 0x60]
mov dword [esp], ebx
call eax
mov edx, dword [ebp - 0x64]
sub esp, 8
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
call eax
mov edx, dword [ebp - 0x64]
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 0x6800a4d1
mov dword [esp + 4], 0x961
mov eax, dword [ebp - 0x60]
mov dword [esp], ebx
call eax
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
call eax
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 edi, dword [ebp - 0x60]
mov dword [esp + 4], 0x965
mov dword [esp], ebx
mov dword [ebp - 0x64], eax
call edi
mov edi, eax
sub esp, 8
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x54]
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetWindowRect]
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 edx, dword [ebp - 0x5c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1061
mov dword [esp], edi
call edx
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x5c]
lea esi, [ebp - 0x58]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1003
mov dword [esp], edi
call edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [sym.imp.crypt32.dll_CertGetEnhancedKeyUsage]
sub esp, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], eax
mov dword [ebp - 0x68], ecx
call ecx
sub esp, 0x10
test eax, eax
jne 0x6800a730
mov eax, dword [ebp - 0x64]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 4], 2
call eax
sub esp, 0x10
test eax, eax
jne 0x6800a918
mov eax, dword [ebp - 0x6c]
mov edx, 4
call sym._add_known_usages_to_list
mov dword [ebp - 0x68], 0x962
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x64]
mov eax, ebx
call sym._select_purposes
mov eax, dword [ebp - 0x68]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
call eax
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf5
call eax
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 [edi + 8]
cmp eax, 0xffffff36
je 0x6800a800
cmp eax, 0xfffffffe
jne 0x6800a218
mov edx, dword [edi + 0xc]
mov eax, ebx
call sym._toggle_usage
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x468
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x6800a218
mov eax, edx
shr eax, 0x10
je 0x6800a810
mov dword [ebp - 0x5c], edx
cmp eax, 0x300
jne 0x6800a218
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetParent]
mov esi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x468
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x5c]
sub esp, 0x10
cmp dx, 0x961
jne 0x6800a218
mov dword [esp], ebx
mov dword [esp + 4], 0x961
call dword [sym.imp.user32.dll_GetDlgItem]
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 esi
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 dword [sym.imp.user32.dll_ShowScrollBar]
sub esp, 0xc
jmp 0x6800a218
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x70]
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x74], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x68]
sub esp, 0xc
mov edi, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0xc], esi
mov dword [esp + 4], 4
mov dword [esp], eax
call ecx
mov edx, dword [ebp - 0x74]
sub esp, 0x10
test eax, eax
je 0x6800a8b0
mov eax, dword [edi]
test eax, eax
je 0x6800a8d8
mov dword [ebp - 0x68], 0x964
mov dword [ebp - 0x64], 2
mov dword [ebp - 0x70], ebx
xor esi, esi
mov ebx, dword [ebp - 0x6c]
jmp 0x6800a7c5
mov ecx, 4
mov eax, ebx
call sym._add_known_usage
inc esi
cmp esi, dword [edi]
jae 0x6800a910
mov dword [esp + 8], 7
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*4]
mov dword [esp], 1
mov dword [esp + 4], eax
call dword [sym.imp.crypt32.dll_CryptFindOIDInfo]
sub esp, 0xc
mov edx, eax
test eax, eax
jne 0x6800a7b0
mov eax, dword [edi + 4]
mov edx, dword [eax + esi*4]
mov eax, dword [ebp - 0x70]
call sym._add_purpose
jmp 0x6800a7bc
mov eax, ebx
call sym._apply_general_changes
jmp 0x6800a218
cmp edx, 0x964
jbe 0x6800a860
cmp edx, 0x966
jne 0x6800a218
mov eax, dword [0x68024004]
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 dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
cmp eax, 1
jne 0x6800a218
jmp 0x6800a641
cmp edx, 0x961
jbe 0x6800a218
mov dword [ebp - 0x5c], edx
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x468
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov edx, dword [ebp - 0x5c]
mov eax, ebx
sub esp, 0x10
sub edx, 0x962
call sym._select_purposes
jmp 0x6800a218
mov dword [esp + 8], edi
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 0x6800a5b2
mov dword [ebp - 0x68], 0x963
mov dword [ebp - 0x64], 1
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
jmp 0x6800a5cd
mov ebx, dword [ebp - 0x70]
jmp 0x6800a8e6
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 - 0x74], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x70]
call eax
sub esp, 0xc
mov edi, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 4], 2
call eax
mov edx, dword [ebp - 0x74]
sub esp, 0x10
test eax, eax
je 0x6800a8b0
mov eax, dword [edi]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x64], ecx
add ecx, 0x962
mov dword [ebp - 0x68], ecx
test eax, eax
jne 0x6800a79d
jmp 0x6800a8e6