Function at 0x680044a0
Capabilities:
Get process heap flags
Hide graphical window

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, 0x828
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
cmp eax, 0x110
je 0x68004500
cmp eax, 0x111
jne 0x680044e8
cmp edx, 1
je 0x680047c0
cmp edx, 2
je 0x68004780
lea esi, [esi]
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 8], ebx
mov dword [esp + 4], 8
mov dword [esp], esi
call sym._SetWindowLongW_12
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax + 0xc]
test edx, edx
je 0x68004541
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], esi
call sym._SendMessageW_16
mov eax, dword [ebx]
sub esp, 0x10
mov edi, dword [eax + 0x10]
test edi, edi
je 0x6800457c
mov dword [esp + 4], 0xa28
mov dword [esp], esi
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
mov eax, dword [ebx]
sub esp, 0x10
test byte [eax + 8], 1
je 0x68004880
mov ebx, dword [eax + 0x14]
mov dword [esp + 4], 0xa29
xor edi, edi
mov dword [esp], esi
call sym._GetDlgItem_8
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x824], eax
sub esp, 8
test ecx, ecx
je 0x680045de
nop
lea esi, [esi]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], sym._enum_store_callback_20
mov dword [esp + 8], esi
lea eax, [eax + edi*8]
add edi, 1
mov edx, dword [eax + 4]
mov dword [esp + 4], edx
mov eax, dword [eax]
mov dword [esp], eax
call sym._CertEnumSystemStore_16
sub esp, 0x10
cmp edi, dword [ebx + 8]
jb 0x680045b0
mov edx, dword [ebx]
xor esi, esi
mov eax, dword fs:[0x18]
mov dword [ebp - 0x820], eax
test edx, edx
jne 0x6800460b
jmp 0x680044e8
add esi, 1
cmp esi, dword [ebx]
jae 0x680044e8
lea eax, [ebp - 0x818]
mov dword [esp + 8], 0
lea edi, [esi*4]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x1000
mov eax, dword [ebx + 4]
mov eax, dword [eax + esi*4]
mov dword [esp], eax
call sym._CertGetStoreProperty_16
sub esp, 0x10
test eax, eax
je 0x68004600
mov eax, dword [ebp - 0x818]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x820]
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 edx, eax
test eax, eax
je 0x68004600
lea eax, [ebp - 0x818]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x1000
mov eax, dword [ebx + 4]
mov dword [ebp - 0x81c], edx
mov eax, dword [eax + edi]
mov dword [esp], eax
call sym._CertGetStoreProperty_16
mov edx, dword [ebp - 0x81c]
sub esp, 0x10
test eax, eax
jne 0x680046d8
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 0x68004600
mov eax, dword [ebp - 0x820]
mov dword [esp + 8], 8
mov dword [esp + 4], 0
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 - 0x81c]
sub esp, 0xc
test eax, eax
je 0x680046a8
mov dword [eax], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + edi]
mov dword [ebp - 0x3ec], eax
mov dword [ebp - 0x400], edx
mov dword [eax + 4], ecx
lea eax, [ebp - 0x418]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x824]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov dword [esp], eax
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xffff0002
mov dword [ebp - 0x410], 5
call sym._SendMessageW_16
mov edx, dword [ebp - 0x81c]
sub esp, 0x10
jmp 0x680046a8
mov dword [esp], esi
mov dword [esp + 4], 0xa29
call sym._GetDlgItem_8
sub esp, 8
call sym._free_store_info
mov dword [esp], esi
mov dword [esp + 4], 2
call sym._EndDialog_8
mov eax, 1
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 4], 0xa29
mov dword [esp], esi
call sym._GetDlgItem_8
sub esp, 8
mov ebx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 9
mov dword [esp + 4], 0x110a
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov dword [ebp - 0x81c], eax
mov dword [esp + 4], 8
mov dword [esp], esi
call sym._GetWindowLongW_8
mov edx, dword [ebp - 0x81c]
sub esp, 8
mov edi, eax
test edx, edx
jne 0x680048b0
mov eax, dword [eax]
mov ebx, dword [eax + 0xc]
mov eax, dword [0x68022004]
test ebx, ebx
je 0x680049a0
lea edi, [ebp - 0x418]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], edi
mov dword [esp + 4], 0x412
mov dword [esp], eax
call sym._LoadStringW_16
sub esp, 0x10
mov dword [esp + 0xc], 0x30
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._MessageBoxW_16
mov eax, 1
sub esp, 0x10
jmp 0x680044ea
mov dword [esp + 4], 0xa2a
mov dword [esp], esi
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx]
sub esp, 8
jmp 0x68004586
xor ecx, ecx
xor eax, eax
mov dword [ebp + eax - 0x810], ecx
add eax, 4
cmp eax, 0x20
jb 0x680048b4
lea eax, [ebp - 0x818]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x113e
mov dword [esp], ebx
mov dword [ebp - 0x814], edx
lea edx, [ebp - 0x418]
mov dword [ebp - 0x808], edx
mov dword [ebp - 0x818], 0x15
mov dword [ebp - 0x804], 0x200
call sym._SendMessageW_16
mov eax, dword [ebp - 0x7f4]
lea edx, [ebp - 0x418]
sub esp, 0x10
test eax, eax
je 0x68004980
mov edx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
jne 0x68004980
mov ecx, dword [edi]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x68004953
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x81c], edx
mov dword [esp], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
call eax
mov edx, dword [ebp - 0x81c]
sub esp, 0xc
test eax, eax
je 0x680049cf
mov dword [edi + 4], edx
mov eax, ebx
call sym._free_store_info
mov dword [esp + 4], 1
mov dword [esp], esi
call sym._EndDialog_8
mov eax, 1
sub esp, 8
jmp 0x680044ea
mov dword [esp + 4], edx
mov dword [esp], 0
call sym._CertOpenSystemStoreW_8
sub esp, 8
mov edx, eax
jmp 0x68004927
lea ebx, [ebp - 0x818]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x411
mov dword [esp], eax
call sym._LoadStringW_16
mov eax, dword [0x68022004]
sub esp, 0x10
jmp 0x68004833
mov dword [esp + 4], 0
mov dword [esp], edx
call sym._CertCloseStore_8
mov eax, 1
sub esp, 8
jmp 0x680044ea