Function at 0x412b40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5644f0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5df890]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x5df890]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x30], ebx
call fcn.00428d99
mov ecx, dword [eax + 4]
call fcn.00421183
lea edi, [ebx + 0xb4]
mov dword [esp + 0x90], 0
mov dword [esp + 0x28], edi
call fcn.0040d480
lea eax, [esp + 0x38]
push eax
call fcn.00414260
mov byte [esp + 0x90], 1
mov ecx, dword [ebx + 0xdc]
sub ecx, dword [ebx + 0xd8]
test ecx, 0xfffffffc
je 0x412d01
lea esi, [esp + 0x10]
mov ecx, edi
call fcn.004105a0
mov byte [esp + 0x90], 2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
xor edi, edi
sar eax, 2
cmp edi, eax
jae 0x412cd3
mov edx, dword [ecx + edi*4]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.0055cd30
add esp, 8
mov byte [esp + 0x90], 3
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x1c]
sar ecx, 2
cmp edi, ecx
jb 0x412c28
call fcn.0043a4a0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + edi*4]
push eax
call fcn.0055cca0
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
add esp, 4
sar ecx, 2
mov esi, eax
cmp edi, ecx
jb 0x412c4e
call fcn.0043a4a0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + edi*4]
push esi
push eax
push str.Send_Close_Message__d__X
push str.CWizCertUtilDlg::OnBnClickedFource
call fcn.0055e8c0
add esp, 0x10
lea ecx, [esp + 0x34]
push ecx
push 0xbb8
push 0
push 0
push 0xf060
push 0x112
push esi
call dword [0x56656c]
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x3c]
push eax
lea ebx, [esp + 0x60]
call fcn.00414100
mov byte [esp + 0x90], 2
cmp dword [esp + 0x7c], 0x10
jb 0x412cb7
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0041d541
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
inc edi
sar eax, 2
cmp edi, eax
jb 0x412bfb
mov ebx, dword [esp + 0x30]
xor edi, edi
mov byte [esp + 0x90], 1
cmp ecx, edi
je 0x412ce8
push ecx
call fcn.0041d541
add esp, 4
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.0041d541
add esp, 4
xor esi, esi
mov edi, dword [esp + 0x28]
call fcn.0040d480
mov eax, dword [ebx + 0xdc]
sub eax, dword [ebx + 0xd8]
test eax, 0xfffffffc
je 0x412d53
push 0x1f4
call dword [0x56637c]
mov ecx, dword [ebx + 0xdc]
sub ecx, dword [ebx + 0xd8]
push esi
sar ecx, 2
push ecx
push str.Wait_Terminate_Firefox__d__d
push str.CWizCertUtilDlg::OnBnClickedFource
call fcn.0055e8c0
inc esi
add esp, 0x10
cmp esi, 6
jl 0x412d03
call fcn.0040d480
mov edx, dword [ebx + 0xdc]
sub edx, dword [ebx + 0xd8]
test edx, 0xfffffffc
je 0x412eca
lea esi, [esp + 0x10]
mov ecx, edi
call fcn.004105a0
mov byte [esp + 0x90], 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
xor esi, esi
sar eax, 2
cmp esi, eax
jae 0x412e9c
mov eax, dword [ecx + esi*4]
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.0055cd30
add esp, 8
mov byte [esp + 0x90], 5
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x1c]
sar edx, 2
cmp esi, edx
jb 0x412dc7
call fcn.0043a4a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
push ecx
call fcn.0055cca0
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x20]
add esp, 4
sar edx, 2
mov ebx, eax
cmp esi, edx
jb 0x412ded
call fcn.0043a4a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
push ebx
push ecx
call fcn.0055c8c0
mov ebx, dword [esp + 0x70]
mov edi, 0x10
add esp, 8
cmp dword [esp + 0x7c], edi
jae 0x412e11
lea ebx, [esp + 0x68]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x1c]
sar edx, 2
cmp esi, edx
jb 0x412e25
call fcn.0043a4a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
push ebx
push ecx
push str.Forect_terminate__d:_s
push str.CWizCertUtilDlg::OnBnClickedFource
call fcn.0055e8c0
add esp, 0x10
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x3c]
push eax
lea ebx, [esp + 0x60]
call fcn.00414100
mov byte [esp + 0x90], 4
cmp dword [esp + 0x7c], edi
jb 0x412e6e
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0041d541
add esp, 4
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x78], eax
mov byte [esp + 0x68], al
mov eax, dword [esp + 0x20]
sub eax, ecx
inc esi
sar eax, 2
mov dword [esp + 0x7c], 0xf
cmp esi, eax
jb 0x412d9a
mov ebx, dword [esp + 0x30]
xor esi, esi
mov byte [esp + 0x90], 1
cmp ecx, esi
je 0x412eb1
push ecx
call fcn.0041d541
add esp, 4
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.0041d541
add esp, 4
mov ecx, ebx
call fcn.00411620
sub esp, 0x20
mov dword [esp + 0x54], esp
mov eax, esp
lea ecx, [esp + 0x58]
push ecx
push eax
call fcn.00414050
push ebx
call fcn.00412fb0
mov edx, dword [ebx]
mov eax, dword [edx + 0x158]
mov ecx, ebx
call eax
lea esi, [esp + 0x38]
mov byte [esp + 0x90], 6
call fcn.00414970
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0041d541
add esp, 4
lea ecx, [esp + 0x2f]
mov dword [esp + 0x90], 0xffffffff
call fcn.00416370
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0043a097
mov esp, ebp
pop ebp
ret