Function at 0x100a9890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101037a0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10172eb8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
push esi
push esi
mov byte [esp + 0x90], 3
call fcn.100a7470
add esp, 8
push 0x1014363c
push 0x10000
push esi
push esi
mov edi, eax
push 0xa
mov dword [esp + 0x34], edi
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
cmp edi, esi
mov dword [esp + 0x24], eax
je 0x100a9e0e
push esi
push esi
push edi
call fcn.100a74e0
mov ebp, eax
add esp, 0xc
cmp ebp, esi
mov dword [esp + 0x18], ebp
je 0x100a9b7f
push ebp
call fcn.100a6b90
mov ebx, eax
add esp, 4
cmp ebx, esi
mov dword [esp + 0x14], ebx
je 0x100a9b7b
cmp dword [ebx + 0xbc], 2
jne 0x100a9984
push ebx
call fcn.100a6ae0
add esp, 4
mov dword [esp + 0x14], esi
jmp 0x100a9b62
push esi
push 0x41
push ebp
call dword [sym.imp.CRYPT32.dll_CryptFindCertificateKeyProvInfo]
test eax, eax
jne 0x100a99b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090022
je 0x100a99b1
push ebx
call fcn.100a6ae0
add esp, 4
mov dword [esp + 0x14], esi
jmp 0x100a9b62
push 0
call fcn.100d1f1a
mov edi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x28]
add esp, 4
mov dword [esp + 0x28], ecx
mov esi, edx
mov edx, dword [eax + 0x2c]
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x34], edx
call fcn.100a7240
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0x24]
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], edx
call fcn.100a7240
cmp esi, dword [esp + 0x1c]
jl 0x100a9b53
jg 0x100a9a17
cmp edi, dword [esp + 0x18]
jbe 0x100a9b53
cmp esi, dword [esp + 0x3c]
jl 0x100a9a2d
jg 0x100a9b53
cmp edi, dword [esp + 0x38]
jae 0x100a9b53
mov ecx, dword [esp + 0x20]
push ebp
push ecx
call fcn.100a77c0
add esp, 8
test al, al
jne 0x100a9b53
mov edx, dword [esp + 0x24]
push ebp
push edx
call fcn.100a77c0
add esp, 8
test al, al
jne 0x100a9b53
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x98]
push eax
call fcn.100a84c0
mov eax, dword [ebx + 0xb8]
add esp, 4
cmp eax, 1
jne 0x100a9ab4
mov eax, dword [ebx + 0xbc]
cmp eax, 1
jne 0x100a9a99
push eax
push ebx
lea ebx, [esp + 0x78]
call fcn.100a96c0
add esp, 8
jmp 0x100a9b5c
test eax, eax
jne 0x100a9b53
push eax
push ebx
lea ebx, [esp + 0x78]
call fcn.100a96c0
add esp, 8
jmp 0x100a9b5c
cmp eax, 2
jne 0x100a9aeb
mov eax, dword [ebx + 0xbc]
cmp eax, 1
jne 0x100a9ad7
push eax
push ebx
lea ebx, [esp + 0x68]
call fcn.100a96c0
add esp, 8
jmp 0x100a9b5c
test eax, eax
jne 0x100a9b53
push eax
push ebx
lea ebx, [esp + 0x68]
call fcn.100a96c0
add esp, 8
jmp 0x100a9b5c
cmp eax, 3
jne 0x100a9b1f
mov eax, dword [ebx + 0xbc]
cmp eax, 1
jne 0x100a9b0b
push eax
push ebx
lea ebx, [esp + 0x58]
call fcn.100a96c0
add esp, 8
jmp 0x100a9b5c
test eax, eax
jne 0x100a9b53
push eax
push ebx
lea ebx, [esp + 0x58]
call fcn.100a96c0
add esp, 8
jmp 0x100a9b5c
cmp eax, 4
jne 0x100a9b53
mov eax, dword [ebx + 0xbc]
cmp eax, 1
jne 0x100a9b3f
push eax
push ebx
lea ebx, [esp + 0x48]
call fcn.100a96c0
add esp, 8
jmp 0x100a9b5c
test eax, eax
jne 0x100a9b53
push eax
push ebx
lea ebx, [esp + 0x48]
call fcn.100a96c0
add esp, 8
jmp 0x100a9b5c
push ebx
call fcn.100a6ae0
add esp, 4
xor esi, esi
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x20]
push esi
push ebp
push ecx
call fcn.100a74e0
mov ebp, eax
add esp, 0xc
cmp ebp, esi
jne 0x100a9952
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
cmp esi, eax
jbe 0x100a9b94
call fcn.100cc2f7
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x90]
lea edi, [esp + 0x70]
nop
cmp dword [esp + 0x74], eax
mov ebx, eax
jbe 0x100a9bad
call fcn.100cc2f7
test edi, edi
je 0x100a9bb9
lea edx, [esp + 0x70]
cmp edi, edx
je 0x100a9bbe
call fcn.100cc2f7
cmp esi, ebx
je 0x100a9bf0
test edi, edi
jne 0x100a9bcb
call fcn.100cc2f7
cmp esi, dword [edi + 8]
jb 0x100a9bd5
call fcn.100cc2f7
push esi
mov ecx, ebp
call fcn.100a89b0
cmp esi, dword [edi + 8]
jb 0x100a9be7
call fcn.100cc2f7
mov eax, dword [esp + 0x78]
add esi, 4
jmp 0x100a9ba0
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
cmp edi, eax
jbe 0x100a9c05
call fcn.100cc2f7
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x60]
mov ebx, ecx
jmp 0x100a9c10
cmp dword [esp + 0x64], eax
mov esi, eax
jbe 0x100a9c1d
call fcn.100cc2f7
test ebx, ebx
je 0x100a9c29
lea eax, [esp + 0x60]
cmp ebx, eax
je 0x100a9c2e
call fcn.100cc2f7
cmp edi, esi
je 0x100a9ca8
test ebx, ebx
jne 0x100a9c3b
call fcn.100cc2f7
cmp edi, dword [ebx + 8]
jb 0x100a9c45
call fcn.100cc2f7
mov edx, dword [ebp + 4]
test edx, edx
jne 0x100a9c50
xor ecx, ecx
jmp 0x100a9c58
mov ecx, dword [ebp + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x100a9c77
mov eax, dword [ebp + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x100a9c77
mov eax, dword [ebp + 8]
mov ecx, dword [edi]
mov dword [eax], ecx
add eax, 4
mov dword [ebp + 8], eax
jmp 0x100a9c92
mov esi, dword [ebp + 8]
cmp edx, esi
jbe 0x100a9c83
call fcn.100cc2f7
push edi
push esi
push ebp
lea edx, [esp + 0x44]
push edx
mov ecx, ebp
call fcn.100a8920
cmp edi, dword [ebx + 8]
jb 0x100a9c9c
call fcn.100cc2f7
mov eax, dword [esp + 0x68]
add edi, 4
jmp 0x100a9c10
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
cmp edi, eax
jbe 0x100a9cbd
call fcn.100cc2f7
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x50]
mov ebx, ecx
cmp dword [esp + 0x54], eax
mov esi, eax
jbe 0x100a9cd0
call fcn.100cc2f7
test ebx, ebx
je 0x100a9cdc
lea eax, [esp + 0x50]
cmp ebx, eax
je 0x100a9ce1
call fcn.100cc2f7
cmp edi, esi
je 0x100a9d5b
test ebx, ebx
jne 0x100a9cee
call fcn.100cc2f7
cmp edi, dword [ebx + 8]
jb 0x100a9cf8
call fcn.100cc2f7
mov edx, dword [ebp + 4]
test edx, edx
jne 0x100a9d03
xor ecx, ecx
jmp 0x100a9d0b
mov ecx, dword [ebp + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x100a9d2a
mov eax, dword [ebp + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x100a9d2a
mov eax, dword [ebp + 8]
mov ecx, dword [edi]
mov dword [eax], ecx
add eax, 4
mov dword [ebp + 8], eax
jmp 0x100a9d45
mov esi, dword [ebp + 8]
cmp edx, esi
jbe 0x100a9d36
call fcn.100cc2f7
push edi
push esi
push ebp
lea edx, [esp + 0x44]
push edx
mov ecx, ebp
call fcn.100a8920
cmp edi, dword [ebx + 8]
jb 0x100a9d4f
call fcn.100cc2f7
mov eax, dword [esp + 0x58]
add edi, 4
jmp 0x100a9cc3
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
cmp edi, eax
jbe 0x100a9d70
call fcn.100cc2f7
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x40]
mov ebx, ecx
cmp dword [esp + 0x44], eax
mov esi, eax
jbe 0x100a9d83
call fcn.100cc2f7
test ebx, ebx
je 0x100a9d8f
lea eax, [esp + 0x40]
cmp ebx, eax
je 0x100a9d94
call fcn.100cc2f7
cmp edi, esi
je 0x100a9e0e
test ebx, ebx
jne 0x100a9da1
call fcn.100cc2f7
cmp edi, dword [ebx + 8]
jb 0x100a9dab
call fcn.100cc2f7
mov edx, dword [ebp + 4]
test edx, edx
jne 0x100a9db6
xor ecx, ecx
jmp 0x100a9dbe
mov ecx, dword [ebp + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x100a9ddd
mov eax, dword [ebp + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x100a9ddd
mov eax, dword [ebp + 8]
mov ecx, dword [edi]
mov dword [eax], ecx
add eax, 4
mov dword [ebp + 8], eax
jmp 0x100a9df8
mov esi, dword [ebp + 8]
cmp edx, esi
jbe 0x100a9de9
call fcn.100cc2f7
push edi
push esi
push ebp
lea edx, [esp + 0x44]
push edx
mov ecx, ebp
call fcn.100a8920
cmp edi, dword [ebx + 8]
jb 0x100a9e02
call fcn.100cc2f7
mov eax, dword [esp + 0x48]
add edi, 4
jmp 0x100a9d76
mov eax, dword [esp + 0x24]
test eax, eax
mov ebp, dword [sym.imp.CRYPT32.dll_CertCloseStore]
je 0x100a9e21
push 0
push eax
call ebp
mov ecx, dword [esp + 0x90]
mov esi, dword [ecx + 4]
test esi, esi
jne 0x100a9e33
xor eax, eax
jmp 0x100a9e3b
mov eax, dword [ecx + 8]
sub eax, esi
sar eax, 2
test eax, eax
seta bl
cmp esi, dword [ecx + 8]
jbe 0x100a9e4a
call fcn.100cc2f7
mov eax, dword [esp + 0x90]
mov edi, dword [eax + 8]
cmp dword [eax + 4], edi
jbe 0x100a9e65
call fcn.100cc2f7
mov eax, dword [esp + 0x90]
cmp esi, edi
je 0x100a9e7f
cmp esi, dword [eax + 8]
jb 0x100a9e7a
call fcn.100cc2f7
mov eax, dword [esp + 0x90]
add esi, 4
jmp 0x100a9e51
cmp dword [esp + 0x14], 0
je 0x100a9e93
mov eax, dword [esp + 0x14]
push eax
call fcn.100a6ae0
add esp, 4
cmp dword [esp + 0x18], 0
je 0x100a9ea5
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp dword [esp + 0x20], 0
je 0x100a9ebf
mov edx, dword [esp + 0x20]
push 0
push edx
call ebp
test eax, eax
jne 0x100a9ebf
test bl, bl
je 0x100a9ebf
xor bl, bl
mov eax, dword [esp + 0x44]
xor ecx, ecx
cmp eax, ecx
je 0x100a9ed4
push eax
call fcn.100aaab0
add esp, 4
xor ecx, ecx
mov eax, dword [esp + 0x54]
cmp eax, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
je 0x100a9ef3
push eax
call fcn.100aaab0
add esp, 4
xor ecx, ecx
mov eax, dword [esp + 0x64]
cmp eax, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
je 0x100a9f12
push eax
call fcn.100aaab0
add esp, 4
xor ecx, ecx
mov eax, dword [esp + 0x74]
cmp eax, ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
je 0x100a9f2f
push eax
call fcn.100aaab0
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret