Function at 0x1003ea00
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
sub esp, 0x228
mov eax, dword [0x1009de80]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push edi
mov edi, dword [esp + 0x238]
lea eax, [esp + 0x30]
push 0x38
push 0
push eax
mov dword [esp + 0x34], edi
call fcn.10051b60
xor ebx, ebx
mov byte [esp + 0x1b], 1
add esp, 0xc
mov dword [esp + 0x10], ebx
test edi, edi
je 0x1003ed80
mov eax, dword [edi + 4]
mov dword [esp + 0x20], eax
test eax, eax
je 0x1003ed80
mov ecx, dword [edi + 8]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x1003ed80
mov ebp, dword [eax + 0x28]
mov dword [esp + 0x24], ebp
test ebp, ebp
je 0x1003ed80
push esi
cmp dword [ebp + 0x348], ebx
je 0x1003eb9f
xor esi, esi
push dword [esi + 0x1009d5e8]
push dword [ebp + 0x348]
call fcn.10059eb2
add esp, 8
test eax, eax
jne 0x1003eaa0
or ebx, dword [esi + 0x1009d5ec]
add esi, 8
cmp esi, 0x20
jb 0x1003ea82
push 0xc8
lea eax, [esp + 0x70]
push 0
push eax
call fcn.10051b60
push 0x10080b8c
push dword [ebp + 0x348]
call fcn.1005e3a0
xor esi, esi
mov dword [esp + 0x34], eax
add esp, 0x14
mov dword [esp + 0x18], esi
test eax, eax
je 0x1003eb8b
lea ecx, [esp + 0x6c]
lea ebp, [esi + 4]
mov dword [esp + 0x1c], ecx
nop dword [eax]
xor esi, esi
mov edi, 0x1009d34c
cmp ebp, 0x32
jae 0x1003eb2d
mov ecx, dword [edi + 8]
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1003eb20
test dl, dl
je 0x1003eb1c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1003eb20
add ecx, 2
add eax, 2
test dl, dl
jne 0x1003eb00
xor eax, eax
jmp 0x1003eb25
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003eb40
mov eax, dword [esp + 0x20]
cmp dword [edi], ebx
jbe 0x1003eb40
inc esi
add edi, 0x20
cmp esi, 0x15
jb 0x1003eaf7
mov esi, dword [esp + 0x18]
jmp 0x1003eb68
mov eax, dword [esp + 0x1c]
add ebp, 4
shl esi, 5
add esi, 0x1009d358
movups xmm0, xmmword [esi]
mov esi, dword [esp + 0x18]
add esi, 4
movups xmmword [eax], xmm0
add eax, 0x10
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
push 0x10080b8c
push 0
call fcn.1005e3a0
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1003eaf0
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x4c], esi
test esi, esi
je 0x1003ec29
lea eax, [esp + 0x6c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x34], 4
mov dword [esp + 0x64], 0x1c
mov eax, dword [ebp + 0x37c]
test eax, eax
je 0x1003ec72
mov eax, dword [eax + 0x74]
test eax, eax
je 0x1003ec72
push str.TLSv1.0
push eax
call fcn.10052370
add esp, 8
test eax, eax
je 0x1003ebe2
or dword [esp + 0x54], 0x80
mov eax, dword [ebp + 0x37c]
push str.TLSv1.1
push dword [eax + 0x74]
call fcn.10052370
add esp, 8
test eax, eax
je 0x1003ec04
or dword [esp + 0x54], 0x200
mov eax, dword [ebp + 0x37c]
push str.TLSv1.2
push dword [eax + 0x74]
call fcn.10052370
add esp, 8
test eax, eax
mov eax, dword [esp + 0x54]
je 0x1003ec76
or eax, 0x800
jmp 0x1003ec76
test ebx, ebx
jne 0x1003eb9f
push 0x80090331
push dword [esp + 0x28]
call fcn.10045db0
add esp, 8
mov bl, byte [esp + 0x13]
mov ecx, dword [esp + 0x14]
pop esi
test ecx, ecx
je 0x1003ec58
push ecx
call fcn.10047080
add esp, 4
pop edi
pop ebp
mov al, bl
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.100503ce
add esp, 0x228
ret
mov eax, dword [esp + 0x54]
mov esi, dword [edi + 4]
test eax, eax
mov ecx, 0xa80
cmove eax, ecx
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 0x33c]
mov eax, dword [eax + 0x338]
test ecx, ecx
jne 0x1003eca2
test eax, eax
je 0x1003ecef
mov ecx, eax
jmp 0x1003eca8
test eax, eax
jne 0x1003eca8
mov eax, ecx
push 0x100
lea edx, [esp + 0x138]
push edx
push eax
push ecx
call fcn.10046d90
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1003ecef
lea eax, [esp + 0x134]
push eax
mov eax, dword [esi + 0x30]
push str.SSL_connection_error:__s
push dword [0x1009d94c]
push 0x7ea
push dword [esi + 0x28]
call eax
add esp, 0x14
jmp 0x1003ec42
cmp dword [esp + 0x14], 0
je 0x1003ed06
lea eax, [esp + 0x14]
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], eax
push 0
push dword [esp + 0x34]
lea eax, [esp + 0x3c]
push 0
push 0
push eax
push 0
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
push 0
call sub.Secur32.dll_AcquireCredentialsHandleA
test eax, eax
je 0x1003ed2f
push eax
jmp 0x1003ec36
push edi
call fcn.100456a0
add esp, 4
test eax, eax
jne 0x1003ec42
cmp dword [ebp + 0x340], eax
jne 0x1003ed5c
cmp dword [ebp + 0x344], eax
jne 0x1003ed5c
test dword [ebp + 0x2dc], 0x40000000
je 0x1003ed79
mov eax, dword [ebp + 0x2dc]
and eax, 0x40000000
push eax
push edi
call fcn.10045e50
add esp, 8
test al, al
je 0x1003ec42
xor bl, bl
jmp 0x1003ec46
mov ecx, dword [esp + 0x230]
mov al, 1
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.100503ce
add esp, 0x228
ret