Function at 0x457640
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 0x457671
cmp dword [esp + 0x15c], 0
je 0x457671
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.00456e00
add esp, 0xc
test eax, eax
je 0x45769f
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.004568a0
mov ebx, eax
add esp, 0xc
test ebx, ebx
js case.0x457d76.7
lea edi, [ebx + 1]
push edi
call dword [0x47604c]
mov esi, eax
add esp, 4
test esi, esi
je case.0x457d76.7
lea edx, [esp + 0xc0]
push edx
push edi
push esi
call fcn.004568a0
mov byte [ebx + esi], 0
mov ebx, dword [esp + 0x174]
add esp, 0xc
cmp dword [ebp + 0x8cc], 0
je 0x45770d
push esi
push str.Subject
push ebx
push ebp
call fcn.0041ec60
add esp, 0x10
test ebx, ebx
jne 0x457721
push esi
push ebx
push str._2d_Subject:__s_n
push ebp
call fcn.004283c0
add esp, 0x10
push esi
call dword [0x476050]
lea eax, [esp + 0x88]
push eax
call fcn.00456db0
mov esi, eax
add esp, 8
test esi, esi
je case.0x457d76.7
cmp dword [ebp + 0x8cc], 0
je 0x45775b
push esi
push str.Issuer
push ebx
push ebp
call fcn.0041ec60
add esp, 0x10
test ebx, ebx
jne 0x45776e
push esi
push str.___Issuer:__s_n
push ebp
call fcn.004283c0
add esp, 0xc
push esi
call dword [0x476050]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
add esp, 4
xor esi, esi
cmp eax, ecx
jae 0x457793
movzx edx, byte [eax]
shl esi, 8
inc eax
or esi, edx
cmp eax, ecx
jb 0x457786
cmp dword [ebp + 0x8cc], 0
je 0x4577cb
push esi
push 0x464bd8
call fcn.00430080
mov edi, eax
add esp, 8
test edi, edi
je case.0x457d76.7
push edi
push str.Version
push ebx
push ebp
call fcn.0041ec60
push edi
call dword [0x476050]
add esp, 0x14
test ebx, ebx
jne 0x4577e0
push esi
inc esi
push esi
push str.___Version:__lu__0x_lx__n
push ebp
call fcn.004283c0
add esp, 0x10
cmp dword [esp + 0x58], 0
jne case.0x457d76.7
movzx ecx, byte [esp + 0x55]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x457d76.7
movzx eax, byte [eax + 0x457fd8]
jmp dword [eax*4 + 0x457fb0]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
sub ecx, eax
cmp ecx, 1
je 0x457822
xor eax, eax
mov esi, eax
jmp 0x457908
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x457831
mov eax, str.FALSE
push eax
call dword [0x476058]
add esp, 4
mov esi, eax
jmp 0x457908
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
call fcn.004562b0
mov esi, eax
jmp 0x457908
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
inc eax
cmp eax, ebx
jbe 0x45787b
mov ebx, dword [esp + 0x168]
xor eax, eax
mov esi, eax
jmp 0x457908
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
call fcn.00456250
mov ebx, dword [esp + 0x168]
mov esi, eax
jmp 0x457908
push 0x46d773
call dword [0x476058]
add esp, 4
mov esi, eax
jmp 0x457908
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
push 1
push edx
call fcn.004566a0
mov ebx, dword [esp + 0x170]
add esp, 8
mov esi, eax
jmp 0x457908
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
call fcn.00456810
mov esi, eax
jmp 0x457908
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
push eax
call fcn.00456720
add esp, 4
mov esi, eax
jmp 0x457908
mov edx, dword [esp + 0x50]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x54]
call fcn.00456300
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.0x457d76.7
cmp dword [ebp + 0x8cc], 0
je 0x457929
push esi
push str.Serial_Number
push ebx
push ebp
call fcn.0041ec60
add esp, 0x10
test ebx, ebx
jne 0x45793c
push esi
push str.___Serial_Number:__s_n
push ebp
call fcn.004283c0
add esp, 0xc
push esi
call dword [0x476050]
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
add esp, 4
lea edi, [esp + 0x14c]
call fcn.004571e0
mov esi, eax
test esi, esi
je case.0x457d76.7
cmp dword [ebp + 0x8cc], 0
je 0x45797d
push esi
push str.Signature_Algorithm
push ebx
push ebp
call fcn.0041ec60
add esp, 0x10
test ebx, ebx
jne 0x457990
push esi
push str.___Signature_Algorithm:__s_n
push ebp
call fcn.004283c0
add esp, 0xc
push esi
call dword [0x476050]
add esp, 4
cmp dword [esp + 0xa8], 0
jne case.0x457d76.7
movzx ecx, byte [esp + 0xa5]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x457d76.7
movzx edx, byte [eax + 0x458020]
jmp dword [edx*4 + 0x457ff8]
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
sub ecx, eax
cmp ecx, 1
je 0x4579e8
xor eax, eax
mov esi, eax
jmp 0x457afb
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x4579f7
mov eax, str.FALSE
push eax
call dword [0x476058]
add esp, 4
mov esi, eax
jmp 0x457afb
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
call fcn.004562b0
mov esi, eax
jmp 0x457afb
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
inc eax
cmp eax, ebx
jbe 0x457a53
mov ebx, dword [esp + 0x168]
xor eax, eax
mov esi, eax
jmp 0x457afb
mov ebx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
call fcn.00456250
mov ebx, dword [esp + 0x168]
mov esi, eax
jmp 0x457afb
push 0x46d773
call dword [0x476058]
add esp, 4
mov esi, eax
jmp 0x457afb
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
push 1
push edx
call fcn.004566a0
mov ebx, dword [esp + 0x170]
add esp, 8
mov esi, eax
jmp 0x457afb
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
call fcn.00456810
mov esi, eax
jmp 0x457afb
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x9c]
push eax
call fcn.00456720
add esp, 4
mov esi, eax
jmp 0x457afb
mov edx, dword [esp + 0xa0]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xa4]
call fcn.00456300
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.0x457d76.7
cmp dword [ebp + 0x8cc], 0
je 0x457b1c
push esi
push str.Start_Date
push ebx
push ebp
call fcn.0041ec60
add esp, 0x10
test ebx, ebx
jne 0x457b2f
push esi
push str.___Start_Date:__s_n
push ebp
call fcn.004283c0
add esp, 0xc
push esi
call dword [0x476050]
add esp, 4
cmp dword [esp + 0xbc], 0
jne case.0x457d76.7
movzx ecx, byte [esp + 0xb9]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x457d76.7
movzx edx, byte [eax + 0x458068]
jmp dword [edx*4 + 0x458040]
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
sub ecx, eax
cmp ecx, 1
je 0x457b87
xor eax, eax
mov esi, eax
jmp 0x457c9a
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x457b96
mov eax, str.FALSE
push eax
call dword [0x476058]
add esp, 4
mov esi, eax
jmp 0x457c9a
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
call fcn.004562b0
mov esi, eax
jmp 0x457c9a
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
inc eax
cmp eax, ebx
jbe 0x457bf2
mov ebx, dword [esp + 0x168]
xor eax, eax
mov esi, eax
jmp 0x457c9a
mov ebx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
call fcn.00456250
mov ebx, dword [esp + 0x168]
mov esi, eax
jmp 0x457c9a
push 0x46d773
call dword [0x476058]
add esp, 4
mov esi, eax
jmp 0x457c9a
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
push 1
push edx
call fcn.004566a0
mov ebx, dword [esp + 0x170]
add esp, 8
mov esi, eax
jmp 0x457c9a
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
call fcn.00456810
mov esi, eax
jmp 0x457c9a
mov eax, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
push eax
call fcn.00456720
add esp, 4
mov esi, eax
jmp 0x457c9a
mov edx, dword [esp + 0xb4]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xb8]
call fcn.00456300
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.0x457d76.7
cmp dword [ebp + 0x8cc], 0
je 0x457cbb
push esi
push str.Expire_Date
push ebx
push ebp
call fcn.0041ec60
add esp, 0x10
test ebx, ebx
jne 0x457cce
push esi
push str.___Expire_Date:__s_n
push ebp
call fcn.004283c0
add esp, 0xc
push esi
call dword [0x476050]
mov esi, dword [esp + 0xf4]
mov eax, dword [esp + 0xf0]
add esp, 4
lea edi, [esp + 0x14c]
call fcn.004571e0
mov esi, eax
test esi, esi
je case.0x457d76.7
cmp dword [ebp + 0x8cc], 0
je 0x457d15
push esi
push str.Public_Key_Algorithm
push ebx
push ebp
call fcn.0041ec60
add esp, 0x10
test ebx, ebx
jne 0x457d28
push esi
push str.___Public_Key_Algorithm:__s_n
push ebp
call fcn.004283c0
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.004573e0
push esi
call dword [0x476050]
add esp, 0xc
cmp dword [esp + 0x80], 0
jne case.0x457d76.7
movzx ecx, byte [esp + 0x7d]
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x457d76.7
movzx edx, byte [eax + 0x4580b0]
jmp dword [edx*4 + 0x458088]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
sub ecx, eax
cmp ecx, 1
je 0x457d95
xor eax, eax
mov esi, eax
jmp 0x457e6d
cmp byte [eax], 0
mov eax, str.TRUE
jne 0x457da4
mov eax, str.FALSE
push eax
call dword [0x476058]
add esp, 4
mov esi, eax
jmp 0x457e6d
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
call fcn.004562b0
mov esi, eax
jmp 0x457e6d
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
inc eax
cmp eax, ebx
jbe 0x457de7
xor eax, eax
mov esi, eax
jmp 0x457e6d
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
call fcn.00456250
mov esi, eax
jmp 0x457e6d
push 0x46d773
call dword [0x476058]
add esp, 4
mov esi, eax
jmp 0x457e6d
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
push 1
push edx
call fcn.004566a0
add esp, 8
mov esi, eax
jmp 0x457e6d
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
call fcn.00456810
mov esi, eax
jmp 0x457e6d
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
push eax
call fcn.00456720
mov edi, dword [esp + 0x16c]
add esp, 4
mov esi, eax
jmp 0x457e6d
mov edx, dword [esp + 0x78]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x7c]
call fcn.00456300
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.0x457d76.7
cmp dword [ebp + 0x8cc], 0
je 0x457e8e
push esi
push str.Signature
push edi
push ebp
call fcn.0041ec60
add esp, 0x10
test edi, edi
jne 0x457ea1
push esi
push str.___Signature:__s_n
push ebp
call fcn.004283c0
add esp, 0xc
push esi
call dword [0x476050]
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.00435750
add esp, 0x18
test eax, eax
jne 0x457fa5
mov eax, dword [esp + 0x18]
lea edx, [eax + 0x3f]
shr edx, 6
lea eax, [edx + eax + 0x37]
push eax
call dword [0x47604c]
mov edi, eax
add esp, 4
test edi, edi
jne 0x457f0b
mov eax, dword [esp + 0x14]
push eax
call dword [0x476050]
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.00457160
xor ebx, ebx
mov ebp, eax
cmp dword [esp + 0x18], ebx
jbe 0x457f3b
mov ecx, dword [esp + 0x14]
lea eax, [ebx + ecx]
lea esi, [edi + ebp]
call fcn.00457160
add ebx, 0x40
add ebp, eax
cmp ebx, dword [esp + 0x18]
jb 0x457f21
lea esi, [edi + ebp]
mov eax, str._____END_CERTIFICATE_____
call fcn.00457160
add eax, edi
mov byte [eax + ebp], 0
mov edx, dword [esp + 0x14]
push edx
call dword [0x476050]
mov esi, dword [esp + 0x20]
add esp, 4
cmp dword [esi + 0x8cc], 0
je 0x457f80
mov eax, dword [esp + 0x168]
push edi
push str.Cert
push eax
push esi
call fcn.0041ec60
add esp, 0x10
cmp dword [esp + 0x168], 0
jne 0x457f99
push edi
push 0x46f37c
push esi
call fcn.004283c0
add esp, 0xc
push edi
call dword [0x476050]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x150
ret