Function at 0x1001f6d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056920
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x10075098]
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.1003d089
mov ecx, dword [ebp - 0x1c]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ecx
or edx, 0xffffffff
cmp ebx, ecx
ja 0x1001f763
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.10033dd0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x1001f850
cmp ebx, 0x7ffffffe
ja 0x1001fb26
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x1001f783
mov esi, SysReAllocString
jmp 0x1001f7a4
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x1001f799
mov esi, SysReAllocString
jmp 0x1001f7a1
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 0x1001f7b6
or ecx, 0xffffffff
jmp 0x1001f7be
cmp ecx, 0x1000
jb 0x1001f7e2
lea eax, [ecx + 0x23]
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.100321f7
add esp, 4
test eax, eax
je 0x1001fb2b
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x1001f7f5
test ecx, ecx
je 0x1001f7f3
push ecx
call fcn.100321f7
add esp, 4
mov edi, eax
jmp 0x1001f7f5
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.10033850
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1001f84d
mov ecx, dword [ebp - 0x30]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f843
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001fb2b
push edx
push ecx
call fcn.100321e9
add esp, 8
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
call fcn.100190a0
mov ecx, eax
call fcn.10019160
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x1001f8ab
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f8a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001fb30
push edx
push ecx
call fcn.100321e9
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.1003d089
mov ebx, eax
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
cmp ebx, eax
ja 0x1001f916
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.10033dd0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x1001fa04
cmp ebx, 0x7ffffffe
ja 0x1001fb35
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x1001f936
mov esi, SysReAllocString
jmp 0x1001f953
mov ecx, eax
mov edx, SysReAllocString
shr ecx, 1
sub edx, ecx
cmp eax, edx
jbe 0x1001f94c
mov esi, SysReAllocString
jmp 0x1001f953
add eax, ecx
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x1001f965
or ecx, 0xffffffff
jmp 0x1001f96d
cmp ecx, 0x1000
jb 0x1001f996
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.100321f7
add esp, 4
test eax, eax
je 0x1001fb2b
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x1001f9a9
test ecx, ecx
je 0x1001f9a7
push ecx
call fcn.100321f7
add esp, 4
mov edi, eax
jmp 0x1001f9a9
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.10033850
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1001fa01
mov ecx, dword [ebp - 0x48]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f9f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001fb3a
push edx
push ecx
call fcn.100321e9
add esp, 8
mov dword [ebp - 0x48], edi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x48]
push eax
call fcn.100190a0
mov ecx, eax
call fcn.10019160
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x1001fa5e
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001fa54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001fb3f
push edx
push ecx
call fcn.100321e9
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 0x1001fb14
test edi, edi
je 0x1001fb14
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.10001aa0
call fcn.1003d039
call fcn.1003d039
call fcn.10001aa0
call fcn.1003d039
call fcn.1003d039
int3