Function at 0x6c13a770
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 0x6c13a7a6
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 0x6c13af69
mov dword [esp], 0x6c147318
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test ebx, ebx
je 0x6c13ba26
mov edx, dword [0x6c147310]
test edx, edx
je 0x6c13b004
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 0x6c13c01c
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 0x6c13ba3f
mov eax, dword [ebp - 0x200]
cmp dword [eax + 8], 1
jne 0x6c13b9a0
mov eax, dword [ebp - 0x204]
cmp eax, 0x80090318
jne 0x6c13bb21
mov dword [ebp - 0x20c], 0x800
lea esi, [esi]
nop
mov ebx, dword [ebp - 0x1d4]
test ebx, ebx
je 0x6c13a9f3
cmp dword [ebp - 0x204], 0x90312
je 0x6c13a96d
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 0x6c13b150
mov eax, dword [ebp - 0x200]
mov edi, dword [ebp - 0x1cc]
mov esi, dword [eax]
jmp 0x6c13a9a1
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x6c13b140
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 0x6c13a990
cmp dword [ebp - 0x1d4], eax
jne 0x6c13bd22
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 0x6c13b088
cmp dword [ebp - 0x158], 2
je 0x6c13aa29
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 0x6c13aa90
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 0x6c13bfd8
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 0x6c13aad1
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x6c13b040
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 0x6c13aac0
mov edx, eax
movzx eax, byte [0x6c1471b4]
test edx, edx
jle 0x6c13b047
test al, 8
jne 0x6c13b100
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 0x6c13b0d0
mov eax, dword [ebp - 0x204]
test eax, eax
jne 0x6c13b018
mov eax, dword [ebp - 0x200]
cmp dword [eax + 0xc], 0xffffffff
je 0x6c13abd8
cmp dword [eax + 0x10], 0xffffffff
je 0x6c13abd8
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 0x6c13b188
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 0x6c13bdf1
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 0x6c13be14
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 0x6c13b210
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 0x6c13b1c0
mov eax, dword [ebp - 0x1e4]
mov esi, dword [eax + 4]
mov ebx, esi
and ebx, 0x10000
je 0x6c13b368
test byte [0x6c1471b4], 4
jne 0x6c13b95d
mov ecx, dword [ebp - 0x200]
mov ebx, dword [ecx + 0x48]
mov eax, dword [ecx + 0x44]
test ebx, ebx
je 0x6c13b863
mov edx, eax
or edx, 0x800000
mov dword [ecx + 0x44], edx
test al, 0x80
jne 0x6c13b850
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 0x6c13b770
mov edx, dword [ebp - 0x16c]
cmp edx, 0x800b010f
je 0x6c13bb96
test edx, edx
jne 0x6c13b77e
test ebx, ebx
jne 0x6c13bf88
mov eax, dword [ebp - 0x200]
mov edx, dword [ebp - 0x1e4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0xec]
test ebx, ebx
je 0x6c13b833
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 0x6c13bfa0
mov eax, dword [ebp - 0x208]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
movzx edx, byte [0x6c1471b4]
and edx, 8
jne 0x6c13bc51
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 0x6c13bab0
or dword [esi + 0x44], 0x20000000
mov edx, dword [ebp - 0x200]
xor ebx, ebx
mov ecx, dword [edx + 0x48]
test ecx, ecx
je 0x6c13af5f
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 0x6c13bcda
mov dword [0x6c1472a8], 0
mov dword [esp], 0x6c147318
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test byte [0x6c1471b4], 4
jne 0x6c13bca3
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 0x6c13a930
cmp eax, 0x80090318
je 0x6c13a930
xor ebx, ebx
jmp 0x6c13b43d
movzx eax, byte [0x6c1471b4]
test al, 4
jne 0x6c13bf10
mov eax, dword [ebp - 0x208]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
test byte [0x6c1471b4], 4
jne 0x6c13c026
mov ebx, dword [ebp - 0x200]
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call esi
mov dword [ebx + 0x2c], 0
jmp 0x6c13b004
mov ebx, dword [ebp - 0x150]
cmp ebx, dword [ebp - 0x20c]
jae 0x6c13b748
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 0x6c13aa03
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 0x6c13abaa
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 0x6c13ab0d
mov eax, 0xffffffff
jmp 0x6c13a9c2
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 0x6c13a97a
test byte [0x6c1471b4], 1
je 0x6c13abfd
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 0x6c13abfd
test byte [0x6c1471b4], 8
jne 0x6c13b934
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 0x6c13aed8
test byte [0x6c1471b4], 4
jne 0x6c13b415
mov dword [ebp - 0x204], 0
jmp 0x6c13b43d
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
test ebx, ebx
je 0x6c13ba35
mov eax, ebx
shr eax, 0x10
je 0x6c13b986
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x6c14db3b
sub esp, 8
test eax, eax
jne 0x6c13b338
cmp word [ebx], 0
je 0x6c13bc07
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x6c13b260
mov eax, 0x224c
mov dword [ebp - 0x20c], edi
lea ecx, [ebp - 0x142]
mov word [ebp - 0x144], ax
mov dword [ebp - 0x1fc], ebx
jmp 0x6c13b2c0
cmp ax, 9
je 0x6c13b880
cmp ax, 0xa
jne 0x6c13b89e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x6c13b304
lea edx, [ebp - 0x22]
cmp ecx, edx
ja 0x6c13b304
mov edx, eax
add dword [ebp - 0x1fc], 2
mov eax, dword [ebp - 0x1fc]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x6c13b923
jbe 0x6c13b290
cmp ax, 0x22
je 0x6c13b8f0
cmp ax, 0x5c
jne 0x6c13b891
mov ebx, 0x5c5c
add ecx, 2
lea eax, [edx - 1]
mov word [ecx - 2], bx
test edx, edx
jg 0x6c13b2b7
mov byte [ecx], 0x22
mov edi, dword [ebp - 0x20c]
test eax, eax
jle 0x6c13bc20
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 0x6c13ace0
mov ecx, esi
and ecx, 0xfffeffc6
je 0x6c13b490
movzx edx, byte [0x6c1471b4]
and edx, 4
jne 0x6c13b4fa
mov ecx, dword [ebp - 0x200]
mov ecx, dword [ecx + 0x48]
test ecx, ecx
jne 0x6c13b53d
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 0x6c13b3d2
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 0x6c13b3f6
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 0x6c13bff1
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 0x6c13bd8f
jmp 0x6c13bd5d
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 0x6c13b586
test byte [0x6c1471b4], 4
je 0x6c13b4c9
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 0x6c13b583
mov edi, dword [ecx + 0x48]
test edi, edi
jne 0x6c13bb58
movzx edx, byte [0x6c1471b4]
mov ebx, 0x2f05
and edx, 4
jmp 0x6c13b5c3
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 0x6c13b829
mov edi, esi
and edi, 0x10039
cmp ebx, 1
sbb ebx, ebx
and ebx, 0x72
add ebx, 0x2f17
test dl, dl
jne 0x6c13b468
and esi, 1
mov esi, edi
je 0x6c13b586
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x44]
test ah, 0x20
jne 0x6c13b583
mov ebx, 0x2f17
mov edx, dword [ebp - 0x200]
or eax, 0x4000000
mov dword [edx + 0x44], eax
and esi, 0xfffffffe
test esi, 0x20
je 0x6c13b619
test byte [0x6c1471b4], 4
jne 0x6c13bad7
mov ecx, dword [ebp - 0x200]
mov eax, dword [ecx + 0x44]
test ah, 1
jne 0x6c13b616
mov ecx, dword [ecx + 0x48]
test ecx, ecx
jne 0x6c13b5fa
movzx edx, byte [0x6c1471b4]
mov ebx, 0x2f0d
and edx, 4
test dl, dl
je 0x6c13b5ef
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 0x6c13b39c
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 0x6c13b669
test byte [0x6c1471b4], 4
jne 0x6c13bbde
mov ecx, dword [ebp - 0x200]
mov eax, dword [ecx + 0x44]
test ah, 1
jne 0x6c13b663
mov edx, dword [ecx + 0x48]
test edx, edx
je 0x6c13b5b4
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 0x6c13b6b6
test byte [0x6c1471b4], 4
jne 0x6c13bc28
mov ecx, dword [ebp - 0x200]
mov eax, dword [ecx + 0x44]
test ah, 1
jne 0x6c13b6b3
mov edi, dword [ecx + 0x48]
test edi, edi
je 0x6c13b5b4
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 0x6c13b901
test byte [0x6c1471b4], 4
jne 0x6c13bc7a
mov ecx, dword [ebp - 0x200]
mov eax, dword [ecx + 0x44]
test ah, 2
jne 0x6c13b901
movzx edx, byte [0x6c1471b4]
mov ecx, dword [ecx + 0x48]
and edx, 4
test ecx, ecx
je 0x6c13b829
test ebx, ebx
je 0x6c13bdb6
mov ebx, 0x2f17
test dl, dl
je 0x6c13ad94
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 0x6c13bf88
mov eax, dword [eax + 0x44]
jmp 0x6c13ad94
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 0x6c13b09a
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
jmp 0x6c13ae8f
movzx eax, byte [0x6c1471b4]
test al, 4
je 0x6c13bb00
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 0x6c13bf39
movzx eax, byte [0x6c1471b4]
test al, 4
je 0x6c13b809
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 0x6c13b824
test edx, edx
mov edx, eax
mov ebx, 0x2f17
setne cl
and edx, 4
test cl, cl
jne 0x6c13b5c3
and eax, 4
mov edx, eax
mov ebx, 0x2f89
jmp 0x6c13b5c3
mov dword [eax + 0xec], edx
mov eax, dword [ebp - 0x1e8]
mov dword [esp], eax
call dword [0x6c161470]
sub esp, 4
jmp 0x6c13aed8
mov eax, dword [ebp - 0x1e4]
mov ebx, 0x2f19
mov ecx, dword [eax + 4]
jmp 0x6c13b36a
test al, 0x80
jne 0x6c13b850
movzx edx, byte [0x6c1471b4]
mov ebx, 0x2f19
and edx, 4
jmp 0x6c13b5c3
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6c13b2b0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x6c13ba00
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 0x6c13b2b0
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x6c13b2b0
cmp ebx, 0x2f19
je 0x6c13ba08
test ebx, ebx
jne 0x6c13b72c
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x44]
jmp 0x6c13ad94
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x6c13b2b0
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 0x6c13b1cd
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 0x6c13ad66
movzx ebx, bx
mov dword [esp], 0x6c14da90
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_5
mov edx, eax
jmp 0x6c13b338
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 0x6c13a91e
cmp eax, 0x80090318
je 0x6c13a91e
mov edi, dword [ebp - 0x204]
xor ebx, ebx
jmp 0x6c13bfab
mov byte [ecx], al
inc ecx
jmp 0x6c13b2b0
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x44]
mov ebx, eax
and ebx, 0x80
je 0x6c13bb6b
xor ebx, ebx
jmp 0x6c13ad94
mov dword [ebp - 0x210], 0x6c1472a0
jmp 0x6c13a857
mov edx, 0x6c14db34
jmp 0x6c13b338
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 0x6c13aefd
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 0x6c13b9f3
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 0x6c13af44
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 0x6c13b59f
mov edx, dword [ebp - 0x200]
mov edx, dword [edx + 0x48]
test edx, edx
jne 0x6c13b809
mov eax, dword [ebp - 0x1e4]
mov ebx, 0x2f89
jmp 0x6c13b39c
cmp eax, 0x90312
je 0x6c13a91e
mov eax, dword [ebp - 0x208]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
test byte [0x6c1471b4], 4
je 0x6c13b06d
xor ebx, ebx
jmp 0x6c13bd5d
cmp ebx, 1
sbb ebx, ebx
and ebx, 0xffffffee
add ebx, 0x2f17
jmp 0x6c13b575
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 0x6c13ad94
movzx eax, byte [0x6c1471b4]
test al, 4
jne 0x6c13bed8
mov edx, dword [ebp - 0x200]
and eax, 4
mov edi, dword [edx + 0x48]
test edi, edi
je 0x6c13bbd2
mov edx, dword [ebp - 0x200]
or dword [edx + 0x44], 0x2000000
test ebx, ebx
je 0x6c13bbd2
mov edx, eax
mov ebx, 0x2f17
jmp 0x6c13b5c3
mov edx, eax
mov ebx, 0x2f06
jmp 0x6c13b5c3
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 0x6c13b62e
mov edx, 0x224c
mov byte [ebp - 0x142], 0x22
lea ecx, [ebp - 0x142]
mov word [ebp - 0x144], dx
lea eax, [ecx + 1]
jmp 0x6c13b325
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 0x6c13b67e
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 0x6c13af1c
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 0x6c13b6cc
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 0x6c13be50
mov dword [0x6c1472a8], 1
jmp 0x6c13a827
movzx eax, byte [0x6c1471b4]
mov dword [ebp - 0x204], 0x2f7d
mov edi, eax
and edi, 4
test al, 2
jne 0x6c13bf48
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 0x6c13b06d
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 0x6c13b004
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, 0x2f89
test dl, dl
je 0x6c13ad94
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 0x6c13b72c
test byte [0x6c1471b4], 4
jne 0x6c13bf7b
mov eax, dword [ebp - 0x208]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
jmp 0x6c13b06d
test byte [0x6c1471b4], 4
je 0x6c13bdfe
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 0x6c13bd40
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 0x6c13a837
jmp 0x6c13aff7
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 0x6c13bba5
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 0x6c13b04f
movzx edx, byte [0x6c1471b4]
and edx, 4
jmp 0x6c13b829
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 0x6c13bd40
mov dword [esp + 0xc], str.Could_not_get_sizes_n
jmp 0x6c13be25
movzx edx, byte [0x6c1471b4]
and edx, 4
jmp 0x6c13b5c3
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 0x6c13af13
jmp 0x6c13b455
movzx edi, byte [0x6c1471b4]
mov dword [ebp - 0x204], 0x8007000e
and edi, 4
jmp 0x6c13bd40
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 0x6c13af5f
mov ebx, 0xe
jmp 0x6c13af5f
mov ebx, 0x2f7d
jmp 0x6c13bd5d