Function at 0x6c13a710
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, edx
xor edx, edx
sub esp, 0x23c
mov dword [ebp - 0x200], eax
xor eax, eax
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 2
mov dword [ebp - 0x1cc], 0
mov dword [ebp + eax - 0x15c], edx
add eax, 4
cmp eax, 0x18
jb 0x6c13a746
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x158], 2
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 1
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 2
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1ec], 0
mov dword [esp], 0x6c147318
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [0x6c1472a8]
sub esp, 4
test ecx, ecx
je 0x6c13af09
mov dword [esp], 0x6c147318
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test ebx, ebx
je 0x6c13b9c6
mov edx, dword [0x6c147310]
test edx, edx
je 0x6c13afa4
mov dword [ebp - 0x210], 0x6c147210
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp], 0x800
mov dword [ebp - 0x214], eax
call eax
mov dword [ebp - 0x208], eax
test eax, eax
je 0x6c13bfbc
lea eax, [ebp - 0x1ec]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
lea eax, [ebp - 0x1c8]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x1dc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x200]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x8013c
mov eax, dword [eax + 0x28]
mov eax, dword [eax]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x210]
mov dword [esp], eax
call sym._InitializeSecurityContextW_48
mov dword [ebp - 0x204], eax
sub esp, 0x30
test eax, eax
je 0x6c13b9df
mov eax, dword [ebp - 0x200]
cmp dword [eax + 8], 1
jne 0x6c13b940
mov eax, dword [ebp - 0x204]
cmp eax, 0x80090318
jne 0x6c13bac1
mov dword [ebp - 0x20c], 0x800
lea esi, [esi]
nop
mov ebx, dword [ebp - 0x1d4]
test ebx, ebx
je 0x6c13a993
cmp dword [ebp - 0x204], 0x90312
je 0x6c13a90d
mov dword [esp + 8], 0x1db
mov dword [esp + 4], str..._src_wine_dlls_wininet_netconnection.c
mov dword [esp], str.status__SEC_I_CONTINUE_NEEDED
call dword [sym.imp.ucrtbase.dll__assert]
mov ebx, dword [ebp - 0x1d4]
test byte [0x6c1471b4], 8
jne 0x6c13b0f0
mov eax, dword [ebp - 0x200]
mov edi, dword [ebp - 0x1cc]
mov esi, dword [eax]
jmp 0x6c13a941
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x6c13b0e0
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.ws2_32.dll_send]
sub esp, 0x10
cmp eax, 0xffffffff
je 0x6c13a930
cmp dword [ebp - 0x1d4], eax
jne 0x6c13bcc2
mov eax, dword [ebp - 0x1cc]
mov dword [esp], eax
call sym._FreeContextBuffer_4
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1d4], 0
sub esp, 4
cmp dword [ebp - 0x204], 0x90312
je 0x6c13b028
cmp dword [ebp - 0x158], 2
je 0x6c13a9c9
mov dword [esp + 8], 0x1f2
mov dword [esp + 4], str..._src_wine_dlls_wininet_netconnection.c
mov dword [esp], str.in_bufs_0_.BufferType__SECBUFFER_TOKEN
call dword [sym.imp.ucrtbase.dll__assert]
mov ebx, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x20c]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x148], 0
lea eax, [ebx + 0x400]
cmp eax, ecx
jbe 0x6c13aa30
mov eax, dword [ebp - 0x208]
add ecx, 0x400
mov dword [ebp - 0x20c], ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x6c13bf78
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
lea edi, [eax + ebx]
mov eax, dword [ebp - 0x20c]
sub eax, ebx
mov ebx, dword [sym.imp.ws2_32.dll_recv]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x200]
mov esi, dword [eax]
jmp 0x6c13aa71
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x6c13afe0
mov eax, dword [ebp - 0x1fc]
mov dword [esp + 0xc], 0
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], esi
call ebx
sub esp, 0x10
cmp eax, 0xffffffff
je 0x6c13aa60
mov edx, eax
movzx eax, byte [0x6c1471b4]
test edx, edx
jle 0x6c13afe7
test al, 8
jne 0x6c13b0a0
mov eax, dword [ebp - 0x208]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x1ec]
mov dword [esp + 0x28], eax
lea eax, [ebp - 0x1c8]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x1bc]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x200]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x8013c
mov eax, dword [eax + 0x28]
add dword [ebp - 0x15c], edx
mov eax, dword [eax]
mov dword [esp + 8], eax
lea eax, [ebp - 0x1dc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x210]
mov dword [esp], eax
call sym._InitializeSecurityContextW_48
mov dword [ebp - 0x204], eax
sub esp, 0x30
test byte [0x6c1471b4], 8
jne 0x6c13b070
mov eax, dword [ebp - 0x204]
test eax, eax
jne 0x6c13afb8
mov eax, dword [ebp - 0x200]
cmp dword [eax + 0xc], 0xffffffff
je 0x6c13ab78
cmp dword [eax + 0x10], 0xffffffff
je 0x6c13ab78
add eax, 0xc
mov dword [esp], eax
call sym._DeleteSecurityContext_4
sub esp, 4
mov ecx, dword [ebp - 0x200]
mov eax, dword [ebp - 0x1dc]
mov edx, dword [ebp - 0x1d8]
cmp dword [ebp - 0x14c], 5
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edx
je 0x6c13b128
mov eax, dword [ebp - 0x200]
mov dword [esp + 4], 4
add eax, 0x14
mov dword [esp + 8], eax
lea eax, [ebp - 0x1dc]
mov dword [esp], eax
call sym._QueryContextAttributesW_12
mov dword [ebp - 0x204], eax
sub esp, 0xc
test eax, eax
jne 0x6c13bd91
lea eax, [ebp - 0x1e8]
mov dword [esp + 4], 0x53
mov dword [esp + 8], eax
lea eax, [ebp - 0x1dc]
mov dword [esp], eax
call sym._QueryContextAttributesW_12
mov dword [ebp - 0x204], eax
sub esp, 0xc
test eax, eax
jne 0x6c13bdb4
mov edi, dword [ebp - 0x1e8]
mov eax, 0x31
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x1a4], 0x10
mov esi, dword [edi + 0x10]
mov word [ebp - 0x172], ax
lea eax, [ebp - 0x182]
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x182], 0x2e332e31
mov dword [ebp - 0x17e], 0x2e312e36
mov dword [ebp - 0x17a], 0x2e352e35
mov dword [ebp - 0x176], 0x2e332e37
mov dword [ebp - 0x1e0], eax
test byte [0x6c1471b4], 8
jne 0x6c13b1b0
lea eax, [ebp - 0x1e0]
mov dword [esp + 0x18], 0
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x1e4]
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x19c], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 0
call dword [0x6c161474]
sub esp, 0x20
test eax, eax
je 0x6c13b160
mov eax, dword [ebp - 0x1e4]
mov esi, dword [eax + 4]
mov ebx, esi
and ebx, 0x10000
je 0x6c13b308
test byte [0x6c1471b4], 4
jne 0x6c13b8fd
mov ecx, dword [ebp - 0x200]
mov ebx, dword [ecx + 0x48]
mov eax, dword [ecx + 0x44]
test ebx, ebx
je 0x6c13b803
mov edx, eax
or edx, 0x800000
mov dword [ecx + 0x44], edx
test al, 0x80
jne 0x6c13b7f0
mov ebx, 0x2f19
mov eax, edx
mov edx, dword [ebp - 0x1e4]
lea ecx, [ebp - 0x144]
mov esi, dword [edx]
mov dword [ebp - 0x194], 0x10
mov dword [ebp - 0x144], esi
mov esi, dword [edx + 4]
mov dword [ebp - 0x190], 2
mov dword [ebp - 0x140], esi
mov esi, dword [edx + 8]
mov dword [ebp - 0x13c], esi
mov esi, dword [edx + 0xc]
mov dword [ebp - 0x138], esi
mov esi, dword [edx + 0x10]
mov dword [ebp - 0x134], esi
mov esi, dword [edx + 0x14]
mov dword [ebp - 0x130], esi
mov esi, dword [edx + 0x18]
mov dword [ebp - 0x12c], esi
mov esi, dword [edx + 0x1c]
mov dword [ebp - 0x128], esi
mov edx, dword [edx + 0x20]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x124], edx
mov edx, dword [ebp - 0x200]
mov edx, dword [edx + 0x28]
mov edx, dword [edx]
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x194]
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x170]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x188], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x1b0], 0xc
mov dword [ebp - 0x1ac], 0
mov dword [esp + 4], ecx
mov dword [esp], 4
call dword [0x6c16147c]
sub esp, 0x10
test eax, eax
je 0x6c13b710
mov edx, dword [ebp - 0x16c]
cmp edx, 0x800b010f
je 0x6c13bb36
test edx, edx
jne 0x6c13b71e
test ebx, ebx
jne 0x6c13bf28
mov eax, dword [ebp - 0x200]
mov edx, dword [ebp - 0x1e4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0xec]
test ebx, ebx
je 0x6c13b7d3
mov dword [esp], edx
call dword [0x6c16146c]
mov eax, dword [ebp - 0x1e8]
sub esp, 4
mov dword [esp], eax
call dword [0x6c161470]
sub esp, 4
lea esi, [esi]
mov edi, dword [ebp - 0x200]
mov eax, dword [edi + 0x1c]
add eax, dword [edi + 0x14]
add eax, dword [edi + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x214]
call eax
mov dword [edi + 0x2c], eax
test eax, eax
je 0x6c13bf40
mov eax, dword [ebp - 0x208]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
movzx edx, byte [0x6c1471b4]
and edx, 8
jne 0x6c13bbf1
mov esi, dword [ebp - 0x200]
or dword [esi + 0x44], 1
mov eax, esi
mov dword [esi + 4], 1
call sym._NETCON_GetCipherStrength.part.0
cmp eax, 0x7f
jle 0x6c13ba50
or dword [esi + 0x44], 0x20000000
mov edx, dword [ebp - 0x200]
xor ebx, ebx
mov ecx, dword [edx + 0x48]
test ecx, ecx
je 0x6c13aeff
mov eax, dword [edx + 0x28]
mov edx, dword [edx + 0x44]
mov dword [eax + 0xe8], edx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
lea edi, [ebp - 0x140]
mov ecx, 0xd
rep stosd dword es:[edi], eax
lea esi, [ebp - 0x144]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x6c1472a0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], str.Microsoft_Unified_Security_Protocol_Provider
mov dword [esp], 0
mov dword [ebp - 0x144], 4
call sym._AcquireCredentialsHandleW_36
sub esp, 0x24
mov edi, eax
test eax, eax
je 0x6c13bc7a
mov dword [0x6c1472a8], 0
mov dword [esp], 0x6c147318
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test byte [0x6c1471b4], 4
jne 0x6c13bc43
lea esp, [ebp - 0xc]
mov ebx, 0x2f7d
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x204]
cmp eax, 0x90312
je 0x6c13a8d0
cmp eax, 0x80090318
je 0x6c13a8d0
xor ebx, ebx
jmp 0x6c13b3dd
movzx eax, byte [0x6c1471b4]
test al, 4
jne 0x6c13beb0
mov eax, dword [ebp - 0x208]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
test byte [0x6c1471b4], 4
jne 0x6c13bfc6
mov ebx, dword [ebp - 0x200]
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call esi
mov dword [ebx + 0x2c], 0
jmp 0x6c13afa4
mov ebx, dword [ebp - 0x150]
cmp ebx, dword [ebp - 0x20c]
jae 0x6c13b6e8
mov eax, dword [ebp - 0x15c]
mov dword [esp + 8], ebx
sub eax, ebx
add eax, dword [ebp - 0x154]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x208]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov dword [ebp - 0x15c], ebx
jmp 0x6c13a9a3
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.InitializeSecurityContext_ret__08lx_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x6c13ab4a
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.recv__Iu_bytes_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 3
mov dword [ebp - 0x1fc], edx
call sym._wine_dbg_log.constprop.0_6
mov edx, dword [ebp - 0x1fc]
jmp 0x6c13aaad
mov eax, 0xffffffff
jmp 0x6c13a962
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.sending__lu_bytes_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
mov ebx, dword [ebp - 0x1d4]
jmp 0x6c13a91a
test byte [0x6c1471b4], 1
je 0x6c13ab9d
mov dword [esp + 0xc], str.SECBUFFER_EXTRA_not_supported_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_6
jmp 0x6c13ab9d
test byte [0x6c1471b4], 8
jne 0x6c13b8d4
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0x1e8]
mov dword [esp], eax
call dword [0x6c161470]
sub esp, 4
test ebx, ebx
je 0x6c13ae78
test byte [0x6c1471b4], 4
jne 0x6c13b3b5
mov dword [ebp - 0x204], 0
jmp 0x6c13b3dd
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
test ebx, ebx
je 0x6c13b9d5
mov eax, ebx
shr eax, 0x10
je 0x6c13b926
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x6c14db37
sub esp, 8
test eax, eax
jne 0x6c13b2d8
cmp word [ebx], 0
je 0x6c13bba7
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x6c13b200
mov eax, 0x224c
mov dword [ebp - 0x20c], edi
lea ecx, [ebp - 0x142]
mov word [ebp - 0x144], ax
mov dword [ebp - 0x1fc], ebx
jmp 0x6c13b260
cmp ax, 9
je 0x6c13b820
cmp ax, 0xa
jne 0x6c13b83e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x6c13b2a4
lea edx, [ebp - 0x22]
cmp ecx, edx
ja 0x6c13b2a4
mov edx, eax
add dword [ebp - 0x1fc], 2
mov eax, dword [ebp - 0x1fc]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x6c13b8c3
jbe 0x6c13b230
cmp ax, 0x22
je 0x6c13b890
cmp ax, 0x5c
jne 0x6c13b831
mov ebx, 0x5c5c
add ecx, 2
lea eax, [edx - 1]
mov word [ecx - 2], bx
test edx, edx
jg 0x6c13b257
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x20c]
test eax, eax
jle 0x6c13bbc0
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x144]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.verifying__s_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x6c13ac80
mov ecx, esi
and ecx, 0xfffeffc6
je 0x6c13b430
movzx edx, byte [0x6c1471b4]
and edx, 4
jne 0x6c13b49a
mov ecx, dword [ebp - 0x200]
mov ecx, dword [ecx + 0x48]
test ecx, ecx
jne 0x6c13b4dd
mov ebx, 0x2f89
mov dword [esp], eax
mov esi, dword [0x6c16146c]
call esi
mov edi, dword [ebp - 0x200]
sub esp, 4
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0xec]
test eax, eax
je 0x6c13b372
mov dword [esp], eax
call esi
mov eax, dword [edi + 0x28]
sub esp, 4
mov dword [eax + 0xec], 0
mov eax, dword [ebp - 0x200]
mov esi, dword [eax + 0x48]
test esi, esi
je 0x6c13b396
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x1fc], eax
and eax, 0x7800000
or dword [edx + 0xe8], eax
mov eax, dword [ebp - 0x1e8]
mov dword [esp], eax
call dword [0x6c161470]
sub esp, 4
test byte [0x6c1471b4], 4
je 0x6c13bf91
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.cert_verify_failed:__lu_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov eax, dword [ebp - 0x208]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
movzx eax, byte [0x6c1471b4]
test al, 4
je 0x6c13bd2f
jmp 0x6c13bcfd
mov dword [esp + 0xc], str.unknown_error_flags_n
mov esi, edi
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
nop
test esi, 1
je 0x6c13b526
test byte [0x6c1471b4], 4
je 0x6c13b469
mov dword [esp + 0xc], str.CERT_TRUST_IS_NOT_TIME_VALID_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov ecx, dword [ebp - 0x200]
mov eax, dword [ecx + 0x44]
test ah, 0x20
jne 0x6c13b523
mov edi, dword [ecx + 0x48]
test edi, edi
jne 0x6c13baf8
movzx edx, byte [0x6c1471b4]
mov ebx, 0x2f05
and edx, 4
jmp 0x6c13b563
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.error_status__lx_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov eax, dword [ebp - 0x200]
movzx edx, byte [0x6c1471b4]
mov eax, dword [eax + 0x48]
and edx, 4
test eax, eax
je 0x6c13b7c9
mov edi, esi
and edi, 0x10039
cmp ebx, 1
sbb ebx, ebx
and ebx, 0x72
add ebx, 0x2f17
test dl, dl
jne 0x6c13b408
and esi, 1
mov esi, edi
je 0x6c13b526
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x44]
test ah, 0x20
jne 0x6c13b523
mov ebx, 0x2f17
mov edx, dword [ebp - 0x200]
or eax, 0x4000000
mov dword [edx + 0x44], eax
and esi, 0xfffffffe
test esi, 0x20
je 0x6c13b5b9
test byte [0x6c1471b4], 4
jne 0x6c13ba77
mov ecx, dword [ebp - 0x200]
mov eax, dword [ecx + 0x44]
test ah, 1
jne 0x6c13b5b6
mov ecx, dword [ecx + 0x48]
test ecx, ecx
jne 0x6c13b59a
movzx edx, byte [0x6c1471b4]
mov ebx, 0x2f0d
and edx, 4
test dl, dl
je 0x6c13b58f
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.failed__lu_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov eax, dword [ebp - 0x1e4]
jmp 0x6c13b33c
cmp ebx, 1
mov edx, dword [ebp - 0x200]
sbb ebx, ebx
or eax, 0x1000000
mov dword [edx + 0x44], eax
and ebx, 0xfffffff6
add ebx, 0x2f17
and esi, 0xffffffdf
test esi, 0x10000
je 0x6c13b609
test byte [0x6c1471b4], 4
jne 0x6c13bb7e
mov ecx, dword [ebp - 0x200]
mov eax, dword [ecx + 0x44]
test ah, 1
jne 0x6c13b603
mov edx, dword [ecx + 0x48]
test edx, edx
je 0x6c13b554
cmp ebx, 1
mov edx, dword [ebp - 0x200]
sbb ebx, ebx
or eax, 0x1000000
mov dword [edx + 0x44], eax
and ebx, 0xfffffff6
add ebx, 0x2f17
and esi, 0xfffeffff
test esi, 8
je 0x6c13b656
test byte [0x6c1471b4], 4
jne 0x6c13bbc8
mov ecx, dword [ebp - 0x200]
mov eax, dword [ecx + 0x44]
test ah, 1
jne 0x6c13b653
mov edi, dword [ecx + 0x48]
test edi, edi
je 0x6c13b554
cmp ebx, 1
mov edx, dword [ebp - 0x200]
sbb ebx, ebx
or eax, 0x1000000
mov dword [edx + 0x44], eax
and ebx, 0xfffffff6
add ebx, 0x2f17
and esi, 0xfffffff7
and esi, 0x10
je 0x6c13b8a1
test byte [0x6c1471b4], 4
jne 0x6c13bc1a
mov ecx, dword [ebp - 0x200]
mov eax, dword [ecx + 0x44]
test ah, 2
jne 0x6c13b8a1
movzx edx, byte [0x6c1471b4]
mov ecx, dword [ecx + 0x48]
and edx, 4
test ecx, ecx
je 0x6c13b7c9
test ebx, ebx
je 0x6c13bd56
mov ebx, 0x2f17
test dl, dl
je 0x6c13ad34
mov dword [esp + 0xc], str.CERT_TRUST_IS_NOT_VALID_FOR_USAGE__unknown_error_flags_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov eax, dword [ebp - 0x200]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x6c13bf28
mov eax, dword [eax + 0x44]
jmp 0x6c13ad34
mov dword [esp + 8], 0x1ec
mov dword [esp + 4], str..._src_wine_dlls_wininet_netconnection.c
mov dword [esp], str.in_bufs_1_.cbBuffer___read_buf_size
call dword [sym.imp.ucrtbase.dll__assert]
mov ebx, dword [ebp - 0x150]
jmp 0x6c13b03a
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
jmp 0x6c13ae2f
movzx eax, byte [0x6c1471b4]
test al, 4
je 0x6c13baa0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.policyStatus.dwError__lx_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov esi, dword [ebp - 0x200]
mov edx, dword [esi + 0x48]
test edx, edx
je 0x6c13bed9
movzx eax, byte [0x6c1471b4]
test al, 4
je 0x6c13b7a9
mov eax, dword [ebp - 0x16c]
mov dword [esp + 0xc], str.unknown_error_flags_for_policy_status__lx_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov edx, dword [esi + 0x48]
movzx eax, byte [0x6c1471b4]
test ebx, ebx
je 0x6c13b7c4
test edx, edx
mov edx, eax
mov ebx, 0x2f17
setne cl
and edx, 4
test cl, cl
jne 0x6c13b563
and eax, 4
mov edx, eax
mov ebx, 0x2f89
jmp 0x6c13b563
mov dword [eax + 0xec], edx
mov eax, dword [ebp - 0x1e8]
mov dword [esp], eax
call dword [0x6c161470]
sub esp, 4
jmp 0x6c13ae78
mov eax, dword [ebp - 0x1e4]
mov ebx, 0x2f19
mov ecx, dword [eax + 4]
jmp 0x6c13b30a
test al, 0x80
jne 0x6c13b7f0
movzx edx, byte [0x6c1471b4]
mov ebx, 0x2f19
and edx, 4
jmp 0x6c13b563
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6c13b250
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x6c13b9a0
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + 0x6c1521f0]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + 0x6c1521f0]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + 0x6c1521f0]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + 0x6c1521f0]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x6c13b250
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x6c13b250
cmp ebx, 0x2f19
je 0x6c13b9a8
test ebx, ebx
jne 0x6c13b6cc
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x44]
jmp 0x6c13ad34
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6c13b250
mov dword [esp + 0xc], str.failed_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x6c13b16d
mov dword [esp + 0xc], str.ERROR_INTERNET_SEC_CERT_REV_FAILED_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x6c13ad06
movzx ebx, bx
mov dword [esp], 0x6c14da8c
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_5
mov edx, eax
jmp 0x6c13b2d8
mov esi, dword [ebp - 0x200]
lea eax, [ebp - 0x144]
mov dword [esp + 4], 0x8004667e
mov dword [esp + 8], eax
mov dword [ebp - 0x144], 0
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_ioctlsocket]
mov eax, dword [ebp - 0x204]
mov dword [esi + 8], 1
sub esp, 0xc
cmp eax, 0x90312
je 0x6c13a8be
cmp eax, 0x80090318
je 0x6c13a8be
mov edi, dword [ebp - 0x204]
xor ebx, ebx
jmp 0x6c13bf4b
mov byte [ecx], al
inc ecx
jmp 0x6c13b250
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x44]
mov ebx, eax
and ebx, 0x80
je 0x6c13bb0b
xor ebx, ebx
jmp 0x6c13ad34
mov dword [ebp - 0x210], 0x6c1472a0
jmp 0x6c13a7f7
mov edx, 0x6c14db30
jmp 0x6c13b2d8
mov dword [esp + 8], 0x1d5
mov dword [esp + 4], str..._src_wine_dlls_wininet_netconnection.c
mov dword [esp], str.status___SEC_E_OK
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [ebp - 0x200]
cmp dword [eax + 8], 1
je 0x6c13ae9d
mov esi, dword [ebp - 0x200]
lea eax, [ebp - 0x144]
mov dword [esp + 4], 0x8004667e
mov dword [esp + 8], eax
mov dword [ebp - 0x144], 0
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_ioctlsocket]
mov dword [esi + 8], 1
sub esp, 0xc
jmp 0x6c13b993
mov esi, dword [ebp - 0x200]
mov edx, dword [esi + 0x44]
mov ecx, edx
or edx, 0x40000000
or ecx, 0x10000000
cmp eax, 0x37
mov eax, ecx
cmovg eax, edx
mov dword [esi + 0x44], eax
jmp 0x6c13aee4
mov dword [esp + 0xc], str.CERT_TRUST_IS_UNTRUSTED_ROOT_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x6c13b53f
mov edx, dword [ebp - 0x200]
mov edx, dword [edx + 0x48]
test edx, edx
jne 0x6c13b7a9
mov eax, dword [ebp - 0x1e4]
mov ebx, 0x2f89
jmp 0x6c13b33c
cmp eax, 0x90312
je 0x6c13a8be
mov eax, dword [ebp - 0x208]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
test byte [0x6c1471b4], 4
je 0x6c13b00d
xor ebx, ebx
jmp 0x6c13bcfd
cmp ebx, 1
sbb ebx, ebx
and ebx, 0xffffffee
add ebx, 0x2f17
jmp 0x6c13b515
mov dword [esp + 8], 0x94
mov dword [esp + 4], str..._src_wine_dlls_wininet_netconnection.c
mov dword [esp], str.conn__security_flags__SECURITY_FLAG_IGNORE_REVOCATION
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x44]
jmp 0x6c13ad34
movzx eax, byte [0x6c1471b4]
test al, 4
jne 0x6c13be78
mov edx, dword [ebp - 0x200]
and eax, 4
mov edi, dword [edx + 0x48]
test edi, edi
je 0x6c13bb72
mov edx, dword [ebp - 0x200]
or dword [edx + 0x44], 0x2000000
test ebx, ebx
je 0x6c13bb72
mov edx, eax
mov ebx, 0x2f17
jmp 0x6c13b563
mov edx, eax
mov ebx, 0x2f06
jmp 0x6c13b563
mov dword [esp + 0xc], str.CERT_TRUST_IS_PARTIAL_CHAIN_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x6c13b5ce
mov edx, 0x224c
mov byte [ebp - 0x142], 0x22
lea ecx, [ebp - 0x142]
mov word [ebp - 0x144], dx
lea eax, [ecx + 1]
jmp 0x6c13b2c5
mov dword [esp + 0xc], str.CERT_TRUST_IS_NOT_SIGNATURE_VALID_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x6c13b61e
mov dword [esp + 0xc], str.established_SSL_connection_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x6c13aebc
mov dword [esp + 0xc], str.CERT_TRUST_IS_NOT_VALID_FOR_USAGE_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x6c13b66c
mov dword [esp + 0x10], edi
mov ebx, 0x2f7d
mov dword [esp + 0xc], str.Failed:__08lx_n
mov dword [esp + 8], str.ensure_cred_handle
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x170]
mov dword [esp + 4], 0x58
mov dword [esp + 8], eax
mov dword [esp], 0x6c1472a0
call sym._QueryCredentialsAttributesA_12
mov edx, eax
mov eax, dword [ebp - 0x170]
sub esp, 0xc
mov ecx, eax
and ecx, 0x2a00
or ecx, edx
jne 0x6c13bdf0
mov dword [0x6c1472a8], 1
jmp 0x6c13a7c7
movzx eax, byte [0x6c1471b4]
mov dword [ebp - 0x204], 0x2f7d
mov edi, eax
and edi, 4
test al, 2
jne 0x6c13bee8
mov eax, dword [ebp - 0x208]
mov esi, dword [sym.imp.ucrtbase.dll_free]
xor ebx, ebx
mov dword [esp], eax
call esi
mov eax, edi
test al, al
je 0x6c13b00d
mov eax, dword [ebp - 0x204]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], str.Failed_to_establish_SSL_connection:__08lx___lu__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov edi, dword [ebp - 0x200]
mov eax, dword [edi + 0x2c]
mov dword [esp], eax
call esi
mov dword [edi + 0x2c], 0
test ebx, ebx
je 0x6c13afa4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, 0x2f89
test dl, dl
je 0x6c13ad34
mov dword [esp + 0xc], str.CERT_TRUST_IS_NOT_VALID_FOR_USAGE__unknown_error_flags_n
mov ebx, 0x2f89
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x6c13b6cc
test byte [0x6c1471b4], 4
jne 0x6c13bf1b
mov eax, dword [ebp - 0x208]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
jmp 0x6c13b00d
test byte [0x6c1471b4], 4
je 0x6c13bd9e
mov dword [esp + 0xc], str.Could_not_get_cert_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
movzx edi, byte [0x6c1471b4]
and edi, 4
jmp 0x6c13bce0
mov dword [esp + 0x20], 0
and ah, 0xd5
mov dword [esp + 0x1c], 0x6c147210
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], str.Microsoft_Unified_Security_Protocol_Provider
mov dword [esp], 0
mov dword [ebp - 0x124], eax
call sym._AcquireCredentialsHandleW_36
mov edi, eax
sub esp, 0x24
xor eax, eax
test edi, edi
mov dword [esp], 0x6c147318
sete al
mov dword [0x6c147310], eax
mov dword [0x6c1472a8], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test edi, edi
je 0x6c13a7d7
jmp 0x6c13af97
mov dword [esp + 0xc], str.CERT_E_CN_NO_MATCH_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
movzx eax, byte [0x6c1471b4]
jmp 0x6c13bb45
mov dword [esp + 0xc], str.recv_error_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x6c13afef
movzx edx, byte [0x6c1471b4]
and edx, 4
jmp 0x6c13b7c9
mov dword [esp + 0xc], str.send_failed_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c1471b4
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
movzx edi, byte [0x6c1471b4]
and edi, 4
jmp 0x6c13bce0
mov dword [esp + 0xc], str.Could_not_get_sizes_n
jmp 0x6c13bdc5
movzx edx, byte [0x6c1471b4]
and edx, 4
jmp 0x6c13b563
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov edi, ebx
mov eax, dword [ebp - 0x208]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
movzx eax, byte [0x6c1471b4]
mov edx, eax
test edi, edi
je 0x6c13aeb3
jmp 0x6c13b3f5
movzx edi, byte [0x6c1471b4]
mov dword [ebp - 0x204], 0x8007000e
and edi, 4
jmp 0x6c13bce0
mov eax, dword [ebp - 0x208]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
mov edi, dword [ebp - 0x200]
mov eax, dword [edi + 0x2c]
mov dword [esp], eax
call esi
mov dword [edi + 0x2c], 0
jmp 0x6c13aeff
mov ebx, 0xe
jmp 0x6c13aeff
mov ebx, 0x2f7d
jmp 0x6c13bcfd