Function at 0x1002bf20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x10096098]
xor eax, esp
mov dword [esp + 0x1bc], eax
mov eax, dword [esp + 0x1c8]
mov ecx, 0x234
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1d4]
mov ebp, eax
shl ebp, 4
mov esi, 0x224
add ebp, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0xffffffff
cmp dword [edi + 0xf0], 2
mov ebx, dword [edi]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], ecx
jne 0x1002bfa0
cmp dword [edi + 0x1c4], 0xffffffff
mov eax, esi
cmovne eax, ecx
cmp dword [eax + edi], 2
je 0x1002bfa0
mov eax, dword [edi + 0xe4]
jmp 0x1002bfa6
mov eax, dword [edi + 0x9c]
push 1
push 2
push 1
push 5
mov dword [esp + 0x34], eax
call fcn.1001d5d0
add esp, 0x10
test al, al
je 0x1002bfcc
push str.schannel:_Windows_version_is_old_and_may_not_be_able_to_connect_to_some_servers_due_to_lack_of_SNI__algorithms__etc._n
push ebx
call fcn.1001aca0
add esp, 8
cmp byte [edi + 0x2c2], 0
je 0x1002c008
push str.wine_get_version
push 0x1007e1f4
push ecx
call fcn.10208beb
push eax
call fcn.1011c61a
mov edx, 0x1875c085
push 3
push 2
push 3
push 6
call fcn.1001d5d0
add esp, 0x10
test al, al
je 0x1002c008
mov cl, 1
jmp 0x1002c00a
xor cl, cl
mov eax, dword [ebp + 0x20c]
mov byte [eax + 0x46], cl
cmp dword [edi + 0xf0], 2
jne 0x1002c03b
cmp dword [edi + 0x1c4], 0xffffffff
mov eax, esi
mov ecx, 0x234
cmovne eax, ecx
cmp dword [eax + edi], 2
je 0x1002c03b
mov eax, dword [edi + 0x280]
jmp 0x1002c041
mov eax, dword [edi + 0x254]
test eax, eax
je 0x1002c07d
push 3
push 2
push 1
push 6
call fcn.1001d5d0
add esp, 0x10
test al, al
je 0x1002c065
mov eax, dword [ebp + 0x20c]
mov byte [eax + 0x47], 1
jmp 0x1002c087
push str.schannel:_this_version_of_Windows_is_too_old_to_support_certificate_verification_via_CA_bundle_file.
push ebx
call fcn.1001abc0
add esp, 8
mov eax, 0x4d
jmp 0x1002c9b5
mov eax, dword [ebp + 0x20c]
mov byte [eax + 0x47], 0
mov eax, dword [ebp + 0x20c]
mov dword [eax], 0
cmp dword [edi + 0xf0], 2
jne 0x1002c0bb
cmp dword [edi + 0x1c4], 0xffffffff
mov eax, esi
mov ecx, 0x234
cmovne eax, ecx
cmp dword [eax + edi], 2
je 0x1002c0bb
mov al, byte [ebx + 0x8bb]
jmp 0x1002c0c1
mov al, byte [ebx + 0x863]
test al, al
je 0x1002c103
push edi
call fcn.10015a80
push dword [esp + 0x2c]
lea eax, [esp + 0x28]
push 0
push eax
push edi
call fcn.100154b0
add esp, 0x14
test al, al
jne 0x1002c0fa
mov ecx, dword [ebp + 0x20c]
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
mov eax, dword [ebp + 0x20c]
mov eax, dword [eax]
inc dword [eax + 0x10]
push edi
call fcn.10015ab0
add esp, 4
mov esi, dword [ebp + 0x20c]
cmp dword [esi], 0
jne 0x1002c6c6
push 0x38
lea eax, [esp + 0x64]
push 0
push eax
call fcn.10055080
add esp, 0xc
mov dword [esp + 0x60], 4
cmp byte [edi + 0x270], 0
je 0x1002c163
cmp byte [esi + 0x47], 0
mov eax, 0x20
mov ecx, 8
cmovne eax, ecx
mov dword [esp + 0x90], eax
cmp byte [ebx + 0x88f], 0
je 0x1002c15c
or eax, 0x1800
jmp 0x1002c168
or eax, 0x200
jmp 0x1002c168
mov eax, 0x1808
cmp byte [edi + 0x271], 0
mov dword [esp + 0x90], eax
jne 0x1002c182
or eax, 4
mov dword [esp + 0x90], eax
mov edx, dword [edi + 0x248]
cmp edx, 7
ja case.default.0x1002c191
jmp dword [edx*4 + 0x1002c9d0]
mov dword [esp + 0x80], 0xa80
jmp 0x1002c291
mov ecx, dword [edi + 0xf0]
mov eax, dword [edi]
mov dword [esp + 0x18], eax
cmp ecx, 2
jne 0x1002c203
cmp dword [edi + 0x1c4], 0xffffffff
mov esi, 0x224
mov eax, esi
cmovne eax, dword [esp + 0x14]
cmp dword [eax + edi], ecx
je 0x1002c1df
mov edx, dword [edi + 0x274]
mov esi, dword [edi + 0x278]
jmp 0x1002c209
cmp ecx, 2
jne 0x1002c203
cmp dword [edi + 0x1c4], 0xffffffff
mov eax, esi
mov ecx, 0x234
cmovne eax, ecx
cmp dword [eax + edi], 2
je 0x1002c203
mov esi, dword [edi + 0x278]
jmp 0x1002c209
mov esi, dword [edi + 0x24c]
test esi, esi
je 0x1002c215
cmp esi, 0x10000
jne 0x1002c21a
mov esi, 0x60000
sar esi, 0x10
cmp edx, esi
jg 0x1002c291
mov ecx, dword [esp + 0x80]
add edx, 0xfffffffc
nop dword [eax + eax]
cmp edx, 3
ja case.default.0x1002c235
jmp dword [edx*4 + 0x1002c9f0]
or ecx, 0x80
jmp 0x1002c252
or ecx, 0x200
jmp 0x1002c252
or ecx, 0x800
mov dword [esp + 0x80], ecx
inc edx
lea eax, [edx + 4]
cmp eax, esi
jle 0x1002c230
jmp 0x1002c291
push str.schannel:_TLS_1.3_is_not_yet_supported
push dword [esp + 0x1c]
call fcn.1001abc0
add esp, 8
jmp case.0x1002c6ac.2146893055
mov dword [esp + 0x80], 0x20
jmp 0x1002c291
mov dword [esp + 0x80], 8
mov ecx, dword [edi + 0xf0]
mov edx, 0x224
lea esi, [edx + 0x10]
cmp ecx, 2
jne 0x1002c2bd
cmp dword [edi + 0x1c4], 0xffffffff
mov eax, edx
cmovne eax, esi
cmp dword [eax + edi], ecx
je 0x1002c2bd
mov eax, dword [edi + 0x290]
jmp 0x1002c2c3
mov eax, dword [edi + 0x264]
test eax, eax
je 0x1002c349
cmp ecx, 2
jne 0x1002c2e7
cmp dword [edi + 0x1c4], 0xffffffff
cmovne edx, esi
cmp dword [edx + edi], ecx
je 0x1002c2e7
mov esi, dword [edi + 0x290]
jmp 0x1002c2ed
mov esi, dword [edi + 0x264]
xor ebx, ebx
test esi, esi
je 0x1002c339
cmp byte [esi], 0
je 0x1002c339
cmp ebx, 0x2d
jge 0x1002c339
push 0
push 0
push esi
call fcn.1005b9eb
add esp, 0xc
test eax, eax
jne 0x1002c31b
push esi
call fcn.1002aef0
add esp, 4
test eax, eax
je 0x1002c38f
push 0x3a
mov dword [ebx*4 + 0x100971b0], eax
inc ebx
push esi
call fcn.10055760
mov esi, eax
add esp, 8
test esi, esi
je 0x1002c339
add esi, 1
jne 0x1002c2f3
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x7c], 0x100971b0
mov esi, dword [ebx + 0x878]
test esi, esi
je 0x1002c5a8
push 0x5c
push esi
call fcn.10055760
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x1002c5f8
mov ebx, eax
sub ebx, esi
push ebx
push str.CurrentUser
push esi
call fcn.1005c1c0
add esp, 0xc
test eax, eax
jne 0x1002c3aa
mov ebx, 0x10000
jmp 0x1002c468
push str.Unable_to_set_ciphers_to_passed_via_SSL_CONN_CONFIG
push dword [esp + 0x14]
call fcn.1001abc0
add esp, 8
mov eax, 0x3b
jmp 0x1002c9b5
push ebx
push str.LocalMachine
push esi
call fcn.1005c1c0
add esp, 0xc
test eax, eax
jne 0x1002c3c7
mov ebx, 0x20000
jmp 0x1002c468
push ebx
push str.CurrentService
push esi
call fcn.1005c1c0
add esp, 0xc
test eax, eax
jne 0x1002c3e4
mov ebx, 0x40000
jmp 0x1002c468
push ebx
push str.Services
push esi
call fcn.1005c1c0
add esp, 0xc
test eax, eax
jne 0x1002c3fe
mov ebx, 0x50000
jmp 0x1002c468
push ebx
push str.Users
push esi
call fcn.1005c1c0
add esp, 0xc
test eax, eax
jne 0x1002c418
mov ebx, 0x60000
jmp 0x1002c468
push ebx
push str.CurrentUserGroupPolicy
push esi
call fcn.1005c1c0
add esp, 0xc
test eax, eax
jne 0x1002c432
mov ebx, 0x70000
jmp 0x1002c468
push ebx
push str.LocalMachineGroupPolicy
push esi
call fcn.1005c1c0
add esp, 0xc
test eax, eax
jne 0x1002c44c
mov ebx, 0x80000
jmp 0x1002c468
push ebx
push str.LocalMachineEnterprise
push esi
call fcn.1005c1c0
add esp, 0xc
test eax, eax
jne 0x1002c5f4
mov ebx, 0x90000
mov eax, dword [esp + 0x14]
inc eax
push 0x5c
push eax
call fcn.10055760
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x1002c5f4
mov byte [eax], 0
mov eax, dword [esp + 0x14]
inc eax
push eax
call dword [0x1009600c]
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov byte [eax], 0x5c
test edx, edx
jne 0x1002c4b3
mov ebx, dword [esp + 0x10]
lea edi, [edx + 0x1b]
jmp 0x1002c5fd
inc eax
mov ecx, eax
mov dword [esp + 0x54], eax
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c4c1
sub ecx, dword [esp + 0x18]
cmp ecx, 0x28
jne 0x1002c5f4
push edx
mov eax, ebx
or eax, 0x4000
push eax
push 0
push 0
push 9
call fcn.1017ce07
sbb dword [ecx - 0x7ae7dbbc], ecx
sal byte [ebp + 0x2f], 0xe8
leave
stosd dword es:[edi], eax
pop ss
add byte [eax], bh
mov esi, dword [esp + 0x14]
push eax
push esi
push ebx
push str.schannel:_Failed_to_open_cert_store__x__s__last_error_is__x
push dword [esp + 0x20]
call fcn.1001abc0
push esi
call dword [0x10096004]
add esp, 0x18
mov eax, 0x3a
jmp 0x1002c9b5
push 0x18
push 1
call dword [0x10096010]
mov ecx, dword [ebp + 0x20c]
add esp, 8
mov dword [ecx], eax
mov eax, dword [ebp + 0x20c]
mov eax, dword [eax]
test eax, eax
jne 0x1002c613
push str.schannel:_unable_to_allocate_memory
push ebx
call fcn.1001abc0
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
je case.0x1002c6ac.2146893056
push eax
call fcn.10174ab7
sbb bh, byte [eax + 0x1b]
jmp 0x1002c9b5
mov ebx, dword [esp + 0x10]
mov edi, 0x3a
push esi
push str.schannel:_Failed_to_get_certificate_location_for__s
push ebx
call fcn.1001abc0
add esp, 0xc
mov eax, edi
jmp 0x1002c9b5
mov dword [eax + 0x10], 1
mov eax, dword [ebp + 0x20c]
mov ecx, dword [eax]
lea eax, [ecx + 8]
push eax
push ecx
push 0
push 0
lea eax, [esp + 0x70]
push eax
mov eax, dword [0x10097268]
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 0x1002c656
push ecx
call fcn.1014016e
mov dh, 0x85
div byte [esp + ebp*2 + 0x68]
add byte [eax], 0
add byte [ebp + 0x1502484], cl
add byte [eax], al
test esi, esi
je 0x1002c6c6
push 0x80
lea eax, [esp + 0x150]
push eax
push esi
call fcn.10040a10
push eax
push str.schannel:_AcquireCredentialsHandle_failed:__s
push ebx
call fcn.1001abc0
mov eax, dword [ebp + 0x20c]
push dword [eax]
call dword [0x10096004]
mov eax, dword [ebp + 0x20c]
add esi, 0x7ff6fd00
add esp, 0x1c
mov dword [eax], 0
cmp esi, 0xe
ja case.0x1002c6ac.2146893055
movzx eax, byte [esi + 0x1002ca0c]
jmp dword [eax*4 + 0x1002ca00]
push str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
push ebx
call fcn.1001abc0
add esp, 8
jmp case.0x1002c6ac.2146893055
mov esi, dword [esp + 0x24]
lea eax, [esp + 0xa4]
push eax
push esi
push 2
call fcn.10029a10
add esp, 0xc
test eax, eax
jne 0x1002c6f8
lea eax, [esp + 0xa8]
push eax
push esi
push 0x17
call fcn.10029a10
add esp, 0xc
test eax, eax
je 0x1002c706
push str.schannel:_using_IP_address__SNI_is_not_supported_by_OS._n
push ebx
call fcn.1001aca0
add esp, 8
mov eax, dword [ebp + 0x20c]
cmp byte [eax + 0x46], 0
je 0x1002c799
push str.http_1.1
push str.schannel:_ALPN__offering__s_n
push ebx
mov dword [esp + 0xdc], 2
mov byte [esp + 0xe2], 8
mov dword [esp + 0xe3], 0x70747468
mov dword [esp + 0xe7], 0x312e312f
call fcn.1001aca0
push 9
call fcn.1000abd0
mov word [esp + 0xe4], ax
add esp, 0x10
movzx eax, ax
add eax, 6
mov dword [esp + 0x30], 0x13
mov dword [esp + 0xcc], eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x20c]
mov dword [esp + 0x34], 0x12
jmp 0x1002c7b9
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 1
push 0x10
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], 1
push 1
mov dword [eax + 0x38], 0x811c
call dword [0x10096010]
mov ecx, dword [ebp + 0x20c]
add esp, 8
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0x20c]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x1002c844
push str.schannel:_unable_to_allocate_memory
push ebx
call fcn.1001abc0
add esp, 8
mov eax, 0x1b
jmp 0x1002c9b5
test esi, esi
je case.0x1002c6ac.2146893056
lea eax, [edx + 8]
push eax
lea eax, [ecx + 0x3c]
push eax
lea eax, [esp + 0xa0]
push eax
push edx
xor edx, edx
lea eax, [esp + 0x58]
cmp byte [ecx + 0x46], dl
push 0
cmove eax, edx
push eax
mov eax, dword [0x10097268]
push edx
push edx
push dword [ecx + 0x38]
mov eax, dword [eax + 0x18]
push esi
push edx
push dword [ecx]
call eax
mov esi, eax
cmp esi, 0x90312
je 0x1002c925
mov ecx, dword [ebp + 0x20c]
push dword [ecx + 4]
call dword [0x10096004]
mov ecx, dword [ebp + 0x20c]
lea eax, [esp + 0x150]
add esp, 4
mov dword [ecx + 4], 0
push 0x80
push eax
cmp esi, 0x80090300
je 0x1002c902
cmp esi, 0x80090322
je 0x1002c8df
push esi
call fcn.10040a10
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
push ebx
call fcn.1001abc0
add esp, 0x18
jmp case.0x1002c6ac.2146893055
push 0x80090322
call fcn.10040a10
push eax
push str.schannel:_SNI_or_certificate_check_failed:__s
push ebx
call fcn.1001abc0
add esp, 0x18
mov eax, 0x3c
jmp 0x1002c9b5
push 0x80090300
call fcn.10040a10
push eax
push str.schannel:_initial_InitializeSecurityContext_failed:__s
push ebx
call fcn.1001abc0
add esp, 0x18
mov eax, 0x1b
jmp 0x1002c9b5
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x40]
mov eax, dword [esp + 0x30]
push dword [esp + 0x4c]
push dword [edi + eax*4 + 0x1c0]
push edi
call fcn.1001b2b0
mov ecx, dword [0x10097268]
add esp, 0x14
mov esi, eax
push dword [esp + 0x44]
mov ecx, dword [ecx + 0x40]
call ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
test esi, esi
jne 0x1002c9a0
cmp ecx, eax
jne 0x1002c9a0
mov eax, dword [ebp + 0x20c]
mov dword [eax + 0x40], 0
mov eax, dword [ebp + 0x20c]
mov byte [eax + 0x44], 0
mov eax, dword [ebp + 0x20c]
mov byte [eax + 0x45], 0
mov eax, dword [ebp + 0x20c]
mov byte [eax + 0x34], 0
xor eax, eax
mov dword [ebp + 0x208], 1
jmp 0x1002c9b5
push ecx
push eax
push str.schannel:_failed_to_send_initial_handshake_data:_sent__zd_of__lu_bytes
push ebx
call fcn.1001abc0
add esp, 0x10
mov eax, 0x23
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005408c
add esp, 0x1c0
ret