Function at 0x10063ed0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x1009e034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x694], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
mov dword [ebp - 0x69c], eax
mov eax, dword [0x100a25c0]
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x420], 0xf750e6c3
mov dword [ebp - 0x41c], 0x11d138ee
mov dword [ebp - 0x418], 0xc000e585
mov dword [ebp - 0x414], 0xee95c24f
mov dword [ebp - 0x634], 0
test eax, eax
je 0x10063f5f
push 0
push 0
push ecx
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x634]
push ecx
call eax
test eax, eax
jne 0x10063f99
jmp 0x100643f7
cmp dword [esi], 0
jne 0x10063f7d
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10063f73
push str.CryptCATAdminAcquireContext
push eax
call ebx
mov dword [esi], eax
test eax, eax
je 0x100643f7
push 0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x634]
push eax
mov eax, dword [esi]
call eax
test eax, eax
je 0x100643f7
mov eax, dword [0x100a25bc]
mov dword [ebp - 0x638], 0x200
test eax, eax
je 0x10063fdc
push 0
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x638]
push ecx
push edi
push dword [ebp - 0x634]
call eax
test eax, eax
jne 0x10064010
mov edx, dword [ebp - 0x634]
push ecx
mov ecx, esi
call fcn.10063b90
jmp 0x100643f7
cmp dword [esi + 0x10], 0
jne 0x10063ff8
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10063ff1
push str.CryptCATAdminCalcHashFromFileHandle
push eax
call ebx
mov dword [esi + 0x10], eax
test eax, eax
je 0x10063fc9
push 0
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x638]
push eax
mov eax, dword [esi + 0x10]
push edi
call eax
jmp 0x10063fc5
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push dword [ebp - 0x694]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll__wcslwr_s]
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp dword [esi + 0x14], 0
mov ecx, dword [ebp - 0x634]
xorps xmm0, xmm0
movq qword [ebp - 0x658], xmm0
mov dword [ebp - 0x654], eax
lea eax, [ebp - 0x210]
movq qword [ebp - 0x650], xmm0
mov dword [ebp - 0x650], eax
mov dword [ebp - 0x64c], edi
mov edi, dword [ebp - 0x638]
movq qword [ebp - 0x660], xmm0
movq qword [ebp - 0x648], xmm0
lea eax, [ebp - 0x410]
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x660], 0x24
mov dword [ebp - 0x65c], 0
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x644], edi
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x6a0], 0
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x694], ecx
jne 0x10064136
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1006412b
push str.CryptCATAdminEnumCatalogFromHash
push eax
call ebx
mov ecx, dword [ebp - 0x694]
mov dword [esi + 0x14], eax
test eax, eax
je 0x100643cd
lea eax, [ebp - 0x63c]
push eax
push 0
push edi
lea eax, [ebp - 0x410]
push eax
mov eax, dword [esi + 0x14]
push ecx
call eax
mov edi, eax
test edi, edi
je 0x100643cd
mov eax, dword [ebp - 0x6a0]
mov ecx, eax
inc eax
mov dword [ebp - 0x6a0], eax
cmp ecx, 5
ja 0x100643ba
push 0x20c
lea eax, [ebp - 0x630]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esi + 0xc], 0
mov dword [ebp - 0x630], 0x20c
jne 0x100641af
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100641a4
push str.CryptCATCatalogInfoFromContext
push eax
call ebx
mov dword [esi + 0xc], eax
test eax, eax
je 0x100642ef
push 0
lea eax, [ebp - 0x630]
push eax
mov eax, dword [esi + 0xc]
push edi
call eax
test eax, eax
je 0x100642ef
lea eax, [ebp - 0x62c]
push 0x30
mov dword [ebp - 0x658], eax
lea eax, [ebp - 0x690]
push 0
push eax
call sub.MSVCR110.dll_memset
xor eax, eax
add esp, 0xc
cmp dword [ebp - 0x69c], eax
mov dword [ebp - 0x690], 0x30
setne al
cmp byte [0x100a5544], 0
mov dword [ebp - 0x68c], 0
mov dword [ebp - 0x688], 0
mov dword [ebp - 0x684], 2
mov dword [ebp - 0x680], 0
mov dword [ebp - 0x67c], 2
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x670], 0
mov dword [ebp - 0x66c], 0
jne 0x1006429a
lea edx, [ebp - 0x698]
lea ecx, [ebp - 0x694]
mov dword [ebp - 0x694], 0
mov dword [ebp - 0x698], 0
call fcn.1005ef70
mov eax, dword [ebp - 0x694]
and eax, 0xff00
cmp eax, 0x1500
setae al
mov byte [0x100a5544], al
mov dword [ebp - 0x668], 0x10
test al, al
je 0x100642a4
mov dword [ebp - 0x668], 0x1000
cmp dword [esi + 0x18], 0
lea eax, [ebp - 0x660]
mov dword [ebp - 0x664], 0
mov dword [ebp - 0x678], eax
jne 0x100642d6
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100642cf
push str.WinVerifyTrust
push eax
call ebx
mov dword [esi + 0x18], eax
test eax, eax
je 0x100642ef
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0x420]
push eax
mov eax, dword [esi + 0x18]
push 0xffffffffffffffff
call eax
test eax, eax
je 0x10064350
cmp dword [esi + 0x14], 0
mov ecx, dword [ebp - 0x634]
mov dword [ebp - 0x63c], edi
mov edi, dword [ebp - 0x638]
mov dword [ebp - 0x698], ecx
jne 0x1006432d
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10064322
push str.CryptCATAdminEnumCatalogFromHash
push eax
call ebx
mov ecx, dword [ebp - 0x698]
mov dword [esi + 0x14], eax
test eax, eax
je 0x100643cd
lea eax, [ebp - 0x63c]
push eax
push 0
push edi
lea eax, [ebp - 0x410]
push eax
mov eax, dword [esi + 0x14]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x10064157
jmp 0x100643cd
mov eax, dword [ebp - 0x69c]
test eax, eax
je 0x10064369
push eax
lea eax, [ebp - 0x690]
push eax
mov ecx, esi
call fcn.10064410
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0x420]
push eax
mov ecx, esi
mov dword [ebp - 0x674], 2
call fcn.10063c10
mov edx, dword [ebp - 0x634]
push ecx
push edi
mov ecx, esi
call fcn.10063bd0
mov edx, dword [ebp - 0x634]
push ecx
mov ecx, esi
call fcn.10063b90
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
je 0x100643cd
mov edx, dword [ebp - 0x634]
push ecx
push edi
mov ecx, esi
call fcn.10063bd0
cmp dword [esi + 4], 0
mov edi, dword [ebp - 0x634]
jne 0x100643ef
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100643e8
push str.CryptCATAdminReleaseContext
push eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x100643f7
mov eax, dword [esi + 4]
push 0
push edi
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x80004005
pop ebx
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret 0x10