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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
xor esi, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], edi
cmp byte [edi + 0x448], 0
jne 0x1002dc53
test ebx, ebx
je 0x1002dc53
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x3c]
call fcn.1002d460
add esp, 4
test eax, eax
je 0x1002dc75
mov eax, 0x3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0xb8]
call fcn.1002dbb0
mov dword [esp + 0x10], eax
test eax, eax
je 0x1002dfd6
cmp byte [edi + 0x448], 0
je 0x1002dcb6
push eax
push str.Subject
mov edx, ebx
mov ecx, edi
call fcn.10006e00
mov esi, eax
add esp, 8
test esi, esi
jne 0x1002dfdb
mov eax, dword [esp + 0x10]
push eax
call dword [0x100939a8]
add esp, 4
lea ecx, [esp + 0x88]
call fcn.1002dbb0
mov dword [esp + 0x10], eax
test eax, eax
je 0x1002dfd6
cmp byte [edi + 0x448], 0
je 0x1002dcf9
push eax
push str.Issuer
mov edx, ebx
mov ecx, edi
call fcn.10006e00
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
push eax
call dword [0x100939a8]
add esp, 4
test esi, esi
je 0x1002dd10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x4c]
xor ecx, ecx
cmp edx, dword [esp + 0x50]
jae 0x1002dd2f
nop dword [eax]
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, dword [esp + 0x50]
jb 0x1002dd20
cmp byte [edi + 0x448], 0
je 0x1002dd74
push ecx
push 0x1008e314
call fcn.100173d0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x1002dfd6
push eax
push str.Version
mov edx, ebx
mov ecx, edi
call fcn.10006e00
push dword [esp + 0x18]
mov esi, eax
call dword [0x100939a8]
add esp, 0xc
test esi, esi
jne 0x1002dd07
lea ecx, [esp + 0x58]
call fcn.1002d1a0
mov dword [esp + 0x10], eax
test eax, eax
je 0x1002dfd6
cmp byte [edi + 0x448], 0
je 0x1002ddaa
push eax
push str.Serial_Number
mov edx, ebx
mov ecx, edi
call fcn.10006e00
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
push eax
call dword [0x100939a8]
add esp, 4
test esi, esi
jne 0x1002dd07
push dword [esp + 0x70]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x2c]
call fcn.1002d7c0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x1002dfd6
cmp byte [edi + 0x448], 0
je 0x1002ddfd
push eax
push str.Signature_Algorithm
mov edx, ebx
mov ecx, edi
call fcn.10006e00
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
push eax
call dword [0x100939a8]
add esp, 4
test esi, esi
jne 0x1002dd07
lea ecx, [esp + 0x98]
call fcn.1002d1a0
mov dword [esp + 0x10], eax
test eax, eax
je 0x1002dfd6
cmp byte [edi + 0x448], 0
je 0x1002de48
push eax
push str.Start_Date
mov edx, ebx
mov ecx, edi
call fcn.10006e00
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
push eax
call dword [0x100939a8]
add esp, 4
test esi, esi
jne 0x1002dd07
lea ecx, [esp + 0xa8]
call fcn.1002d1a0
mov dword [esp + 0x10], eax
test eax, eax
je 0x1002dfd6
cmp byte [edi + 0x448], 0
je 0x1002de93
push eax
push str.Expire_Date
mov edx, ebx
mov ecx, edi
call fcn.10006e00
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
push eax
call dword [0x100939a8]
add esp, 4
test esi, esi
jne 0x1002dd07
push dword [esp + 0xe0]
mov edx, dword [esp + 0xe0]
lea ecx, [esp + 0x2c]
call fcn.1002d7c0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x1002dfd6
cmp byte [edi + 0x448], 0
je 0x1002def0
push eax
push str.Public_Key_Algorithm
mov edx, ebx
mov ecx, edi
call fcn.10006e00
mov esi, eax
add esp, 8
test esi, esi
jne 0x1002df29
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xe8]
mov edx, ebx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push eax
mov ecx, edi
call fcn.1002d870
add esp, 0xc
test eax, eax
je 0x1002df29
push dword [esp + 0x14]
mov esi, 0x1b
call dword [0x100939a8]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x14]
call dword [0x100939a8]
add esp, 4
test esi, esi
jne 0x1002dd07
lea ecx, [esp + 0x78]
call fcn.1002d1a0
mov dword [esp + 0x10], eax
test eax, eax
je 0x1002dfd6
cmp byte [edi + 0x448], 0
je 0x1002df74
push eax
push str.Signature
mov edx, ebx
mov ecx, edi
call fcn.10006e00
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
push eax
call dword [0x100939a8]
add esp, 4
test esi, esi
jne 0x1002dd07
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x3c]
sub edx, ecx
push eax
lea eax, [esp + 0x14]
push eax
call fcn.1001b510
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
jne 0x1002dfdb
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 0x3f]
add ecx, 0x37
shr eax, 6
add eax, ecx
push eax
call dword [0x100939a0]
mov esi, eax
add esp, 4
test esi, esi
jne 0x1002dfe2
push dword [esp + 0x10]
call dword [0x100939a8]
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, str._____BEGIN_CERTIFICATE_____
mov ecx, esi
call fcn.1002d740
cmp dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
jbe 0x1002e02a
xor ebx, ebx
mov edi, eax
nop dword [eax]
mov edx, dword [esp + 0x10]
lea ecx, [esi + edi]
lea edx, [ebx + edx]
call fcn.1002d740
add ebx, 0x40
add edi, eax
cmp ebx, dword [esp + 0x18]
jb 0x1002e000
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esi + eax]
mov edx, str._____END_CERTIFICATE_____
call fcn.1002d740
mov ecx, dword [esp + 0x14]
add eax, esi
push dword [esp + 0x10]
mov byte [eax + ecx], 0
call dword [0x100939a8]
add esp, 4
cmp byte [edi + 0x448], 0
je 0x1002e07e
push esi
push str.Cert
mov edx, ebx
mov ecx, edi
call fcn.10006e00
add esp, 8
mov edi, eax
push esi
call dword [0x100939a8]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x24]
push esi
call dword [0x100939a8]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret