Function at 0xa857e0
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 + 0x18], ebx
mov dword [esp + 0x24], edi
cmp byte [edi + 0x42c], 0
jne 0xa85813
test ebx, ebx
je 0xa85813
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.00a84fe0
add esp, 4
test eax, eax
je 0xa85835
mov eax, 0x3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0xb8]
call fcn.00a85770
mov dword [esp + 0x10], eax
test eax, eax
je 0xa85c68
cmp byte [edi + 0x42c], 0
je 0xa85876
push eax
push str.Subject
mov edx, ebx
mov ecx, edi
call fcn.00a46110
mov esi, eax
add esp, 8
test esi, esi
jne 0xa85c6d
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0xa8588a
push eax
push ebx
push str._2d_Subject:__s
push edi
call fcn.00a54660
add esp, 0x10
push dword [esp + 0x10]
call dword [0xaf7984]
add esp, 4
lea ecx, [esp + 0x88]
call fcn.00a85770
mov dword [esp + 0x10], eax
test eax, eax
je 0xa85c68
cmp byte [edi + 0x42c], 0
je 0xa858d0
push eax
push str.Issuer
mov edx, ebx
mov ecx, edi
call fcn.00a46110
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0xa858e3
push eax
push str.___Issuer:__s
push edi
call fcn.00a54660
add esp, 0xc
push dword [esp + 0x10]
call dword [0xaf7984]
add esp, 4
test esi, esi
je 0xa858fd
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x4c]
xor ebx, ebx
mov edx, dword [esp + 0x50]
cmp ecx, edx
jae 0xa8591d
nop dword [eax + eax]
movzx eax, byte [ecx]
inc ecx
shl ebx, 8
or ebx, eax
cmp ecx, edx
jb 0xa85910
cmp byte [edi + 0x42c], 0
je 0xa85964
push ebx
push 0xad1614
call fcn.00a57ac0
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0xa85c68
mov edx, dword [esp + 0x18]
mov ecx, edi
push eax
push str.Version
call fcn.00a46110
push dword [esp + 0x24]
mov esi, eax
call dword [0xaf7984]
add esp, 0xc
test esi, esi
jne 0xa858f4
cmp dword [esp + 0x18], 0
jne 0xa8597e
push ebx
lea eax, [ebx + 1]
push eax
push str.___Version:__u__0x_x_
push edi
call fcn.00a54660
add esp, 0x10
lea ecx, [esp + 0x58]
call fcn.00a84d40
mov dword [esp + 0x10], eax
test eax, eax
je 0xa85c68
cmp byte [edi + 0x42c], 0
mov ebx, dword [esp + 0x18]
je 0xa859b8
push eax
push str.Serial_Number
mov edx, ebx
mov ecx, edi
call fcn.00a46110
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0xa859cb
push eax
push str.___Serial_Number:__s
push edi
call fcn.00a54660
add esp, 0xc
push dword [esp + 0x10]
call dword [0xaf7984]
add esp, 4
test esi, esi
jne 0xa858f4
push dword [esp + 0x70]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x2c]
call fcn.00a85340
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0xa85c68
cmp byte [edi + 0x42c], 0
je 0xa85a21
push eax
push str.Signature_Algorithm
mov edx, ebx
mov ecx, edi
call fcn.00a46110
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0xa85a34
push eax
push str.___Signature_Algorithm:__s
push edi
call fcn.00a54660
add esp, 0xc
push dword [esp + 0x10]
call dword [0xaf7984]
add esp, 4
test esi, esi
jne 0xa858f4
lea ecx, [esp + 0x98]
call fcn.00a84d40
mov dword [esp + 0x10], eax
test eax, eax
je 0xa85c68
cmp byte [edi + 0x42c], 0
je 0xa85a82
push eax
push str.Start_Date
mov edx, ebx
mov ecx, edi
call fcn.00a46110
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0xa85a95
push eax
push str.___Start_Date:__s
push edi
call fcn.00a54660
add esp, 0xc
push dword [esp + 0x10]
call dword [0xaf7984]
add esp, 4
test esi, esi
jne 0xa858f4
lea ecx, [esp + 0xa8]
call fcn.00a84d40
mov dword [esp + 0x10], eax
test eax, eax
je 0xa85c68
cmp byte [edi + 0x42c], 0
je 0xa85ae3
push eax
push str.Expire_Date
mov edx, ebx
mov ecx, edi
call fcn.00a46110
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0xa85af6
push eax
push str.___Expire_Date:__s
push edi
call fcn.00a54660
add esp, 0xc
push dword [esp + 0x10]
call dword [0xaf7984]
add esp, 4
test esi, esi
jne 0xa858f4
push dword [esp + 0xe0]
mov edx, dword [esp + 0xe0]
lea ecx, [esp + 0x2c]
call fcn.00a85340
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0xa85c68
cmp byte [edi + 0x42c], 0
je 0xa85b56
push eax
push str.Public_Key_Algorithm
mov edx, ebx
mov ecx, edi
call fcn.00a46110
mov esi, eax
add esp, 8
test esi, esi
jne 0xa85ba5
mov eax, dword [esp + 0x14]
test ebx, ebx
jne 0xa85b69
push eax
push str.___Public_Key_Algorithm:__s
push edi
call fcn.00a54660
add esp, 0xc
lea eax, [esp + 0xe8]
mov edx, ebx
push eax
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
push dword [esp + 0x1c]
call fcn.00a85410
add esp, 0xc
test eax, eax
je 0xa85ba5
push dword [esp + 0x14]
mov esi, 0x1b
call dword [0xaf7984]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x14]
call dword [0xaf7984]
add esp, 4
test esi, esi
jne 0xa858f4
lea ecx, [esp + 0x78]
call fcn.00a84d40
mov dword [esp + 0x10], eax
test eax, eax
je 0xa85c68
cmp byte [edi + 0x42c], 0
je 0xa85bf0
push eax
push str.Signature
mov edx, ebx
mov ecx, edi
call fcn.00a46110
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0xa85c03
push eax
push str.___Signature:__s
push edi
call fcn.00a54660
add esp, 0xc
push dword [esp + 0x10]
call dword [0xaf7984]
add esp, 4
test esi, esi
jne 0xa858f4
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x3c]
sub edx, ecx
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00a5b470
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0xa85c6d
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 0x3f]
add ecx, 0x37
shr eax, 6
add eax, ecx
push eax
call dword [0xaf797c]
mov esi, eax
add esp, 4
test esi, esi
jne 0xa85c74
push dword [esp + 0x10]
call dword [0xaf7984]
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.00a852c0
cmp dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
jbe 0xa85cba
xor ebx, ebx
mov edi, eax
nop
mov edx, dword [esp + 0x10]
lea ecx, [esi + edi]
lea edx, [ebx + edx]
call fcn.00a852c0
add ebx, 0x40
add edi, eax
cmp ebx, dword [esp + 0x20]
jb 0xa85c90
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
lea ecx, [esi + eax]
mov edx, str._____END_CERTIFICATE_____
call fcn.00a852c0
mov ecx, dword [esp + 0x14]
add eax, esi
push dword [esp + 0x10]
mov byte [eax + ecx], 0
call dword [0xaf7984]
add esp, 4
cmp byte [edi + 0x42c], 0
je 0xa85cfd
push esi
push str.Cert
mov edx, ebx
mov ecx, edi
call fcn.00a46110
add esp, 8
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0xa85d10
push esi
push 0xac7b74
push edi
call fcn.00a54660
add esp, 0xc
push esi
call dword [0xaf7984]
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret