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

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x1018e4ac]
xor eax, esp
mov dword [esp + 0x1bc], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1d0]
push esi
push edi
mov edi, dword [esp + 0x1d4]
push edi
mov dword [esp + 0x20], ebp
mov esi, dword [edi + 8]
call fcn.10068a10
mov ebx, eax
push ebp
push edi
mov dword [esp + 0x58], ebx
call fcn.100689f0
mov dword [esp + 0x30], 0
xor ebp, ebp
add esp, 0xc
mov dword [esp + 0x18], ebp
cmp byte [ebx + 0x39], 0
mov edx, eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x48], eax
je 0x10083712
cmp byte [edx + 0x63], 0
mov cl, byte [eax + 0x48]
je 0x100836ea
test cl, cl
mov eax, 0x1808
mov esi, 0x1820
cmove eax, esi
jmp 0x10083717
cmp byte [edx + 0x65], 0
je 0x10083701
test cl, cl
mov eax, 0x1a08
mov esi, 0x1a20
cmove eax, esi
jmp 0x10083717
test cl, cl
mov eax, 0x208
mov esi, 0x220
cmove eax, esi
jmp 0x10083717
mov eax, 0x1808
mov cl, byte [edx + 0x67]
mov esi, eax
or esi, 4
mov edx, str.schannel:_disabled_automatic_use_of_client_certificate
cmp byte [ebx + 0x3a], 0
cmovne esi, eax
mov eax, esi
or eax, 0x10
test cl, cl
cmove esi, eax
mov eax, str.schannel:_enabled_automatic_use_of_client_certificate
cmove eax, edx
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x1c]
push eax
push esi
call fcn.1006e960
movzx eax, byte [ebx + 0x38]
add esp, 8
cmp eax, 7
ja case.default.0x10083763
movzx eax, byte [eax + 0x100845b8]
jmp dword [eax*4 + 0x100845b0]
push edi
call fcn.10068a10
add esp, 4
mov edi, dword [eax + 0x34]
movzx esi, byte [eax + 0x38]
test edi, edi
je 0x10083786
cmp edi, 0x10000
jne 0x100837aa
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.1009f6e0
add esp, 0x14
mov edi, 0x60000
test al, al
mov ecx, 0x70000
cmovne edi, ecx
sar edi, 0x10
cmp esi, edi
jg 0x10083807
add esi, 0xfffffffc
cmp esi, 3
ja case.default.0x100837b9
jmp dword [esi*4 + 0x100845c0]
or dword [esp + 0x18], 0x80
jmp case.default.0x100837b9
or dword [esp + 0x18], 0x200
jmp case.default.0x100837b9
or dword [esp + 0x18], 0x800
jmp case.default.0x100837b9
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.1009f6e0
add esp, 0x14
test al, al
je 0x1008383f
or dword [esp + 0x18], 0x2000
inc esi
lea eax, [esi + 4]
cmp eax, edi
jle 0x100837b4
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x3c8]
test ecx, ecx
jne 0x1008384e
cmp dword [esi + 0x3dc], ebp
je 0x10083e69
mov eax, dword [esi + 0x3dc]
xor edx, edx
xor edi, edi
mov dword [esp + 0x44], edx
xor ebp, ebp
mov dword [esp + 0x3c], edx
xor ebx, ebx
mov dword [esp + 0x30], eax
xor esi, esi
jmp 0x10083876
mov ecx, dword [esp + 0x1c]
push str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
push ecx
jmp 0x10084589
mov eax, dword [esi + 0x3dc]
xor edx, edx
xor edi, edi
mov dword [esp + 0x44], edx
xor ebp, ebp
mov dword [esp + 0x3c], edx
xor ebx, ebx
mov dword [esp + 0x28], edx
xor esi, esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
test eax, eax
je 0x10083890
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
jmp 0x10083a75
push ecx
call fcn.1007f0a0
mov esi, eax
add esp, 4
test esi, esi
je case.0x1008453b.2146893056
push 0x5c
push esi
call sub.VCRUNTIME140.dll_wcschr
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100838c1
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x10083a42
mov edi, ebx
sub edi, esi
sar edi, 1
push edi
push str.CurrentUser
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x100838e4
mov edi, 0x10000
jmp 0x100839a2
push edi
push str.LocalMachine
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x10083901
mov edi, 0x20000
jmp 0x100839a2
push edi
push str.CurrentService
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x1008391e
mov edi, 0x40000
jmp 0x100839a2
push edi
push str.Services
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x10083938
mov edi, 0x50000
jmp 0x100839a2
push edi
push str.Users
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x10083952
mov edi, 0x60000
jmp 0x100839a2
push edi
push str.CurrentUserGroupPolicy
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x1008396c
mov edi, 0x70000
jmp 0x100839a2
push edi
push str.LocalMachineGroupPolicy
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x10083986
mov edi, 0x80000
jmp 0x100839a2
push edi
push str.LocalMachineEnterprise
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x10083a38
mov edi, 0x90000
add ebx, 2
push 0x5c
push ebx
call sub.VCRUNTIME140.dll_wcschr
mov edx, eax
add esp, 8
mov dword [esp + 0x34], edx
test edx, edx
jne 0x100839c4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x10083a42
lea eax, [edx + 2]
mov ecx, eax
mov dword [esp + 0x3c], eax
lea eax, [ecx + 2]
mov dword [esp + 0x20], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100839d4
sub ecx, dword [esp + 0x20]
sar ecx, 1
cmp ecx, 0x28
je 0x100839f4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x10083a42
xor eax, eax
push ebx
mov word [edx], ax
call dword [0x1018e014]
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0x34]
mov ecx, 0x5c
mov dword [esp + 0x44], ebx
mov word [eax], cx
test ebx, ebx
jne 0x10083a2b
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], 0x1b
mov dword [esp + 0x18], ecx
jmp 0x10083a4a
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jmp 0x10083ad3
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x3a
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x3c8]
cmp byte [eax], 0
je 0x1008454d
push 0x1016e1cc
push eax
call fcn.1007f210
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1008454d
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x408]
test eax, eax
je 0x10083abb
push 0x101486dc
push eax
call fcn.10072360
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
jne 0x10083abb
cmp dword [esp + 0x30], eax
mov eax, str._memory_blob_
jne 0x10083aaa
mov eax, dword [ecx + 0x3c8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push ecx
call fcn.1006e890
add esp, 0xc
jmp 0x10083b10
mov eax, dword [esp + 0x30]
test ebx, ebx
jne 0x10083bd4
test eax, eax
jne 0x10083bd4
mov ebx, dword [esp + 0x44]
push ebx
mov eax, edi
or eax, 0x4000
push eax
push 0
push 0
push 0xa
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
mov ebp, eax
test ebp, ebp
jne 0x10083b2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x1c]
push eax
push ebx
push edi
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is_0x_x
push ecx
call fcn.1006e890
push ebx
call dword [0x1018e004]
add esp, 0x18
test esi, esi
je 0x10083e0c
push esi
call fcn.1013c466
add esp, 4
mov eax, 0x3a
jmp 0x10084596
push ebx
call dword [0x1018e004]
add esp, 4
mov dword [esp + 0x54], 0x14
lea eax, [esp + 0x94]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push 0
push 0
push eax
lea eax, [esp + 0xa0]
push eax
push 4
push 0x28
push dword [esp + 0x54]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x10083b8b
test esi, esi
je 0x10083b78
push esi
call fcn.1013c466
add esp, 4
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x10084596
push 0
lea eax, [esp + 0x58]
push eax
push 0x10000
push 0
push 0x10001
push ebp
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x24], eax
test esi, esi
je 0x10083bba
push esi
call fcn.1013c466
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
jne 0x10083e61
push eax
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x10084596
xor edi, edi
test eax, eax
je 0x10083be4
mov dword [esp + 0x20], str._memory_blob_
jmp 0x10083bee
mov eax, dword [ecx + 0x3c8]
mov dword [esp + 0x20], eax
test esi, esi
je 0x10083bfb
push esi
call fcn.1013c466
add esp, 4
test ebx, ebx
je 0x10083c70
push 2
xor esi, esi
push esi
push ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x13], cl
test eax, eax
jne 0x10083d15
push ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
mov esi, eax
add esp, 4
test esi, esi
jns 0x10083d11
mov byte [esp + 0x13], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
test esi, esi
je 0x10083d5c
push ebx
push 1
push eax
push esi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
add esp, 0x10
cmp eax, 1
jne 0x10083d5c
push ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
add esp, 4
cmp byte [esp + 0x13], 0
je 0x10083d65
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x418]
mov dword [esp + 0x38], ebx
test eax, eax
je 0x10083c9c
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10083c93
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x10083db9
test edi, edi
je 0x10083d8e
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 1]
push ecx
push esi
push edi
push dword [eax + 0x418]
push 8
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jns 0x10083d90
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.1009f6e0
add esp, 0x14
test al, al
lea eax, [esp + 0x34]
je 0x10083da3
push 0x8000
jmp 0x10083da5
mov cl, byte [esp + 0x13]
mov eax, esi
mov dword [esp + 0x2c], eax
test cl, cl
je 0x10083d53
push 0
push 0
push ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
add esp, 0xc
test eax, eax
sete byte [esp + 0x13]
test eax, eax
jne 0x10083c36
lea eax, [esi + 1]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
jmp 0x10083c3a
mov esi, dword [esp + 0x28]
jmp 0x10083c3e
push ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
add esp, 4
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3c8]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.1006e890
push esi
call dword [0x1018e004]
add esp, 0x10
mov eax, 0x3a
jmp 0x10084596
xor eax, eax
cmp eax, edi
jg 0x10083ce4
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x10083ce9
push 0
push esi
push eax
call dword [sym.imp.CRYPT32.dll_PFXImportCertStore]
push esi
mov ebp, eax
call dword [0x1018e004]
add esp, 4
cmp dword [esp + 0x30], 0
jne 0x10083dca
push ebx
call dword [0x1018e004]
add esp, 4
test ebp, ebp
jne 0x10083e16
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x56
jne 0x10083df6
push dword [esp + 0x20]
push str.schannel:_Failed_to_import_cert_file__s__password_is_bad
push dword [esp + 0x24]
call fcn.1006e890
add esp, 0xc
lea eax, [ebp + 0x3a]
jmp 0x10084596
push eax
push dword [esp + 0x24]
push str.schannel:_Failed_to_import_cert_file__s__last_error_is_0x_x
push dword [esp + 0x28]
call fcn.1006e890
add esp, 0x10
mov eax, 0x3a
jmp 0x10084596
push 0
push 0
push 0
push 0
push 0x10001
push ebp
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x10083e61
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esp + 0x24]
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
push dword [esp + 0x28]
call fcn.1006e890
add esp, 0x10
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x3a
jmp 0x10084596
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x1c]
push 0x20
push 1
call dword [0x1018e010]
mov edi, dword [esp + 0x50]
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x10083eb4
push str.schannel:_unable_to_allocate_memory
push esi
call fcn.1006e890
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x10083e9d
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test ebp, ebp
je case.0x1008453b.2146893056
push 0
push ebp
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, 0x1b
jmp 0x10084596
push 3
push 2
mov dword [eax + 0x18], 1
mov eax, dword [edi]
push 0x4563
push 0
push 0xa
mov dword [eax + 0x14], ebp
call fcn.1009f6e0
add esp, 0x14
test al, al
je 0x100843b2
push 0x2c
lea eax, [esp + 0x60]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x70
xorps xmm0, xmm0
lea eax, [esp + 0xdc]
push 0
push eax
movups xmmword [esp + 0xac], xmm0
movq qword [esp + 0xbc], xmm0
call sub.VCRUNTIME140.dll_memset
mov edi, dword [ebx + 0x14]
xorps xmm0, xmm0
add esp, 0x18
movlpd qword [esp + 0x34], xmm0
xor ebp, ebp
movlpd qword [esp + 0x3c], xmm0
test edi, edi
je 0x10084337
mov al, 1
mov byte [esp + 0x15], 1
movups xmmword [esp + 0xac], xmm0
mov byte [esp + 0x14], 1
movups xmmword [esp + 0xbc], xmm0
mov byte [esp + 0x16], 1
mov byte [esp + 0x17], 1
mov byte [esp + 0x13], al
nop dword [eax]
cmp byte [edi], 0
je 0x1008419a
cmp ebp, 5
jge 0x1008419a
push 0x3a
push edi
call sub.VCRUNTIME140.dll_strchr
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10083f89
mov esi, ebx
sub esi, edi
jmp 0x10083f99
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x10083f90
sub esi, ecx
cmp esi, 0x1f
ja 0x10084182
push esi
lea eax, [esp + 0xb0]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strncpy
add esp, 0xc
mov byte [esp + esi + 0xac], 0
cmp byte [esp + 0x15], 0
je 0x10084008
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_256_GCM_SHA384
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10083ff0
test dl, dl
je 0x10083fec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10083ff0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10083fd0
xor eax, eax
jmp 0x10083ff5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10084008
mov al, byte [esp + 0x13]
xor cl, cl
mov byte [esp + 0x15], cl
jmp 0x1008414a
cmp byte [esp + 0x14], 0
je 0x1008405c
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_GCM_SHA256
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10084040
test dl, dl
je 0x1008403c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10084040
add eax, 2
add ecx, 2
test dl, dl
jne 0x10084020
xor eax, eax
jmp 0x10084045
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1008405c
mov al, byte [esp + 0x13]
xor ch, ch
mov cl, byte [esp + 0x15]
mov byte [esp + 0x14], ch
jmp 0x1008414e
cmp byte [esp + 0x16], 0
je 0x100840b0
lea ecx, [esp + 0xac]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10084090
test dl, dl
je 0x1008408c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10084090
add eax, 2
add ecx, 2
test dl, dl
jne 0x10084070
xor eax, eax
jmp 0x10084095
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100840b0
mov al, byte [esp + 0x13]
xor ah, ah
mov cl, byte [esp + 0x15]
mov ch, byte [esp + 0x14]
mov byte [esp + 0x16], ah
jmp 0x10084152
cmp byte [esp + 0x17], 0
je 0x10084104
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100840e3
test dl, dl
je 0x100840df
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100840e3
add eax, 2
add ecx, 2
test dl, dl
jne 0x100840c3
xor eax, eax
jmp 0x100840e8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10084104
mov al, byte [esp + 0x13]
xor dl, dl
mov cl, byte [esp + 0x15]
mov ah, byte [esp + 0x16]
mov ch, byte [esp + 0x14]
mov byte [esp + 0x17], dl
jmp 0x10084156
cmp byte [esp + 0x13], 0
je 0x1008416a
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10084137
test dl, dl
je 0x10084133
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10084137
add eax, 2
add ecx, 2
test dl, dl
jne 0x10084117
xor eax, eax
jmp 0x1008413c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1008416a
mov cl, byte [esp + 0x15]
xor al, al
mov byte [esp + 0x13], al
mov ch, byte [esp + 0x14]
mov ah, byte [esp + 0x16]
mov dl, byte [esp + 0x17]
mov edi, ebx
test ebx, ebx
je 0x1008415f
lea edi, [ebx + 1]
inc ebp
test edi, edi
jne 0x10083f60
jmp 0x100841aa
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [esp + 0x20]
call fcn.1006e890
mov eax, 0x3b
jmp 0x10084593
push str.Cipher_name_too_long__not_checked.
push dword [esp + 0x20]
call fcn.1006e890
mov eax, 0x3b
jmp 0x10084593
mov ch, byte [esp + 0x14]
mov ah, byte [esp + 0x16]
mov dl, byte [esp + 0x17]
mov cl, byte [esp + 0x15]
test cl, cl
je 0x100841d6
test ch, ch
je 0x100841d6
test ah, ah
je 0x100841d6
test dl, dl
je 0x100841da
test al, al
je 0x100841de
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [esp + 0x20]
call fcn.1006e890
mov eax, 0x3b
jmp 0x10084593
test dl, dl
jne 0x100841de
test al, al
je 0x10084251
mov dword [esp + 0x34], 0x200020
lea esi, [esp + 0x34]
mov dword [esp + 0x38], str.ChainingModeCCM
mov dword [esp + 0xcc], 2
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], 1
mov dword [esp + 0xd0], 0x80008
mov dword [esp + 0xd4], 0x1014899c
cmp dl, al
je 0x1008424a
test dl, dl
je 0x1008423f
mov dword [esp + 0xe0], 0x80
mov ebp, 1
jmp 0x10084253
mov dword [esp + 0xe4], 0x40
mov ebp, 1
jmp 0x10084253
xor ebp, ebp
mov al, ch
test cl, cl
jne 0x1008427b
mov byte [esp + 0x15], cl
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x14], al
mov byte [esp + 0x16], ah
mov dword [esp + 0x18], ecx
test al, al
je 0x10084308
mov cl, byte [esp + 0x15]
mov ch, al
lea edx, [ebp*8]
mov dword [esp + 0x3c], 0x200020
sub edx, ebp
mov dword [esp + 0x40], str.ChainingModeGCM
cmp cl, ch
je 0x100842a9
test cl, cl
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x100842ae
mov esi, 0x1014899c
mov bl, byte [esp + 0x14]
xor eax, eax
cmp cl, ch
sete al
lea eax, [eax*4 + 4]
movzx ecx, ax
xor eax, eax
cmp byte [esp + 0x15], bl
setne al
add eax, 2
inc ebp
mov dword [esp + edx*4 + 0xcc], eax
lea eax, [esp + 0x3c]
mov word [esp + edx*4 + 0xd0], cx
mov word [esp + edx*4 + 0xd2], cx
mov dword [esp + edx*4 + 0xd4], esi
mov dword [esp + edx*4 + 0xdc], eax
mov ah, byte [esp + 0x16]
mov dword [esp + edx*4 + 0xd8], 1
test ah, ah
je 0x10084337
lea eax, [ebp*8]
sub eax, ebp
inc ebp
mov dword [esp + eax*4 + 0xcc], 2
mov dword [esp + eax*4 + 0xd0], 0x240024
mov dword [esp + eax*4 + 0xd4], str.CHACHA20_POLY1305
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0xcc]
mov dword [esp + 0xa4], eax
or ecx, 0x400000
cmp dword [esp + 0x24], 0
lea eax, [esp + 0x94]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x18]
not eax
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x80], 1
mov dword [esp + 0x5c], 5
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x9c], eax
je 0x1008439f
lea eax, [esp + 0x24]
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], eax
mov edi, dword [esp + 0x48]
mov ecx, dword [edi]
lea eax, [ecx + 8]
push eax
lea eax, [esp + 0x60]
jmp 0x100844c6
mov esi, dword [ebx + 0x10]
lea eax, [esp + 0x5c]
push 0x38
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x5c]
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], 4
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x7c], eax
test esi, esi
je 0x10084498
xor edi, edi
nop dword [eax + eax]
cmp byte [esi], 0
je 0x1008446b
cmp edi, 0x2f
jge 0x1008446b
push 0
push 0
push esi
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtol
add esp, 0xc
test eax, eax
jne 0x1008444d
push esi
call fcn.100828a0
add esp, 4
test eax, eax
jne 0x1008444d
push 0x11
push str.USE_STRONG_CRYPTO
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
je 0x10084440
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x10084480
or dword [esp + 0x8c], 0x400000
jmp 0x10084455
mov dword [esp + edi*4 + 0xcc], eax
inc edi
push 0x3a
push esi
call sub.VCRUNTIME140.dll_strchr
mov esi, eax
add esp, 8
test esi, esi
je 0x1008446b
add esi, 1
jne 0x100843f0
lea eax, [esp + 0xcc]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x78], eax
jmp 0x100844a5
push str.Unable_to_set_ciphers_to_from_connection_ssl_config
push dword [esp + 0x20]
call fcn.1006e890
mov eax, 0x3b
jmp 0x10084593
or ecx, 0x400000
mov dword [esp + 0x8c], ecx
cmp dword [esp + 0x24], 0
je 0x100844bc
lea eax, [esp + 0x24]
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], eax
mov ecx, dword [edi]
lea eax, [ecx + 8]
push eax
lea eax, [esp + 0x60]
push ecx
push 0
push 0
push eax
mov eax, dword [0x1018fac0]
push 0
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
mov eax, dword [eax + 0xc]
push 0
call eax
mov esi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100844f2
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
test esi, esi
je 0x10084549
push 0x100
lea eax, [esp + 0xd0]
push eax
push esi
call fcn.1007f440
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [esp + 0x30]
call fcn.1006e890
push dword [edi]
call dword [0x1018e004]
add esi, 0x7ff6fd00
mov dword [edi], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x1008453b.2146893055
movzx eax, byte [esi + 0x100845dc]
jmp dword [eax*4 + 0x100845d0]
mov eax, 0x23
jmp 0x10084596
xor eax, eax
jmp 0x10084596
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3c8]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push eax
call fcn.1006e890
push esi
call fcn.1013c466
mov eax, dword [esp + 0x30]
add esp, 0x10
jmp 0x10084596
push str.SSL_versions_not_supported
push esi
call fcn.1006e890
mov eax, 4
jmp 0x10084593
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push esi
call fcn.1006e890
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1013ad45
add esp, 0x1c0
ret