Function at 0x10039f70
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, 0x220
mov dword [ebp - 0x1e8], eax
xor eax, eax
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 2
mov dword [ebp - 0x1c0], 0
mov dword [ebp + eax - 0x150], edx
add eax, 4
cmp eax, 0x18
jb 0x10039fa6
lea eax, [ebp - 0x1c8]
mov dword [ebp - 0x14c], 2
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x150]
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 1
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 2
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1e0], 0
mov dword [esp], 0x10047318
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [0x100472a8]
sub esp, 4
test ecx, ecx
je 0x1003a799
mov dword [esp], 0x10047318
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test ebx, ebx
je 0x1003b1bd
mov edx, dword [0x10047310]
test edx, edx
je 0x1003a834
mov dword [ebp - 0x1f8], 0x10047210
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp], 0x800
mov dword [ebp - 0x1fc], eax
call eax
mov dword [ebp - 0x1f0], eax
test eax, eax
je 0x1003b6e0
lea eax, [ebp - 0x1e0]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
lea eax, [ebp - 0x1bc]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x1d0]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x1e8]
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 - 0x1f8]
mov dword [esp], eax
call sym._InitializeSecurityContextW_48
mov dword [ebp - 0x1ec], eax
sub esp, 0x30
test eax, eax
je 0x1003b6a6
mov ecx, dword [ebp - 0x1e8]
cmp dword [ecx + 8], 1
je 0x1003a133
lea eax, [ebp - 0x138]
mov dword [esp + 4], 0x8004667e
mov dword [esp + 8], eax
mov eax, dword [ecx]
mov dword [ebp - 0x138], 0
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_ioctlsocket]
sub esp, 0xc
mov eax, dword [ebp - 0x1e8]
mov dword [eax + 8], 1
mov eax, dword [ebp - 0x1ec]
cmp eax, 0x90312
je 0x1003a158
cmp eax, 0x80090318
jne 0x1003a864
mov dword [ebp - 0x1f4], 0x800
lea esi, [esi]
mov ebx, dword [ebp - 0x1c8]
test ebx, ebx
je 0x1003a870
cmp dword [ebp - 0x1ec], 0x90312
jne 0x1003b6ea
test byte [0x100471b4], 8
jne 0x1003a980
mov eax, dword [ebp - 0x1e8]
mov edi, dword [ebp - 0x1c0]
mov esi, dword [eax]
jmp 0x1003a1b9
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1003a930
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 0x1003a1a8
cmp dword [ebp - 0x1c8], eax
jne 0x1003b3e6
mov eax, dword [ebp - 0x1c0]
mov dword [esp], eax
call sym._FreeContextBuffer_4
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1c8], 0
sub esp, 4
mov ebx, dword [ebp - 0x144]
cmp ebx, dword [ebp - 0x1f4]
jae 0x1003b66c
mov eax, dword [ebp - 0x150]
mov dword [esp + 8], ebx
sub eax, ebx
add eax, dword [ebp - 0x148]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1f0]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov dword [ebp - 0x150], ebx
cmp dword [ebp - 0x14c], 2
jne 0x1003b689
mov ebx, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x13c], 0
lea eax, [ebx + 0x400]
cmp eax, ecx
jbe 0x1003a2bc
mov eax, dword [ebp - 0x1f0]
add ecx, 0x400
mov dword [ebp - 0x1f4], ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x1003b658
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1f0]
lea edi, [eax + ebx]
mov eax, dword [ebp - 0x1f4]
sub eax, ebx
mov ebx, dword [sym.imp.ws2_32.dll_recv]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e8]
mov esi, dword [eax]
jmp 0x1003a2f9
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1003a888
mov eax, dword [ebp - 0x1e4]
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 0x1003a2e8
mov edx, eax
movzx eax, byte [0x100471b4]
test edx, edx
jle 0x1003a88f
test al, 8
jne 0x1003a8f0
mov eax, dword [ebp - 0x1f0]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x1e0]
mov dword [esp + 0x28], eax
lea eax, [ebp - 0x1bc]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x1b0]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x1e8]
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 - 0x150], edx
mov eax, dword [eax]
mov dword [esp + 8], eax
lea eax, [ebp - 0x1d0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1f8]
mov dword [esp], eax
call sym._InitializeSecurityContextW_48
mov dword [ebp - 0x1ec], eax
sub esp, 0x30
test byte [0x100471b4], 8
jne 0x1003a8c0
mov eax, dword [ebp - 0x1ec]
test eax, eax
jne 0x1003a848
mov eax, dword [ebp - 0x1e8]
cmp dword [eax + 0xc], 0xffffffff
je 0x1003a400
cmp dword [eax + 0x10], 0xffffffff
je 0x1003a400
add eax, 0xc
mov dword [esp], eax
call sym._DeleteSecurityContext_4
sub esp, 4
mov ecx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x1d0]
mov edx, dword [ebp - 0x1cc]
cmp dword [ebp - 0x140], 5
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edx
je 0x1003a940
mov eax, dword [ebp - 0x1e8]
mov dword [esp + 4], 4
add eax, 0x14
mov dword [esp + 8], eax
lea eax, [ebp - 0x1d0]
mov dword [esp], eax
call sym._QueryContextAttributesW_12
sub esp, 0xc
mov edi, eax
test eax, eax
jne 0x1003b4e9
lea eax, [ebp - 0x1dc]
mov dword [esp + 4], 0x53
mov dword [esp + 8], eax
lea eax, [ebp - 0x1d0]
mov dword [esp], eax
call sym._QueryContextAttributesW_12
sub esp, 0xc
mov edi, eax
test eax, eax
jne 0x1003b476
mov dword [ebp - 0x194], 0
mov esi, dword [ebp - 0x1dc]
mov dword [ebp - 0x198], 0x10
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x1ec], eax
mov eax, 0x31
mov word [ebp - 0x166], ax
lea eax, [ebp - 0x176]
mov dword [ebp - 0x176], 0x2e332e31
mov dword [ebp - 0x172], 0x2e312e36
mov dword [ebp - 0x16e], 0x2e352e35
mov dword [ebp - 0x16a], 0x2e332e37
mov dword [ebp - 0x1d4], eax
test byte [0x100471b4], 8
jne 0x1003aa48
lea eax, [ebp - 0x1d4]
mov dword [esp + 0x18], 0
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x1d8]
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x198]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x190], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0
call dword [0x1005f47c]
mov dword [ebp - 0x1ec], eax
sub esp, 0x20
test eax, eax
je 0x1003a9b8
mov eax, dword [ebp - 0x1d8]
mov ebx, dword [eax + 4]
mov esi, ebx
and esi, 0x10000
je 0x1003aba0
test byte [0x100471b4], 4
jne 0x1003b15a
mov ecx, dword [ebp - 0x1e8]
mov esi, dword [ecx + 0x48]
mov eax, dword [ecx + 0x44]
test esi, esi
je 0x1003b05b
mov edx, eax
or edx, 0x800000
mov dword [ecx + 0x44], edx
test al, 0x80
jne 0x1003b048
mov esi, 0x2f19
mov eax, edx
mov edx, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x138]
mov ebx, dword [edx]
mov dword [ebp - 0x188], 0x10
mov dword [ebp - 0x138], ebx
mov ebx, dword [edx + 4]
mov dword [ebp - 0x184], 2
mov dword [ebp - 0x134], ebx
mov ebx, dword [edx + 8]
mov dword [ebp - 0x130], ebx
mov ebx, dword [edx + 0xc]
mov dword [ebp - 0x12c], ebx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 0x128], ebx
mov ebx, dword [edx + 0x14]
mov dword [ebp - 0x124], ebx
mov ebx, dword [edx + 0x18]
mov dword [ebp - 0x120], ebx
mov ebx, dword [edx + 0x1c]
mov dword [ebp - 0x11c], ebx
mov edx, dword [edx + 0x20]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x118], edx
mov edx, dword [ebp - 0x1e8]
mov edx, dword [edx + 0x28]
mov edx, dword [edx]
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x188]
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x164]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x17c], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x1a4], 0xc
mov dword [ebp - 0x1a0], 0
mov dword [esp + 4], ecx
mov dword [esp], 4
call dword [0x1005f484]
sub esp, 0x10
test eax, eax
je 0x1003af68
mov edx, dword [ebp - 0x160]
cmp edx, 0x800b010f
je 0x1003b25a
test edx, edx
jne 0x1003af76
test esi, esi
jne 0x1003b737
mov eax, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x1d8]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + 0xec]
test ebx, ebx
je 0x1003b02b
mov dword [esp], edx
call dword [0x1005f474]
mov eax, dword [ebp - 0x1dc]
sub esp, 4
mov dword [esp], eax
call dword [0x1005f478]
sub esp, 4
lea esi, [esi]
mov esi, dword [ebp - 0x1e8]
mov eax, dword [esi + 0x1c]
add eax, dword [esi + 0x14]
add eax, dword [esi + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x1fc]
call eax
mov dword [esi + 0x2c], eax
test eax, eax
je 0x1003b707
mov eax, dword [ebp - 0x1f0]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
movzx edx, byte [0x100471b4]
and edx, 8
jne 0x1003b315
mov edi, dword [ebp - 0x1e8]
or dword [edi + 0x44], 1
mov eax, edi
mov dword [edi + 4], 1
call sym._NETCON_GetCipherStrength.part.0
cmp eax, 0x7f
jle 0x1003b1d6
or dword [edi + 0x44], 0x20000000
mov edx, dword [ebp - 0x1e8]
xor esi, esi
mov ecx, dword [edx + 0x48]
test ecx, ecx
je 0x1003a78f
mov eax, dword [edx + 0x28]
mov edx, dword [edx + 0x44]
mov dword [eax + 0xe8], edx
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
lea edi, [ebp - 0x134]
mov ecx, 0xd
rep stosd dword es:[edi], eax
lea esi, [ebp - 0x138]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x100472a0
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 - 0x138], 4
call sym._AcquireCredentialsHandleW_36
sub esp, 0x24
mov edi, eax
test eax, eax
je 0x1003b39e
mov dword [0x100472a8], 0
mov dword [esp], 0x10047318
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test byte [0x100471b4], 4
jne 0x1003b367
lea esp, [ebp - 0xc]
mov esi, 0x2f7d
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x1ec]
cmp eax, 0x90312
je 0x1003a168
cmp eax, 0x80090318
je 0x1003a168
xor esi, esi
jmp 0x1003a89c
cmp dword [ebp - 0x1ec], 0x90312
jne 0x1003a248
jmp 0x1003a20b
movzx eax, byte [0x100471b4]
test al, 4
jne 0x1003b5e0
mov esi, 0x2f7d
mov eax, dword [ebp - 0x1f0]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
mov edi, dword [ebp - 0x1ec]
movzx eax, byte [0x100471b4]
jmp 0x1003aa35
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], 0x100471b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x1003a3d2
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], 0x100471b4
mov dword [esp], 3
mov dword [ebp - 0x1e4], edx
call sym._wine_dbg_log.constprop.0_6
mov edx, dword [ebp - 0x1e4]
jmp 0x1003a335
mov eax, 0xffffffff
jmp 0x1003a1da
test byte [0x100471b4], 1
je 0x1003a425
mov dword [esp + 0xc], str.SECBUFFER_EXTRA_not_supported_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x100471b4
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_6
jmp 0x1003a425
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], 0x100471b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
mov ebx, dword [ebp - 0x1c8]
jmp 0x1003a193
test byte [0x100471b4], 8
jne 0x1003b131
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp - 0x1dc]
mov dword [esp], eax
call dword [0x1005f478]
sub esp, 4
test esi, esi
je 0x1003a708
test byte [0x100471b4], 4
je 0x1003a89c
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.cert_verify_failed:__lu_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov eax, dword [ebp - 0x1f0]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
movzx eax, byte [0x100471b4]
test al, 4
je 0x1003b44f
jmp 0x1003b423
mov eax, dword [ebp - 0x1e8]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
test ebx, ebx
je 0x1003b1cc
mov eax, ebx
shr eax, 0x10
je 0x1003b183
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x1004db57
sub esp, 8
test eax, eax
jne 0x1003ab70
cmp word [ebx], 0
je 0x1003b2cb
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x1003aa98
mov eax, 0x224c
mov dword [ebp - 0x1f4], esi
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], ax
mov dword [ebp - 0x1e4], ebx
jmp 0x1003aaf8
cmp ax, 9
je 0x1003b0b0
cmp ax, 0xa
jne 0x1003b0ce
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
test edx, edx
jle 0x1003ab3c
lea edx, [ebp - 0x16]
cmp ecx, edx
ja 0x1003ab3c
mov edx, eax
add dword [ebp - 0x1e4], 2
mov eax, dword [ebp - 0x1e4]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x1003b095
jbe 0x1003aac8
cmp ax, 0x22
je 0x1003b120
cmp ax, 0x5c
jne 0x1003b0c1
mov ebx, 0x5c5c
add ecx, 2
lea eax, [edx - 1]
mov word [ecx - 2], bx
test edx, edx
jg 0x1003aaef
mov byte [ecx], 0x22
mov esi, dword [ebp - 0x1f4]
test eax, eax
jle 0x1003b2e4
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
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], 0x100471b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x1003a506
mov ecx, ebx
and ecx, 0xfffeffc6
je 0x1003acb8
movzx edx, byte [0x100471b4]
and edx, 4
jne 0x1003ad1f
mov ecx, dword [ebp - 0x1e8]
mov ecx, dword [ecx + 0x48]
test ecx, ecx
jne 0x1003ad62
mov esi, 0x2f89
mov dword [esp], eax
mov ebx, dword [0x1005f474]
call ebx
mov eax, dword [ebp - 0x1e8]
sub esp, 4
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0xec]
test eax, eax
je 0x1003ac10
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x1e8]
sub esp, 4
mov eax, dword [eax + 0x28]
mov dword [eax + 0xec], 0
mov eax, dword [ebp - 0x1e8]
mov edx, dword [eax + 0x48]
test edx, edx
je 0x1003ac34
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x1e4], eax
and eax, 0x7800000
or dword [edx + 0xe8], eax
mov eax, dword [ebp - 0x1dc]
mov dword [esp], eax
call dword [0x1005f478]
sub esp, 4
test byte [0x100471b4], 4
jne 0x1003a9f5
mov eax, dword [ebp - 0x1f0]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
mov edi, dword [ebp - 0x1e8]
mov eax, dword [edi + 0x2c]
mov dword [esp], eax
call ebx
mov dword [edi + 0x2c], 0
jmp 0x1003a78f
mov dword [esp + 0xc], str.unknown_error_flags_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x100471b4
mov dword [esp], 2
mov dword [ebp - 0x1e4], ecx
call sym._wine_dbg_log.constprop.0_6
mov ecx, dword [ebp - 0x1e4]
mov ebx, ecx
lea esi, [esi]
test bl, 1
je 0x1003adab
test byte [0x100471b4], 4
je 0x1003acee
mov dword [esp + 0xc], str.CERT_TRUST_IS_NOT_TIME_VALID_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov ecx, dword [ebp - 0x1e8]
mov eax, dword [ecx + 0x44]
test ah, 0x20
jne 0x1003ada8
mov ecx, dword [ecx + 0x48]
test ecx, ecx
jne 0x1003b247
movzx edx, byte [0x100471b4]
mov esi, 0x2f05
and edx, 4
jmp 0x1003ade5
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], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov eax, dword [ebp - 0x1e8]
movzx edx, byte [0x100471b4]
mov eax, dword [eax + 0x48]
and edx, 4
test eax, eax
je 0x1003b021
mov ecx, ebx
and ecx, 0x10039
cmp esi, 1
sbb esi, esi
and esi, 0x72
add esi, 0x2f17
test dl, dl
jne 0x1003ac80
and ebx, 1
mov ebx, ecx
je 0x1003adab
mov eax, dword [ebp - 0x1e8]
mov eax, dword [eax + 0x44]
test ah, 0x20
jne 0x1003ada8
mov esi, 0x2f17
mov edx, dword [ebp - 0x1e8]
or eax, 0x4000000
mov dword [edx + 0x44], eax
and ebx, 0xfffffffe
test bl, 0x20
je 0x1003ae3b
test byte [0x100471b4], 4
jne 0x1003b1fd
mov ecx, dword [ebp - 0x1e8]
mov eax, dword [ecx + 0x44]
test ah, 1
jne 0x1003ae38
mov edx, dword [ecx + 0x48]
test edx, edx
jne 0x1003ae1c
movzx edx, byte [0x100471b4]
mov esi, 0x2f0d
and edx, 4
test dl, dl
je 0x1003ae11
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.failed__lu_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov eax, dword [ebp - 0x1d8]
jmp 0x1003abd4
cmp esi, 1
mov edx, dword [ebp - 0x1e8]
sbb esi, esi
or eax, 0x1000000
mov dword [edx + 0x44], eax
and esi, 0xfffffff6
add esi, 0x2f17
and ebx, 0xffffffdf
test ebx, 0x10000
je 0x1003ae8b
test byte [0x100471b4], 4
jne 0x1003b2a2
mov ecx, dword [ebp - 0x1e8]
mov eax, dword [ecx + 0x44]
test ah, 1
jne 0x1003ae85
mov ecx, dword [ecx + 0x48]
test ecx, ecx
je 0x1003add6
cmp esi, 1
mov edx, dword [ebp - 0x1e8]
sbb esi, esi
or eax, 0x1000000
mov dword [edx + 0x44], eax
and esi, 0xfffffff6
add esi, 0x2f17
and ebx, 0xfffeffff
test bl, 8
je 0x1003aed5
test byte [0x100471b4], 4
jne 0x1003b2ec
mov edx, dword [ebp - 0x1e8]
mov eax, dword [edx + 0x44]
test ah, 1
jne 0x1003aed2
mov edx, dword [edx + 0x48]
test edx, edx
je 0x1003add6
cmp esi, 1
mov edx, dword [ebp - 0x1e8]
sbb esi, esi
or eax, 0x1000000
mov dword [edx + 0x44], eax
and esi, 0xfffffff6
add esi, 0x2f17
and ebx, 0xfffffff7
and ebx, 0x10
je 0x1003b073
test byte [0x100471b4], 4
jne 0x1003b33e
mov ecx, dword [ebp - 0x1e8]
mov eax, dword [ecx + 0x44]
test ah, 2
jne 0x1003b073
movzx edx, byte [0x100471b4]
mov ecx, dword [ecx + 0x48]
and edx, 4
test ecx, ecx
je 0x1003b021
test esi, esi
je 0x1003b4ae
mov esi, 0x2f17
test dl, dl
je 0x1003a5c6
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], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov eax, dword [ebp - 0x1e8]
mov ebx, dword [eax + 0x48]
test ebx, ebx
je 0x1003b737
mov eax, dword [eax + 0x44]
jmp 0x1003a5c6
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
jmp 0x1003a6c1
movzx eax, byte [0x100471b4]
test al, 4
je 0x1003b226
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], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov ebx, dword [ebp - 0x1e8]
mov edx, dword [ebx + 0x48]
test edx, edx
je 0x1003b609
movzx eax, byte [0x100471b4]
test al, 4
je 0x1003b001
mov eax, dword [ebp - 0x160]
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], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov edx, dword [ebx + 0x48]
movzx eax, byte [0x100471b4]
test esi, esi
je 0x1003b01c
test edx, edx
mov edx, eax
mov esi, 0x2f17
setne cl
and edx, 4
test cl, cl
jne 0x1003ade5
and eax, 4
mov edx, eax
mov esi, 0x2f89
jmp 0x1003ade5
mov dword [eax + 0xec], edx
mov eax, dword [ebp - 0x1dc]
mov dword [esp], eax
call dword [0x1005f478]
sub esp, 4
jmp 0x1003a708
mov eax, dword [ebp - 0x1d8]
mov esi, 0x2f19
mov ecx, dword [eax + 4]
jmp 0x1003aba2
test al, 0x80
jne 0x1003b048
movzx edx, byte [0x100471b4]
mov esi, 0x2f19
and edx, 4
jmp 0x1003ade5
cmp esi, 0x2f19
je 0x1003b1a5
test esi, esi
jne 0x1003af4b
mov eax, dword [ebp - 0x1e8]
mov eax, dword [eax + 0x44]
jmp 0x1003a5c6
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1003aae8
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1003aae8
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x1003b19d
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + 0x10052230]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [esi + 0x10052230]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + 0x10052230]
and esi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [esi + 0x10052230]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x1003aae8
mov esi, 0x225c
add ecx, 2
mov word [ecx - 2], si
jmp 0x1003aae8
mov dword [esp + 0xc], str.failed_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x100471b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x1003a9c5
mov dword [esp + 0xc], str.ERROR_INTERNET_SEC_CERT_REV_FAILED_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x1003a598
movzx ebx, bx
mov dword [esp], 0x1004daac
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf.constprop.0_5
mov edx, eax
jmp 0x1003ab70
mov byte [ecx], al
inc ecx
jmp 0x1003aae8
mov eax, dword [ebp - 0x1e8]
mov eax, dword [eax + 0x44]
test al, 0x80
je 0x1003b6c3
xor esi, esi
jmp 0x1003a5c6
mov dword [ebp - 0x1f8], 0x100472a0
jmp 0x1003a057
mov edx, 0x1004db50
jmp 0x1003ab70
mov edi, dword [ebp - 0x1e8]
mov edx, dword [edi + 0x44]
mov ecx, edx
or edx, 0x40000000
or ecx, 0x10000000
cmp eax, 0x37
mov eax, ecx
cmovg eax, edx
mov dword [edi + 0x44], eax
jmp 0x1003a774
mov dword [esp + 0xc], str.CERT_TRUST_IS_UNTRUSTED_ROOT_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x1003adc1
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ecx + 0x48]
test edx, edx
jne 0x1003b001
mov eax, dword [ebp - 0x1d8]
mov esi, 0x2f89
jmp 0x1003abd4
cmp esi, 1
sbb esi, esi
and esi, 0xffffffee
add esi, 0x2f17
jmp 0x1003ad9a
movzx eax, byte [0x100471b4]
test al, 4
jne 0x1003b5b0
mov edx, dword [ebp - 0x1e8]
and eax, 4
mov ecx, dword [edx + 0x48]
test ecx, ecx
je 0x1003b296
mov edx, dword [ebp - 0x1e8]
or dword [edx + 0x44], 0x2000000
test esi, esi
je 0x1003b296
mov edx, eax
mov esi, 0x2f17
jmp 0x1003ade5
mov edx, eax
mov esi, 0x2f06
jmp 0x1003ade5
mov dword [esp + 0xc], str.CERT_TRUST_IS_PARTIAL_CHAIN_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x1003ae50
mov edx, 0x224c
mov byte [ebp - 0x136], 0x22
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], dx
lea eax, [ecx + 1]
jmp 0x1003ab5d
mov dword [esp + 0xc], str.CERT_TRUST_IS_NOT_SIGNATURE_VALID_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x1003ae9d
mov dword [esp + 0xc], str.established_SSL_connection_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x100471b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x1003a74c
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], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x1003aeeb
mov dword [esp + 0x10], edi
mov esi, 0x2f7d
mov dword [esp + 0xc], str.Failed:__08lx_n
mov dword [esp + 8], str.ensure_cred_handle
mov dword [esp + 4], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x164]
mov dword [esp + 4], 0x58
mov dword [esp + 8], eax
mov dword [esp], 0x100472a0
call sym._QueryCredentialsAttributesA_12
mov edx, eax
mov eax, dword [ebp - 0x164]
sub esp, 0xc
mov ecx, eax
and ecx, 0x2a00
or ecx, edx
jne 0x1003b525
mov dword [0x100472a8], 1
jmp 0x1003a027
movzx eax, byte [0x100471b4]
mov edi, 0x2f7d
mov edx, eax
and edx, 4
test al, 2
jne 0x1003b618
mov eax, dword [ebp - 0x1f0]
mov byte [ebp - 0x1e4], dl
xor esi, esi
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
movzx edx, byte [ebp - 0x1e4]
test dl, dl
je 0x1003b494
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Failed_to_establish_SSL_connection:__08lx___lu__n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
mov edi, dword [ebp - 0x1e8]
mov eax, dword [edi + 0x2c]
mov dword [esp], eax
call ebx
mov dword [edi + 0x2c], 0
test esi, esi
je 0x1003a834
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x100471b4], 4
jne 0x1003b64b
mov eax, dword [ebp - 0x1f0]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
mov edi, dword [ebp - 0x1e8]
mov eax, dword [edi + 0x2c]
mov dword [esp], eax
call ebx
mov dword [edi + 0x2c], 0
jmp 0x1003a834
mov esi, 0x2f89
test dl, dl
je 0x1003a5c6
mov dword [esp + 0xc], str.CERT_TRUST_IS_NOT_VALID_FOR_USAGE__unknown_error_flags_n
mov esi, 0x2f89
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x1003af4b
test byte [0x100471b4], 4
je 0x1003b483
mov dword [esp + 0xc], str.Could_not_get_sizes_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
movzx edx, byte [0x100471b4]
and edx, 4
jmp 0x1003b3ff
mov dword [esp + 0x20], 0
and ah, 0xd5
mov dword [esp + 0x1c], 0x10047210
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 - 0x118], eax
call sym._AcquireCredentialsHandleW_36
mov edi, eax
sub esp, 0x24
xor eax, eax
test edi, edi
mov dword [esp], 0x10047318
sete al
mov dword [0x10047310], eax
mov dword [0x100472a8], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test edi, edi
je 0x1003a037
jmp 0x1003a827
mov dword [esp + 0xc], str.CERT_E_CN_NO_MATCH_n
mov dword [esp + 8], str.netconn_verify_cert
mov dword [esp + 4], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
movzx eax, byte [0x100471b4]
jmp 0x1003b269
mov dword [esp + 0xc], str.recv_error_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x100471b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x1003a897
movzx edx, byte [0x100471b4]
and edx, 4
jmp 0x1003b021
mov dword [esp + 0xc], str.send_failed_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x100471b4
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
movzx edx, byte [0x100471b4]
and edx, 4
jmp 0x1003b3ff
mov dword [esp + 0xc], str.Could_not_get_cert_n
jmp 0x1003b4fa
movzx edx, byte [0x100471b4]
mov edi, 0x8007000e
and edx, 4
jmp 0x1003b3ff
mov dword [esp + 8], 0x1ea
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 dword [esp + 8], 0x1f0
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 dword [esp + 8], 0x1d3
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 dword [esp + 8], 0x92
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 esi, 0xe
jmp 0x1003a78f
mov dword [esp + 8], 0x1d9
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 eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp - 0x1f0]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
movzx eax, byte [0x100471b4]
mov edx, eax
test esi, esi
je 0x1003a743
jmp 0x1003aa35
movzx edx, byte [0x100471b4]
and edx, 4
jmp 0x1003ade5