Function at 0x10120bf0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x23c
mov eax, dword [0x101f8740]
xor eax, esp
mov dword [esp + 0x238], eax
mov eax, dword [esp + 0x248]
push ebx
mov ebx, dword [esp + 0x244]
add eax, 0x1a
push ebp
push esi
mov esi, dword [esp + 0x250]
add eax, eax
push edi
push 0x38
push 0
mov edi, dword [esi + eax*8]
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], edi
call fcn.10174ed0
mov ebp, 0x1b8
mov dword [esp + 0x4c], 4
add esp, 0xc
cmp byte [esi + 0x215], 0
lea edx, [ebp + 0x10]
je 0x10120cee
cmp byte [edi + 0x47], 0
mov ecx, 0x20
mov edx, dword [esi + 0xb8]
mov eax, 8
cmovne ecx, eax
cmp edx, 2
jne 0x10120c99
cmp dword [esi + 0x154], 0xffffffff
mov eax, ebp
mov edi, 0x1c8
cmovne eax, edi
cmp dword [eax + esi], edx
je 0x10120c99
mov al, byte [ebx + 0x4bb]
jmp 0x10120c9f
mov al, byte [ebx + 0x453]
test al, al
je 0x10120cb0
or ecx, 0x1800
mov edx, 0x1c8
jmp 0x10120cf3
cmp edx, 2
mov edx, 0x1c8
jne 0x10120cd4
cmp dword [esi + 0x154], 0xffffffff
mov eax, ebp
cmovne eax, edx
cmp dword [eax + esi], 2
je 0x10120cd4
mov al, byte [ebx + 0x4bd]
jmp 0x10120cda
mov al, byte [ebx + 0x455]
test al, al
je 0x10120ce6
or ecx, 0x1a00
jmp 0x10120cf3
or ecx, 0x200
jmp 0x10120cf3
mov ecx, 0x1808
cmp byte [esi + 0x216], 0
mov dword [esp + 0x70], ecx
jne 0x10120d07
or ecx, 4
mov dword [esp + 0x70], ecx
cmp dword [esi + 0xb8], 2
jne 0x10120d2a
cmp dword [esi + 0x154], 0xffffffff
mov eax, ebp
cmovne eax, edx
cmp dword [eax + esi], 2
je 0x10120d2a
mov al, byte [ebx + 0x4bf]
jmp 0x10120d30
mov al, byte [ebx + 0x457]
test al, al
jne 0x10120d45
and ecx, 0xffffffbf
mov eax, str.schannel:_disabled_automatic_use_of_client_certificate
or ecx, 0x10
mov dword [esp + 0x70], ecx
jmp 0x10120d4a
mov eax, str.schannel:_enabled_automatic_use_of_client_certificate
push eax
push ebx
call fcn.1011ca60
mov edx, dword [esi + 0x1dc]
add esp, 8
cmp edx, 7
ja case.default.0x10120d6a
movzx eax, byte [edx + 0x101215cc]
jmp dword [eax*4 + 0x101215c4]
cmp dword [esi + 0xb8], 2
jne 0x10120d9f
cmp dword [esi + 0x154], 0xffffffff
mov eax, ebp
mov edi, 0x1c8
cmovne eax, edi
cmp dword [eax + esi], 2
je 0x10120d9f
mov edx, dword [esi + 0x21c]
mov edi, dword [esi + 0x220]
jmp 0x10120da5
mov edi, dword [esi + 0x1e0]
test edi, edi
je 0x10120db1
cmp edi, 0x10000
jne 0x10120db6
mov edi, 0x60000
sar edi, 0x10
cmp edx, edi
jg 0x10120df2
mov ecx, dword [esp + 0x60]
add edx, 0xfffffffc
cmp edx, 3
ja case.default.0x10120dc9
jmp dword [edx*4 + 0x101215d4]
or ecx, 0x80
jmp 0x10120de6
or ecx, 0x200
jmp 0x10120de6
or ecx, 0x800
mov dword [esp + 0x60], ecx
inc edx
lea eax, [edx + 4]
cmp eax, edi
jle 0x10120dc4
mov ecx, dword [esi + 0xb8]
mov edx, 0x1c8
cmp ecx, 2
jne 0x10120e25
cmp dword [esi + 0x154], 0xffffffff
mov eax, ebp
cmovne eax, edx
cmp dword [eax + esi], ecx
je 0x10120e25
mov eax, dword [esi + 0x234]
jmp 0x10120e2b
push str.schannel:_TLS_1.3_is_not_yet_supported
jmp 0x1012159a
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x10120ee6
cmp ecx, 2
jne 0x10120e4f
cmp dword [esi + 0x154], 0xffffffff
cmovne ebp, edx
cmp dword [esi + ebp], ecx
je 0x10120e4f
mov esi, dword [esi + 0x234]
jmp 0x10120e55
mov esi, dword [esi + 0x1f4]
xor edi, edi
test esi, esi
je 0x10120eda
cmp byte [esi], 0
je 0x10120eda
cmp edi, 0x2f
jge 0x10120eda
push 0
push 0
push esi
call fcn.1017ce7a
add esp, 0xc
test eax, eax
jne 0x10120eb9
push esi
call fcn.1011fdf0
add esp, 4
test eax, eax
jne 0x10120eb9
push 0x11
push str.USE_STRONG_CRYPTO
push esi
call fcn.10183840
add esp, 0xc
test eax, eax
je 0x10120eaf
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push esi
call fcn.10183840
add esp, 0xc
test eax, eax
jne 0x10120f40
or dword [esp + 0x70], 0x400000
jmp 0x10120ebe
mov dword [esp + edi*4 + 0x78], eax
inc edi
push 0x3a
push esi
call fcn.101752a0
add esp, 8
test eax, eax
lea esi, [eax + 1]
cmove esi, eax
test esi, esi
je 0x10120eda
cmp byte [esi], 0
jne 0x10120e60
lea eax, [esp + 0x78]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x404]
test eax, eax
jne 0x10120efc
cmp dword [ebx + 0x418], eax
je 0x10121492
mov edi, dword [ebx + 0x418]
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], edi
test edi, edi
je 0x10120f55
mov eax, dword [edi]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x20], eax
jmp 0x101210ee
push str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
push ebx
call fcn.1011c990
mov eax, 0x3b
jmp 0x101215a5
push eax
call fcn.1018f8e5
mov esi, eax
add esp, 4
test esi, esi
je case.0x10121553.2146893056
push 0x5c
push esi
call fcn.101752a0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x101210be
mov edi, ebp
sub edi, esi
push edi
push str.CurrentUser
push esi
call fcn.10183840
add esp, 0xc
test eax, eax
jne 0x10120fa1
mov dword [esp + 0x24], 0x10000
jmp 0x10121070
push edi
push str.LocalMachine
push esi
call fcn.10183840
add esp, 0xc
test eax, eax
jne 0x10120fc1
mov dword [esp + 0x24], 0x20000
jmp 0x10121070
push edi
push str.CurrentService
push esi
call fcn.10183840
add esp, 0xc
test eax, eax
jne 0x10120fe1
mov dword [esp + 0x24], 0x40000
jmp 0x10121070
push edi
push str.Services
push esi
call fcn.10183840
add esp, 0xc
test eax, eax
jne 0x10120ffe
mov dword [esp + 0x24], 0x50000
jmp 0x10121070
push edi
push str.Users
push esi
call fcn.10183840
add esp, 0xc
test eax, eax
jne 0x1012101b
mov dword [esp + 0x24], 0x60000
jmp 0x10121070
push edi
push str.CurrentUserGroupPolicy
push esi
call fcn.10183840
add esp, 0xc
test eax, eax
jne 0x10121038
mov dword [esp + 0x24], 0x70000
jmp 0x10121070
push edi
push str.LocalMachineGroupPolicy
push esi
call fcn.10183840
add esp, 0xc
test eax, eax
jne 0x10121055
mov dword [esp + 0x24], 0x80000
jmp 0x10121070
push edi
push str.LocalMachineEnterprise
push esi
call fcn.10183840
add esp, 0xc
test eax, eax
jne 0x101210be
mov dword [esp + 0x24], 0x90000
inc ebp
push 0x5c
push ebp
call fcn.101752a0
mov edi, eax
add esp, 8
test edi, edi
je 0x101210be
lea eax, [edi + 1]
mov ecx, eax
mov dword [esp + 0x2c], eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10121090
sub ecx, edx
cmp ecx, 0x28
jne 0x101210be
push ebp
mov byte [edi], al
call dword [0x101f8308]
add esp, 4
mov dword [esp + 0x14], eax
mov byte [edi], 0x5c
test eax, eax
jne 0x1012113e
lea edi, [eax + 0x1b]
jmp 0x101210c3
mov edi, 0x3a
mov eax, dword [ebx + 0x404]
cmp byte [eax], 0
je 0x10121565
push 0x101ac038
push eax
call fcn.1011f510
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x10121565
mov edi, dword [esp + 0x30]
mov eax, dword [ebx + 0x43c]
test eax, eax
je 0x1012112a
push 0x101ad868
push eax
call fcn.10115810
add esp, 8
test eax, eax
jne 0x1012112a
mov eax, str._memory_blob_
test edi, edi
jne 0x10121119
mov eax, dword [ebx + 0x404]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push ebx
call fcn.1011c990
add esp, 0xc
jmp 0x1012117f
test ebp, ebp
jne 0x10121247
test edi, edi
jne 0x10121247
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
push eax
mov eax, edi
or eax, 0x4000
push eax
push 0
push 0
push 9
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
mov ebp, eax
test ebp, ebp
jne 0x1012119a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x14]
push eax
push ebp
push edi
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push ebx
call fcn.1011c990
push ebp
call dword [0x101f8300]
add esp, 0x18
test esi, esi
je 0x10121427
push esi
call fcn.101788a1
add esp, 4
mov eax, 0x3a
jmp 0x101215a8
push dword [esp + 0x14]
call dword [0x101f8300]
add esp, 4
mov dword [esp + 0x38], 0x14
lea eax, [esp + 0x134]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push 0
push 0
push eax
lea eax, [esp + 0x140]
push eax
push 4
push 0x28
push dword [esp + 0x44]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x101211fd
test esi, esi
je 0x10121234
push esi
call fcn.101788a1
add esp, 4
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x101215a8
push 0
lea eax, [esp + 0x3c]
push eax
push 0x10000
push 0
push 0x10001
push ebp
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x1012122c
push esi
call fcn.101788a1
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
jne 0x10121479
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x101215a8
xor edi, edi
cmp dword [esp + 0x30], edi
je 0x10121259
mov dword [esp + 0x14], str._memory_blob_
jmp 0x10121263
mov eax, dword [ebx + 0x404]
mov dword [esp + 0x14], eax
test esi, esi
je 0x10121270
push esi
call fcn.101788a1
add esp, 4
test ebp, ebp
je 0x10121346
push 2
xor esi, esi
push esi
push ebp
call fcn.10182c48
add esp, 0xc
mov dword [esp + 0x2c], eax
test eax, eax
sete byte [esp + 0x13]
test eax, eax
jne 0x101212dd
push ebp
call fcn.10186a19
mov esi, eax
add esp, 4
test esi, esi
jns 0x101212d9
mov byte [esp + 0x13], 0
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
test esi, esi
je 0x10121318
push ebp
push 1
push ecx
push esi
call fcn.10182830
add esp, 0x10
cmp eax, 1
jne 0x10121318
push ebp
call fcn.10181f74
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x1012134a
jmp 0x10121321
mov eax, dword [esp + 0x2c]
mov ecx, esi
mov dword [esp + 0x20], ecx
test eax, eax
jne 0x10121312
push eax
push eax
push ebp
call fcn.10182c48
add esp, 0xc
test eax, eax
sete byte [esp + 0x13]
test eax, eax
jne 0x101212a9
lea eax, [esi + 1]
push eax
call dword [0x101f82fc]
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
jmp 0x101212ad
mov esi, dword [esp + 0x18]
jmp 0x101212b1
push ebp
call fcn.10181f74
add esp, 4
push dword [ebx + 0x404]
push str.schannel:_Failed_to_read_cert_file__s
push ebx
call fcn.1011c990
push esi
call dword [0x101f8300]
add esp, 0x10
mov eax, 0x3a
jmp 0x101215a8
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x44c]
mov dword [esp + 0x28], esi
test eax, eax
je 0x1012136e
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10121365
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [0x101f82fc]
mov esi, eax
add esp, 4
test esi, esi
je 0x101213d5
test edi, edi
je 0x101213c7
lea ecx, [edi + 1]
push ecx
push esi
push edi
push dword [ebx + 0x44c]
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jns 0x101213c9
xor eax, eax
mov word [esi], ax
push 0
push esi
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebp, eax
call dword [0x101f8300]
add esp, 4
jmp 0x101213d7
xor eax, eax
cmp eax, edi
jg 0x101213a6
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x101213ab
xor ebp, ebp
cmp dword [esp + 0x30], 0
jne 0x101213eb
push dword [esp + 0x18]
call dword [0x101f8300]
add esp, 4
test ebp, ebp
jne 0x10121431
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x10121414
push dword [esp + 0x14]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push ebx
call fcn.1011c990
add esp, 0xc
lea eax, [ebp + 0x3a]
jmp 0x101215a8
push eax
push dword [esp + 0x18]
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push ebx
call fcn.1011c990
add esp, 0x10
mov eax, 0x3a
jmp 0x101215a8
push 0
push 0
push 0
push 0
push 0x10001
push ebp
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x10121479
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esp + 0x18]
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
push ebx
call fcn.1011c990
add esp, 0x10
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x101215a8
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x48], 1
push ebp
mov dword [esp + 0x50], eax
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
push 0x18
push 1
call dword [0x101f830c]
mov edi, dword [esp + 0x3c]
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x101214d0
push str.schannel:_unable_to_allocate_memory
push ebx
call fcn.1011c990
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
je case.0x10121553.2146893056
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, 0x1b
jmp 0x101215a8
mov dword [eax + 0x14], 1
mov ecx, dword [edi]
lea eax, [ecx + 8]
push eax
push ecx
push 0
push 0
lea eax, [esp + 0x50]
push eax
mov eax, dword [0x101fe248]
push 0
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
mov eax, dword [eax + 0xc]
push 0
call eax
mov ecx, dword [esp + 0x1c]
mov esi, eax
test ecx, ecx
je 0x1012150d
push ecx
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x10121561
push 0x100
lea eax, [esp + 0x14c]
push eax
push esi
call fcn.10124560
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push ebx
call fcn.1011c990
push dword [edi]
call dword [0x101f8300]
add esi, 0x7ff6fd00
mov dword [edi], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x10121553.2146893055
movzx eax, byte [esi + 0x101215f0]
jmp dword [eax*4 + 0x101215e4]
mov eax, 0x23
jmp 0x101215a8
xor eax, eax
jmp 0x101215a8
push dword [ebx + 0x404]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push ebx
call fcn.1011c990
push esi
call fcn.101788a1
add esp, 0x10
mov eax, edi
jmp 0x101215a8
push str.SSL_versions_not_supported
push ebx
call fcn.1011c990
mov eax, 4
jmp 0x101215a5
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push ebx
call fcn.1011c990
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x248]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10172863
add esp, 0x23c
ret