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

Disassembly:
sub esp, 0x150
mov eax, dword [esp + 0x154]
push ebp
mov ebp, dword [eax]
cmp dword [ebp + 0x8cc], 0
mov dword [esp + 0x10], ebp
jne 0x4cae31
cmp dword [esp + 0x15c], 0
je 0x4cae31
xor eax, eax
pop ebp
add esp, 0x150
ret
mov ecx, dword [esp + 0x164]
mov edx, dword [esp + 0x160]
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004ca5c0
add esp, 0xc
test eax, eax
je 0x4cae5f
mov eax, 0x3c
pop ebp
add esp, 0x150
ret
push ebx
push esi
push edi
lea ecx, [esp + 0xc0]
push ecx
push 0
push 0
call fcn.004ca070
mov ebx, eax
add esp, 0xc
test ebx, ebx
js case.0x4cb536.7
lea edi, [ebx + 1]
push edi
call dword [0x54ae68]
mov esi, eax
add esp, 4
test esi, esi
je case.0x4cb536.7
lea edx, [esp + 0xc0]
push edx
push edi
push esi
call fcn.004ca070
mov byte [ebx + esi], 0
mov ebx, dword [esp + 0x174]
add esp, 0xc
cmp dword [ebp + 0x8cc], 0
je 0x4caecd
push esi
push str.Subject
push ebx
push ebp
call fcn.00491030
add esp, 0x10
test ebx, ebx
jne 0x4caee1
push esi
push ebx
push str._2d_Subject:__s_n
push ebp
call fcn.004996c0
add esp, 0x10
push esi
call dword [0x54ae6c]
lea eax, [esp + 0x88]
push eax
call fcn.004ca570
mov esi, eax
add esp, 8
test esi, esi
je case.0x4cb536.7
cmp dword [ebp + 0x8cc], 0
je 0x4caf1b
push esi
push str.Issuer
push ebx
push ebp
call fcn.00491030
add esp, 0x10
test ebx, ebx
jne 0x4caf2e
push esi
push str.___Issuer:__s_n
push ebp
call fcn.004996c0
add esp, 0xc
push esi
call dword [0x54ae6c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
add esp, 4
xor esi, esi
cmp eax, ecx
jae 0x4caf53
movzx edx, byte [eax]
shl esi, 8
inc eax
or esi, edx
cmp eax, ecx
jb 0x4caf46
cmp dword [ebp + 0x8cc], 0
je 0x4caf8b
push esi
push 0x520f6c
call fcn.004a3c00
mov edi, eax
add esp, 8
test edi, edi
je case.0x4cb536.7
push edi
push 0x521908
push ebx
push ebp
call fcn.00491030
push edi
call dword [0x54ae6c]
add esp, 0x14
test ebx, ebx
jne 0x4cafa0
push esi
inc esi
push esi
push str.___Version:__lu__0x_lx__n
push ebp
call fcn.004996c0
add esp, 0x10
cmp dword [esp + 0x58], 0
jne case.0x4cb536.7
movzx ecx, byte [esp + 0x55]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x4cb536.7
movzx eax, byte [eax + 0x4cb798]
jmp dword [eax*4 + 0x4cb770]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
sub ecx, eax
cmp ecx, 1
je 0x4cafe2
xor eax, eax
mov esi, eax
jmp 0x4cb0c8
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x4caff1
mov eax, str.FALSE
push eax
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb0c8
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
call fcn.004c9a50
mov esi, eax
jmp 0x4cb0c8
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
inc eax
cmp eax, ebx
jbe 0x4cb03b
mov ebx, dword [esp + 0x168]
xor eax, eax
mov esi, eax
jmp 0x4cb0c8
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
call fcn.004c99f0
mov ebx, dword [esp + 0x168]
mov esi, eax
jmp 0x4cb0c8
push 0x525963
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb0c8
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
push 1
push edx
call fcn.004c9e70
mov ebx, dword [esp + 0x170]
add esp, 8
mov esi, eax
jmp 0x4cb0c8
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
call fcn.004c9fe0
mov esi, eax
jmp 0x4cb0c8
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
push eax
call fcn.004c9ef0
add esp, 4
mov esi, eax
jmp 0x4cb0c8
mov edx, dword [esp + 0x50]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x54]
call fcn.004c9aa0
xor ecx, ecx
add esp, 8
test eax, eax
sets cl
lea esi, [ecx - 1]
and esi, dword [esp + 0x10]
test esi, esi
je case.0x4cb536.7
cmp dword [ebp + 0x8cc], 0
je 0x4cb0e9
push esi
push str.Serial_Number
push ebx
push ebp
call fcn.00491030
add esp, 0x10
test ebx, ebx
jne 0x4cb0fc
push esi
push str.___Serial_Number:__s_n
push ebp
call fcn.004996c0
add esp, 0xc
push esi
call dword [0x54ae6c]
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
add esp, 4
lea edi, [esp + 0x14c]
call fcn.004ca9a0
mov esi, eax
test esi, esi
je case.0x4cb536.7
cmp dword [ebp + 0x8cc], 0
je 0x4cb13d
push esi
push str.Signature_Algorithm
push ebx
push ebp
call fcn.00491030
add esp, 0x10
test ebx, ebx
jne 0x4cb150
push esi
push str.___Signature_Algorithm:__s_n
push ebp
call fcn.004996c0
add esp, 0xc
push esi
call dword [0x54ae6c]
add esp, 4
cmp dword [esp + 0xa8], 0
jne case.0x4cb536.7
movzx ecx, byte [esp + 0xa5]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x4cb536.7
movzx edx, byte [eax + 0x4cb7e0]
jmp dword [edx*4 + 0x4cb7b8]
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
sub ecx, eax
cmp ecx, 1
je 0x4cb1a8
xor eax, eax
mov esi, eax
jmp 0x4cb2bb
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x4cb1b7
mov eax, str.FALSE
push eax
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb2bb
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
call fcn.004c9a50
mov esi, eax
jmp 0x4cb2bb
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
inc eax
cmp eax, ebx
jbe 0x4cb213
mov ebx, dword [esp + 0x168]
xor eax, eax
mov esi, eax
jmp 0x4cb2bb
mov ebx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
call fcn.004c99f0
mov ebx, dword [esp + 0x168]
mov esi, eax
jmp 0x4cb2bb
push 0x525963
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb2bb
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
push 1
push edx
call fcn.004c9e70
mov ebx, dword [esp + 0x170]
add esp, 8
mov esi, eax
jmp 0x4cb2bb
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
call fcn.004c9fe0
mov esi, eax
jmp 0x4cb2bb
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x9c]
push eax
call fcn.004c9ef0
add esp, 4
mov esi, eax
jmp 0x4cb2bb
mov edx, dword [esp + 0xa0]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xa4]
call fcn.004c9aa0
xor ecx, ecx
add esp, 8
test eax, eax
sets cl
lea esi, [ecx - 1]
and esi, dword [esp + 0x10]
test esi, esi
je case.0x4cb536.7
cmp dword [ebp + 0x8cc], 0
je 0x4cb2dc
push esi
push str.Start_Date
push ebx
push ebp
call fcn.00491030
add esp, 0x10
test ebx, ebx
jne 0x4cb2ef
push esi
push str.___Start_Date:__s_n
push ebp
call fcn.004996c0
add esp, 0xc
push esi
call dword [0x54ae6c]
add esp, 4
cmp dword [esp + 0xbc], 0
jne case.0x4cb536.7
movzx ecx, byte [esp + 0xb9]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x4cb536.7
movzx edx, byte [eax + 0x4cb828]
jmp dword [edx*4 + 0x4cb800]
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
sub ecx, eax
cmp ecx, 1
je 0x4cb347
xor eax, eax
mov esi, eax
jmp 0x4cb45a
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x4cb356
mov eax, str.FALSE
push eax
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb45a
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
call fcn.004c9a50
mov esi, eax
jmp 0x4cb45a
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
inc eax
cmp eax, ebx
jbe 0x4cb3b2
mov ebx, dword [esp + 0x168]
xor eax, eax
mov esi, eax
jmp 0x4cb45a
mov ebx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
call fcn.004c99f0
mov ebx, dword [esp + 0x168]
mov esi, eax
jmp 0x4cb45a
push 0x525963
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb45a
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
push 1
push edx
call fcn.004c9e70
mov ebx, dword [esp + 0x170]
add esp, 8
mov esi, eax
jmp 0x4cb45a
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
call fcn.004c9fe0
mov esi, eax
jmp 0x4cb45a
mov eax, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
push eax
call fcn.004c9ef0
add esp, 4
mov esi, eax
jmp 0x4cb45a
mov edx, dword [esp + 0xb4]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xb8]
call fcn.004c9aa0
xor ecx, ecx
add esp, 8
test eax, eax
sets cl
lea esi, [ecx - 1]
and esi, dword [esp + 0x10]
test esi, esi
je case.0x4cb536.7
cmp dword [ebp + 0x8cc], 0
je 0x4cb47b
push esi
push str.Expire_Date
push ebx
push ebp
call fcn.00491030
add esp, 0x10
test ebx, ebx
jne 0x4cb48e
push esi
push str.___Expire_Date:__s_n
push ebp
call fcn.004996c0
add esp, 0xc
push esi
call dword [0x54ae6c]
mov esi, dword [esp + 0xf4]
mov eax, dword [esp + 0xf0]
add esp, 4
lea edi, [esp + 0x14c]
call fcn.004ca9a0
mov esi, eax
test esi, esi
je case.0x4cb536.7
cmp dword [ebp + 0x8cc], 0
je 0x4cb4d5
push esi
push str.Public_Key_Algorithm
push ebx
push ebp
call fcn.00491030
add esp, 0x10
test ebx, ebx
jne 0x4cb4e8
push esi
push str.___Public_Key_Algorithm:__s_n
push ebp
call fcn.004996c0
add esp, 0xc
mov edi, dword [esp + 0x168]
push esi
push edi
lea eax, [esp + 0x104]
lea ecx, [esp + 0x154]
mov ebx, ebp
call fcn.004caba0
push esi
call dword [0x54ae6c]
add esp, 0xc
cmp dword [esp + 0x80], 0
jne case.0x4cb536.7
movzx ecx, byte [esp + 0x7d]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x4cb536.7
movzx edx, byte [eax + 0x4cb870]
jmp dword [edx*4 + 0x4cb848]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
sub ecx, eax
cmp ecx, 1
je 0x4cb555
xor eax, eax
mov esi, eax
jmp 0x4cb62d
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x4cb564
mov eax, str.FALSE
push eax
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb62d
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
call fcn.004c9a50
mov esi, eax
jmp 0x4cb62d
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
inc eax
cmp eax, ebx
jbe 0x4cb5a7
xor eax, eax
mov esi, eax
jmp 0x4cb62d
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
call fcn.004c99f0
mov esi, eax
jmp 0x4cb62d
push 0x525963
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb62d
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
push 1
push edx
call fcn.004c9e70
add esp, 8
mov esi, eax
jmp 0x4cb62d
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
call fcn.004c9fe0
mov esi, eax
jmp 0x4cb62d
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
push eax
call fcn.004c9ef0
mov edi, dword [esp + 0x16c]
add esp, 4
mov esi, eax
jmp 0x4cb62d
mov edx, dword [esp + 0x78]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x7c]
call fcn.004c9aa0
xor ecx, ecx
add esp, 8
test eax, eax
sets cl
lea esi, [ecx - 1]
and esi, dword [esp + 0x10]
test esi, esi
je case.0x4cb536.7
cmp dword [ebp + 0x8cc], 0
je 0x4cb64e
push esi
push str.Signature
push edi
push ebp
call fcn.00491030
add esp, 0x10
test edi, edi
jne 0x4cb661
push esi
push str.___Signature:__s_n
push ebp
call fcn.004996c0
add esp, 0xc
push esi
call dword [0x54ae6c]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x30]
sub ecx, eax
push ecx
push eax
push ebp
call fcn.004a9470
add esp, 0x18
test eax, eax
jne 0x4cb765
mov eax, dword [esp + 0x18]
lea edx, [eax + 0x3f]
shr edx, 6
lea eax, [edx + eax + 0x37]
push eax
call dword [0x54ae68]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4cb6cb
mov eax, dword [esp + 0x14]
push eax
call dword [0x54ae6c]
add esp, 4
pop edi
pop esi
pop ebx
mov eax, 0x1b
pop ebp
add esp, 0x150
ret
mov eax, str._____BEGIN_CERTIFICATE_____
mov esi, edi
call fcn.004ca920
xor ebx, ebx
mov ebp, eax
cmp dword [esp + 0x18], ebx
jbe 0x4cb6fb
mov ecx, dword [esp + 0x14]
lea eax, [ebx + ecx]
lea esi, [edi + ebp]
call fcn.004ca920
add ebx, 0x40
add ebp, eax
cmp ebx, dword [esp + 0x18]
jb 0x4cb6e1
lea esi, [edi + ebp]
mov eax, str._____END_CERTIFICATE_____
call fcn.004ca920
add eax, edi
mov byte [eax + ebp], 0
mov edx, dword [esp + 0x14]
push edx
call dword [0x54ae6c]
mov esi, dword [esp + 0x20]
add esp, 4
cmp dword [esi + 0x8cc], 0
je 0x4cb740
mov eax, dword [esp + 0x168]
push edi
push str.Cert
push eax
push esi
call fcn.00491030
add esp, 0x10
cmp dword [esp + 0x168], 0
jne 0x4cb759
push edi
push 0x519648
push esi
call fcn.004996c0
add esp, 0xc
push edi
call dword [0x54ae6c]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x150
ret