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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push ebx
call fcn.0042a430
add esp, 4
mov esi, eax
push edi
push ebx
call fcn.0042a450
add esp, 8
cmp dword [edi + 0x498], 0
je 0x47148b
test byte [esi + 0x44], 1
je 0x47148b
cmp dword [esi], 0
jne 0x47148b
cmp dword [esi + 0x24], 0
jne 0x47148b
cmp dword [eax + 0x1c], 0
je 0x471c82
mov dword [esp + 0x10], 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x88]
test eax, eax
je 0x47156d
add eax, 0xc4
push 0x13
push str.tls:ossl:x509:share
push eax
call fcn.0044e860
add esp, 0xc
test eax, eax
je 0x47156d
mov esi, eax
cmp dword [eax + 4], 0
je 0x47156d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x498], 0
js 0x47151b
lea eax, [esp + 0x58]
push eax
call fcn.0041ae10
sub esp, 0x1c
movups xmm0, xmmword [esi + 8]
movups xmmword [esp + 0x10], xmm0
movups xmm0, xmmword [esp + 0x78]
movups xmmword [esp], xmm0
call fcn.0041aef0
add esp, 0x20
mov ecx, eax
mov edi, edx
mov eax, 0x3e8
mov edx, dword [ebp + 0xc]
imul dword [edx + 0x498]
cmp ecx, eax
sbb edi, edx
jge 0x47156d
push dword [ebp + 8]
call fcn.0042a430
add esp, 4
mov ecx, dword [esi]
mov eax, dword [eax + 4]
test ecx, ecx
je 0x47153d
test eax, eax
je 0x47156d
push eax
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x47156d
mov esi, dword [esi + 4]
test esi, esi
setne al
and al, byte [esp + 0x10]
cmp al, 1
jne 0x47156d
push esi
call fcn.0062db90
add esp, 4
test eax, eax
je 0x47156d
push esi
push ebx
call fcn.00505d30
add esp, 8
jmp 0x471c7e
push ebx
call fcn.00505d20
add esp, 4
mov dword [esp + 4], eax
mov edi, dword [ebp + 8]
push edi
call fcn.0042a430
add esp, 4
mov esi, eax
mov ebx, dword [ebp + 0xc]
push ebx
push edi
call fcn.0042a450
add esp, 8
mov ecx, eax
mov eax, dword [esi + 0x24]
xor edx, edx
mov dword [esp + 0x28], eax
test eax, eax
jne 0x4715a7
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x20], eax
test byte [ebx + 0x6eb], 0x20
je 0x47161c
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x4715dc
cmp dword [ebp + 8], 0
je 0x47161c
cmp dword [eax + 4], 0
jg 0x4715e2
jmp 0x47161c
cmp dword [ebp + 8], 0
je 0x47161c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax + 8], 0
jle 0x47161c
xor eax, eax
cmp dword [esp + 0x28], 0
setne al
test edx, edx
mov esi, ecx
mov ecx, 0xa2934a
cmovne ecx, edx
push eax
push ecx
push str.populate_x509_store__path_s__blob_d
push dword [ebp + 8]
push ebx
mov edi, edx
call fcn.004425f0
mov edx, edi
mov ecx, esi
add esp, 0x14
cmp dword [esp + 4], 0
je 0x4717b2
test byte [esp + 0x3c], 1
jne 0x4717bc
cmp dword [esp + 0x20], 0
je 0x4716d6
mov esi, ecx
call fcn.0061e730
push eax
push dword [esp + 8]
call fcn.0062dbb0
add esp, 8
test eax, eax
je 0x471b51
push 1
push dword [esp + 0x24]
push eax
call fcn.0061e9b0
add esp, 0xc
test eax, eax
je 0x471b51
mov edi, ebx
test byte [ebx + 0x6eb], 0x20
je 0x471699
mov eax, dword [edi + 0xd20]
test eax, eax
je 0x47168b
cmp dword [eax + 4], 0
jle 0x471699
push str.successfully_loaded_CRL_file:
push edi
call fcn.00442520
add esp, 8
push 0xc
push dword [esp + 8]
call fcn.0062ed20
add esp, 8
test byte [edi + 0x6eb], 0x20
mov ecx, esi
je 0x4716d6
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x4716c2
cmp dword [eax + 4], 0
jle 0x4716d6
push dword [esp + 0x20]
push str.__CRLfile:__s
push ebx
call fcn.00442520
mov ecx, esi
add esp, 0xc
xor edi, edi
test byte [esp + 0x3c], 1
je 0x471712
mov esi, ecx
push 0x8000
push dword [esp + 8]
call fcn.0062ed20
add esp, 8
cmp dword [esp + 0x20], 0
jne 0x471712
mov eax, dword [esi + 0x68]
and eax, 0x10
jne 0x471712
push 0x80000
push dword [esp + 8]
call fcn.0062ed20
add esp, 8
test edi, edi
sete al
and al, byte [esp + 0x10]
cmp al, 1
mov eax, edi
jne 0x471cdd
push dword [ebp + 8]
call fcn.0042a430
add esp, 4
mov ebx, dword [ebx + 0x88]
test ebx, ebx
je 0x471c7e
mov edi, eax
add ebx, 0xc4
push 0x13
push str.tls:ossl:x509:share
push ebx
call fcn.0044e860
add esp, 0xc
mov esi, eax
test eax, eax
je 0x471bd8
push dword [esp + 4]
call fcn.0062db90
add esp, 4
test eax, eax
mov eax, 0
je 0x471cdd
mov eax, dword [edi + 4]
test eax, eax
je 0x471c39
push str.vtls_openssl.c
push 0xd5a
push eax
call fcn.00404940
add esp, 0xc
mov edi, eax
test eax, eax
jne 0x471c3b
push dword [esp + 4]
call fcn.0062da60
add esp, 4
jmp 0x471c7e
mov eax, 0x1b
jmp 0x471cdd
mov dword [esp + 0x18], edx
xor eax, eax
mov dword [esp + 0xc], ecx
test byte [ecx + 0x68], 0x40
mov dword [esp + 0x14], 0
jne 0x471842
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x471d0c
mov eax, dword [ecx + 4]
mov esi, 0x4d
test eax, eax
js 0x471ccd
push eax
push dword [ecx]
call fcn.00583240
add esp, 8
test eax, eax
je 0x471bce
mov edi, eax
push 0
push 0
push 0
push eax
call fcn.005f6480
add esp, 0x10
test eax, eax
je 0x471c2b
mov dword [esp + 8], eax
push eax
call fcn.00617d90
add esp, 4
test eax, eax
jle 0x471caf
mov dword [esp + 0x24], edi
xor ebx, ebx
xor edi, edi
mov esi, dword [esp + 8]
jmp 0x471b83
mov cl, 1
mov dword [esp + 0x14], 0
jmp 0x471880
mov cl, 1
mov dword [esp + 0x14], ecx
nop word cs:[eax + eax]
push esi
push eax
push ebx
call fcn.00442520
add esp, 0xc
mov eax, 1
test byte [esp + 0x4c], 1
mov ecx, 0
je 0x4717d4
mov dword [esp + 0x4c], ecx
mov esi, dword [eax*4 + 0xa29358]
push esi
push 0
call dword [sym.imp.CRYPT32.dll_CertOpenSystemStoreA]
test eax, eax
je 0x471b00
mov edi, eax
mov dword [esp + 0x48], esi
push 0
push eax
call dword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov esi, eax
mov al, 1
mov dword [esp + 0x44], eax
test esi, esi
mov dword [esp + 8], edi
je 0x471a80
mov dword [esp + 0x2c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 0
jmp 0x4718f6
mov edi, dword [esp + 8]
push esi
push edi
call dword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov esi, eax
test eax, eax
je 0x471a70
mov eax, dword [esi + 4]
mov dword [esp + 0x54], eax
test eax, eax
je 0x4718e4
lea ebx, [esp + 0x58]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esi + 0xc]
add eax, 0x20
push ebx
push eax
mov edi, dword [sym.imp.KERNEL32.dll_CompareFileTime]
call edi
test eax, eax
jg 0x4718e0
mov eax, dword [esi + 0xc]
add eax, 0x28
push eax
push ebx
call edi
test eax, eax
jg 0x4718e0
push 2
lea eax, [esp + 0x3e]
push eax
push dword [esi + 0xc]
push dword [esi]
call dword [sym.imp.CRYPT32.dll_CertGetIntendedKeyUsage]
test eax, eax
mov edi, dword [esp + 8]
je 0x471951
test byte [esp + 0x3a], 4
je 0x4718e4
jmp 0x47195b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4718e4
lea eax, [esp + 0x34]
push eax
push 0
push 0
push esi
call dword [sym.imp.CRYPT32.dll_CertGetEnhancedKeyUsage]
test eax, eax
je 0x4718e4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4719af
cmp eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
jbe 0x4719b3
push str.vtls_openssl.c
push 0xc09
push eax
push ecx
mov ebx, ecx
call fcn.00404a20
add esp, 0x10
test eax, eax
je 0x471b2f
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov ecx, eax
jmp 0x4719b3
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x34]
push eax
push ecx
push 0
push esi
mov ebx, ecx
call dword [sym.imp.CRYPT32.dll_CertGetEnhancedKeyUsage]
test eax, eax
mov dword [esp + 0x30], ebx
je 0x4718e4
mov eax, dword [ebx]
mov dword [esp + 0x24], eax
test eax, eax
je 0x471a14
mov eax, dword [ebx + 4]
mov dword [esp + 0x50], eax
xor ebx, ebx
nop word cs:[eax + eax]
mov eax, dword [esp + 0x50]
push dword [eax + ebx*4]
push str.1.3.6.1.5.5.7.3.1
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x471a25
inc ebx
cmp dword [esp + 0x24], ebx
jne 0x4719f0
jmp 0x4718e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80092004
jne 0x4718e4
push dword [esi + 8]
lea eax, [esp + 0x58]
push eax
push 0
call fcn.0063c7f0
add esp, 0xc
test eax, eax
je 0x4718e4
push eax
push dword [esp + 8]
mov ebx, eax
call fcn.0062dfc0
add esp, 8
cmp eax, 1
sete al
mov ecx, dword [esp + 0x2c]
or cl, al
mov dword [esp + 0x2c], ecx
push ebx
call fcn.0063c840
add esp, 4
jmp 0x4718e4
xor esi, esi
xor edi, edi
mov ebx, dword [esp + 0x30]
jmp 0x471a8e
mov dword [esp + 0x2c], 0
xor edi, edi
xor ebx, ebx
xor esi, esi
push str.vtls_openssl.c
push 0xc43
push ebx
call fcn.00404af0
add esp, 0xc
push esi
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
push 0
push dword [esp + 0xc]
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
cmp byte [esp + 0x44], 0
mov ebx, dword [ebp + 0xc]
je 0x471712
test byte [esp + 0x2c], 1
mov esi, dword [esp + 0x48]
je 0x471b00
mov al, 1
mov dword [esp + 0x14], eax
test byte [ebx + 0x6eb], 0x20
je 0x47186b
mov ecx, dword [ebx + 0xd20]
mov eax, str.successfully_imported_Windows__s_store
test ecx, ecx
je 0x47184e
mov dl, 1
mov dword [esp + 0x14], edx
jmp 0x471b20
test byte [ebx + 0x6eb], 0x20
je 0x47186b
mov ecx, dword [ebx + 0xd20]
mov eax, str.error_importing_Windows__s_store__continuing_anyway
test ecx, ecx
je 0x471860
cmp dword [ecx + 4], 0
jg 0x471860
jmp 0x47186b
push str.SSL:_Out_of_memory_allocating_for_OID_list
push dword [ebp + 0xc]
call fcn.00442490
add esp, 8
mov edi, 0x1b
mov dword [esp + 0x44], 0
jmp 0x471a8e
push dword [esp + 0x20]
push str.error_loading_CRL_file:__s
push ebx
call fcn.00442490
add esp, 0xc
mov eax, 0x52
jmp 0x471cdd
mov esi, dword [esp + 8]
inc edi
push esi
call fcn.00617d90
add esp, 4
cmp edi, eax
jge 0x471c9c
push edi
push esi
call fcn.00617db0
add esp, 8
mov esi, eax
mov eax, dword [eax]
test eax, eax
je 0x471bab
push eax
push dword [esp + 8]
call fcn.0062dfc0
add esp, 8
test eax, eax
je 0x471c92
inc ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x471b6d
push eax
push dword [esp + 8]
call fcn.0062e110
add esp, 8
test eax, eax
mov esi, dword [esp + 8]
je 0x471c92
inc ebx
jmp 0x471b71
mov esi, 0x1b
jmp 0x471ccd
push str.vtls_openssl.c
push 0xd4a
push 0x18
push 1
call fcn.00404860
add esp, 0x10
test eax, eax
je 0x471c7e
mov esi, eax
push 0x476990
push eax
push 0x13
push str.tls:ossl:x509:share
push ebx
call fcn.0044e630
add esp, 0x14
test eax, eax
jne 0x471760
push str.vtls_openssl.c
push 0xd51
push esi
call fcn.00404af0
add esp, 0xc
jmp 0x471c7e
push edi
call fcn.0057b970
add esp, 4
jmp 0x471ccd
xor edi, edi
mov eax, dword [esi + 4]
test eax, eax
je 0x471c5f
push eax
call fcn.0062da60
add esp, 4
push str.vtls_openssl.c
push 0xd63
push dword [esi]
call fcn.00404af0
add esp, 0xc
lea eax, [esp + 0x58]
push eax
call fcn.0041ae10
add esp, 4
movups xmm0, xmmword [esp + 0x58]
movups xmmword [esi + 8], xmm0
mov eax, dword [esp + 4]
mov dword [esi + 4], eax
mov dword [esi], edi
xor eax, eax
jmp 0x471cdd
test byte [eax + 0x68], 0x40
sete al
mov dword [esp + 0x10], eax
jmp 0x471493
mov ebx, dword [ebp + 0xc]
mov esi, 0x4d
jmp 0x471cab
xor eax, eax
test ebx, ebx
mov esi, 0x4d
cmovg esi, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [esp + 0x24]
push fcn.00578880
push dword [esp + 0xc]
call fcn.00617d20
add esp, 8
push edi
call fcn.0057b970
add esp, 4
test esi, esi
je 0x471ce5
push str.error_importing_CA_certificate_blob
push ebx
call fcn.00442490
add esp, 8
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test byte [ebx + 0x6eb], 0x20
je 0x471d0c
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x471cfe
cmp dword [eax + 4], 0
jle 0x471d0c
push str.successfully_imported_CA_certificate_blob
push ebx
call fcn.00442520
add esp, 8
mov edx, dword [esp + 0x18]
mov eax, edx
or eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
je 0x471632
test edx, edx
je 0x471d41
push edx
push dword [esp + 8]
call fcn.0062d050
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x471de9
cmp dword [esp + 0x1c], 0
je 0x471d68
push dword [esp + 0x1c]
push dword [esp + 8]
call fcn.0062d0b0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x471e39
test byte [ebx + 0x6eb], 0x20
je 0x471632
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x471d85
cmp dword [eax + 4], 0
jle 0x471db9
test edx, edx
mov eax, 0xa2934a
cmovne eax, edx
push eax
push str._CAfile:__s
push ebx
call fcn.00442520
mov ecx, dword [esp + 0x18]
add esp, 0xc
test byte [ebx + 0x6eb], 0x20
je 0x471632
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x471dc3
cmp dword [eax + 4], 0
jle 0x471632
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov eax, 0xa2934a
cmovne eax, ecx
push eax
push str._CApath:__s
push ebx
call fcn.00442520
mov ecx, dword [esp + 0x18]
add esp, 0xc
jmp 0x471632
cmp dword [esp + 0x28], 0
setne al
or al, byte [esp + 0x14]
test al, 1
je 0x471e85
test byte [ebx + 0x6eb], 0x20
je 0x471d41
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x471e1e
cmp dword [eax + 4], 0
jle 0x471d41
push str.error_setting_certificate_file__continuing_anyway
push ebx
call fcn.00442520
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add esp, 8
jmp 0x471d41
cmp dword [esp + 0x28], 0
setne al
or al, byte [esp + 0x14]
test al, 1
je 0x471e8d
test byte [ebx + 0x6eb], 0x20
je 0x471d68
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x471e6a
cmp dword [eax + 4], 0
jle 0x471d68
push str.error_setting_certificate_path__continuing_anyway
push ebx
call fcn.00442520
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add esp, 8
jmp 0x471d68
push edx
push str.error_setting_certificate_file:__s
jmp 0x471e96
push dword [esp + 0x1c]
push str.error_setting_certificate_path:__s
push ebx
call fcn.00442490
add esp, 0xc
mov eax, 0x4d
jmp 0x471cdd