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

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x100b8040]
xor eax, esp
mov dword [esp + 0x1bc], eax
mov eax, dword [esp + 0x1cc]
mov edx, dword [esp + 0x1c4]
add eax, 0x18
push ebx
mov ebx, dword [esp + 0x1cc]
add eax, eax
push ebp
push esi
push edi
mov eax, dword [ebx + eax*8]
lea edi, [ebx + 0x134]
mov cl, byte [ebx + 0xb0]
xor ebp, ebp
cmp byte [ebx + 0x1f5], 0
mov esi, 0x198
mov dword [esp + 0x1c], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x20], 0x1a8
je 0x10038c10
mov dl, byte [eax + 0x48]
cmp cl, 2
jne 0x10038b8d
cmp dword [edi], 0xffffffff
mov eax, esi
cmovne eax, dword [esp + 0x20]
cmp dword [eax + ebx], 2
je 0x10038b8d
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 0x4af]
jmp 0x10038b9b
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], edi
mov al, byte [eax + 0x447]
test al, al
je 0x10038bb5
test dl, dl
mov dword [esp + 0x20], 0x1820
mov eax, 0x1808
cmove eax, dword [esp + 0x20]
jmp 0x10038c19
cmp cl, 2
jne 0x10038bd6
cmp dword [edi], 0xffffffff
mov eax, esi
cmovne eax, dword [esp + 0x20]
cmp dword [eax + ebx], 2
je 0x10038bd6
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 0x4b1]
jmp 0x10038be0
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 0x449]
test al, al
je 0x10038bfa
test dl, dl
mov dword [esp + 0x20], 0x1a20
mov eax, 0x1a08
cmove eax, dword [esp + 0x20]
jmp 0x10038c19
test dl, dl
mov dword [esp + 0x20], 0x220
mov eax, 0x208
cmove eax, dword [esp + 0x20]
jmp 0x10038c19
mov eax, 0x1808
mov dword [esp + 0x3c], edi
mov edx, eax
or edx, 4
cmp byte [ebx + 0x1f6], 0
cmovne edx, eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x1c]
cmp cl, 2
jne 0x10038c50
cmp dword [edi], 0xffffffff
mov eax, esi
mov ecx, 0x1a8
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x10038c50
mov cl, byte [edx + 0x4b3]
jmp 0x10038c56
mov cl, byte [edx + 0x44b]
mov esi, dword [esp + 0x40]
mov eax, esi
or eax, 0x10
test cl, cl
cmove esi, eax
mov eax, str.schannel:_enabled_automatic_use_of_client_certificate
mov dword [esp + 0x40], esi
mov esi, str.schannel:_disabled_automatic_use_of_client_certificate
cmove eax, esi
push eax
push edx
call fcn.10021dd0
mov esi, dword [ebx + 0x1bc]
add esp, 8
cmp esi, 7
ja case.default.0x10038c95
movzx eax, byte [esi + 0x10039b44]
jmp dword [eax*4 + 0x10039b3c]
cmp byte [ebx + 0xb0], 2
jne 0x10038cc9
cmp dword [edi], 0xffffffff
mov eax, 0x198
mov ecx, 0x1a8
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x10038cc9
mov esi, dword [ebx + 0x1fc]
mov edi, dword [ebx + 0x200]
jmp 0x10038ccf
mov edi, dword [ebx + 0x1c0]
test edi, edi
je 0x10038cdb
cmp edi, 0x10000
jne 0x10038cff
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.10050ff0
add esp, 0x14
mov edi, 0x60000
test al, al
mov ecx, 0x70000
cmovne edi, ecx
sar edi, 0x10
cmp esi, edi
jg 0x10038d63
add esi, 0xfffffffc
nop dword [eax]
cmp esi, 3
ja case.default.0x10038d15
jmp dword [esi*4 + 0x10039b4c]
or dword [esp + 0x18], 0x80
jmp case.default.0x10038d15
or dword [esp + 0x18], 0x200
jmp case.default.0x10038d15
or dword [esp + 0x18], 0x800
jmp case.default.0x10038d15
push 3
push 2
push 0x4f7c
push 0
push 0xa
call fcn.10050ff0
add esp, 0x14
test al, al
je 0x10038d9d
or dword [esp + 0x18], 0x2000
inc esi
lea eax, [esi + 4]
cmp eax, edi
jle 0x10038d10
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x3f8]
test ecx, ecx
jne 0x10038da7
cmp dword [edi + 0x40c], ebp
je 0x10039397
mov eax, dword [edi + 0x40c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0x48], edx
xor ebx, ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], edx
xor esi, esi
mov dword [esp + 0x38], eax
jmp 0x10038dd1
push str.schannel:_TLS_1.3_not_supported_on_Windows_prior_to_11
jmp 0x10039b11
mov eax, dword [edi + 0x40c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0x48], edx
xor ebx, ebx
mov dword [esp + 0x20], edx
xor esi, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
test eax, eax
je 0x10038deb
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
jmp 0x10038fa8
push ecx
call fcn.10076bf0
mov esi, eax
add esp, 4
test esi, esi
je case.0x10039ac3.2146893056
push 0x5c
push esi
call fcn.10062200
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10038e1c
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x10038f74
mov edi, ebx
sub edi, esi
push edi
push str.CurrentUser
push esi
call fcn.1006dd40
add esp, 0xc
test eax, eax
jne 0x10038e3d
mov ebp, 0x10000
jmp 0x10038ef7
push edi
push str.LocalMachine
push esi
call fcn.1006dd40
add esp, 0xc
test eax, eax
jne 0x10038e5a
mov ebp, 0x20000
jmp 0x10038ef7
push edi
push str.CurrentService
push esi
call fcn.1006dd40
add esp, 0xc
test eax, eax
jne 0x10038e77
mov ebp, 0x40000
jmp 0x10038ef7
push edi
push str.Services
push esi
call fcn.1006dd40
add esp, 0xc
test eax, eax
jne 0x10038e91
mov ebp, 0x50000
jmp 0x10038ef7
push edi
push str.Users
push esi
call fcn.1006dd40
add esp, 0xc
test eax, eax
jne 0x10038eab
mov ebp, 0x60000
jmp 0x10038ef7
push edi
push str.CurrentUserGroupPolicy
push esi
call fcn.1006dd40
add esp, 0xc
test eax, eax
jne 0x10038ec5
mov ebp, 0x70000
jmp 0x10038ef7
push edi
push str.LocalMachineGroupPolicy
push esi
call fcn.1006dd40
add esp, 0xc
test eax, eax
jne 0x10038edf
mov ebp, 0x80000
jmp 0x10038ef7
push edi
push str.LocalMachineEnterprise
push esi
call fcn.1006dd40
add esp, 0xc
test eax, eax
jne 0x10038f6c
mov ebp, 0x90000
inc ebx
push 0x5c
push ebx
call fcn.10062200
mov edi, eax
add esp, 8
test edi, edi
jne 0x10038f13
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x10038f74
lea eax, [edi + 1]
mov ecx, eax
mov dword [esp + 0x20], eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038f20
sub ecx, edx
cmp ecx, 0x28
je 0x10038f38
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
jmp 0x10038f74
push ebx
mov byte [edi], 0
call dword [0x100b800c]
mov ebx, eax
mov byte [edi], 0x5c
add esp, 4
mov dword [esp + 0x48], ebx
test ebx, ebx
jne 0x10038f5f
mov ecx, dword [esp + 0x18]
lea edi, [eax + 0x1b]
mov dword [esp + 0x18], ecx
jmp 0x10038f79
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jmp 0x10038ffe
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov edi, 0x3a
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x3f8]
cmp byte [eax], 0
je 0x10039ad5
push 0x10099d70
push eax
call fcn.10035070
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10039ad5
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x430]
test eax, eax
je 0x10038fe6
push 0x1009ff58
push eax
call fcn.10026610
add esp, 8
test eax, eax
jne 0x10038fe6
cmp dword [esp + 0x38], eax
mov eax, str._memory_blob_
jne 0x10038fd5
mov eax, dword [edi + 0x3f8]
push eax
push str.schannel:_certificate_format_compatibility_error__for__s
push edi
call fcn.10021d00
add esp, 0xc
jmp 0x1003903e
mov eax, dword [esp + 0x38]
test ebx, ebx
jne 0x10039102
test eax, eax
jne 0x10039102
mov ebx, dword [esp + 0x48]
push ebx
mov eax, ebp
or eax, 0x4000
push eax
push 0
push 0
push 9
push eax
call fcn.101240ba
mov edi, eax
mov dword [esp + 0x34], edi
test edi, edi
jne 0x10039059
call fcn.1018473a
test esi, esi
je 0x10039339
push esi
call fcn.10068f3e
add esp, 4
mov eax, 0x3a
jmp 0x10039b22
push ebx
call dword [0x100b8004]
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 + 0x38]
call fcn.102f9458
ret
xor edi, edi
test eax, eax
je 0x1003910f
mov ebp, str._memory_blob_
jmp 0x10039119
mov eax, dword [esp + 0x1c]
mov ebp, dword [eax + 0x3f8]
test esi, esi
je 0x10039126
push esi
call fcn.10068f3e
add esp, 4
test ebx, ebx
je 0x1003919b
push 2
xor esi, esi
push esi
push ebx
call fcn.100706ed
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x13], cl
test eax, eax
jne 0x10039242
push ebx
call fcn.10070f3e
mov esi, eax
add esp, 4
test esi, esi
jns 0x1003923e
mov byte [esp + 0x13], 0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
test esi, esi
je 0x10039289
push ebx
push 1
push eax
push esi
call fcn.1006d985
add esp, 0x10
cmp eax, 1
jne 0x10039289
push ebx
call fcn.1006dedd
add esp, 4
cmp byte [esp + 0x13], 0
je 0x10039292
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
mov eax, dword [eax + 0x440]
test eax, eax
je 0x100391c9
mov edi, eax
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x100391c0
sub edi, ecx
lea eax, [edi*2 + 2]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
je 0x100392e8
test edi, edi
je 0x100392bb
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 1]
push ecx
push esi
push edi
push dword [eax + 0x440]
push 8
push 0xfde9
call fcn.102acec8
xor eax, eax
mov word [esi], ax
push 3
push 2
push 0
push 0
push 6
call fcn.10050ff0
add esp, 0x14
test al, al
lea eax, [esp + 0x20]
je 0x100392d0
push 0x8000
jmp 0x100392d2
mov cl, byte [esp + 0x13]
mov eax, esi
mov dword [esp + 0x30], eax
test cl, cl
je 0x10039280
push 0
push 0
push ebx
call fcn.100706ed
add esp, 0xc
test eax, eax
sete byte [esp + 0x13]
test eax, eax
jne 0x10039161
lea eax, [esi + 1]
push eax
call dword [section..data]
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
jmp 0x10039165
mov esi, dword [esp + 0x2c]
jmp 0x10039169
push ebx
call fcn.1006dedd
add esp, 4
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3f8]
push str.schannel:_Failed_to_read_cert_file__s
push eax
call fcn.10021d00
push esi
call dword [0x100b8004]
add esp, 0x10
mov eax, 0x3a
jmp 0x10039b22
xor eax, eax
cmp eax, edi
jg 0x10039211
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x10039216
push 0
push esi
push eax
push ebx
call fcn.102d1535
push esi
mov dword [esp + 0x38], eax
call dword [0x100b8004]
add esp, 4
cmp dword [esp + 0x38], 0
jne 0x100392f9
push ebx
call dword [0x100b8004]
add esp, 4
mov edi, dword [esp + 0x34]
test edi, edi
jne 0x10039343
call fcn.103a3306
mov eax, 0x3a
jmp 0x10039b22
push 0
push 0
push 0
push 0
push 0x10001
push edi
push eax
call fcn.1014bec7
mov dword [esp + 0x28], eax
test eax, eax
jne 0x1003938b
push edi
call fcn.1024f259
push eax
push ebp
push str.schannel:_Failed_to_get_certificate_from_file__s__last_error_is_0x_x
push dword [esp + 0x28]
call fcn.10021d00
add esp, 0x10
push 0
push edi
push ebx
call fcn.10226913
mov eax, 0x3a
jmp 0x10039b22
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
push 0x20
push 1
call dword [0x100b8010]
mov ecx, dword [esp + 0x4c]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x100393e2
push str.schannel:_unable_to_allocate_memory
push edi
call fcn.10021d00
mov eax, dword [esp + 0x30]
add esp, 8
test eax, eax
je 0x100393cb
push eax
push eax
call fcn.101276b3
test ebp, ebp
je case.0x10039ac3.2146893056
push 0
push ebp
push ecx
call fcn.103271f4
mov eax, 0x1b
jmp 0x10039b22
push 3
mov edi, ecx
mov dword [eax + 0x18], 1
push 2
push 0x4563
push 0
mov eax, dword [edi]
push 0xa
mov dword [eax + 0x14], ebp
call fcn.10050ff0
add esp, 0x14
test al, al
je 0x10039911
push 0x2c
lea eax, [esp + 0x60]
push 0
push eax
call fcn.10062350
push 0x70
xorps xmm0, xmm0
lea eax, [esp + 0xdc]
push 0
push eax
movups xmmword [esp + 0xac], xmm0
movq qword [esp + 0xbc], xmm0
call fcn.10062350
xorps xmm0, xmm0
add esp, 0x18
xor ebp, ebp
movlpd qword [esp + 0x20], xmm0
cmp byte [ebx + 0xb0], 2
movlpd qword [esp + 0x48], xmm0
jne 0x1003947f
mov eax, dword [esp + 0x3c]
mov ecx, 0x1a8
cmp dword [eax], 0xffffffff
mov eax, 0x198
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x1003947f
mov edi, dword [ebx + 0x218]
jmp 0x10039485
mov edi, dword [ebx + 0x1d8]
test edi, edi
je 0x10039897
mov al, 1
mov byte [esp + 0x15], 1
xor ebp, ebp
mov byte [esp + 0x14], 1
movups xmmword [esp + 0xac], xmm0
mov byte [esp + 0x16], 1
movups xmmword [esp + 0xbc], xmm0
mov byte [esp + 0x17], 1
mov byte [esp + 0x13], al
nop dword [eax]
cmp byte [edi], 0
je 0x100396fa
cmp ebp, 5
jge 0x100396fa
push 0x3a
push edi
call fcn.10062200
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100394e9
mov esi, ebx
sub esi, edi
jmp 0x100394f9
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x100394f0
sub esi, ecx
cmp esi, 0x1f
ja 0x100396e2
push esi
lea eax, [esp + 0xb0]
push edi
push eax
call fcn.10070730
add esp, 0xc
mov byte [esp + esi + 0xac], 0
cmp byte [esp + 0x15], 0
je 0x10039568
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_256_GCM_SHA384
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10039550
test dl, dl
je 0x1003954c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10039550
add eax, 2
add ecx, 2
test dl, dl
jne 0x10039530
xor eax, eax
jmp 0x10039555
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10039568
mov al, byte [esp + 0x13]
xor cl, cl
mov byte [esp + 0x15], cl
jmp 0x100396aa
cmp byte [esp + 0x14], 0
je 0x100395bc
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 0x100395a0
test dl, dl
je 0x1003959c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100395a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10039580
xor eax, eax
jmp 0x100395a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100395bc
mov al, byte [esp + 0x13]
xor ch, ch
mov cl, byte [esp + 0x15]
mov byte [esp + 0x14], ch
jmp 0x100396ae
cmp byte [esp + 0x16], 0
je 0x10039610
lea ecx, [esp + 0xac]
mov eax, str.TLS_CHACHA20_POLY1305_SHA256
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100395f0
test dl, dl
je 0x100395ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100395f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100395d0
xor eax, eax
jmp 0x100395f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10039610
mov al, byte [esp + 0x13]
xor dl, dl
mov cl, byte [esp + 0x15]
mov ch, byte [esp + 0x14]
mov byte [esp + 0x16], dl
jmp 0x100396b2
cmp byte [esp + 0x17], 0
je 0x10039664
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_8_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10039643
test dl, dl
je 0x1003963f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10039643
add eax, 2
add ecx, 2
test dl, dl
jne 0x10039623
xor eax, eax
jmp 0x10039648
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10039664
mov al, byte [esp + 0x13]
xor ah, ah
mov cl, byte [esp + 0x15]
mov dl, byte [esp + 0x16]
mov ch, byte [esp + 0x14]
mov byte [esp + 0x17], ah
jmp 0x100396b6
cmp byte [esp + 0x13], 0
je 0x100396ca
lea ecx, [esp + 0xac]
mov eax, str.TLS_AES_128_CCM_SHA256
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10039697
test dl, dl
je 0x10039693
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10039697
add eax, 2
add ecx, 2
test dl, dl
jne 0x10039677
xor eax, eax
jmp 0x1003969c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100396ca
mov cl, byte [esp + 0x15]
xor al, al
mov byte [esp + 0x13], al
mov ch, byte [esp + 0x14]
mov dl, byte [esp + 0x16]
mov ah, byte [esp + 0x17]
mov edi, ebx
test ebx, ebx
je 0x100396bf
lea edi, [ebx + 1]
inc ebp
test edi, edi
jne 0x100394c0
jmp 0x1003970a
push str.Passed_in_an_unknown_TLS_1.3_cipher.
push dword [esp + 0x20]
call fcn.10021d00
mov eax, 0x3b
jmp 0x10039b1f
push str.Cipher_name_too_long__not_checked.
push dword [esp + 0x20]
call fcn.10021d00
mov eax, 0x3b
jmp 0x10039b1f
mov ch, byte [esp + 0x14]
mov ah, byte [esp + 0x17]
mov dl, byte [esp + 0x16]
mov cl, byte [esp + 0x15]
test cl, cl
je 0x10039736
test ch, ch
je 0x10039736
test dl, dl
je 0x10039736
test ah, ah
je 0x1003973a
test al, al
je 0x1003973e
push str.All_available_TLS_1.3_ciphers_were_disabled.
push dword [esp + 0x20]
call fcn.10021d00
mov eax, 0x3b
jmp 0x10039b1f
test ah, ah
jne 0x1003973e
test al, al
je 0x100397b1
mov dword [esp + 0x20], 0x200020
lea esi, [esp + 0x20]
mov dword [esp + 0x24], 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], 0x100a0214
cmp ah, al
je 0x100397aa
test ah, ah
je 0x1003979f
mov dword [esp + 0xe0], 0x80
mov ebp, 1
jmp 0x100397b3
mov dword [esp + 0xe4], 0x40
mov ebp, 1
jmp 0x100397b3
xor ebp, ebp
mov al, ch
test cl, cl
jne 0x100397db
mov byte [esp + 0x15], cl
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x14], al
mov byte [esp + 0x16], dl
mov dword [esp + 0x18], ecx
test al, al
je 0x10039868
mov cl, byte [esp + 0x15]
mov ch, al
lea edx, [ebp*8]
mov dword [esp + 0x48], 0x200020
sub edx, ebp
mov dword [esp + 0x4c], str.ChainingModeGCM
cmp cl, ch
je 0x10039809
test cl, cl
mov esi, str.SHA384
mov eax, str.SHA256
cmove esi, eax
jmp 0x1003980e
mov esi, 0x100a0214
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 + 0x48]
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 dword [esp + edx*4 + 0xd8], 1
mov dl, byte [esp + 0x16]
test dl, dl
je 0x10039897
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
lea eax, [esp + 0xcc]
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x94]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x40]
or eax, 0x400000
mov dword [esp + 0x80], 1
cmp dword [esp + 0x28], 0
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
not eax
mov dword [esp + 0x5c], 5
mov dword [esp + 0x9c], eax
je 0x100398fe
lea eax, [esp + 0x28]
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], eax
mov edi, dword [esp + 0x44]
mov ecx, dword [edi]
lea eax, [ecx + 8]
push eax
lea eax, [esp + 0x60]
jmp 0x10039a4e
cmp byte [ebx + 0xb0], 2
jne 0x1003993c
mov eax, dword [esp + 0x3c]
mov ecx, 0x1a8
cmp dword [eax], 0xffffffff
mov eax, 0x198
cmovne eax, ecx
cmp dword [eax + ebx], 2
je 0x1003993c
mov esi, dword [ebx + 0x214]
jmp 0x10039942
mov esi, dword [ebx + 0x1d4]
push 0x38
lea eax, [esp + 0x60]
push 0
push eax
call fcn.10062350
mov ecx, dword [esp + 0x4c]
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 0x10039a20
xor edi, edi
cmp byte [esi], 0
je 0x100399f3
cmp edi, 0x2f
jge 0x100399f3
push 0
push 0
push esi
call fcn.1006d36f
add esp, 0xc
test eax, eax
jne 0x100399d5
push esi
call fcn.10037d10
add esp, 4
test eax, eax
jne 0x100399d5
push 0x11
push str.USE_STRONG_CRYPTO
push esi
call fcn.1006dd40
add esp, 0xc
test eax, eax
je 0x100399c8
push 0x15
push str.SCH_USE_STRONG_CRYPTO
push esi
call fcn.1006dd40
add esp, 0xc
test eax, eax
jne 0x10039a08
or dword [esp + 0x8c], 0x400000
jmp 0x100399dd
mov dword [esp + edi*4 + 0xcc], eax
inc edi
push 0x3a
push esi
call fcn.10062200
mov esi, eax
add esp, 8
test esi, esi
je 0x100399f3
add esi, 1
jne 0x10039978
lea eax, [esp + 0xcc]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x78], eax
jmp 0x10039a2d
push str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
push dword [esp + 0x20]
call fcn.10021d00
mov eax, 0x3b
jmp 0x10039b1f
or ecx, 0x400000
mov dword [esp + 0x8c], ecx
cmp dword [esp + 0x28], 0
je 0x10039a44
lea eax, [esp + 0x28]
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 [0x100c5b30]
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 + 0x28]
test eax, eax
je 0x10039a7a
push eax
push ebp
call fcn.100cf874
test esi, esi
je 0x10039ad1
push 0x100
lea eax, [esp + 0xd0]
push eax
push esi
call fcn.100350b0
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push dword [esp + 0x30]
call fcn.10021d00
push dword [edi]
call dword [0x100b8004]
add esi, 0x7ff6fd00
mov dword [edi], 0
add esp, 0x1c
cmp esi, 0xe
ja case.0x10039ac3.2146893055
movzx eax, byte [esi + 0x10039b68]
jmp dword [eax*4 + 0x10039b5c]
mov eax, 0x23
jmp 0x10039b22
xor eax, eax
jmp 0x10039b22
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3f8]
push str.schannel:_Failed_to_get_certificate_location_or_file_for__s
push eax
call fcn.10021d00
push esi
call fcn.10068f3e
add esp, 0x10
mov eax, edi
jmp 0x10039b22
push str.SSL_versions_not_supported
push dword [esp + 0x20]
call fcn.10021d00
mov eax, 4
jmp 0x10039b1f
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push dword [esp + 0x20]
call fcn.10021d00
mov eax, 0x23
add esp, 8
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10061085
add esp, 0x1c0
ret