Function at 0x4a7a40
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 + 0x46c], 0
jne 0x4a7a73
test ebx, ebx
je 0x4a7a73
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.004a7310
add esp, 4
test eax, eax
je 0x4a7a95
mov eax, 0x3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0xb8]
call fcn.004a72a0
mov dword [esp + 0x10], eax
test eax, eax
je 0x4a7ec9
cmp byte [edi + 0x46c], 0
je 0x4a7ad6
push eax
push str.Subject
mov edx, ebx
mov ecx, edi
call fcn.00484870
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a7ece
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0x4a7aea
push eax
push ebx
push str._2d_Subject:__s
push edi
call fcn.00479f40
add esp, 0x10
push dword [esp + 0x10]
call dword [0x5449e8]
add esp, 4
lea ecx, [esp + 0x88]
call fcn.004a72a0
mov dword [esp + 0x10], eax
test eax, eax
je 0x4a7ec9
cmp byte [edi + 0x46c], 0
je 0x4a7b30
push eax
push str.Issuer
mov edx, ebx
mov ecx, edi
call fcn.00484870
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0x4a7b43
push eax
push str.___Issuer:__s
push edi
call fcn.00479f40
add esp, 0xc
push dword [esp + 0x10]
call dword [0x5449e8]
add esp, 4
test esi, esi
je 0x4a7b5d
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 0x4a7b7d
jmp 0x4a7b70
movzx eax, byte [ecx]
inc ecx
shl ebx, 8
or ebx, eax
cmp ecx, edx
jb 0x4a7b70
cmp byte [edi + 0x46c], 0
je 0x4a7bc4
push ebx
push 0x5367ec
call fcn.0048c150
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4a7ec9
mov edx, dword [esp + 0x18]
mov ecx, edi
push eax
push str.Version
call fcn.00484870
push dword [esp + 0x24]
mov esi, eax
call dword [0x5449e8]
add esp, 0xc
test esi, esi
jne 0x4a7b54
cmp dword [esp + 0x18], 0
jne 0x4a7bde
push ebx
lea eax, [ebx + 1]
push eax
push str.___Version:__lu__0x_lx_
push edi
call fcn.00479f40
add esp, 0x10
lea ecx, [esp + 0x58]
call fcn.004a6fe0
mov dword [esp + 0x10], eax
test eax, eax
je 0x4a7ec9
cmp byte [edi + 0x46c], 0
mov ebx, dword [esp + 0x18]
je 0x4a7c18
push eax
push str.Serial_Number
mov edx, ebx
mov ecx, edi
call fcn.00484870
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0x4a7c2b
push eax
push str.___Serial_Number:__s
push edi
call fcn.00479f40
add esp, 0xc
push dword [esp + 0x10]
call dword [0x5449e8]
add esp, 4
test esi, esi
jne 0x4a7b54
push dword [esp + 0x70]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x2c]
call fcn.004a76b0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x4a7ec9
cmp byte [edi + 0x46c], 0
je 0x4a7c81
push eax
push str.Signature_Algorithm
mov edx, ebx
mov ecx, edi
call fcn.00484870
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0x4a7c94
push eax
push str.___Signature_Algorithm:__s
push edi
call fcn.00479f40
add esp, 0xc
push dword [esp + 0x10]
call dword [0x5449e8]
add esp, 4
test esi, esi
jne 0x4a7b54
lea ecx, [esp + 0x98]
call fcn.004a6fe0
mov dword [esp + 0x10], eax
test eax, eax
je 0x4a7ec9
cmp byte [edi + 0x46c], 0
je 0x4a7ce2
push eax
push str.Start_Date
mov edx, ebx
mov ecx, edi
call fcn.00484870
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0x4a7cf5
push eax
push str.___Start_Date:__s
push edi
call fcn.00479f40
add esp, 0xc
push dword [esp + 0x10]
call dword [0x5449e8]
add esp, 4
test esi, esi
jne 0x4a7b54
lea ecx, [esp + 0xa8]
call fcn.004a6fe0
mov dword [esp + 0x10], eax
test eax, eax
je 0x4a7ec9
cmp byte [edi + 0x46c], 0
je 0x4a7d43
push eax
push str.Expire_Date
mov edx, ebx
mov ecx, edi
call fcn.00484870
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0x4a7d56
push eax
push str.___Expire_Date:__s
push edi
call fcn.00479f40
add esp, 0xc
push dword [esp + 0x10]
call dword [0x5449e8]
add esp, 4
test esi, esi
jne 0x4a7b54
push dword [esp + 0xe0]
mov edx, dword [esp + 0xe0]
lea ecx, [esp + 0x2c]
call fcn.004a76b0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x4a7ec9
cmp byte [edi + 0x46c], 0
je 0x4a7db6
push eax
push str.Public_Key_Algorithm
mov edx, ebx
mov ecx, edi
call fcn.00484870
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a7e05
mov eax, dword [esp + 0x14]
test ebx, ebx
jne 0x4a7dc9
push eax
push str.___Public_Key_Algorithm:__s
push edi
call fcn.00479f40
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.004a7780
add esp, 0xc
test eax, eax
je 0x4a7e05
push dword [esp + 0x14]
mov esi, 0x1b
call dword [0x5449e8]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x14]
call dword [0x5449e8]
add esp, 4
test esi, esi
jne 0x4a7b54
lea ecx, [esp + 0x78]
call fcn.004a6fe0
mov dword [esp + 0x10], eax
test eax, eax
je 0x4a7ec9
cmp byte [edi + 0x46c], 0
je 0x4a7e50
push eax
push str.Signature
mov edx, ebx
mov ecx, edi
call fcn.00484870
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0x4a7e63
push eax
push str.___Signature:__s
push edi
call fcn.00479f40
add esp, 0xc
push dword [esp + 0x10]
call dword [0x5449e8]
add esp, 4
test esi, esi
jne 0x4a7b54
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x48]
sub eax, edx
push eax
call fcn.004a2000
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4a7ece
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 0x3f]
add ecx, 0x37
shr eax, 6
add eax, ecx
push eax
call dword [0x5449e0]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4a7ed5
push dword [esp + 0x10]
call dword [0x5449e8]
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.004a7630
cmp dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
jbe 0x4a7f1a
xor ebx, ebx
mov edi, eax
mov edx, dword [esp + 0x10]
lea ecx, [esi + edi]
lea edx, [ebx + edx]
call fcn.004a7630
add ebx, 0x40
add edi, eax
cmp ebx, dword [esp + 0x20]
jb 0x4a7ef0
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.004a7630
mov ecx, dword [esp + 0x14]
add eax, esi
push dword [esp + 0x10]
mov byte [eax + ecx], 0
call dword [0x5449e8]
add esp, 4
cmp byte [edi + 0x46c], 0
je 0x4a7f5d
push esi
push str.Cert
mov edx, ebx
mov ecx, edi
call fcn.00484870
add esp, 8
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x4a7f70
push esi
push 0x52ec3c
push edi
call fcn.00479f40
add esp, 0xc
push esi
call dword [0x5449e8]
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret