Function at 0x6c1330f0
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions
Receive data
Receive data on socket
Resolve function by parsing pe exports
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
push edi
mov edi, 2
push esi
xor esi, esi
push ebx
mov ebx, edx
xor edx, edx
sub esp, 0x24c
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], 0
mov dword [esp + eax + 0xf8], edx
mov dword [esp + eax + 0xfc], 0
add eax, 8
cmp eax, 0x18
jb 0x6c13197b
xor eax, eax
mov edx, 1
mov dword [esp + 0xfc], 2
mov dword [esp + 0x80], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x88], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x84], edx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], eax
mov dword [esp + 0x58], 0
mov dword [esp], 0x6c145240
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ebp, dword [0x6c153028]
sub esp, 4
test ebp, ebp
je 0x6c132105
mov dword [esp], 0x6c145240
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test ebx, ebx
je 0x6c132bd2
mov edi, dword [0x6c153024]
test edi, edi
je 0x6c1321a3
mov dword [esp + 0x48], 0x6c15302c
mov ebp, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp], 0x800
call ebp
mov dword [esp + 0x40], eax
test eax, eax
je 0x6c13307c
lea eax, [esp + 0x58]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
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 [esp + 0x48]
mov dword [esp], eax
call fcn.6c143450
sub esp, 0x30
mov dword [esp + 0x3c], eax
test eax, eax
je 0x6c132aad
mov eax, dword [esp + 0x38]
cmp dword [eax + 8], 1
jne 0x6c132ad8
mov eax, dword [esp + 0x38]
mov dword [eax + 8], 1
mov eax, dword [esp + 0x3c]
cmp eax, 0x80090318
je 0x6c131af5
cmp eax, 0x90312
jne 0x6c133086
mov dword [esp + 0x44], 0x800
mov dword [esp + 0x4c], ebp
lea esi, [esi]
mov ebp, dword [esp + 0x70]
test ebp, ebp
je 0x6c131bb7
cmp dword [esp + 0x3c], 0x90312
je 0x6c131b3f
mov dword [esp + 8], 0x1db
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_wininet_netconnection.c
mov dword [esp], str.status__SEC_I_CONTINUE_NEEDED
call dword [sym.imp.ucrtbase.dll__assert]
mov ebp, dword [esp + 0x70]
test byte [0x6c145258], 8
jne 0x6c132340
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x78]
mov ebx, dword [sym.imp.ws2_32.dll_send]
mov esi, dword [eax]
jmp 0x6c131b71
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x6c132330
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebp
mov dword [esp + 4], edi
mov dword [esp], esi
call ebx
sub esp, 0x10
cmp eax, 0xffffffff
je 0x6c131b60
cmp dword [esp + 0x70], eax
jne 0x6c132da5
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.6c143440
sub esp, 4
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], 0
cmp dword [esp + 0x3c], 0x90312
je 0x6c132280
cmp dword [esp + 0xfc], 2
je 0x6c131bec
mov dword [esp + 8], 0x1f2
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_wininet_netconnection.c
mov dword [esp], str.in_bufs_0_.BufferType__SECBUFFER_TOKEN
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 0x104], 0
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0xf8]
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
lea eax, [ebx + 0x400]
cmp ecx, eax
jae 0x6c131c50
mov eax, dword [esp + 0x40]
add ecx, 0x400
mov dword [esp + 0x44], ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x6c1330c8
mov dword [esp + 0x100], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
lea edi, [eax + ebx]
mov eax, dword [esp + 0x38]
sub ebp, ebx
mov ebx, dword [sym.imp.ws2_32.dll_recv]
mov esi, dword [eax]
jmp 0x6c131c81
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x6c132240
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebp
mov dword [esp + 4], edi
mov dword [esp], esi
call ebx
sub esp, 0x10
cmp eax, 0xffffffff
je 0x6c131c70
mov edx, eax
movzx eax, byte [0x6c145258]
test edx, edx
jle 0x6c132247
test al, 8
jne 0x6c1322f8
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
add dword [esp + 0xf8], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x100], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x8013c
mov eax, dword [eax + 0x28]
mov eax, dword [eax]
mov dword [esp + 8], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.6c143450
sub esp, 0x30
mov dword [esp + 0x3c], eax
test byte [0x6c145258], 8
jne 0x6c1322c8
mov esi, dword [esp + 0x3c]
test esi, esi
jne 0x6c1321b0
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x4c]
cmp dword [eax + 0xc], 0xffffffff
je 0x6c131d7a
cmp dword [eax + 0x10], 0xffffffff
je 0x6c131d7a
add eax, 0xc
mov dword [esp], eax
call fcn.6c143430
sub esp, 4
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
cmp dword [esp + 0x108], 5
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edx
je 0x6c132378
mov eax, dword [esp + 0x38]
mov dword [esp + 4], 4
add eax, 0x14
mov dword [esp + 8], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.6c143458
sub esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x6c132e14
lea eax, [esp + 0x5c]
mov dword [esp + 4], 0x53
mov dword [esp + 8], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.6c143458
sub esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x6c132de0
mov esi, dword [esp + 0x5c]
mov ebx, 0x31
mov dword [esp + 0xc4], 0
lea eax, [esp + 0xd2]
mov dword [esp + 0xc0], 0x10
mov dword [esp + 0x64], eax
mov edi, dword [esi + 0x10]
mov word [esp + 0xe2], bx
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd2], 0x2e332e31
mov dword [esp + 0xd6], 0x2e312e36
mov dword [esp + 0xda], 0x2e352e35
mov dword [esp + 0xde], 0x2e332e37
test byte [0x6c145258], 8
jne 0x6c1323e8
mov dword [esp + 0xc8], 1
lea eax, [esp + 0x64]
mov dword [esp + 0x18], 0
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0
call dword [0x6c159478]
sub esp, 0x20
test eax, eax
je 0x6c1323b0
mov eax, dword [esp + 0x60]
mov esi, dword [eax + 4]
mov ebx, esi
and ebx, 0x10000
je 0x6c132540
test byte [0x6c145258], 4
jne 0x6c132a6f
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x44]
test ecx, ecx
je 0x6c1329cc
mov ecx, edx
or ecx, 0x800000
and edx, 0x80
mov dword [eax + 0x44], ecx
mov eax, dword [esp + 0x60]
jne 0x6c1329dc
mov ebx, 0x2f19
mov edx, ecx
mov esi, dword [eax]
lea ecx, [esp + 0x114]
mov edi, 2
mov dword [esp + 0x114], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x118], esi
mov esi, dword [eax + 8]
mov dword [esp + 0xb4], edi
mov dword [esp + 0x11c], esi
mov esi, dword [eax + 0xc]
mov dword [esp + 0x120], esi
mov esi, dword [eax + 0x10]
mov dword [esp + 0x124], esi
mov esi, dword [eax + 0x14]
mov dword [esp + 0x128], esi
mov esi, dword [eax + 0x18]
mov dword [esp + 0x12c], esi
mov esi, dword [eax + 0x1c]
mov dword [esp + 0x130], esi
mov eax, dword [eax + 0x20]
mov esi, 0x10
mov dword [esp + 0xb0], esi
mov dword [esp + 0x118], 0
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x28]
mov eax, dword [eax]
mov dword [esp + 0xb8], edx
xor edx, edx
mov dword [esp + 0xa4], edx
mov dword [esp + 4], ecx
mov dword [esp + 0xbc], eax
mov eax, 0xc
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xe4]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xa0]
mov dword [esp + 8], eax
mov dword [esp], 4
call dword [0x6c159480]
sub esp, 0x10
test eax, eax
je 0x6c132859
mov eax, dword [esp + 0xe8]
cmp eax, 0x800b010f
je 0x6c132c89
test eax, eax
jne 0x6c132910
test ebx, ebx
jne 0x6c13286a
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x60]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + 0xec]
test ecx, ecx
je 0x6c1329b1
mov dword [esp], edx
call dword [0x6c159470]
sub esp, 4
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call dword [0x6c159474]
sub esp, 4
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 0x1c]
add eax, dword [edi + 0x14]
add eax, dword [edi + 0x18]
mov dword [esp], eax
call ebp
mov dword [edi + 0x2c], eax
test eax, eax
je 0x6c1330d5
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
movzx eax, byte [0x6c145258]
test al, 8
jne 0x6c132cdc
mov ebx, dword [esp + 0x38]
or dword [ebx + 0x44], 1
mov dword [ebx + 4], 1
mov dword [esp], ebx
call fcn.6c1318d0
cmp eax, 0x7f
jle 0x6c132be9
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x3c], eax
or eax, 0x20000000
mov edx, dword [esp + 0x38]
mov dword [edx + 0x44], eax
mov edx, dword [edx + 0x48]
test edx, edx
jne 0x6c1320f6
xor ebx, ebx
add esp, 0x24c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x38]
mov edx, dword [edx + 0x28]
mov dword [edx + 0xe8], eax
jmp 0x6c1320e7
lea edi, [esp + 0x118]
xor eax, eax
mov ecx, 0xd
rep stosd dword es:[edi], eax
lea edi, [esp + 0x114]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x6c153034
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
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 [esp + 0x114], 4
call fcn.6c143420
sub esp, 0x24
mov esi, eax
test eax, eax
je 0x6c132d5b
mov dword [0x6c153028], 0
mov dword [esp], 0x6c145240
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test byte [0x6c145258], 4
jne 0x6c132d2e
mov ebx, 0x2f7d
jmp 0x6c1320e9
mov eax, dword [esp + 0x3c]
cmp eax, 0x90312
je 0x6c131b08
cmp eax, 0x80090318
je 0x6c131b08
mov eax, dword [esp + 0x40]
xor ebx, ebx
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
movzx edx, byte [0x6c145258]
and dl, 4
je 0x6c132217
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
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], 0x6c145258
mov dword [esp + 0x10], eax
mov dword [esp], 2
call fcn.6c130610
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 0x2c]
mov dword [esp], eax
call esi
mov dword [edi + 0x2c], 0
test ebx, ebx
je 0x6c1321a3
jmp 0x6c1320e9
movzx eax, byte [0x6c145258]
test al, 4
jne 0x6c132f18
mov eax, dword [esp + 0x40]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x2c]
mov dword [esp], eax
call ebx
mov dword [esi + 0x2c], 0
jmp 0x6c1321a3
mov ebx, dword [esp + 0x104]
mov eax, dword [esp + 0x44]
cmp ebx, eax
jae 0x6c132830
mov eax, dword [esp + 0xf8]
mov dword [esp + 8], ebx
sub eax, ebx
add eax, dword [esp + 0x100]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_memmove]
mov dword [esp + 0xf8], ebx
jmp 0x6c131bc5
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], 0x6c145258
mov dword [esp], 3
call fcn.6c130610
jmp 0x6c131d4c
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], 0x6c145258
mov dword [esp], 3
mov dword [esp + 0x3c], edx
call fcn.6c130610
mov edx, dword [esp + 0x3c]
jmp 0x6c131cb7
mov eax, 0xffffffff
jmp 0x6c131b8e
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], str.sending__lu_bytes_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c145258
mov dword [esp], 3
call fcn.6c130610
mov ebp, dword [esp + 0x70]
jmp 0x6c131b4c
test byte [0x6c145258], 1
je 0x6c131d9a
mov dword [esp + 0xc], str.SECBUFFER_EXTRA_not_supported_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c145258
mov dword [esp], 0
call fcn.6c130610
jmp 0x6c131d9a
test byte [0x6c145258], 8
jne 0x6c132a46
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call dword [0x6c159474]
sub esp, 4
test ebx, ebx
je 0x6c132074
jmp 0x6c1325d5
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
test ebx, ebx
je 0x6c132bdf
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x6c132a98
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x6c14deba
test edx, edx
jne 0x6c13250f
cmp word [ebx], 0
je 0x6c132ef3
lea esi, [esi]
nop
mov eax, edx
cmp word [ebx + eax*2 + 2], 0
lea edx, [edx + 1]
jne 0x6c132438
mov edx, 0x224c
mov dword [esp + 0x48], esi
mov word [esp + 0x114], dx
lea edx, [esp + 0x116]
mov dword [esp + 0x44], ebx
jmp 0x6c132498
cmp cx, 9
je 0x6c1329e9
cmp cx, 0xa
jne 0x6c132b35
mov ebx, 0x6e5c
add edx, 2
mov word [edx - 2], bx
sub eax, 1
jb 0x6c1324d6
lea ecx, [esp + 0x236]
cmp ecx, edx
jb 0x6c1324e2
add dword [esp + 0x44], 2
mov ecx, dword [esp + 0x44]
movzx ecx, word [ecx - 2]
cmp cx, 0xd
je 0x6c132a0d
jbe 0x6c132468
cmp cx, 0x22
je 0x6c1329fa
cmp cx, 0x5c
jne 0x6c132b86
mov esi, 0x5c5c
add edx, 2
mov word [edx - 2], si
sub eax, 1
jae 0x6c13248d
mov esi, dword [esp + 0x48]
mov byte [edx], 0x22
lea eax, [edx + 1]
jmp 0x6c1324fd
mov esi, dword [esp + 0x48]
mov byte [edx], 0x22
test eax, eax
je 0x6c1324dd
lea eax, [edx + 4]
mov ebx, 0x2e2e
mov byte [edx + 3], 0x2e
mov word [edx + 1], bx
mov byte [eax], 0
lea eax, [esp + 0x114]
mov dword [esp], eax
call fcn.6c143d90
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.verifying__s_n
mov dword [esp + 8], 0x6c14e324
mov dword [esp + 4], 0x6c145258
mov dword [esp], 3
call fcn.6c130610
jmp 0x6c131e77
mov edx, esi
and edx, 0xfffeffc6
je 0x6c132690
test byte [0x6c145258], 4
jne 0x6c132609
mov edx, dword [esp + 0x38]
mov edx, dword [edx + 0x48]
test edx, edx
jne 0x6c132b0d
mov ebx, 0x2f89
mov dword [esp], eax
mov esi, dword [0x6c159470]
call esi
sub esp, 4
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 0x28]
mov edx, dword [eax + 0xec]
test edx, edx
je 0x6c1325a3
mov dword [esp], edx
call esi
mov eax, dword [edi + 0x28]
sub esp, 4
mov dword [eax + 0xec], 0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x5c]
mov esi, dword [ecx + 0x48]
test esi, esi
je 0x6c1325c9
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 0x44]
mov dword [esp + 0x44], ecx
and ecx, 0x7800000
or dword [eax + 0xe8], ecx
mov dword [esp], edx
call dword [0x6c159474]
sub esp, 4
test byte [0x6c145258], 4
jne 0x6c132fec
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 0x2c]
mov dword [esp], eax
call esi
mov dword [edi + 0x2c], 0
jmp 0x6c1320e9
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.error_status__lx_n
mov dword [esp + 8], 0x6c14e324
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
mov eax, dword [esp + 0x38]
movzx ecx, byte [0x6c145258]
mov edi, dword [eax + 0x48]
and ecx, 4
test edi, edi
je 0x6c1329a7
mov edi, esi
and edi, 0x10039
cmp ebx, 1
sbb ebx, ebx
and ebx, 0x72
add ebx, 0x2f17
test cl, cl
je 0x6c132b23
mov dword [esp + 0xc], str.unknown_error_flags_n
mov esi, edi
mov dword [esp + 8], 0x6c14e324
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
nop
test esi, 1
je 0x6c1326fa
test byte [0x6c145258], 4
je 0x6c1326c5
mov dword [esp + 0xc], str.CERT_TRUST_IS_NOT_TIME_VALID_n
mov dword [esp + 8], 0x6c14e324
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x44]
test dh, 0x20
jne 0x6c1326f7
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x6c132c34
mov eax, dword [esp + 0x38]
cmp ebx, 1
sbb ebx, ebx
or edx, 0x4000000
and ebx, 0xffffffee
add ebx, 0x2f17
mov dword [eax + 0x44], edx
and esi, 0xfffffffe
test esi, 0x20
je 0x6c132788
test byte [0x6c145258], 4
jne 0x6c132c0b
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x44]
test dh, 1
jne 0x6c132785
mov eax, dword [eax + 0x48]
test eax, eax
jne 0x6c13276a
movzx ecx, byte [0x6c145258]
mov ebx, 0x2f0d
and ecx, 4
test cl, cl
je 0x6c132761
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.failed__lu_n
mov dword [esp + 8], 0x6c14e324
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
mov eax, dword [esp + 0x60]
jmp 0x6c13256f
mov eax, dword [esp + 0x38]
cmp ebx, 1
sbb ebx, ebx
or edx, 0x1000000
and ebx, 0xfffffff6
add ebx, 0x2f17
mov dword [eax + 0x44], edx
and esi, 0xffffffdf
test esi, 0x10000
je 0x6c1327d5
test byte [0x6c145258], 4
jne 0x6c132c60
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x44]
test dh, 1
jne 0x6c1327cf
mov eax, dword [eax + 0x48]
test eax, eax
je 0x6c132726
mov eax, dword [esp + 0x38]
cmp ebx, 1
sbb ebx, ebx
or edx, 0x1000000
and ebx, 0xfffffff6
add ebx, 0x2f17
mov dword [eax + 0x44], edx
and esi, 0xfffeffff
test esi, 8
je 0x6c13287c
test byte [0x6c145258], 4
jne 0x6c132cb3
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x44]
test dh, 1
jne 0x6c132879
mov eax, dword [eax + 0x48]
test eax, eax
je 0x6c132726
cmp ebx, 1
mov eax, dword [esp + 0x38]
sbb ebx, ebx
or edx, 0x1000000
and ebx, 0xfffffff6
add ebx, 0x2f17
and esi, 0x10
mov dword [eax + 0x44], edx
jne 0x6c132885
jmp 0x6c132a3d
mov dword [esp + 8], 0x1ec
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_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 [esp + 0x104]
jmp 0x6c132293
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
test ebx, ebx
je 0x6c13203f
movzx ecx, byte [0x6c145258]
and ecx, 4
jmp 0x6c132735
and esi, 0xfffffff7
and esi, 0x10
je 0x6c132a20
test byte [0x6c145258], 4
jne 0x6c132d05
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x44]
test dh, 2
jne 0x6c132a20
movzx ecx, byte [0x6c145258]
mov eax, dword [eax + 0x48]
and ecx, 4
test eax, eax
je 0x6c1329a7
cmp ebx, 1
mov eax, dword [esp + 0x60]
sbb ebx, ebx
and ebx, 0x72
add ebx, 0x2f17
test cl, cl
je 0x6c131f2e
mov dword [esp + 0xc], str.CERT_TRUST_IS_NOT_VALID_FOR_USAGE__unknown_error_flags_n
mov dword [esp + 8], 0x6c14e324
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x48]
test eax, eax
je 0x6c13286a
mov eax, dword [esp + 0x60]
mov edx, dword [edx + 0x44]
jmp 0x6c131f2e
movzx ecx, byte [0x6c145258]
and ecx, 4
je 0x6c132c48
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.policyStatus.dwError__lx_n
mov dword [esp + 8], 0x6c14e324
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
mov esi, dword [esp + 0x38]
movzx ecx, byte [0x6c145258]
mov eax, dword [esi + 0x48]
test eax, eax
je 0x6c132fdf
and ecx, 4
je 0x6c13299f
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xc], str.unknown_error_flags_for_policy_status__lx_n
mov dword [esp + 8], 0x6c14e324
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
mov dword [esp + 0x10], eax
call fcn.6c130610
movzx ecx, byte [0x6c145258]
mov eax, dword [esi + 0x48]
and ecx, 4
test eax, eax
jne 0x6c132e5c
mov ebx, 0x2f89
jmp 0x6c132735
mov dword [eax + 0xec], edx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call dword [0x6c159474]
sub esp, 4
jmp 0x6c132074
and edx, 0x80
je 0x6c1330b1
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 4]
mov ebx, 0x2f19
jmp 0x6c132542
mov ecx, 0x745c
add edx, 2
mov word [edx - 2], cx
jmp 0x6c132488
movzx ecx, word [0x6c14e412]
add edx, 2
mov word [edx - 2], cx
jmp 0x6c132488
movzx ecx, word [0x6c14e410]
add edx, 2
mov word [edx - 2], cx
jmp 0x6c132488
cmp ebx, 0x2f19
je 0x6c132b99
test ebx, ebx
jne 0x6c1328f5
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x44]
xor ebx, ebx
mov eax, dword [esp + 0x60]
jmp 0x6c131f2e
mov dword [esp + 0xc], str.failed_n
mov dword [esp + 8], 0x6c14e324
mov dword [esp + 4], 0x6c145258
mov dword [esp], 3
call fcn.6c130610
jmp 0x6c1323bd
mov dword [esp + 0xc], str.ERROR_INTERNET_SEC_CERT_REV_FAILED_n
mov dword [esp + 8], 0x6c14e324
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
jmp 0x6c131efa
mov dword [esp + 4], ebx
mov dword [esp], 0x6c14dd20
call fcn.6c130550
jmp 0x6c13250f
mov dword [esp + 8], 0x1d5
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_wininet_netconnection.c
mov dword [esp], str.status___SEC_E_OK
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [esp + 0x38]
cmp dword [eax + 8], 1
je 0x6c132091
lea eax, [esp + 0x114]
mov dword [esp + 4], 0x8004667e
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x114], 0
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_ioctlsocket]
sub esp, 0xc
jmp 0x6c131ad4
mov edi, esi
and edi, 0x10039
cmp ebx, 1
sbb ebx, ebx
and ebx, 0x72
add ebx, 0x2f17
mov eax, esi
mov esi, edi
and eax, 1
jne 0x6c1326c5
jmp 0x6c1326fa
mov esi, ecx
mov byte [edx], 0x5c
add edx, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + str.0123456789abcdefnetconn_verify_cert]
mov esi, ecx
shr si, 8
and esi, 0xf
mov byte [edx - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefnetconn_verify_cert]
mov esi, ecx
and ecx, 0xf
shr si, 4
movzx ecx, byte [ecx + str.0123456789abcdefnetconn_verify_cert]
and esi, 0xf
mov byte [edx - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefnetconn_verify_cert]
mov byte [edx - 1], cl
mov byte [edx - 2], bl
jmp 0x6c132488
lea esi, [ecx - 0x20]
cmp si, 0x5e
ja 0x6c132b35
mov byte [edx], cl
add edx, 1
jmp 0x6c132488
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x44]
test dl, 0x80
jne 0x6c132a3b
mov dword [esp + 8], 0x94
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_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 [esp + 0x38]
mov edx, dword [eax + 0x44]
jmp 0x6c132a3b
mov dword [esp + 0x48], 0x6c153034
jmp 0x6c131a30
mov eax, 0x6c14deb3
jmp 0x6c13250f
mov edx, dword [esp + 0x38]
mov edx, dword [edx + 0x44]
mov ecx, edx
or edx, 0x10000000
or ecx, 0x40000000
cmp eax, 0x38
mov eax, ecx
cmovl eax, edx
jmp 0x6c1320d9
mov dword [esp + 0xc], str.CERT_TRUST_IS_UNTRUSTED_ROOT_n
mov dword [esp + 8], 0x6c14e324
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
jmp 0x6c132713
movzx ecx, byte [0x6c145258]
mov ebx, 0x2f05
and ecx, 4
jmp 0x6c132735
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x48]
test eax, eax
jne 0x6c132e5c
mov eax, dword [esp + 0x60]
jmp 0x6c13256a
mov dword [esp + 0xc], str.CERT_TRUST_IS_PARTIAL_CHAIN_n
mov dword [esp + 8], 0x6c14e324
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
jmp 0x6c13279d
test byte [0x6c145258], 4
jne 0x6c132f89
mov eax, dword [esp + 0x38]
mov ebp, dword [eax + 0x48]
test ebp, ebp
jne 0x6c132f68
mov eax, dword [esp + 0x60]
mov ebx, 0x2f06
jmp 0x6c13256f
mov dword [esp + 0xc], str.CERT_TRUST_IS_NOT_SIGNATURE_VALID_n
mov dword [esp + 8], 0x6c14e324
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
jmp 0x6c1327ee
mov dword [esp + 0xc], str.established_SSL_connection_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c145258
mov dword [esp], 3
call fcn.6c130610
jmp 0x6c1320ad
mov dword [esp + 0xc], str.CERT_TRUST_IS_NOT_VALID_FOR_USAGE_n
mov dword [esp + 8], 0x6c14e324
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
jmp 0x6c132892
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Failed:__08lx_n
mov dword [esp + 8], str.ensure_cred_handle
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
jmp 0x6c1321a3
lea eax, [esp + 0xe4]
mov dword [esp + 4], 0x58
mov dword [esp + 8], eax
mov dword [esp], 0x6c153034
call fcn.6c143460
sub esp, 0xc
mov ecx, eax
mov eax, dword [esp + 0xe4]
mov edx, eax
and edx, 0x2a00
or edx, ecx
jne 0x6c132e6e
mov dword [0x6c153028], 1
jmp 0x6c131a02
movzx edi, byte [0x6c145258]
test edi, 2
jne 0x6c133028
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
mov dword [esp + 0x3c], 0x2f7d
xor ebx, ebx
and edi, 4
jne 0x6c1321e7
jmp 0x6c132dfc
test byte [0x6c145258], 4
jne 0x6c13306f
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call esi
mov dword [ebx + 0x2c], 0
jmp 0x6c1321a3
test byte [0x6c145258], 4
je 0x6c132ded
mov dword [esp + 0xc], str.Could_not_get_sizes_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
movzx edi, byte [0x6c145258]
jmp 0x6c132dcf
test ebx, ebx
je 0x6c1329a7
mov ebx, 0x2f17
jmp 0x6c132735
and ah, 0xd5
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x6c15302c
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
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 [esp + 0x134], eax
call fcn.6c143420
mov esi, eax
sub esp, 0x24
xor eax, eax
test esi, esi
mov dword [esp], 0x6c145240
sete al
mov dword [0x6c153024], eax
mov dword [0x6c153028], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test esi, esi
je 0x6c131a12
jmp 0x6c132196
mov ecx, 0x224c
mov byte [esp + 0x116], 0x22
mov word [esp + 0x114], cx
lea eax, [esp + 0x117]
jmp 0x6c1324fd
mov dword [esp + 0xc], str.recv_error_n
mov ebx, 0x2f7d
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
test byte [0x6c145258], 4
jne 0x6c1321e7
jmp 0x6c1325f1
mov eax, dword [esp + 0x38]
or dword [eax + 0x44], 0x2000000
test ebx, ebx
je 0x6c132ca5
mov eax, dword [esp + 0x60]
mov ebx, 0x2f17
jmp 0x6c13256f
mov dword [esp + 0xc], str.CERT_E_CN_NO_MATCH_n
mov dword [esp + 8], 0x6c14e324
mov dword [esp + 4], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
mov eax, dword [esp + 0x38]
movzx ecx, byte [0x6c145258]
mov edi, dword [eax + 0x48]
and ecx, 4
test edi, edi
je 0x6c132fd5
mov eax, dword [esp + 0x38]
or dword [eax + 0x44], 0x2000000
test ebx, ebx
jne 0x6c132e64
mov ebx, 0x2f06
jmp 0x6c132735
and ecx, 4
mov ebx, 0x2f89
jmp 0x6c132735
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], 0x6c145258
mov dword [esp], 2
call fcn.6c130610
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
jmp 0x6c132f50
mov dword [esp + 0xc], str.send_failed_n
mov dword [esp + 8], str.netcon_secure_connect_setup
mov dword [esp + 4], 0x6c145258
mov dword [esp], 1
call fcn.6c130610
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
movzx edi, byte [0x6c145258]
mov dword [esp + 0x3c], 0x2f7d
jmp 0x6c132dcf
mov dword [esp + 0xc], str.Could_not_get_cert_n
jmp 0x6c132e25
mov ebx, 0xe
jmp 0x6c1320e9
mov edi, dword [esp + 0x3c]
xor ebx, ebx
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
movzx eax, byte [0x6c145258]
mov edx, eax
test edi, edi
jne 0x6c1321e2
jmp 0x6c1320a5
movzx ecx, byte [0x6c145258]
mov ebx, 0x2f19
and ecx, 4
jmp 0x6c132735
mov dword [esp + 0x3c], 0x8007000e
jmp 0x6c1321ca
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov edi, ebx
jmp 0x6c13308c
push esi
push ebx
sub esp, 0x14
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x6c133140
mov eax, dword [ebx + 0x28]
cmp eax, esi
je 0x6c13311e
mov dword [esp], eax
call fcn.6c11d960
mov dword [esp], esi
call fcn.6c11d950
mov dword [ebx + 0x28], esi
xor edx, edx
mov eax, ebx
call 0x6c131950
test eax, eax
je 0x6c133132
cmp eax, 0x2f7d
je 0x6c133150
add esp, 0x14
pop ebx
pop esi
ret
test byte [0x6c145258], 2
jne 0x6c133190
mov eax, 0x2efd
jmp 0x6c133132
mov edx, dword [0x6c153024]
test edx, edx
je 0x6c133132
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.ws2_32.dll_closesocket]
mov eax, dword [ebx + 0x28]
mov ecx, 0x1f4
mov edx, ebx
sub esp, 4
call fcn.6c1306f0
test eax, eax
jne 0x6c133132
add esp, 0x14
mov eax, ebx
mov edx, 1
pop ebx
pop esi
jmp 0x6c131950
mov dword [esp + 0xc], str.already_connected_n
mov dword [esp + 8], str.NETCON_secure_connect
mov dword [esp + 4], 0x6c145258
mov dword [esp], 1
call fcn.6c130610
jmp 0x6c133149