Function at 0x4149e9
Capabilities:
Link many functions at runtime

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebp, [esi + 0x198]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
cmp dword [esi], ebx
mov dword [esp + 0x10], ebx
jne 0x414a2b
push str.wintrust.dll
call edi
cmp eax, ebx
mov dword [esi], eax
je 0x414b7e
cmp dword [esi + 4], ebx
jne 0x414a42
push str.Crypt32.dll
call edi
cmp eax, ebx
mov dword [esi + 4], eax
je 0x414b7e
cmp dword [esi + 8], ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x414a61
push str.CryptCATAdminAcquireContext
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 8], eax
je 0x414b7e
cmp dword [esi + 0xc], ebx
jne 0x414a7a
push str.CryptCATAdminReleaseContext
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0xc], eax
je 0x414b7e
cmp dword [esi + 0x14], ebx
jne 0x414a93
push str.CryptCATCatalogInfoFromContext
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x14], eax
je 0x414b7e
cmp dword [esi + 0x10], ebx
jne 0x414aac
push str.CryptCATAdminReleaseCatalogContext
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x414b7e
cmp dword [esi + 0x18], ebx
jne 0x414ac5
push str.CryptCATAdminCalcHashFromFileHandle
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x18], eax
je 0x414b7e
cmp dword [esi + 0x1c], ebx
jne 0x414ade
push str.CryptCATAdminEnumCatalogFromHash
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x1c], eax
je 0x414b7e
cmp dword [esi + 0x20], ebx
jne 0x414af7
push str.WinVerifyTrustEx
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x20], eax
je 0x414b7e
cmp dword [esi + 0x24], ebx
jne 0x414b0c
push str.WTHelperProvDataFromStateData
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x24], eax
je 0x414b7e
cmp dword [esi + 0x28], ebx
jne 0x414b21
push str.WTHelperGetProvSignerFromChain
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x28], eax
je 0x414b7e
cmp dword [esi + 0x2c], ebx
jne 0x414b36
push str.WTHelperGetProvCertFromChain
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 0x2c], eax
je 0x414b7e
cmp dword [esi + 0x30], ebx
jne 0x414b4c
push str.CertNameToStrW
push dword [esi + 4]
call edi
cmp eax, ebx
mov dword [esi + 0x30], eax
je 0x414b7e
push 0x40
lea eax, [esi + 0x50]
push ebx
push eax
call sub.MSVCR80.dll_memset
push 0x104
lea eax, [esi + 0x90]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0x18
mov ecx, esi
call fcn.004138d4
mov dword [esp + 0x10], 1
jmp 0x414bbd
mov eax, dword [esi]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
je 0x414bb0
push eax
call edi
mov dword [esi], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x414bbd
push eax
call edi
mov dword [esi + 4], ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret