Function at 0x1002c1e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f050
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x1006500c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push str.wintrust.dll
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.1003dd45
mov ecx, dword [ebp - 0x1c]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ecx
or edx, 0xffffffff
cmp ebx, ecx
ja 0x1002c273
cmp ecx, 8
mov dword [ebp - 0x20], ebx
lea esi, [ebx + ebx]
push esi
lea edi, [ebp - 0x30]
cmovae edi, dword [ebp - 0x30]
push str.wintrust.dll
push edi
call fcn.10037950
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x1002c360
cmp ebx, 0x7ffffffe
ja 0x1002c636
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x1002c293
mov esi, 0x7ffffffe
jmp 0x1002c2b4
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x1002c2a9
mov esi, 0x7ffffffe
jmp 0x1002c2b1
lea eax, [ecx + edx]
cmp esi, eax
cmovb esi, eax
or edx, 0xffffffff
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x1002c2c6
or ecx, 0xffffffff
jmp 0x1002c2ce
cmp ecx, 0x1000
jb 0x1002c2f2
lea eax, [ecx + 0x23]
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.10036327
add esp, 4
test eax, eax
je 0x1002c63b
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x1002c305
test ecx, ecx
je 0x1002c303
push ecx
call fcn.10036327
add esp, 4
mov edi, eax
jmp 0x1002c305
xor edi, edi
mov dword [ebp - 0x1c], esi
lea esi, [ebx + ebx]
push esi
push str.wintrust.dll
push edi
mov dword [ebp - 0x20], ebx
call fcn.10037ed0
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1002c35d
mov ecx, dword [ebp - 0x30]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c353
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c63b
push edx
push ecx
call fcn.10036357
add esp, 8
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
call fcn.100257f0
mov ecx, eax
call fcn.100258b0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x1002c3bb
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c3b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c640
push edx
push ecx
call fcn.10036357
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
push str.crypt32.dll
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.1003dd45
mov ebx, eax
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
cmp ebx, eax
ja 0x1002c426
cmp eax, 8
mov dword [ebp - 0x38], ebx
lea esi, [ebx + ebx]
push esi
lea edi, [ebp - 0x48]
cmovae edi, dword [ebp - 0x48]
push str.crypt32.dll
push edi
call fcn.10037950
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x1002c514
cmp ebx, 0x7ffffffe
ja 0x1002c645
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x1002c446
mov esi, 0x7ffffffe
jmp 0x1002c463
mov ecx, eax
mov edx, 0x7ffffffe
shr ecx, 1
sub edx, ecx
cmp eax, edx
jbe 0x1002c45c
mov esi, 0x7ffffffe
jmp 0x1002c463
add eax, ecx
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x1002c475
or ecx, 0xffffffff
jmp 0x1002c47d
cmp ecx, 0x1000
jb 0x1002c4a6
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.10036327
add esp, 4
test eax, eax
je 0x1002c63b
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x1002c4b9
test ecx, ecx
je 0x1002c4b7
push ecx
call fcn.10036327
add esp, 4
mov edi, eax
jmp 0x1002c4b9
xor edi, edi
mov dword [ebp - 0x34], esi
lea esi, [ebx + ebx]
push esi
push str.crypt32.dll
push edi
mov dword [ebp - 0x38], ebx
call fcn.10037ed0
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1002c511
mov ecx, dword [ebp - 0x48]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c507
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c64a
push edx
push ecx
call fcn.10036357
add esp, 8
mov dword [ebp - 0x48], edi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
call fcn.100257f0
mov ecx, eax
call fcn.100258b0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x1002c56e
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c564
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c64f
push edx
push ecx
call fcn.10036357
add esp, 8
mov ebx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
test ebx, ebx
je 0x1002c624
test edi, edi
je 0x1002c624
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
mov ecx, dword [ebp - 0x10]
push str.CryptCATAdminAcquireContext
push ebx
mov dword [ecx + 4], eax
call esi
mov ecx, dword [ebp - 0x10]
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [ecx + 8], eax
call esi
mov ecx, dword [ebp - 0x10]
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [ecx + 0xc], eax
call esi
mov ecx, dword [ebp - 0x10]
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [ecx + 0x10], eax
call esi
mov ecx, dword [ebp - 0x10]
push str.CryptCATAdminReleaseContext
push ebx
mov dword [ecx + 0x14], eax
call esi
mov ecx, dword [ebp - 0x10]
push str.WTHelperProvDataFromStateData
push ebx
mov dword [ecx + 0x18], eax
call esi
mov ecx, dword [ebp - 0x10]
push str.WTHelperGetProvSignerFromChain
push ebx
mov dword [ecx + 0x1c], eax
call esi
mov ecx, dword [ebp - 0x10]
push str.WinVerifyTrust
push ebx
mov dword [ecx + 0x20], eax
call esi
mov ebx, dword [ebp - 0x10]
push str.CertNameToStrW
push edi
mov dword [ebx + 0x24], eax
call esi
mov dword [ebx + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10002957
call fcn.1003df6b
call fcn.1003df6b
call fcn.10002957
call fcn.1003df6b
call fcn.1003df6b
int3