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

Disassembly:
sub esp, 0x23c
mov eax, dword [0x100ed040]
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 ebp, dword [esi + eax*8]
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], ebp
call fcn.1002b510
mov edx, dword [esi + 0xb8]
add esp, 0xc
cmp byte [esi + 0x21d], 0
mov edi, 0x1b8
mov dword [esp + 0x40], 4
mov dword [esp + 0x2c], 0x1c8
je 0x1007ac33
cmp byte [ebp + 0x47], 0
mov ecx, 0x20
mov eax, 8
lea ebp, [esi + 0x154]
cmovne ecx, eax
cmp edx, 2
jne 0x1007abea
cmp dword [ebp], 0xffffffff
mov eax, edi
cmovne eax, dword [esp + 0x2c]
cmp dword [eax + esi], edx
je 0x1007abea
mov al, byte [ebx + 0x4db]
jmp 0x1007abf0
mov al, byte [ebx + 0x46b]
test al, al
je 0x1007abfc
or ecx, 0x1800
jmp 0x1007ac3e
cmp edx, 2
jne 0x1007ac19
cmp dword [ebp], 0xffffffff
mov eax, edi
cmovne eax, dword [esp + 0x2c]
cmp dword [eax + esi], edx
je 0x1007ac19
mov al, byte [ebx + 0x4dd]
jmp 0x1007ac1f
mov al, byte [ebx + 0x46d]
test al, al
je 0x1007ac2b
or ecx, 0x1a00
jmp 0x1007ac3e
or ecx, 0x200
jmp 0x1007ac3e
mov ecx, 0x1808
lea ebp, [esi + 0x154]
cmp byte [esi + 0x21e], 0
mov dword [esp + 0x70], ecx
jne 0x1007ac52
or ecx, 4
mov dword [esp + 0x70], ecx
cmp edx, 2
jne 0x1007ac73
cmp dword [ebp], 0xffffffff
mov eax, edi
mov edx, 0x1c8
cmovne eax, edx
cmp dword [eax + esi], 2
je 0x1007ac73
mov al, byte [ebx + 0x4df]
jmp 0x1007ac79
mov al, byte [ebx + 0x46f]
test al, al
jne 0x1007ac8e
and ecx, 0xffffffbf
mov eax, str.schannel:_disabled_automatic_use_of_client_certificate
or ecx, 0x10
mov dword [esp + 0x70], ecx
jmp 0x1007ac93
mov eax, str.schannel:_enabled_automatic_use_of_client_certificate
push eax
push ebx
call fcn.10064090
mov edx, dword [esi + 0x1dc]
add esp, 8
cmp edx, 7
ja case.default.0x1007acb3
movzx eax, byte [edx + 0x1007b5b4]
jmp dword [eax*4 + 0x1007b5ac]
cmp dword [esi + 0xb8], 2
jne 0x1007ace5
cmp dword [ebp], 0xffffffff
mov eax, edi
mov ecx, 0x1c8
cmovne eax, ecx
cmp dword [eax + esi], 2
je 0x1007ace5
mov edx, dword [esi + 0x224]
mov edi, dword [esi + 0x228]
jmp 0x1007aceb
mov edi, dword [esi + 0x1e0]
test edi, edi
je 0x1007acf7
cmp edi, 0x10000
jne 0x1007acfc
mov edi, 0x60000
sar edi, 0x10
cmp edx, edi
jg 0x1007ad3e
mov ecx, dword [esp + 0x60]
add edx, 0xfffffffc
nop word [eax + eax]
cmp edx, 3
ja case.default.0x1007ad15
jmp dword [edx*4 + 0x1007b5bc]
or ecx, 0x80
jmp 0x1007ad32
or ecx, 0x200
jmp 0x1007ad32
or ecx, 0x800
mov dword [esp + 0x60], ecx
inc edx
lea eax, [edx + 4]
cmp eax, edi
jle 0x1007ad10
mov edx, dword [esi + 0xb8]
cmp edx, 2
jne 0x1007ad7d
cmp dword [ebp], 0xffffffff
mov eax, 0x1b8
mov ecx, 0x1c8
cmovne eax, ecx
cmp dword [eax + esi], edx
je 0x1007ad7d
mov edi, dword [esi + 0x244]
lea eax, [esi + 0x244]
lea ecx, [esi + 0x1fc]
jmp 0x1007ad8f
push str.schannel:_TLS_1.3_is_not_yet_supported
jmp 0x1007b585
mov edi, dword [esi + 0x1fc]
lea ecx, [esi + 0x1fc]
lea eax, [esi + 0x244]
test edi, edi
je 0x1007ae41
cmp edx, 2
jne 0x1007adb3
cmp dword [ebp], 0xffffffff
mov edx, 0x1b8
mov ebp, 0x1c8
cmovne edx, ebp
cmp dword [edx + esi], 2
jne 0x1007adb5
mov eax, ecx
mov esi, dword [eax]
xor edi, edi
test esi, esi
je 0x1007ae35
nop dword [eax]
cmp byte [esi], 0
je 0x1007ae35
cmp edi, 0x2f
jge 0x1007ae35
push 0
push 0
push esi
call fcn.10032e1b
add esp, 0xc
test eax, eax
jne 0x1007ae1a
push esi
call fcn.10079d40
add esp, 4
test eax, eax
jne 0x1007ae1a
push 0x11
push str.USE_STRONG_CRYPTO
push esi
call fcn.1003ae70
add esp, 0xc
test eax, eax
je 0x1007ae10
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push esi
call fcn.1003ae70
add esp, 0xc
test eax, eax
jne 0x1007ae81
or dword [esp + 0x70], 0x400000
jmp 0x1007ae1f
mov dword [esp + edi*4 + 0x78], eax
inc edi
push 0x3a
push esi
call fcn.100a3900
mov esi, eax
add esp, 8
test esi, esi
je 0x1007ae35
add esi, 1
jne 0x1007adc0
lea eax, [esp + 0x78]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
mov edx, dword [ebx + 0x414]
test edx, edx
jne 0x1007ae96
cmp dword [ebx + 0x430], edx
je 0x1007b469
mov ecx, dword [ebx + 0x430]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
xor esi, esi
mov dword [esp + 0x28], ecx
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
jmp 0x1007b06f
push str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
push ebx
call fcn.10063fc0
mov eax, 0x3b
jmp 0x1007b590
mov ecx, dword [ebx + 0x430]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x24], edi
xor esi, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x1007aecc
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
jmp 0x1007b06f
push edx
call fcn.100a6786
mov esi, eax
add esp, 4
test esi, esi
je case.0x1007b53c.2146893056
push 0x5c
push esi
call fcn.100a3900
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1007b036
mov edi, ebp
sub edi, esi
push edi
push str.CurrentUser
push esi
call fcn.1003ae70
add esp, 0xc
test eax, eax
jne 0x1007af15
mov edi, 0x10000
jmp 0x1007afcf
push edi
push str.LocalMachine
push esi
call fcn.1003ae70
add esp, 0xc
test eax, eax
jne 0x1007af32
mov edi, 0x20000
jmp 0x1007afcf
push edi
push str.CurrentService
push esi
call fcn.1003ae70
add esp, 0xc
test eax, eax
jne 0x1007af4f
mov edi, 0x40000
jmp 0x1007afcf
push edi
push str.Services
push esi
call fcn.1003ae70
add esp, 0xc
test eax, eax
jne 0x1007af69
mov edi, 0x50000
jmp 0x1007afcf
push edi
push str.Users
push esi
call fcn.1003ae70
add esp, 0xc
test eax, eax
jne 0x1007af83
mov edi, 0x60000
jmp 0x1007afcf
push edi
push str.CurrentUserGroupPolicy
push esi
call fcn.1003ae70
add esp, 0xc
test eax, eax
jne 0x1007af9d
mov edi, 0x70000
jmp 0x1007afcf
push edi
push str.LocalMachineGroupPolicy
push esi
call fcn.1003ae70
add esp, 0xc
test eax, eax
jne 0x1007afb7
mov edi, 0x80000
jmp 0x1007afcf
push edi
push str.LocalMachineEnterprise
push esi
call fcn.1003ae70
add esp, 0xc
test eax, eax
jne 0x1007b034
mov edi, 0x90000
lea eax, [ebp + 1]
push 0x5c
push eax
mov dword [esp + 0x1c], eax
call fcn.100a3900
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x1007b036
lea eax, [ebp + 1]
mov ecx, eax
mov dword [esp + 0x2c], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007aff3
sub ecx, edx
cmp ecx, 0x28
jne 0x1007b036
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_vtls_schannel.c
push 0x198
push dword [esp + 0x1c]
mov byte [ebp], al
call fcn.10068e90
add esp, 0xc
mov dword [esp + 0x24], eax
mov byte [ebp], 0x5c
test eax, eax
jne 0x1007b0c5
mov dword [esp + 0x14], 0x1b
jmp 0x1007b03e
xor edi, edi
mov dword [esp + 0x14], 0x3a
mov eax, dword [ebx + 0x414]
cmp byte [eax], 0
je 0x1007b54e
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_vtls_schannel.c
push 0x222
push 0x100c927c
push eax
call fcn.10068970
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x1007b54e
mov eax, dword [ebx + 0x454]
test eax, eax
je 0x1007b0ad
push 0x100d79d4
push eax
call fcn.1006a560
add esp, 8
test eax, eax
jne 0x1007b0ad
cmp dword [esp + 0x28], eax
mov eax, str._memory_blob_
jne 0x1007b09c
mov eax, dword [ebx + 0x414]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push ebx
call fcn.10063fc0
add esp, 0xc
jmp 0x1007b10b
mov eax, dword [esp + 0x28]
test ebp, ebp
jne 0x1007b1db
test eax, eax
jne 0x1007b1db
mov eax, 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 0x1007b126
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x24]
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.10063fc0
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_vtls_schannel.c
push 0x299
push ebp
call fcn.100689b0
add esp, 0x20
test esi, esi
je 0x1007b3fe
push esi
call fcn.10032211
add esp, 4
mov eax, 0x3a
jmp 0x1007b593
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_vtls_schannel.c
push 0x29d
push dword [esp + 0x2c]
call fcn.100689b0
add esp, 0xc
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 0x1007b192
test esi, esi
je 0x1007b17f
push esi
call fcn.10032211
add esp, 4
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x1007b593
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 0x1007b1c1
push esi
call fcn.10032211
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
jne 0x1007b450
push eax
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x1007b593
xor edi, edi
test eax, eax
je 0x1007b1eb
mov dword [esp + 0x14], str._memory_blob_
jmp 0x1007b1f5
mov eax, dword [ebx + 0x414]
mov dword [esp + 0x14], eax
test esi, esi
je 0x1007b202
push esi
call fcn.10032211
add esp, 4
test ebp, ebp
je 0x1007b302
push 2
xor esi, esi
push esi
push ebp
call fcn.10035369
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x13], cl
test eax, eax
jne 0x1007b27b
push ebp
call fcn.10040e7a
mov esi, eax
add esp, 4
test esi, esi
jns 0x1007b277
mov byte [esp + 0x13], 0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
test esi, esi
je 0x1007b2c1
push ebp
push 1
push eax
push esi
call fcn.10034f8c
add esp, 0x10
cmp eax, 1
jne 0x1007b2c1
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_vtls_schannel.c
push 0x252
push ebp
call fcn.10068940
add esp, 0xc
cmp byte [esp + 0x13], 0
jne 0x1007b306
jmp 0x1007b2d4
mov cl, byte [esp + 0x13]
mov eax, esi
mov dword [esp + 0x20], eax
test cl, cl
je 0x1007b2bb
push 0
push 0
push ebp
call fcn.10035369
add esp, 0xc
test eax, eax
sete byte [esp + 0x13]
test eax, eax
jne 0x1007b239
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_vtls_schannel.c
lea eax, [esi + 1]
push 0x24e
push eax
call fcn.10068a60
mov esi, eax
add esp, 0xc
mov dword [esp + 0x18], esi
jmp 0x1007b23d
mov esi, dword [esp + 0x18]
jmp 0x1007b241
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_vtls_schannel.c
push 0x252
push ebp
call fcn.10068940
add esp, 0xc
push dword [ebx + 0x414]
push str.schannel:_Failed_to_read_cert_file__s
push ebx
call fcn.10063fc0
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_vtls_schannel.c
push 0x256
push esi
call fcn.100689b0
add esp, 0x18
mov eax, 0x3a
jmp 0x1007b593
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x464]
mov dword [esp + 0x30], esi
test eax, eax
je 0x1007b32a
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1007b321
sub edi, ecx
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_vtls_schannel.c
lea eax, [edi*2 + 2]
push 0x261
push eax
call fcn.10068a60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1007b3a3
test edi, edi
je 0x1007b395
lea ecx, [edi + 1]
push ecx
push esi
push edi
push dword [ebx + 0x464]
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jns 0x1007b397
xor eax, eax
mov word [esi], ax
push 0
push esi
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_vtls_schannel.c
push 0x26f
push esi
mov ebp, eax
call fcn.100689b0
add esp, 0xc
jmp 0x1007b3a5
xor eax, eax
cmp eax, edi
jg 0x1007b36b
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x1007b370
xor ebp, ebp
cmp dword [esp + 0x28], 0
jne 0x1007b3c2
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_vtls_schannel.c
push 0x272
push dword [esp + 0x20]
call fcn.100689b0
add esp, 0xc
test ebp, ebp
jne 0x1007b408
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x1007b3eb
push dword [esp + 0x14]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push ebx
call fcn.10063fc0
add esp, 0xc
lea eax, [ebp + 0x3a]
jmp 0x1007b593
push eax
push dword [esp + 0x18]
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push ebx
call fcn.10063fc0
add esp, 0x10
mov eax, 0x3a
jmp 0x1007b593
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 0x1007b450
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.10063fc0
add esp, 0x10
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x1007b593
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 str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_vtls_schannel.c
push 0x2c8
push 0x18
push 1
call fcn.10068870
mov edi, dword [esp + 0x44]
add esp, 0x10
mov dword [edi], eax
test eax, eax
jne 0x1007b4b0
push str.schannel:_unable_to_allocate_memory
push ebx
call fcn.10063fc0
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
je case.0x1007b53c.2146893056
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, 0x1b
jmp 0x1007b593
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 [0x100ef374]
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 0x1007b4ed
push ecx
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x1007b54a
push 0x100
lea eax, [esp + 0x14c]
push eax
push esi
call fcn.1004e8c0
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push ebx
call fcn.10063fc0
push str.C:ProjectsWorkProjects_forexcopierlocalCopierClientCPPLibraries_vcpkg_buildtreescurl_srcurl_7_83_1_606f2be415.cleanlib_vtls_schannel.c
push 0x2e1
push dword [edi]
call fcn.100689b0
add esi, 0x7ff6fd00
mov dword [edi], 0
add esp, 0x24
cmp esi, 0xe
ja case.0x1007b53c.2146893055
movzx eax, byte [esi + 0x1007b5d8]
jmp dword [eax*4 + 0x1007b5cc]
mov eax, 0x23
jmp 0x1007b593
xor eax, eax
jmp 0x1007b593
push dword [ebx + 0x414]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push ebx
call fcn.10063fc0
push esi
call fcn.10032211
mov eax, dword [esp + 0x24]
add esp, 0x10
jmp 0x1007b593
push str.SSL_versions_not_supported
push ebx
call fcn.10063fc0
mov eax, 4
jmp 0x1007b590
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push ebx
call fcn.10063fc0
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x248]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002897d
add esp, 0x23c
ret