Function at 0x40a9b0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xac
mov ecx, dword [esp + 0xb0]
push ebx
push ebp
push esi
xor eax, eax
xor esi, esi
push edi
xor ebp, ebp
xor edi, edi
cmp dword [ecx + 0x14], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x13], al
jne 0x40a9fa
push str.error_8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40ac70
push esi
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x4c]
push eax
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x58]
push eax
push esi
push 2
push 0x400
call fcn.00401d40
push eax
push 1
call dword [sym.imp.CRYPT32.dll_CryptQueryObject]
test eax, eax
jne 0x40aa3e
push str.error_7
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40ac70
mov edx, dword [esp + 0x18]
mov ebx, dword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
lea ecx, [esp + 0x28]
push ecx
push esi
push esi
push 6
push edx
call ebx
test eax, eax
jne 0x40aa68
push str.error_6
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40ac70
mov eax, dword [esp + 0x28]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x40aa8b
push str.error_5
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40ac70
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push ecx
push esi
push 0
push 6
push edx
call ebx
test eax, eax
jne 0x40aab0
push str.error_4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40ac70
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00409330
add esp, 8
test eax, eax
je 0x40ab04
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40aad8
push eax
push str.Program_Name_:__s_n
call fcn.00408fc0
add esp, 8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40aaee
push eax
push str.Publisher_Link_:__s_n
call fcn.00408fc0
add esp, 8
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40ab04
push eax
push str.MoreInfo_Link_:__s_n
call fcn.00408fc0
add esp, 8
push 0x448248
call fcn.0041f9a5
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
add esp, 4
mov dword [esp + 0x64], ecx
mov edx, dword [esi + 8]
push 0
mov dword [esp + 0x6c], edx
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x50]
push edx
push 0xb0000
push 0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x10]
push 0x10001
push eax
mov dword [esp + 0x6c], ecx
call ebx
mov edi, eax
test edi, edi
jne 0x40ab63
push str.error_1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40ac70
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
push ecx
push edx
push edi
call fcn.00408fd0
add esp, 0xc
test eax, eax
jne 0x40ab90
push str.error_2
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40ac70
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.004095d0
mov ebp, dword [esp + 0x34]
add esp, 8
test eax, eax
je 0x40ac6b
mov ecx, dword [ebp + 4]
mov dword [esp + 0x64], ecx
mov edx, dword [ebp + 8]
push 0
mov dword [esp + 0x6c], edx
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x50]
push edx
push 0xb0000
push 0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x10]
push 0x10001
push eax
mov dword [esp + 0x6c], ecx
call ebx
mov edi, eax
test edi, edi
jne 0x40ac07
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CertFindCertificateInStore_failed_with__x_n
call fcn.0041f9a5
add esp, 8
push str.error_3
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40ac70
push str.TimeStamp_Certificate:_n_n
call fcn.0041f9a5
push edi
call fcn.004091a0
push 0x448248
call fcn.0041f9a5
lea ecx, [esp + 0x3c]
push ecx
push ebp
call fcn.00409500
add esp, 0x14
test eax, eax
je 0x40ac5e
movzx edx, word [esp + 0x3a]
movzx eax, word [esp + 0x38]
movzx ecx, word [esp + 0x30]
push edx
movzx edx, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3a]
push ecx
push edx
push eax
push str.Date_of_TimeStamp_:__02d__02d__04d__02d:_02d_n
call fcn.0041f9a5
add esp, 0x18
push 0x448248
call fcn.0041f9a5
add esp, 4
mov byte [esp + 0x13], 1
cmp dword [esp + 0x1c], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x40ac84
mov ecx, dword [esp + 0x1c]
push ecx
call ebx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40ac8f
push eax
call ebx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40ac9a
push eax
call ebx
test esi, esi
je 0x40aca1
push esi
call ebx
test ebp, ebp
je 0x40aca8
push ebp
call ebx
test edi, edi
je 0x40acb3
push edi
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, dword [esp + 0x14]
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x40acc8
push 0
push eax
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, dword [esp + 8]
test eax, eax
je 0x40acd7
push eax
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
mov al, byte [esp + 3]
add esp, 0xac
ret