Function at 0x4cae90
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 0x4caec1
cmp dword [esp + 0x15c], 0
je 0x4caec1
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.004ca650
add esp, 0xc
test eax, eax
je 0x4caeef
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.004ca100
mov ebx, eax
add esp, 0xc
test ebx, ebx
js case.0x4cb5c6.7
lea edi, [ebx + 1]
push edi
call dword [0x54ae68]
mov esi, eax
add esp, 4
test esi, esi
je case.0x4cb5c6.7
lea edx, [esp + 0xc0]
push edx
push edi
push esi
call fcn.004ca100
mov byte [ebx + esi], 0
mov ebx, dword [esp + 0x174]
add esp, 0xc
cmp dword [ebp + 0x8cc], 0
je 0x4caf5d
push esi
push str.Subject
push ebx
push ebp
call fcn.004910e0
add esp, 0x10
test ebx, ebx
jne 0x4caf71
push esi
push ebx
push str._2d_Subject:__s_n
push ebp
call fcn.00499770
add esp, 0x10
push esi
call dword [0x54ae6c]
lea eax, [esp + 0x88]
push eax
call fcn.004ca600
mov esi, eax
add esp, 8
test esi, esi
je case.0x4cb5c6.7
cmp dword [ebp + 0x8cc], 0
je 0x4cafab
push esi
push str.Issuer
push ebx
push ebp
call fcn.004910e0
add esp, 0x10
test ebx, ebx
jne 0x4cafbe
push esi
push str.___Issuer:__s_n
push ebp
call fcn.00499770
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 0x4cafe3
movzx edx, byte [eax]
shl esi, 8
inc eax
or esi, edx
cmp eax, ecx
jb 0x4cafd6
cmp dword [ebp + 0x8cc], 0
je 0x4cb01b
push esi
push 0x520f64
call fcn.004a3cb0
mov edi, eax
add esp, 8
test edi, edi
je case.0x4cb5c6.7
push edi
push 0x521900
push ebx
push ebp
call fcn.004910e0
push edi
call dword [0x54ae6c]
add esp, 0x14
test ebx, ebx
jne 0x4cb030
push esi
inc esi
push esi
push str.___Version:__lu__0x_lx__n
push ebp
call fcn.00499770
add esp, 0x10
cmp dword [esp + 0x58], 0
jne case.0x4cb5c6.7
movzx ecx, byte [esp + 0x55]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x4cb5c6.7
movzx eax, byte [eax + 0x4cb828]
jmp dword [eax*4 + 0x4cb800]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
sub ecx, eax
cmp ecx, 1
je 0x4cb072
xor eax, eax
mov esi, eax
jmp 0x4cb158
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x4cb081
mov eax, str.FALSE
push eax
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb158
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
call fcn.004c9ae0
mov esi, eax
jmp 0x4cb158
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
inc eax
cmp eax, ebx
jbe 0x4cb0cb
mov ebx, dword [esp + 0x168]
xor eax, eax
mov esi, eax
jmp 0x4cb158
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
call fcn.004c9a80
mov ebx, dword [esp + 0x168]
mov esi, eax
jmp 0x4cb158
push 0x53761e
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb158
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
push 1
push edx
call fcn.004c9f00
mov ebx, dword [esp + 0x170]
add esp, 8
mov esi, eax
jmp 0x4cb158
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
call fcn.004ca070
mov esi, eax
jmp 0x4cb158
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
push eax
call fcn.004c9f80
add esp, 4
mov esi, eax
jmp 0x4cb158
mov edx, dword [esp + 0x50]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x54]
call fcn.004c9b30
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.0x4cb5c6.7
cmp dword [ebp + 0x8cc], 0
je 0x4cb179
push esi
push str.Serial_Number
push ebx
push ebp
call fcn.004910e0
add esp, 0x10
test ebx, ebx
jne 0x4cb18c
push esi
push str.___Serial_Number:__s_n
push ebp
call fcn.00499770
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.004caa30
mov esi, eax
test esi, esi
je case.0x4cb5c6.7
cmp dword [ebp + 0x8cc], 0
je 0x4cb1cd
push esi
push str.Signature_Algorithm
push ebx
push ebp
call fcn.004910e0
add esp, 0x10
test ebx, ebx
jne 0x4cb1e0
push esi
push str.___Signature_Algorithm:__s_n
push ebp
call fcn.00499770
add esp, 0xc
push esi
call dword [0x54ae6c]
add esp, 4
cmp dword [esp + 0xa8], 0
jne case.0x4cb5c6.7
movzx ecx, byte [esp + 0xa5]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x4cb5c6.7
movzx edx, byte [eax + 0x4cb870]
jmp dword [edx*4 + 0x4cb848]
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
sub ecx, eax
cmp ecx, 1
je 0x4cb238
xor eax, eax
mov esi, eax
jmp 0x4cb34b
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x4cb247
mov eax, str.FALSE
push eax
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb34b
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
call fcn.004c9ae0
mov esi, eax
jmp 0x4cb34b
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
inc eax
cmp eax, ebx
jbe 0x4cb2a3
mov ebx, dword [esp + 0x168]
xor eax, eax
mov esi, eax
jmp 0x4cb34b
mov ebx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
call fcn.004c9a80
mov ebx, dword [esp + 0x168]
mov esi, eax
jmp 0x4cb34b
push 0x53761e
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb34b
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
push 1
push edx
call fcn.004c9f00
mov ebx, dword [esp + 0x170]
add esp, 8
mov esi, eax
jmp 0x4cb34b
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
call fcn.004ca070
mov esi, eax
jmp 0x4cb34b
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x9c]
push eax
call fcn.004c9f80
add esp, 4
mov esi, eax
jmp 0x4cb34b
mov edx, dword [esp + 0xa0]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xa4]
call fcn.004c9b30
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.0x4cb5c6.7
cmp dword [ebp + 0x8cc], 0
je 0x4cb36c
push esi
push str.Start_Date
push ebx
push ebp
call fcn.004910e0
add esp, 0x10
test ebx, ebx
jne 0x4cb37f
push esi
push str.___Start_Date:__s_n
push ebp
call fcn.00499770
add esp, 0xc
push esi
call dword [0x54ae6c]
add esp, 4
cmp dword [esp + 0xbc], 0
jne case.0x4cb5c6.7
movzx ecx, byte [esp + 0xb9]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x4cb5c6.7
movzx edx, byte [eax + 0x4cb8b8]
jmp dword [edx*4 + 0x4cb890]
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
sub ecx, eax
cmp ecx, 1
je 0x4cb3d7
xor eax, eax
mov esi, eax
jmp 0x4cb4ea
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x4cb3e6
mov eax, str.FALSE
push eax
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb4ea
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
call fcn.004c9ae0
mov esi, eax
jmp 0x4cb4ea
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
inc eax
cmp eax, ebx
jbe 0x4cb442
mov ebx, dword [esp + 0x168]
xor eax, eax
mov esi, eax
jmp 0x4cb4ea
mov ebx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
call fcn.004c9a80
mov ebx, dword [esp + 0x168]
mov esi, eax
jmp 0x4cb4ea
push 0x53761e
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb4ea
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
push 1
push edx
call fcn.004c9f00
mov ebx, dword [esp + 0x170]
add esp, 8
mov esi, eax
jmp 0x4cb4ea
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
call fcn.004ca070
mov esi, eax
jmp 0x4cb4ea
mov eax, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
push eax
call fcn.004c9f80
add esp, 4
mov esi, eax
jmp 0x4cb4ea
mov edx, dword [esp + 0xb4]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xb8]
call fcn.004c9b30
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.0x4cb5c6.7
cmp dword [ebp + 0x8cc], 0
je 0x4cb50b
push esi
push str.Expire_Date
push ebx
push ebp
call fcn.004910e0
add esp, 0x10
test ebx, ebx
jne 0x4cb51e
push esi
push str.___Expire_Date:__s_n
push ebp
call fcn.00499770
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.004caa30
mov esi, eax
test esi, esi
je case.0x4cb5c6.7
cmp dword [ebp + 0x8cc], 0
je 0x4cb565
push esi
push str.Public_Key_Algorithm
push ebx
push ebp
call fcn.004910e0
add esp, 0x10
test ebx, ebx
jne 0x4cb578
push esi
push str.___Public_Key_Algorithm:__s_n
push ebp
call fcn.00499770
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.004cac30
push esi
call dword [0x54ae6c]
add esp, 0xc
cmp dword [esp + 0x80], 0
jne case.0x4cb5c6.7
movzx ecx, byte [esp + 0x7d]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x4cb5c6.7
movzx edx, byte [eax + 0x4cb900]
jmp dword [edx*4 + 0x4cb8d8]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
sub ecx, eax
cmp ecx, 1
je 0x4cb5e5
xor eax, eax
mov esi, eax
jmp 0x4cb6bd
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x4cb5f4
mov eax, str.FALSE
push eax
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb6bd
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
call fcn.004c9ae0
mov esi, eax
jmp 0x4cb6bd
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
inc eax
cmp eax, ebx
jbe 0x4cb637
xor eax, eax
mov esi, eax
jmp 0x4cb6bd
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
call fcn.004c9a80
mov esi, eax
jmp 0x4cb6bd
push 0x53761e
call dword [0x54ae74]
add esp, 4
mov esi, eax
jmp 0x4cb6bd
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
push 1
push edx
call fcn.004c9f00
add esp, 8
mov esi, eax
jmp 0x4cb6bd
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
call fcn.004ca070
mov esi, eax
jmp 0x4cb6bd
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
push eax
call fcn.004c9f80
mov edi, dword [esp + 0x16c]
add esp, 4
mov esi, eax
jmp 0x4cb6bd
mov edx, dword [esp + 0x78]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x7c]
call fcn.004c9b30
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.0x4cb5c6.7
cmp dword [ebp + 0x8cc], 0
je 0x4cb6de
push esi
push str.Signature
push edi
push ebp
call fcn.004910e0
add esp, 0x10
test edi, edi
jne 0x4cb6f1
push esi
push str.___Signature:__s_n
push ebp
call fcn.00499770
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.004a9500
add esp, 0x18
test eax, eax
jne 0x4cb7f5
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 0x4cb75b
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.004ca9b0
xor ebx, ebx
mov ebp, eax
cmp dword [esp + 0x18], ebx
jbe 0x4cb78b
mov ecx, dword [esp + 0x14]
lea eax, [ebx + ecx]
lea esi, [edi + ebp]
call fcn.004ca9b0
add ebx, 0x40
add ebp, eax
cmp ebx, dword [esp + 0x18]
jb 0x4cb771
lea esi, [edi + ebp]
mov eax, str._____END_CERTIFICATE_____
call fcn.004ca9b0
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 0x4cb7d0
mov eax, dword [esp + 0x168]
push edi
push str.Cert
push eax
push esi
call fcn.004910e0
add esp, 0x10
cmp dword [esp + 0x168], 0
jne 0x4cb7e9
push edi
push 0x519640
push esi
call fcn.00499770
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