Function at 0x68011e60
Capabilities:
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, 0x488
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
test byte [0x68015140], 8
jne 0x68012110
cmp ebx, 0x111
je 0x6801215c
ja 0x680120f0
cmp ebx, 0x4e
je 0x680122b0
cmp ebx, 0x110
jne 0x680120d6
mov eax, dword [edx + 0x1c]
mov dword [esp], edi
lea ebx, [ebp - 0x418]
mov dword [esp + 4], 0x834
mov dword [ebp - 0x46c], eax
call sym._GetDlgItem_8
xor edx, edx
mov dword [ebp - 0x470], edi
sub esp, 8
mov esi, eax
mov edi, edx
lea esi, [esi]
mov eax, dword [edi*8 + 0x68017900]
mov dword [esp + 0xc], 0x200
add edi, 1
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [0x68022004]
mov dword [esp], eax
call sym._LoadStringW_16
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x14a
mov dword [esp], esi
call sym._SendMessageW_16
mov edx, dword [ebp - 0x46c]
sub esp, 0x10
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x151
mov dword [esp], esi
call sym._SendMessageW_16
sub esp, 0x10
cmp edi, 5
jne 0x68011ee8
mov dword [esp], esi
mov edi, dword [ebp - 0x470]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14e
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 4], 0x835
mov dword [esp], edi
call sym._GetDlgItem_8
sub esp, 8
mov esi, eax
mov dword [esp + 0xc], 0x20
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1036
mov dword [esp], eax
call sym._SendMessageW_16
lea eax, [ebp - 0x464]
sub esp, 0x10
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._GetWindowRect_8
mov eax, dword [0x68022004]
sub esp, 8
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x3fb
mov dword [esp], eax
call sym._LoadStringW_16
mov eax, dword [ebp - 0x45c]
sub eax, dword [ebp - 0x464]
mov dword [ebp - 0x454], 6
mov edx, eax
shr eax, 0x1f
sub esp, 0x10
mov dword [ebp - 0x448], ebx
add eax, edx
lea edx, [ebp - 0x454]
mov dword [esp], esi
mov dword [esp + 0xc], edx
sar eax, 1
mov dword [esp + 8], 0
sub eax, 2
mov dword [esp + 4], 0x1061
mov dword [ebp - 0x44c], eax
call sym._SendMessageW_16
mov eax, dword [0x68022004]
sub esp, 0x10
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x3fc
mov dword [esp], eax
call sym._LoadStringW_16
lea edx, [ebp - 0x454]
sub esp, 0x10
mov dword [esp + 0xc], edx
mov dword [esp], esi
mov dword [esp + 8], 1
mov dword [esp + 4], 0x1061
call sym._SendMessageW_16
mov esi, dword [ebp - 0x46c]
mov eax, edi
xor ecx, ecx
sub esp, 0x10
mov edx, esi
call sym._set_fields_selection
mov eax, dword [esi]
mov eax, dword [eax + 8]
test al, 8
je 0x680123e8
test ah, 0x20
je 0x680120d6
mov dword [esp + 4], 0x838
mov dword [esp], edi
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._EnableWindow_8
sub esp, 8
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp ebx, 0x400
jne 0x680120d6
mov eax, edi
call sym._refresh_details_view
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], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.__p___08x___08Ix___08Ix__n
mov dword [esp + 8], str.detail_dlg_proc
mov dword [esp + 4], 0x68015140
mov dword [esp], 3
mov dword [ebp - 0x46c], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x46c]
cmp ebx, 0x111
jne 0x68011e9b
cmp esi, 0x838
je 0x68012420
cmp esi, 0x10834
je 0x680120f8
cmp esi, 0x837
jne 0x680120d6
mov dword [esp + 4], 0x834
mov dword [esp], edi
call sym._GetDlgItem_8
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 sym._SendMessageW_16
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x150
call sym._SendMessageW_16
sub esp, 0x10
mov ebx, eax
mov dword [esp], edi
call sym._GetParent_4
sub esp, 4
mov esi, eax
test byte [0x68015140], 8
jne 0x680124c0
lea edx, [ebp - 0x408]
xor eax, eax
mov ecx, 0xa
mov edi, edx
lea edx, [ebp - 0x444]
rep stosd dword es:[edi], eax
mov edi, dword [0x68022004]
mov ecx, 9
mov dword [ebp - 0x3fc], ebx
mov dword [ebp - 0x418], 0x38
lea ebx, [ebp - 0x454]
mov dword [ebp - 0x410], edi
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [0x68022004]
mov dword [esp], ebx
mov dword [ebp - 0x414], pe_nt_image_headers32
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x3f8], sym._cert_properties_general_callback_12
mov dword [ebp - 0x40c], 0x68
mov dword [ebp - 0x400], sym._cert_properties_general_dlg_proc_16
mov dword [ebp - 0x454], 0x34
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x450], 8
mov dword [ebp - 0x440], 0x40e
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x43c], 1
call sym._PropertySheetW_4
sub esp, 4
jmp 0x680120d6
mov dword [esp + 4], 0x835
mov dword [esp], edi
mov dword [ebp - 0x46c], edx
call sym._GetDlgItem_8
mov edx, dword [ebp - 0x46c]
sub esp, 8
mov ebx, eax
cmp dword [edx], eax
jne 0x680120d6
test dword [edx + 0x14], 0xffffff8e
je 0x680120d6
cmp dword [edx + 8], 0xffffff9b
jne 0x680120d6
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x28]
test eax, eax
js 0x680120d6
test ecx, ecx
je 0x680120d6
cmp eax, dword [ecx + 8]
jge 0x680120d6
mov dword [esp], edi
mov dword [esp + 4], 0x836
mov dword [ebp - 0x470], edx
mov dword [ebp - 0x46c], ecx
call sym._GetDlgItem_8
mov ecx, dword [ebp - 0x46c]
push edx
mov esi, eax
push edx
mov edx, dword [ebp - 0x470]
mov edx, dword [edx + 0xc]
imul eax, edx, 0xc
add eax, dword [ecx + 0xc]
mov edi, dword [eax]
test edi, edi
je 0x680124fd
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call edi
mov ebx, eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb1
mov dword [esp], esi
call sym._SendMessageW_16
sub esp, 0x10
test ebx, ebx
je 0x680124ed
cmp word [ebx], 0
mov eax, ebx
je 0x6801239d
add eax, 2
cmp word [eax], 0
jne 0x68012394
sub eax, ebx
mov edx, ebx
sar eax, 1
mov ecx, eax
mov eax, esi
call sym._add_unformatted_text_to_control
lea eax, [ebp - 0x418]
cmp ebx, eax
je 0x680120d6
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
jmp 0x680120d6
mov dword [esp + 4], 0x837
mov dword [esp], edi
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._EnableWindow_8
mov eax, dword [ebp - 0x46c]
sub esp, 8
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x680120ab
mov dword [esp + 4], 0x834
mov dword [esp], edi
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x150
mov dword [esp], eax
call sym._SendMessageW_16
mov dword [ebp - 0x418], 0x18
mov dword [ebp - 0x414], 0
sub esp, 0x10
mov dword [ebp - 0x410], 1
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x418]
mov dword [esp + 0xc], eax
mov dword [esp + 4], edi
mov dword [esp], 0
mov dword [ebp - 0x408], 0
call sym.cryptui.dll_CryptUIWizExport
sub esp, 0x14
jmp 0x680120d6
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.show_edit_cert_properties_dialog
mov dword [esp + 4], 0x68015140
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x680121ef
xor ecx, ecx
xor edx, edx
mov eax, esi
call sym._add_unformatted_text_to_control
jmp 0x680123ba
lea eax, [ebp - 0x454]
mov dword [esp], ebx
lea edi, [ebp - 0x418]
mov ebx, 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104b
mov dword [ebp - 0x43c], 0x200
mov dword [ebp - 0x454], 1
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x450], edx
mov dword [ebp - 0x44c], 1
call sym._SendMessageW_16
sub esp, 0x10
test eax, eax
cmovne ebx, edi
jmp 0x68012361