Function at 0x68011aa0
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, 0xb8
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ecx + 4]
cmp eax, 0x110
je 0x68011af0
cmp eax, 0x111
je 0x68011de8
cmp eax, 0x4e
je 0x68011d78
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], 0xaf1
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [ebp - 0x84], eax
call eax
sub esp, 8
mov dword [ebp - 0x90], eax
mov dword [esp + 8], 0x10
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_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je case.0x68011e0b.2807
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov dword [esp + 8], 5
mov dword [esp + 4], 0x10
mov dword [esp], 0x10
call dword [sym.imp.comctl32.dll_ImageList_Create]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esi], eax
sub esp, 0x14
mov dword [ebp - 0x80], edi
test eax, eax
je 0x68011c16
mov eax, dword [0x68024004]
mov dword [esp + 4], 0xc8
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadBitmapW]
sub esp, 8
mov edi, eax
mov dword [esp + 8], 0xff00ff
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.comctl32.dll_ImageList_AddMasked]
sub esp, 0xc
mov dword [esp], edi
call dword [sym.imp.gdi32.dll_DeleteObject]
sub esp, 4
mov dword [esp + 4], 0xffffffff
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.comctl32.dll_ImageList_SetBkColor]
mov edx, dword [ebp - 0x7c]
mov edi, dword [esi]
sub esp, 8
mov eax, dword [ebp - 0x84]
mov dword [esp], edx
mov dword [esp + 4], 0xaf2
call eax
sub esp, 8
mov dword [esp + 0xc], edi
mov edi, dword [ebp - 0x80]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x1003
mov dword [esp], eax
call edi
sub esp, 0x10
mov edi, dword [ebp - 0x7c]
mov dword [esp + 8], esi
mov dword [esp + 4], 8
mov dword [esp], edi
call dword [sym.imp.user32.dll_SetWindowLongW]
mov eax, dword [ebx + 0xc]
sub esp, 0xc
mov dword [esi + 4], eax
mov eax, edi
call sym._initialize_purpose_selection
mov eax, edi
call sym._add_cert_columns
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x68011c6b
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x80]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], edi
call eax
sub esp, 0x10
mov edi, dword [ebx + 8]
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], 0xaf1
mov ebx, 0x68017c80
mov dword [esp], eax
mov eax, dword [ebp - 0x84]
call eax
mov edx, edi
mov ecx, str.Root
mov dword [ebp - 0x88], eax
sub esp, 8
mov eax, 0x68017d30
and edx, 4
cmovne eax, ecx
cmp edx, 1
sbb ecx, ecx
and ecx, 3
add ecx, 3
test edx, edx
mov edx, 0x68017c40
cmovne ebx, edx
and edi, 0x8000
mov edx, 1
cmove edx, ecx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], edx
lea esi, [ebp - 0x54]
mov dword [ebp - 0x84], esi
xor esi, esi
mov dword [ebp - 0x8c], edx
jmp 0x68011d54
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
add ebx, 0xc
mov dword [esp + 0xc], 0x10000
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0xa
call dword [sym.imp.crypt32.dll_CertOpenStore]
mov dword [ebp - 0x54], 9
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x84]
sub esp, 0x14
mov dword [esp + 8], esi
inc esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x48], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x80]
mov dword [esp + 4], 0x133e
call eax
sub esp, 0x10
cmp dword [ebp - 0x8c], esi
je 0x68011f60
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.crypt32.dll_CryptFindLocalizedName]
sub esp, 4
mov edi, eax
test eax, eax
jne 0x68011ce0
mov edi, dword [ebx]
mov eax, edi
jmp 0x68011ce2
mov eax, dword [ebx + 8]
cmp eax, 0xffffff94
je 0x680123a8
jbe 0x68011db0
cmp eax, 0xffffff9b
je 0x68011fb0
cmp eax, 0xfffffffd
jne case.0x68011e0b.2807
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x7c]
call sym._show_selected_cert
jmp case.0x68011e0b.2807
cmp eax, 0xfffffdd9
je 0x68011f4c
cmp eax, 0xffffff65
jne case.0x68011e0b.2807
cmp word [ebx + 0xc], 0x2e
jne case.0x68011e0b.2807
lea esi, [esi]
mov eax, dword [ebp - 0x7c]
call sym._cert_mgr_do_remove
jmp case.0x68011e0b.2807
cmp edx, 0xaf8
ja 0x68011f40
cmp edx, 0xaf2
jbe 0x68011e18
sub edx, 0xaf3
cmp edx, 5
ja case.0x68011e0b.2807
jmp dword [edx*4 + 0x68017268]
cmp edx, 2
jne case.0x68011e0b.2807
mov esi, dword [ebp - 0x7c]
mov ebx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0xaf2
xor edi, edi
mov dword [esp], esi
call ebx
sub esp, 8
call sym._free_certs
mov dword [esp], esi
lea esi, [ebp - 0x54]
mov dword [esp + 4], 0xaf1
call ebx
sub esp, 8
mov ebx, eax
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1304
mov dword [ebp - 0x80], eax
call eax
mov dword [ebp - 0x84], eax
sub esp, 0x10
test eax, eax
jle 0x68011ed2
lea esi, [esi]
nop
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x80]
inc edi
mov dword [ebp - 0x54], 8
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0x133c
mov dword [esp], ebx
call eax
mov eax, dword [ebp - 0x3c]
sub esp, 0x10
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.crypt32.dll_CertCloseStore]
sub esp, 8
cmp dword [ebp - 0x84], edi
jne 0x68011e90
mov esi, dword [ebp - 0x7c]
mov dword [esp + 4], 8
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetWindowLongW]
mov ebx, eax
mov eax, dword [eax]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.comctl32.dll_ImageList_Destroy]
sub esp, 4
mov dword [esp + 8], ebx
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 dword [esp + 4], 2
mov dword [esp], esi
call dword [sym.imp.user32.dll_EndDialog]
sub esp, 8
jmp case.0x68011e0b.2807
cmp edx, 0x10af0
jne case.0x68011e0b.2807
mov eax, dword [ebp - 0x7c]
call sym._cert_mgr_clear_cert_selection
jmp case.0x68011e0b.2807
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x54], 8
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], 0x133c
mov dword [esp], eax
mov eax, dword [ebp - 0x80]
call eax
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x3c]
sub esp, 0x10
call sym._show_store_certs
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov edi, dword [ebp - 0x7c]
mov esi, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0xaf2
mov dword [esp], edi
call esi
sub esp, 8
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1032
mov dword [ebp - 0x80], eax
call eax
mov dword [ebp - 0x7c], edi
sub esp, 0x10
test eax, eax
mov dword [ebp - 0x84], eax
setg al
mov dword [esp], edi
movzx eax, al
mov dword [esp + 4], 0xaf4
mov dword [ebp - 0x88], eax
call esi
mov ecx, dword [ebp - 0x88]
mov edi, dword [sym.imp.user32.dll_EnableWindow]
sub esp, 8
mov dword [esp + 4], ecx
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x7c]
sub esp, 8
mov dword [esp], edx
mov dword [esp + 4], 0xaf5
call esi
mov ecx, dword [ebp - 0x88]
sub esp, 8
mov dword [esp + 4], ecx
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x7c]
sub esp, 8
mov dword [esp], edx
mov dword [esp + 4], 0xaf8
call esi
xor edx, edx
sub esp, 8
cmp dword [ebp - 0x84], 1
sete dl
mov dword [esp], eax
mov dword [esp + 4], edx
call edi
sub esp, 8
cmp dword [ebp - 0x84], 1
je 0x6801249f
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], 0xaf7
mov dword [esp], eax
call esi
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x80]
mov dword [esp + 0xc], 0x68017d36
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
call eax
sub esp, 0x10
jmp case.0x68011e0b.2807
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], 0xaf2
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [ebp - 0x84], eax
call eax
sub esp, 8
mov ebx, eax
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1032
mov dword [ebp - 0x80], eax
call eax
sub esp, 0x10
cmp eax, 1
je 0x680125ed
jle case.0x68011e0b.2807
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x2000
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 2
call dword [sym.imp.crypt32.dll_CertOpenStore]
sub esp, 0x14
mov esi, eax
test eax, eax
je case.0x68011e0b.2807
mov edi, 0xffffffff
mov dword [ebp - 0x6c], 0x18
mov dword [ebp - 0x68], 0
mov edx, edi
mov edi, ebx
mov ebx, dword [ebp - 0x80]
mov dword [ebp - 0x64], 5
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0
mov dword [esp + 0xc], 2
mov dword [esp + 8], edx
mov dword [esp + 4], 0x100c
mov dword [esp], edi
call ebx
sub esp, 0x10
test eax, eax
jns 0x68012420
lea eax, [ebp - 0x6c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call sym.cryptui.dll_CryptUIWizExport
sub esp, 0x14
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.crypt32.dll_CertCloseStore]
sub esp, 8
jmp case.0x68011e0b.2807
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], sym._cert_mgr_advanced_dlg_proc_16
mov dword [esp + 8], eax
mov eax, dword [0x68024004]
mov dword [esp + 4], 0x70
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
cmp eax, 1
jne case.0x68011e0b.2807
mov edi, dword [ebp - 0x7c]
mov dword [esp + 4], 0xaf0
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
mov esi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov ebx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x147
mov dword [esp], eax
call esi
sub esp, 0x10
mov dword [esp + 0xc], 0
test eax, eax
jns 0x680126bf
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14b
mov dword [esp], ebx
call esi
mov eax, edi
sub esp, 0x10
call sym._initialize_purpose_selection
mov eax, dword [ebp - 0x7c]
call sym._refresh_store_certs
jmp case.0x68011e0b.2807
mov esi, dword [ebp - 0x7c]
mov dword [esp + 4], 0xaf2
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x100c
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov edx, eax
test eax, eax
js case.0x68011e0b.2807
mov eax, esi
call sym._show_selected_cert
jmp case.0x68011e0b.2807
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], 0xaf1
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
mov esi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov ebx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x130b
mov dword [esp], eax
call esi
lea edx, [ebp - 0x54]
mov dword [ebp - 0x54], 8
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x133c
call esi
mov ebx, dword [ebp - 0x3c]
sub esp, 0x10
test byte [0x68015140], 8
jne 0x6801256b
mov dword [esp + 4], ebx
mov edx, dword [ebp - 0x7c]
xor ecx, ecx
xor eax, eax
mov dword [esp], 0
call sym._show_import_ui
test eax, eax
je case.0x68011e0b.2807
jmp 0x680122a7
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], 0xaf2
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
mov edx, eax
mov eax, dword [ebx + 0x10]
sub esp, 8
cmp eax, 2
je 0x680125c4
jg 0x68012405
test eax, eax
je 0x680125b7
cmp eax, 1
jne case.0x68011e0b.2807
mov dword [esp + 0xc], sym._cert_mgr_sort_by_issuer_12
mov dword [esp + 8], edx
mov dword [esp + 4], 0x1051
mov dword [esp], edx
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp case.0x68011e0b.2807
cmp eax, 3
jne case.0x68011e0b.2807
mov dword [esp + 0xc], sym._cert_mgr_sort_by_friendly_name_12
jmp 0x680123e8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x54], 4
mov dword [esp], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x4c], 0
mov dword [esp + 4], 0xaf2
call eax
lea edx, [ebp - 0x54]
sub esp, 8
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104b
mov dword [esp], eax
call ebx
sub esp, 0x10
test eax, eax
mov eax, 0
cmovne eax, dword [ebp - 0x34]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.crypt32.dll_CertAddCertificateContextToStore]
mov edx, dword [ebp - 0x80]
sub esp, 0x10
jmp 0x6801218c
mov eax, dword [ebp - 0x7c]
mov edi, dword [ebx + 0xc]
mov dword [esp + 4], 0xaf7
mov dword [esp], eax
call esi
mov dword [ebp - 0x50], edi
lea edi, [ebp - 0x54]
mov ebx, eax
mov eax, dword [ebp - 0x7c]
sub esp, 8
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x4c], 0
mov dword [esp + 4], 0xaf2
mov dword [esp], eax
call esi
mov esi, edi
sub esp, 8
mov dword [esp + 0xc], edi
mov edi, dword [ebp - 0x80]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104b
mov dword [esp], eax
call edi
mov edx, esi
mov dword [ebp - 0x54], 0
sub esp, 0x10
test eax, eax
mov eax, 0
cmovne eax, dword [ebp - 0x34]
call sym._get_cert_usages
mov eax, dword [ebp - 0x54]
test eax, eax
je case.0x68011e0b.2807
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], ebx
call edi
mov edx, dword [ebp - 0x54]
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
jmp case.0x68011e0b.2807
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x680170e8
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str._0x_08lx___p___s___p___p__n
mov dword [esp + 8], str.CryptUIWizImport
mov dword [esp + 4], 0x68015140
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x68012381
mov dword [esp + 0xc], sym._cert_mgr_sort_by_subject_12
jmp 0x680123e8
mov dword [esp + 0xc], sym._cert_mgr_sort_by_date_12
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1030
mov dword [esp], edx
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp case.0x68011e0b.2807
mov dword [esp + 0xc], 2
mov esi, dword [ebp - 0x80]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x100c
mov dword [esp], ebx
call esi
sub esp, 0x10
test eax, eax
js case.0x68011e0b.2807
mov edi, dword [ebp - 0x7c]
mov dword [ebp - 0x50], eax
lea ebx, [ebp - 0x54]
mov dword [ebp - 0x54], 4
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x4c], 0
mov dword [esp + 4], 0xaf2
mov dword [esp], edi
call eax
sub esp, 8
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104b
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
je case.0x68011e0b.2807
mov eax, dword [ebp - 0x34]
test eax, eax
je case.0x68011e0b.2807
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 0
mov dword [ebp - 0x54], 0x18
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0
call sym.cryptui.dll_CryptUIWizExport
sub esp, 0x14
jmp case.0x68011e0b.2807
mov dword [esp + 8], eax
mov dword [ebp - 0x80], eax
mov dword [esp + 4], 0x149
mov dword [esp], ebx
call esi
mov ecx, eax
sub esp, 0x10
lea ecx, [ecx + ecx + 2]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
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_HeapAlloc]
mov edx, dword [ebp - 0x80]
sub esp, 0xc
mov edi, eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x148
mov dword [esp], ebx
call esi
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14b
mov dword [esp], ebx
call esi
mov eax, dword [ebp - 0x7c]
sub esp, 0x10
call sym._initialize_purpose_selection
test edi, edi
je 0x680122a7
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x158
mov dword [esp], ebx
call esi
sub esp, 0x10
test eax, eax
js 0x68012789
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x14e
mov dword [esp], ebx
call esi
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
jmp 0x680122a7