Function at 0x473ef0
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.0042cee0
add esp, 4
mov esi, eax
push edi
push ebx
call fcn.0042cf00
add esp, 8
cmp dword [edi + 0x498], 0
je 0x473f3b
test byte [esi + 0x44], 1
je 0x473f3b
cmp dword [esi], 0
jne 0x473f3b
cmp dword [esi + 0x24], 0
jne 0x473f3b
cmp dword [eax + 0x1c], 0
je 0x474732
mov dword [esp + 0x10], 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x88]
test eax, eax
je 0x47401d
add eax, 0xc4
push 0x13
push str.tls:ossl:x509:share
push eax
call fcn.00451310
add esp, 0xc
test eax, eax
je 0x47401d
mov esi, eax
cmp dword [eax + 4], 0
je 0x47401d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x498], 0
js 0x473fcb
lea eax, [esp + 0x58]
push eax
call fcn.0041d8c0
sub esp, 0x1c
movups xmm0, xmmword [esi + 8]
movups xmmword [esp + 0x10], xmm0
movups xmm0, xmmword [esp + 0x78]
movups xmmword [esp], xmm0
call fcn.0041d9a0
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 0x47401d
push dword [ebp + 8]
call fcn.0042cee0
add esp, 4
mov ecx, dword [esi]
mov eax, dword [eax + 4]
test ecx, ecx
je 0x473fed
test eax, eax
je 0x47401d
push eax
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x47401d
mov esi, dword [esi + 4]
test esi, esi
setne al
and al, byte [esp + 0x10]
cmp al, 1
jne 0x47401d
push esi
call fcn.0062f750
add esp, 4
test eax, eax
je 0x47401d
push esi
push ebx
call fcn.005078f0
add esp, 8
jmp 0x47472e
push ebx
call fcn.005078e0
add esp, 4
mov dword [esp + 4], eax
mov edi, dword [ebp + 8]
push edi
call fcn.0042cee0
add esp, 4
mov esi, eax
mov ebx, dword [ebp + 0xc]
push ebx
push edi
call fcn.0042cf00
add esp, 8
mov ecx, eax
mov eax, dword [esi + 0x24]
xor edx, edx
mov dword [esp + 0x28], eax
test eax, eax
jne 0x474057
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 0x4740cc
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x47408c
cmp dword [ebp + 8], 0
je 0x4740cc
cmp dword [eax + 4], 0
jg 0x474092
jmp 0x4740cc
cmp dword [ebp + 8], 0
je 0x4740cc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax + 8], 0
jle 0x4740cc
xor eax, eax
cmp dword [esp + 0x28], 0
setne al
test edx, edx
mov esi, ecx
mov ecx, 0x9a303a
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.004450a0
mov edx, edi
mov ecx, esi
add esp, 0x14
cmp dword [esp + 4], 0
je 0x474262
test byte [esp + 0x3c], 1
jne 0x47426c
cmp dword [esp + 0x20], 0
je 0x474186
mov esi, ecx
call fcn.006202f0
push eax
push dword [esp + 8]
call fcn.0062f770
add esp, 8
test eax, eax
je 0x474601
push 1
push dword [esp + 0x24]
push eax
call fcn.00620570
add esp, 0xc
test eax, eax
je 0x474601
mov edi, ebx
test byte [ebx + 0x6eb], 0x20
je 0x474149
mov eax, dword [edi + 0xd20]
test eax, eax
je 0x47413b
cmp dword [eax + 4], 0
jle 0x474149
push str.successfully_loaded_CRL_file:
push edi
call fcn.00444fd0
add esp, 8
push 0xc
push dword [esp + 8]
call fcn.006308e0
add esp, 8
test byte [edi + 0x6eb], 0x20
mov ecx, esi
je 0x474186
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x474172
cmp dword [eax + 4], 0
jle 0x474186
push dword [esp + 0x20]
push str.__CRLfile:__s
push ebx
call fcn.00444fd0
mov ecx, esi
add esp, 0xc
xor edi, edi
test byte [esp + 0x3c], 1
je 0x4741c2
mov esi, ecx
push 0x8000
push dword [esp + 8]
call fcn.006308e0
add esp, 8
cmp dword [esp + 0x20], 0
jne 0x4741c2
mov eax, dword [esi + 0x68]
and eax, 0x10
jne 0x4741c2
push 0x80000
push dword [esp + 8]
call fcn.006308e0
add esp, 8
test edi, edi
sete al
and al, byte [esp + 0x10]
cmp al, 1
mov eax, edi
jne 0x47478d
push dword [ebp + 8]
call fcn.0042cee0
add esp, 4
mov ebx, dword [ebx + 0x88]
test ebx, ebx
je 0x47472e
mov edi, eax
add ebx, 0xc4
push 0x13
push str.tls:ossl:x509:share
push ebx
call fcn.00451310
add esp, 0xc
mov esi, eax
test eax, eax
je 0x474688
push dword [esp + 4]
call fcn.0062f750
add esp, 4
test eax, eax
mov eax, 0
je 0x47478d
mov eax, dword [edi + 4]
test eax, eax
je 0x4746e9
push str.vtls_openssl.c
push 0xd5a
push eax
call fcn.004073f0
add esp, 0xc
mov edi, eax
test eax, eax
jne 0x4746eb
push dword [esp + 4]
call fcn.0062f620
add esp, 4
jmp 0x47472e
mov eax, 0x1b
jmp 0x47478d
mov dword [esp + 0x18], edx
xor eax, eax
mov dword [esp + 0xc], ecx
test byte [ecx + 0x68], 0x40
mov dword [esp + 0x14], 0
jne 0x4742f2
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4747bc
mov eax, dword [ecx + 4]
mov esi, 0x4d
test eax, eax
js 0x47477d
push eax
push dword [ecx]
call fcn.00584e00
add esp, 8
test eax, eax
je 0x47467e
mov edi, eax
push 0
push 0
push 0
push eax
call fcn.005f8040
add esp, 0x10
test eax, eax
je 0x4746db
mov dword [esp + 8], eax
push eax
call fcn.00619950
add esp, 4
test eax, eax
jle 0x47475f
mov dword [esp + 0x24], edi
xor ebx, ebx
xor edi, edi
mov esi, dword [esp + 8]
jmp 0x474633
mov cl, 1
mov dword [esp + 0x14], 0
jmp 0x474330
mov cl, 1
mov dword [esp + 0x14], ecx
nop word cs:[eax + eax]
push esi
push eax
push ebx
call fcn.00444fd0
add esp, 0xc
mov eax, 1
test byte [esp + 0x4c], 1
mov ecx, 0
je 0x474284
mov dword [esp + 0x4c], ecx
mov esi, dword [eax*4 + 0x9a3048]
push esi
push 0
call dword [sym.imp.CRYPT32.dll_CertOpenSystemStoreA]
test eax, eax
je 0x4745b0
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 0x474530
mov dword [esp + 0x2c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 0
jmp 0x4743a6
mov edi, dword [esp + 8]
push esi
push edi
call dword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov esi, eax
test eax, eax
je 0x474520
mov eax, dword [esi + 4]
mov dword [esp + 0x54], eax
test eax, eax
je 0x474394
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 0x474390
mov eax, dword [esi + 0xc]
add eax, 0x28
push eax
push ebx
call edi
test eax, eax
jg 0x474390
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 0x474401
test byte [esp + 0x3a], 4
je 0x474394
jmp 0x47440b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x474394
lea eax, [esp + 0x34]
push eax
push 0
push 0
push esi
call dword [sym.imp.CRYPT32.dll_CertGetEnhancedKeyUsage]
test eax, eax
je 0x474394
mov eax, dword [esp + 0x34]
test eax, eax
je 0x47445f
cmp eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
jbe 0x474463
push str.vtls_openssl.c
push 0xc09
push eax
push ecx
mov ebx, ecx
call fcn.004074d0
add esp, 0x10
test eax, eax
je 0x4745df
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov ecx, eax
jmp 0x474463
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 0x474394
mov eax, dword [ebx]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4744c4
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 0x4744d5
inc ebx
cmp dword [esp + 0x24], ebx
jne 0x4744a0
jmp 0x474394
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80092004
jne 0x474394
push dword [esi + 8]
lea eax, [esp + 0x58]
push eax
push 0
call fcn.0063e3b0
add esp, 0xc
test eax, eax
je 0x474394
push eax
push dword [esp + 8]
mov ebx, eax
call fcn.0062fb80
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.0063e400
add esp, 4
jmp 0x474394
xor esi, esi
xor edi, edi
mov ebx, dword [esp + 0x30]
jmp 0x47453e
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.004075a0
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 0x4741c2
test byte [esp + 0x2c], 1
mov esi, dword [esp + 0x48]
je 0x4745b0
mov al, 1
mov dword [esp + 0x14], eax
test byte [ebx + 0x6eb], 0x20
je 0x47431b
mov ecx, dword [ebx + 0xd20]
mov eax, str.successfully_imported_Windows__s_store
test ecx, ecx
je 0x4742fe
mov dl, 1
mov dword [esp + 0x14], edx
jmp 0x4745d0
test byte [ebx + 0x6eb], 0x20
je 0x47431b
mov ecx, dword [ebx + 0xd20]
mov eax, str.error_importing_Windows__s_store__continuing_anyway
test ecx, ecx
je 0x474310
cmp dword [ecx + 4], 0
jg 0x474310
jmp 0x47431b
push str.SSL:_Out_of_memory_allocating_for_OID_list
push dword [ebp + 0xc]
call fcn.00444f40
add esp, 8
mov edi, 0x1b
mov dword [esp + 0x44], 0
jmp 0x47453e
push dword [esp + 0x20]
push str.error_loading_CRL_file:__s
push ebx
call fcn.00444f40
add esp, 0xc
mov eax, 0x52
jmp 0x47478d
mov esi, dword [esp + 8]
inc edi
push esi
call fcn.00619950
add esp, 4
cmp edi, eax
jge 0x47474c
push edi
push esi
call fcn.00619970
add esp, 8
mov esi, eax
mov eax, dword [eax]
test eax, eax
je 0x47465b
push eax
push dword [esp + 8]
call fcn.0062fb80
add esp, 8
test eax, eax
je 0x474742
inc ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x47461d
push eax
push dword [esp + 8]
call fcn.0062fcd0
add esp, 8
test eax, eax
mov esi, dword [esp + 8]
je 0x474742
inc ebx
jmp 0x474621
mov esi, 0x1b
jmp 0x47477d
push str.vtls_openssl.c
push 0xd4a
push 0x18
push 1
call fcn.00407310
add esp, 0x10
test eax, eax
je 0x47472e
mov esi, eax
push 0x479440
push eax
push 0x13
push str.tls:ossl:x509:share
push ebx
call fcn.004510e0
add esp, 0x14
test eax, eax
jne 0x474210
push str.vtls_openssl.c
push 0xd51
push esi
call fcn.004075a0
add esp, 0xc
jmp 0x47472e
push edi
call fcn.0057d530
add esp, 4
jmp 0x47477d
xor edi, edi
mov eax, dword [esi + 4]
test eax, eax
je 0x47470f
push eax
call fcn.0062f620
add esp, 4
push str.vtls_openssl.c
push 0xd63
push dword [esi]
call fcn.004075a0
add esp, 0xc
lea eax, [esp + 0x58]
push eax
call fcn.0041d8c0
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 0x47478d
test byte [eax + 0x68], 0x40
sete al
mov dword [esp + 0x10], eax
jmp 0x473f43
mov ebx, dword [ebp + 0xc]
mov esi, 0x4d
jmp 0x47475b
xor eax, eax
test ebx, ebx
mov esi, 0x4d
cmovg esi, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [esp + 0x24]
push fcn.0057a440
push dword [esp + 0xc]
call fcn.006198e0
add esp, 8
push edi
call fcn.0057d530
add esp, 4
test esi, esi
je 0x474795
push str.error_importing_CA_certificate_blob
push ebx
call fcn.00444f40
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 0x4747bc
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x4747ae
cmp dword [eax + 4], 0
jle 0x4747bc
push str.successfully_imported_CA_certificate_blob
push ebx
call fcn.00444fd0
add esp, 8
mov edx, dword [esp + 0x18]
mov eax, edx
or eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
je 0x4740e2
test edx, edx
je 0x4747f1
push edx
push dword [esp + 8]
call fcn.0062ec10
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x474899
cmp dword [esp + 0x1c], 0
je 0x474818
push dword [esp + 0x1c]
push dword [esp + 8]
call fcn.0062ec70
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x4748e9
test byte [ebx + 0x6eb], 0x20
je 0x4740e2
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x474835
cmp dword [eax + 4], 0
jle 0x474869
test edx, edx
mov eax, 0x9a303a
cmovne eax, edx
push eax
push str._CAfile:__s
push ebx
call fcn.00444fd0
mov ecx, dword [esp + 0x18]
add esp, 0xc
test byte [ebx + 0x6eb], 0x20
je 0x4740e2
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x474873
cmp dword [eax + 4], 0
jle 0x4740e2
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov eax, 0x9a303a
cmovne eax, ecx
push eax
push str._CApath:__s
push ebx
call fcn.00444fd0
mov ecx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4740e2
cmp dword [esp + 0x28], 0
setne al
or al, byte [esp + 0x14]
test al, 1
je 0x474935
test byte [ebx + 0x6eb], 0x20
je 0x4747f1
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x4748ce
cmp dword [eax + 4], 0
jle 0x4747f1
push str.error_setting_certificate_file__continuing_anyway
push ebx
call fcn.00444fd0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add esp, 8
jmp 0x4747f1
cmp dword [esp + 0x28], 0
setne al
or al, byte [esp + 0x14]
test al, 1
je 0x47493d
test byte [ebx + 0x6eb], 0x20
je 0x474818
mov eax, dword [ebx + 0xd20]
test eax, eax
je 0x47491a
cmp dword [eax + 4], 0
jle 0x474818
push str.error_setting_certificate_path__continuing_anyway
push ebx
call fcn.00444fd0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add esp, 8
jmp 0x474818
push edx
push str.error_setting_certificate_file:__s
jmp 0x474946
push dword [esp + 0x1c]
push str.error_setting_certificate_path:__s
push ebx
call fcn.00444f40
add esp, 0xc
mov eax, 0x4d
jmp 0x47478d