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

Disassembly:
push 0xffffffffffffffff
push 0x57c649
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x641030]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x641030]
xor eax, esp
push eax
lea eax, [esp + 0x434]
mov dword fs:[0], eax
mov eax, dword [esp + 0x45c]
mov esi, dword [esp + 0x460]
mov edi, dword [esp + 0x444]
push str.validateCerts
mov dword [esp + 0x1c], ecx
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], eax
call fcn.00437740
push esi
mov ecx, edi
mov dword [esp + 0x440], 0
call fcn.004bc620
lea ebx, [edi + 0x2c]
mov ecx, ebx
mov dword [esp + 0x28], ebx
call fcn.00550cd0
cmp byte [esi + 0x121], 0
mov ebp, eax
mov dword [esp + 0x20], ebp
je 0x4cb79c
push ebp
push str.certListSize
mov ecx, esi
call fcn.004373b0
push esi
mov ecx, edi
call fcn.004c4e00
cmp byte [esp + 0x458], 0
je 0x4cb7f2
test ebp, ebp
jne 0x4cb7fa
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x3a4]
test ecx, ecx
je 0x4cbdcc
call fcn.0044d7e0
test eax, eax
jbe 0x4cbdcc
push str.The_server_requires_a_valid_client_certificate__but_the_client_provided_none.
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x43c], 0xffffffff
call fcn.004377b0
xor al, al
jmp 0x4cbfc4
test ebp, ebp
je 0x4cbdcc
dec ebp
mov eax, ebp
sub eax, dword [esp + 0x20]
mov dword [esp + 0x44], ebp
add eax, 2
mov dword [esp + 0x24], eax
lea esp, [esp]
push ebp
mov ecx, ebx
call fcn.0044e910
test eax, eax
je 0x4cbbf7
mov ecx, eax
call fcn.0051d090
mov ebx, eax
test ebx, ebx
je 0x4cb7d7
push str.validatingCert
push esi
lea ecx, [esp + 0x50]
call fcn.00437740
cmp byte [esi + 0x121], 0
mov byte [esp + 0x43c], 1
je 0x4cb8ac
push ebp
push 0x5db13c
mov ecx, esi
call fcn.004373b0
lea ecx, [esp + 0x200]
call fcn.0040e280
push 0
push esi
lea ecx, [esp + 0x208]
push ecx
push 0
push 1
mov ecx, ebx
mov byte [esp + 0x450], 2
call fcn.00514b60
lea edx, [esp + 0x200]
push edx
push str.subjectDN
mov ecx, esi
call fcn.004370a0
lea ecx, [esp + 0x200]
mov byte [esp + 0x43c], 1
call fcn.0040e320
push esi
mov ecx, ebx
call fcn.00516300
test al, al
jne 0x4cbc0b
cmp byte [esi + 0x121], al
je 0x4cb8d2
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push str.This_certificate_is_NOT_the_root_in_the_chain_of_authority.
mov ecx, esi
call edx
lea ecx, [esp + 0x3c]
call fcn.00439600
lea ecx, [esp + 0xe8]
mov byte [esp + 0x43c], 5
mov dword [esp + 0x38], 0
call fcn.0040e280
push 0
push esi
lea eax, [esp + 0xf0]
push eax
push 0
push 0
mov ecx, ebx
mov byte [esp + 0x450], 6
call fcn.00514b60
test al, al
je 0x4cbe1e
cmp byte [esi + 0x121], 0
je 0x4cb93a
lea ecx, [esp + 0xe8]
push ecx
push str.issuerDN
mov ecx, esi
call fcn.004370a0
lea ecx, [esp + 0x58]
mov byte [esp + 0x1f], 0
call fcn.00447240
push esi
lea edx, [esp + 0x23]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0xf4]
mov byte [esp + 0x448], 7
call fcn.0040f7f0
push eax
call fcn.004756d0
add esp, 0x10
cmp byte [esi + 0x121], 0
mov byte [esp + 0x17], al
je 0x4cb98d
movzx ecx, al
push ecx
push str.issuerIsTrustedRoot
mov ecx, esi
call fcn.004373b0
cmp byte [esp + 0x17], 0
je 0x4cba11
lea ecx, [esp + 0x58]
call fcn.0051d090
test eax, eax
je 0x4cba11
push esi
push 0
lea ecx, [esp + 0x60]
call fcn.0051d090
push eax
lea ecx, [esp + 0x64]
call fcn.00446f60
push eax
call fcn.0050d7c0
mov edi, eax
add esp, 0x10
mov dword [esp + 0x38], edi
test edi, edi
je 0x4cb9fb
cmp byte [esi + 0x121], 0
mov dword [esp + 0x40], edi
je 0x4cba09
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Found_issuer_in_TrustedRoots.
mov ecx, esi
call eax
lea ecx, [esp + 0xe8]
push ecx
push str.issuerDN
mov ecx, esi
call fcn.004370a0
jmp 0x4cba09
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Issuer_not_found_in_TrustedRoots.
mov ecx, esi
call eax
test edi, edi
jne 0x4cbb54
lea ecx, [esp + 0x74]
call fcn.0042d110
push esi
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebx
mov byte [esp + 0x444], 8
call fcn.005167d0
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x17], al
call fcn.0048a8f0
mov ebp, eax
test ebp, ebp
je 0x4cbb3b
cmp byte [esp + 0x17], 0
je 0x4cba72
lea ecx, [esp + 0x74]
call fcn.0042bab0
test eax, eax
je 0x4cba72
push esi
lea ecx, [esp + 0x78]
call fcn.0051b3b0
push eax
mov ecx, ebp
call fcn.0048cf60
mov edi, eax
test edi, edi
jne 0x4cbad0
lea ecx, [esp + 0x318]
call fcn.0040e280
push 0
push esi
lea edx, [esp + 0x320]
push edx
push 1
push 0
mov ecx, ebx
mov byte [esp + 0x450], 9
call fcn.00514b60
push esi
push 1
lea eax, [esp + 0x320]
push eax
lea ecx, [esp + 0xf4]
push ecx
mov ecx, ebp
call fcn.0048cbf0
lea ecx, [esp + 0x318]
mov edi, eax
mov byte [esp + 0x43c], 8
call fcn.0040e320
test edi, edi
je 0x4cbb3b
cmp byte [0x632328], 0
jne 0x4cbafe
push esi
mov ecx, edi
call fcn.0050ba30
test al, al
je 0x4cbafe
cmp byte [esi + 0x121], 0
je 0x4cbb3b
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Ignoring_the_root_cert_found_in_the_system_certificates_because_TrustSystemCaRoots_is_false.
mov ecx, esi
call eax
jmp 0x4cbb3b
cmp byte [esi + 0x121], 0
je 0x4cbb29
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Found_issuer_in_system_certs.
mov ecx, esi
call eax
lea ecx, [esp + 0xe8]
push ecx
push str.issuerDN
mov ecx, esi
call fcn.004370a0
push esi
push edi
call fcn.0050d700
add esp, 8
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x43c], 7
call fcn.0042d1d0
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x58]
mov byte [esp + 0x43c], 6
call fcn.004479b0
test edi, edi
je 0x4cbe1e
push esi
mov ecx, edi
call fcn.0050dfd0
test eax, eax
je 0x4cbe40
lea ecx, [eax + 0x2c]
call fcn.0051d090
test eax, eax
je 0x4cbe40
push esi
push eax
call fcn.00518350
add esp, 8
test eax, eax
je 0x4cbba5
mov ecx, dword [esp + 0x28]
push eax
call fcn.0044ec30
mov edi, dword [esp + 0x24]
inc ebp
inc edi
lea ecx, [esp + 0xe8]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x24], edi
mov byte [esp + 0x43c], 5
call fcn.0040e320
lea ecx, [esp + 0x3c]
mov byte [esp + 0x43c], 1
call fcn.00439610
lea ecx, [esp + 0x48]
mov byte [esp + 0x43c], 0
call fcn.004377b0
cmp edi, 0x14
jg 0x4cbc01
mov ebx, dword [esp + 0x28]
jmp 0x4cb810
push str.Certificate_not_available_in_TlsCertificates_object.
jmp 0x4cb7ce
push str.The_chain_of_authentication_is_too_long.__This_is_likely_an_infinite_loop..
jmp 0x4cb7ce
cmp byte [esi + 0x121], 0
je 0x4cbc22
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.This_certificate_is_the_root_in_the_chain_of_authentication.
mov ecx, esi
call eax
cmp byte [0x642c89], 0
je 0x4cbc56
cmp dword [esp + 0x20], 1
jne 0x4cbc56
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Rejecting_self_signed_TLS_server_certificate_because_TrustedRoots.RejectSelfSigned_is_true.
mov ecx, esi
call eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x43c], 0
call fcn.004377b0
jmp 0x4cb7d7
cmp byte [esp + 0x458], 0
je 0x4cbdb7
cmp byte [esi + 0x121], 0
je 0x4cbc7b
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.Checking_this_CA_cert_against_the_list_of_acceptable_CA_DNs..
mov ecx, esi
call eax
lea ecx, [esp + 0x200]
call fcn.0040e280
push 0
push esi
lea ecx, [esp + 0x208]
push ecx
push 1
push 1
mov ecx, ebx
mov byte [esp + 0x450], 3
call fcn.00514b60
lea edx, [esp + 0x200]
push edx
push str.ClientCert_Root_CA_DN
mov ecx, esi
call fcn.004370a0
lea ecx, [esp + 0x74]
call fcn.0042d110
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3a4]
mov byte [esp + 0x43c], 4
call fcn.0044d7e0
mov ebx, eax
test ebx, ebx
jbe 0x4cbd92
xor edi, edi
test ebx, ebx
jbe 0x4cbd49
lea esp, [esp]
lea ecx, [esp + 0x74]
call fcn.0042c9c0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [edx + 0x3a4]
push edi
call fcn.0044d900
cmp byte [esi + 0x121], 0
je 0x4cbd28
lea eax, [esp + 0x74]
push eax
push str.AcceptableCA
mov ecx, esi
call fcn.004370f0
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x204]
call fcn.00411290
mov ecx, eax
call fcn.0042f1a0
test al, al
jne 0x4cbd92
inc edi
cmp edi, ebx
jb 0x4cbcf0
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Clients_root_CA_DN_does_not_match_any_acceptable_CA_DN.
mov ecx, esi
call eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x43c], 3
call fcn.0042d1d0
lea ecx, [esp + 0x200]
mov byte [esp + 0x43c], 1
call fcn.0040e320
lea ecx, [esp + 0x48]
mov byte [esp + 0x43c], 0
call fcn.004377b0
jmp 0x4cb7d7
lea ecx, [esp + 0x74]
mov byte [esp + 0x43c], 3
call fcn.0042d1d0
lea ecx, [esp + 0x200]
mov byte [esp + 0x43c], 1
call fcn.0040e320
lea ecx, [esp + 0x48]
mov byte [esp + 0x43c], 0
call fcn.004377b0
mov ebx, dword [esp + 0x28]
mov ecx, ebx
mov dword [esp + 0x18], 0
call fcn.00550cd0
cmp byte [0x642c89], 0
mov dword [esp + 0x20], eax
je 0x4cbe7b
cmp eax, 1
jne 0x4cbe7b
push 0
push ebx
call fcn.00516150
add esp, 8
test eax, eax
je 0x4cb7d7
push esi
mov ecx, eax
call fcn.00516300
test al, al
je 0x4cbe7b
push str.Rejecting_self_signed_SSL_TLS_server_certificate_because_TrustedRoots.RejectSelfSigned_is_true.
jmp 0x4cb7ce
lea ecx, [esp + 0xe8]
push ecx
push str.issuerDN_notFound
mov ecx, esi
call fcn.004370a0
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Unable_to_build_certificate_chain_to_root..
mov ecx, esi
call eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x43c], 5
call fcn.0040e320
lea ecx, [esp + 0x3c]
mov byte [esp + 0x43c], 1
call fcn.00439610
lea ecx, [esp + 0x48]
mov byte [esp + 0x43c], 0
call fcn.004377b0
jmp 0x4cb7d7
xor ebp, ebp
mov dword [esp + 0x24], ebp
cmp dword [esp + 0x20], ebp
jbe 0x4cbf97
jmp 0x4cbe90
mov ecx, dword [esp + 0x28]
push ebp
push ecx
call fcn.00516150
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4cb7d7
push esi
mov ecx, ebx
call fcn.00516300
test al, al
je 0x4cbebc
inc dword [esp + 0x18]
mov edi, ebx
jmp 0x4cbeff
xor ebp, ebp
mov edi, edi
mov edx, dword [esp + 0x28]
push ebp
push edx
call fcn.00516150
mov edi, eax
add esp, 8
test edi, edi
je 0x4cbee1
push esi
push edi
mov ecx, ebx
call fcn.005169f0
test al, al
jne 0x4cbefb
inc ebp
cmp ebp, dword [esp + 0x20]
jb 0x4cbec0
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Unable_to_find_issuer_certificate..
mov ecx, esi
call edx
jmp 0x4cb7d7
mov ebp, dword [esp + 0x24]
test edi, edi
je 0x4cbee8
push esi
push edi
mov ecx, ebx
call fcn.00516f90
test al, al
je 0x4cb7d7
push esi
mov ecx, ebx
call fcn.00516430
test al, al
jne 0x4cbf40
inc ebp
mov dword [esp + 0x24], ebp
cmp ebp, dword [esp + 0x20]
jb 0x4cbe90
cmp dword [esp + 0x18], 1
jle 0x4cbf97
push str.Found_multiple_self_signed_certificates__rejecting..
jmp 0x4cb7ce
lea ecx, [esp + 0x318]
call fcn.0040e280
push 0
push esi
lea eax, [esp + 0x320]
push eax
push 0
push 1
mov ecx, ebx
mov byte [esp + 0x450], 0xa
call fcn.00514b60
lea ecx, [esp + 0x318]
push ecx
push str.expiredCert
mov ecx, esi
call fcn.004370a0
lea ecx, [esp + 0x318]
mov byte [esp + 0x43c], 0
call fcn.0040e320
jmp 0x4cb7d7
cmp byte [esi + 0x121], 0
je 0x4cbfae
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push str.All_certificate_signatures_verified.
mov ecx, esi
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x43c], 0xffffffff
call fcn.004377b0
mov al, 1
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.005550b0
add esp, 0x42c
ret 0x20