Function at 0x101b58c0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x10247a8b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x102a8930]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xac]
lea ecx, [esp + 0x24]
xor eax, eax
push ecx
mov dword [ebp + 0x40], str.fromASN1Object
mov word [ebp + 0x44], ax
call fcn.10186bd0
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
push 1
push edx
xor edi, edi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0xb0], edi
call fcn.10187060
test eax, eax
jle 0x101b5984
mov eax, dword [esp + 0x6c]
cmp eax, edi
je 0x101b5941
cmp dword [esp + 0x64], edi
jne 0x101b5946
mov eax, 0x1025bd4e
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebp + 0x3c]
push eax
push 1
push str.asnSeq
push ecx
push edx
push 0x182
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 1
jmp 0x101b63e8
mov al, byte [esp + 0x29]
mov byte [ebp + 0x24], al
test al, al
jbe 0x101b59a0
mov cl, byte [esp + 0x30]
mov eax, dword [esp + 0x2c]
and cl, 0xc0
mov dword [ebp + 0x20], eax
mov byte [ebp + 0x25], cl
mov ecx, dword [esp + 0x88]
cmp ecx, edi
mov ebx, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ebx
jle 0x101b63d2
mov eax, dword [esp + 0x90]
cmp eax, edi
je 0x101b5ac7
cmp dword [eax + 8], edi
jne 0x101b5ac7
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
xor ecx, ecx
lea esi, [esp + 0x2c]
call fcn.10186ed0
mov dword [esp + 0x20], 1
test eax, eax
jle 0x101b5a47
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x101b5a04
cmp dword [esp + 0x64], edi
jne 0x101b5a09
mov eax, 0x1025bd4e
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebp + 0x3c]
push eax
push 2
push str.asnSeq
push ecx
push edx
push 0x193
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 2
jmp 0x101b63e8
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x48]
mov eax, dword [eax + 8]
push 1
lea ecx, [ebp + 0x48]
push edx
mov edx, dword [esp + 0x20]
push edx
call eax
test eax, eax
jle 0x101b5aab
lea ecx, [ebp + 0x84]
call fcn.101e6430
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebp + 0x3c]
push eax
push 3
push str.m_version
push ecx
push edx
push 0x195
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 3
jmp 0x101b63e8
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x20]
dec ebx
or word [ebp + 0x44], 1
mov dword [esp + 0x1c], ebx
test ebx, ebx
jle 0x101b63d2
test eax, eax
je 0x101b5bdb
cmp ecx, edi
jle 0x101b5bdb
lea edx, [edi + edi*2]
cmp dword [eax + edx*4 + 8], 1
jne 0x101b5bdb
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
lea esi, [esp + 0x2c]
call fcn.10186ed0
inc edi
test eax, eax
jle 0x101b5b59
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x101b5b16
cmp dword [esp + 0x64], 0
jne 0x101b5b1b
mov eax, 0x1025bd4e
mov edx, dword [ebp + 0x40]
push eax
mov eax, dword [ebp + 0x3c]
push 4
push str.asnSeq
push edx
push eax
push 0x19e
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 4
jmp 0x101b63e8
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0xac]
mov edx, dword [edx + 8]
push 1
lea ecx, [ebp + 0xac]
push eax
mov eax, dword [esp + 0x20]
push eax
call edx
test eax, eax
jle 0x101b5bc3
lea ecx, [ebp + 0xe8]
call fcn.101e6430
mov ecx, dword [ebp + 0x3c]
push eax
mov eax, dword [ebp + 0x40]
push 5
push str.m_serialNumber
push eax
push ecx
push 0x1a0
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 5
jmp 0x101b63e8
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
dec ebx
or word [ebp + 0x44], 2
mov dword [esp + 0x1c], ebx
test ebx, ebx
jle 0x101b63d2
test eax, eax
je 0x101b5cf3
cmp ecx, edi
jle 0x101b5cf3
lea edx, [edi + edi*2]
cmp dword [eax + edx*4 + 8], 2
jne 0x101b5cf3
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
lea esi, [esp + 0x2c]
call fcn.10186ed0
inc edi
test eax, eax
jle 0x101b5c6d
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x101b5c2a
cmp dword [esp + 0x64], 0
jne 0x101b5c2f
mov eax, 0x1025bd4e
mov edx, dword [ebp + 0x40]
push eax
mov eax, dword [ebp + 0x3c]
push 6
push str.asnSeq
push edx
push eax
push 0x1a9
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 6
jmp 0x101b63e8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 1
push ecx
push edx
lea ebx, [ebp + 0x110]
mov byte [ebp + 0x12d], 1
call fcn.101775d0
test eax, eax
jle 0x101b5cd8
lea ecx, [ebp + 0x138]
call fcn.101e6430
mov ecx, dword [ebp + 0x3c]
push eax
mov eax, dword [ebp + 0x40]
push 7
push str.m_signingAlg
push eax
push ecx
push 0x1ad
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 7
jmp 0x101b63e8
dec dword [esp + 0x1c]
or word [ebp + 0x44], 4
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jle 0x101b63d2
test eax, eax
je 0x101b5df4
cmp ecx, edi
jle 0x101b5df4
lea edx, [edi + edi*2]
cmp dword [eax + edx*4 + 8], 3
jne 0x101b5df4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
lea esi, [esp + 0x2c]
call fcn.10186ed0
inc edi
test eax, eax
jle 0x101b5d78
lea ecx, [esp + 0x60]
call fcn.101e6430
mov edx, dword [ebp + 0x40]
push eax
mov eax, dword [ebp + 0x3c]
push 8
push str.asnSeq
push edx
push eax
push 0x1b6
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
mov ecx, esi
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 8
jmp 0x101b63e8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea esi, [ebp + 0x1d0]
mov dl, 1
call fcn.101770f0
test eax, eax
jle 0x101b5ddc
lea ecx, [ebp + 0x1f8]
call fcn.101e6430
mov ecx, dword [ebp + 0x3c]
push eax
mov eax, dword [ebp + 0x40]
push 9
push str.m_issuer
push eax
push ecx
push 0x1b8
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 9
jmp 0x101b63e8
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
dec ebx
or word [ebp + 0x44], 8
mov dword [esp + 0x1c], ebx
test ebx, ebx
jle 0x101b63d2
test eax, eax
je 0x101b5f05
cmp ecx, edi
jle 0x101b5f05
lea edx, [edi + edi*2]
cmp dword [eax + edx*4 + 8], 4
jne 0x101b5f05
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
lea esi, [esp + 0x2c]
call fcn.10186ed0
inc edi
mov dword [esp + 0x20], edi
test eax, eax
jle 0x101b5e7d
lea ecx, [esp + 0x60]
call fcn.101e6430
mov edx, dword [ebp + 0x40]
push eax
mov eax, dword [ebp + 0x3c]
push 0xa
push str.asnSeq
push edx
push eax
push 0x1c1
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
mov ecx, esi
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 0xa
jmp 0x101b63e8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea edi, [ebp + 0x288]
mov byte [ebp + 0x2a5], 1
call fcn.101dd610
test eax, eax
jle 0x101b5ee6
lea ecx, [ebp + 0x2b0]
call fcn.101e6430
mov ecx, dword [ebp + 0x3c]
push eax
mov eax, dword [ebp + 0x40]
push 0xb
push str.m_validity
push eax
push ecx
push 0x1c4
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 0xb
jmp 0x101b63e8
dec dword [esp + 0x1c]
or word [ebp + 0x44], 0x10
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jle 0x101b63d2
test eax, eax
je 0x101b6006
cmp ecx, edi
jle 0x101b6006
lea edx, [edi + edi*2]
cmp dword [eax + edx*4 + 8], 5
jne 0x101b6006
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
lea esi, [esp + 0x2c]
call fcn.10186ed0
inc edi
test eax, eax
jle 0x101b5f8a
lea ecx, [esp + 0x60]
call fcn.101e6430
mov edx, dword [ebp + 0x40]
push eax
mov eax, dword [ebp + 0x3c]
push 0xc
push str.asnSeq
push edx
push eax
push 0x1cd
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
mov ecx, esi
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 0xc
jmp 0x101b63e8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea esi, [ebp + 0x3a0]
mov dl, 1
call fcn.101770f0
test eax, eax
jle 0x101b5fee
lea ecx, [ebp + 0x3c8]
call fcn.101e6430
mov ecx, dword [ebp + 0x3c]
push eax
mov eax, dword [ebp + 0x40]
push 0xd
push str.m_subject
push eax
push ecx
push 0x1cf
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 0xd
jmp 0x101b63e8
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
dec ebx
or word [ebp + 0x44], 0x20
mov dword [esp + 0x1c], ebx
test ebx, ebx
jle 0x101b63d2
test eax, eax
je 0x101b610b
cmp ecx, edi
jle 0x101b610b
lea edx, [edi + edi*2]
cmp dword [eax + edx*4 + 8], 6
jne 0x101b610b
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
lea esi, [esp + 0x2c]
call fcn.10186ed0
inc edi
mov dword [esp + 0x20], edi
test eax, eax
jle 0x101b608f
lea ecx, [esp + 0x60]
call fcn.101e6430
mov edx, dword [ebp + 0x40]
push eax
mov eax, dword [ebp + 0x3c]
push 0xe
push str.asnSeq
push edx
push eax
push 0x1d8
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
mov ecx, esi
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 0xe
jmp 0x101b63e8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 1
push ecx
push edx
lea edi, [ebp + 0x454]
mov byte [ebp + 0x471], 1
call fcn.10178c00
test eax, eax
jle 0x101b60fa
lea ecx, [ebp + 0x47c]
call fcn.101e6430
mov ecx, dword [ebp + 0x3c]
push eax
mov eax, dword [ebp + 0x40]
push 0xf
push str.m_publicKey
push eax
push ecx
push 0x1db
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 0xf
jmp 0x101b63e8
dec dword [esp + 0x1c]
or word [ebp + 0x44], 0x40
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jle 0x101b63d2
mov ecx, edi
lea edx, [esp + 0x24]
call fcn.10186d20
cmp eax, 7
jne 0x101b61fa
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
lea esi, [esp + 0x2c]
call fcn.10186ed0
inc edi
test eax, eax
jle 0x101b6186
lea ecx, [esp + 0x60]
call fcn.101e6430
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebp + 0x3c]
push eax
push 0x10
push str.asnSeq
push ecx
push edx
push 0x1e4
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
mov ecx, esi
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 0x10
jmp 0x101b63e8
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x5bc]
mov eax, dword [eax + 8]
push 1
lea ecx, [ebp + 0x5bc]
push edx
mov edx, dword [esp + 0x20]
push edx
call eax
test eax, eax
jle 0x101b61f0
lea ecx, [ebp + 0x5f8]
call fcn.101e6430
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebp + 0x3c]
push eax
push 0x11
push str.m_issuerUID
push ecx
push edx
push 0x1e6
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 0x11
jmp 0x101b63e8
mov eax, 0x80
dec ebx
or word [ebp + 0x44], ax
test ebx, ebx
jle 0x101b63d2
mov ecx, edi
lea edx, [esp + 0x24]
call fcn.10186d20
cmp eax, 8
jne 0x101b62e9
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
lea esi, [esp + 0x2c]
call fcn.10186ed0
inc edi
test eax, eax
jle 0x101b6275
lea ecx, [esp + 0x60]
call fcn.101e6430
mov ecx, dword [ebp + 0x3c]
push eax
mov eax, dword [ebp + 0x40]
push 0x12
push str.asnSeq
push eax
push ecx
push 0x1ef
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
mov ecx, esi
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 0x12
jmp 0x101b63e8
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x620]
mov edx, dword [edx + 8]
push 1
lea ecx, [ebp + 0x620]
push eax
mov eax, dword [esp + 0x20]
push eax
call edx
test eax, eax
jle 0x101b62df
lea ecx, [ebp + 0x65c]
call fcn.101e6430
mov ecx, dword [ebp + 0x3c]
push eax
mov eax, dword [ebp + 0x40]
push 0x13
push str.m_subjectUID
push eax
push ecx
push 0x1f1
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 0x13
jmp 0x101b63e8
mov edx, pe_nt_image_headers32
dec ebx
or word [ebp + 0x44], dx
test ebx, ebx
jle 0x101b63d2
mov ecx, edi
lea edx, [esp + 0x24]
call fcn.10186d20
cmp eax, 9
jne 0x101b63d2
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
mov esi, edx
call fcn.10186ed0
test eax, eax
jle 0x101b6361
lea ecx, [esp + 0x60]
call fcn.101e6430
mov edx, dword [ebp + 0x40]
push eax
mov eax, dword [ebp + 0x3c]
push 0x14
push str.asnSeq
push edx
push eax
push 0x1fa
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
mov ecx, esi
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 0x14
jmp 0x101b63e8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea esi, [ebp + 0x684]
mov dl, 1
mov byte [ebp + 0x6a1], 1
call fcn.101770f0
test eax, eax
jle 0x101b63c9
lea ecx, [ebp + 0x6ac]
call fcn.101e6430
mov ecx, dword [ebp + 0x3c]
push eax
mov eax, dword [ebp + 0x40]
push 0x15
push str.m_extensions
push eax
push ecx
push 0x1fe
push ebp
mov ecx, str......._srcASN1PkixRCertTemplate.cpp
call fcn.10177ae0
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
mov eax, 0x15
jmp 0x101b63e8
mov edx, 0x200
or word [ebp + 0x44], dx
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0xffffffff
call fcn.10186c80
xor eax, eax
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0xc