Function at 0x6cb13610
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
xor edx, edx
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 2
mov dword [ebp - 0xbc], 0
mov dword [ebp + eax - 0x4c], edx
add eax, 4
cmp eax, 0x18
jb 0x6cb13641
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x48], 2
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 2
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xdc], 0
call sym._GetProcessHeap_0
mov dword [esp + 8], 0x800
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapAlloc_12
mov ecx, eax
mov dword [ebp - 0xe8], eax
sub esp, 0xc
xor eax, eax
test ecx, ecx
je 0x6cb13bc9
lea eax, [ebp - 0xdc]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
lea eax, [ebp - 0xb8]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0xcc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], 0
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x8013c
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._InitializeSecurityContextW_48
mov dword [ebp - 0xe4], 0x800
sub esp, 0x30
cmp dword [ebp + 0x18], 1
mov ebx, eax
sbb eax, eax
not eax
and eax, 0x40000000
mov dword [ebp - 0xf0], eax
lea eax, [edi + 0xa8]
mov dword [ebp - 0xec], eax
cmp ebx, 0x90312
je 0x6cb13777
cmp ebx, 0x80090318
jne 0x6cb13ed0
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x6cb137cd
test byte [0x6cb2c098], 8
jne 0x6cb13ce0
mov eax, dword [edi + 8]
mov edx, dword [ebp - 0xbc]
call sym._sock_send.constprop.1
cmp dword [ebp - 0xc4], eax
jne 0x6cb13ffe
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call sym._FreeContextBuffer_4
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc4], 0
sub esp, 4
mov edx, dword [ebp - 0x4c]
cmp ebx, 0x90312
je 0x6cb13ca0
lea eax, [edx + 0x400]
cmp dword [ebp - 0xe4], eax
jb 0x6cb13bd1
mov ecx, dword [ebp - 0xe4]
mov eax, dword [edi + 8]
mov dword [esp], 0
sub ecx, edx
add edx, dword [ebp - 0xe8]
call sym._sock_recv
mov ebx, eax
test eax, eax
jle 0x6cb13ee0
test byte [0x6cb2c098], 8
jne 0x6cb13c20
mov eax, dword [ebp - 0xe8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0xdc]
mov dword [esp + 0x28], eax
lea eax, [ebp - 0xb8]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0xac]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0xcc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x8013c
mov dword [esp], eax
add dword [ebp - 0x4c], ebx
call sym._InitializeSecurityContextW_48
sub esp, 0x30
mov ebx, eax
test byte [0x6cb2c098], 8
jne 0x6cb13c60
test ebx, ebx
jne 0x6cb13763
cmp dword [ebp - 0x3c], 5
je 0x6cb13d23
mov eax, dword [ebp - 0xec]
mov dword [esp + 4], 4
mov dword [esp + 8], eax
lea eax, [ebp - 0xcc]
mov dword [esp], eax
call sym._QueryContextAttributesW_12
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x6cb1404e
lea eax, [ebp - 0xd8]
mov dword [esp + 4], 0x53
mov dword [esp + 8], eax
lea eax, [ebp - 0xcc]
mov dword [esp], eax
call sym._QueryContextAttributesW_12
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x6cb14094
mov esi, dword [ebp - 0xd8]
mov eax, 0x31
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0x10
mov edx, dword [esi + 0x10]
mov word [ebp - 0x62], ax
lea eax, [ebp - 0x72]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x72], 0x2e332e31
mov dword [ebp - 0x6e], 0x2e312e36
mov dword [ebp - 0x6a], 0x2e352e35
mov dword [ebp - 0x66], 0x2e332e37
mov dword [ebp - 0xd0], eax
test byte [0x6cb2c098], 8
jne 0x6cb13dc0
lea eax, [ebp - 0xd0]
mov dword [esp + 0x18], 0
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0xd4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xf0]
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x94]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0
mov dword [ebp - 0x8c], 1
call sym._CertGetCertificateChain_32
sub esp, 0x20
test eax, eax
je 0x6cb13d70
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 4]
test eax, eax
je 0x6cb13a55
test al, 1
je 0x6cb13a40
test dword [ebp + 0x10], 0x2000
jne 0x6cb13a55
mov esi, 0x2f05
mov dword [esp], edx
call sym._CertFreeCertificateChain_4
sub esp, 4
test byte [0x6cb2c098], 8
jne 0x6cb13d82
mov eax, dword [ebp - 0xd8]
mov dword [esp], eax
call sym._CertFreeCertificateContext_4
push edx
test byte [0x6cb2c098], 4
je 0x6cb1410e
jmp 0x6cb140d6
test al, 0x20
je 0x6cb13e20
test dword [ebp + 0x10], 0x100
je 0x6cb13e71
lea esi, [ebp - 0x34]
mov dword [esp + 8], 0x24
mov dword [esp], esi
mov dword [esp + 4], edx
call sym._memmove
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], esi
xor esi, esi
mov dword [esp], 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x60]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xa0]
mov dword [esp + 8], eax
mov dword [ebp - 0x84], 0x10
mov dword [ebp - 0x80], 2
mov dword [ebp - 0xa0], 0xc
mov dword [ebp - 0x9c], 0
call sym._CertVerifyCertificateChainPolicy_16
sub esp, 0x10
test eax, eax
je 0x6cb13ae5
mov esi, dword [ebp - 0x5c]
test esi, esi
jne 0x6cb13e50
mov eax, dword [ebp - 0xd4]
mov dword [esp], eax
call sym._CertFreeCertificateChain_4
sub esp, 4
test byte [0x6cb2c098], 8
jne 0x6cb13d82
mov eax, dword [ebp - 0xd8]
mov dword [esp], eax
call sym._CertFreeCertificateContext_4
sub esp, 4
test esi, esi
jne 0x6cb13a2b
mov esi, dword [edi + 0xb0]
add esi, dword [edi + 0xa8]
add esi, dword [edi + 0xac]
call sym._GetProcessHeap_0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapAlloc_12
sub esp, 0xc
mov dword [edi + 0xbc], eax
test eax, eax
jne 0x6cb13763
call sym._GetLastError_0
mov dword [ebp - 0xe4], eax
mov esi, eax
call sym._GetProcessHeap_0
mov ecx, dword [ebp - 0xe8]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._HeapFree_12
mov ecx, dword [ebp - 0xe4]
sub esp, 0xc
test ecx, ecx
jne 0x6cb141ff
test byte [0x6cb2c098], 8
jne 0x6cb13e90
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xcc]
mov dword [edi + 0x90], 1
mov dword [edi + 0xa4], edx
mov dword [edi + 0xa0], eax
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [ebp - 0xe4], 0x400
mov esi, dword [ebp - 0xe4]
call sym._GetProcessHeap_0
mov ecx, dword [ebp - 0xe8]
mov dword [esp + 4], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], ecx
mov dword [esp], eax
call sym._HeapReAlloc_16
sub esp, 0x10
test eax, eax
je 0x6cb14044
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xe8], eax
jmp 0x6cb137ee
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.recv__lu_bytes_n
mov dword [esp + 0x10], 0x155
mov dword [esp + 0xc], str.netconn_secure_connect
mov dword [esp + 8], 0x6cb2d4dd
mov dword [esp + 4], 0x6cb2c098
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x6cb13822
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.InitializeSecurityContext_ret__08x_n
mov dword [esp + 0x10], 0x15b
mov dword [esp + 0xc], str.netconn_secure_connect
mov dword [esp + 8], 0x6cb2d4dd
mov dword [esp + 4], 0x6cb2c098
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x6cb138aa
mov eax, dword [ebp - 0x40]
mov dword [esp + 8], eax
sub edx, eax
mov eax, dword [ebp - 0xe8]
add edx, dword [ebp - 0x44]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._memmove
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x38], 0
jmp 0x6cb137dc
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], str.sending__u_bytes_n
mov dword [esp + 0x10], 0x126
mov dword [esp + 0xc], str.netconn_secure_connect
mov dword [esp + 8], 0x6cb2d4dd
mov dword [esp + 4], 0x6cb2c098
mov dword [esp], 3
call sym._ros_dbg_log
mov ecx, dword [ebp - 0xc4]
jmp 0x6cb1378e
test byte [0x6cb2c098], 1
je 0x6cb138bc
mov dword [esp + 0x14], str.SECBUFFER_EXTRA_not_supported_n
mov dword [esp + 0x10], 0x15f
mov dword [esp + 0xc], str.netconn_secure_connect
mov dword [esp + 8], 0x6cb2d4dd
mov dword [esp + 4], 0x6cb2c098
mov dword [esp], 0
call sym._ros_dbg_log
jmp 0x6cb138bc
test byte [0x6cb2c098], 8
je 0x6cb140b3
mov esi, 0x2f7d
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], str.returning__08x_n
mov dword [esp + 0x10], 0x96
mov dword [esp + 0xc], str.netconn_verify_cert
mov dword [esp + 8], 0x6cb2d4dd
mov dword [esp + 4], 0x6cb2c098
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x6cb13b03
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0xffffffff
mov dword [ebp - 0xf4], edx
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.verifying__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x46
mov dword [esp + 0xc], str.netconn_verify_cert
mov dword [esp + 8], 0x6cb2d4dd
mov dword [esp + 4], 0x6cb2c098
mov dword [esp], 3
call sym._ros_dbg_log
mov edx, dword [ebp - 0xf4]
jmp 0x6cb13982
test eax, 0x1000040
jne 0x6cb13e80
test al, 4
jne 0x6cb13ff4
test al, 0x10
je 0x6cb14180
test dword [ebp + 0x10], 0x200
jne 0x6cb13a55
mov esi, 0x2f93
jmp 0x6cb13a04
xor eax, eax
cmp esi, 0x800b010f
setne al
mov esi, eax
sub esi, 1
and esi, 0xffffff7d
add esi, 0x2f89
jmp 0x6cb13ae5
mov esi, 0x2f0d
jmp 0x6cb13a04
mov esi, 0x2f19
jmp 0x6cb13a04
mov dword [esp + 0x14], str.established_SSL_connection_n
mov dword [esp + 0x10], 0x188
mov dword [esp + 0xc], str.netconn_secure_connect
mov dword [esp + 8], 0x6cb2d4dd
mov dword [esp + 4], 0x6cb2c098
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x6cb13ba2
mov dword [ebp - 0xe4], ebx
xor esi, esi
jmp 0x6cb13b65
mov ebx, 0x2f7d
call sym._GetProcessHeap_0
mov ecx, dword [ebp - 0xe8]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._HeapFree_12
sub esp, 0xc
test byte [0x6cb2c098], 4
je 0x6cb13fb0
xor esi, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], str.Failed_to_initialize_security_context_failed:__08x_n
mov dword [esp + 0x10], 0x17f
mov dword [esp + 0xc], str.netconn_secure_connect
mov dword [esp + 8], 0x6cb2d4dd
mov dword [esp + 4], 0x6cb2c098
mov dword [esp], 2
call sym._ros_dbg_log
mov ebx, dword [edi + 0xbc]
call sym._GetProcessHeap_0
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov dword [esp], eax
call sym._HeapFree_12
lea eax, [ebp - 0xcc]
mov dword [edi + 0xbc], 0
sub esp, 0xc
mov dword [esp], eax
call sym._DeleteSecurityContext_4
sub esp, 4
test esi, esi
je 0x6cb141f5
mov dword [esp], esi
call sym._SetLastError_4
xor eax, eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [edi + 0xbc]
mov esi, 0x2f7d
call sym._GetProcessHeap_0
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov dword [esp], eax
call sym._HeapFree_12
lea eax, [ebp - 0xcc]
mov dword [edi + 0xbc], 0
sub esp, 0xc
mov dword [esp], eax
call sym._DeleteSecurityContext_4
sub esp, 4
jmp 0x6cb13f93
mov esi, 0x2f8a
jmp 0x6cb13a04
test byte [0x6cb2c098], 2
jne 0x6cb14193
call sym._GetProcessHeap_0
mov esi, dword [ebp - 0xe8]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], esi
call sym._HeapFree_12
sub esp, 0xc
test byte [0x6cb2c098], 4
je 0x6cb13fb0
mov esi, 0x2f7d
jmp 0x6cb13f16
mov ebx, 0x8007000e
jmp 0x6cb13ee5
test byte [0x6cb2c098], 4
je 0x6cb13ee5
mov dword [esp + 0x14], str.Could_not_get_sizes_n
mov dword [esp + 0x10], 0x163
mov dword [esp + 0xc], str.netconn_secure_connect
mov dword [esp + 8], 0x6cb2d4dd
mov dword [esp + 4], 0x6cb2c098
mov dword [esp], 2
call sym._ros_dbg_log
jmp 0x6cb13ee5
test byte [0x6cb2c098], 4
je 0x6cb13ee5
mov dword [esp + 0x14], str.Could_not_get_cert_n
mov dword [esp + 0x10], 0x170
jmp 0x6cb1406b
mov eax, dword [ebp - 0xd8]
mov dword [esp], eax
call sym._CertFreeCertificateContext_4
sub esp, 4
test byte [0x6cb2c098], 4
je 0x6cb141cc
mov esi, 0x2f7d
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], str.cert_verify_failed:__u_n
mov dword [esp + 0x10], 0x16c
mov dword [esp + 0xc], str.netconn_secure_connect
mov dword [esp + 8], 0x6cb2d4dd
mov dword [esp + 4], 0x6cb2c098
mov dword [esp], 2
call sym._ros_dbg_log
call sym._GetProcessHeap_0
mov ecx, dword [ebp - 0xe8]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._HeapFree_12
sub esp, 0xc
test byte [0x6cb2c098], 4
jne 0x6cb13f16
mov ebx, dword [edi + 0xbc]
call sym._GetProcessHeap_0
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov dword [esp], eax
call sym._HeapFree_12
lea eax, [ebp - 0xcc]
mov dword [edi + 0xbc], 0
sub esp, 0xc
mov dword [esp], eax
call sym._DeleteSecurityContext_4
push eax
jmp 0x6cb13f93
and eax, 0xffffffce
je 0x6cb13a55
mov esi, 0x2f89
jmp 0x6cb13a04
mov dword [esp + 0x14], str.send_failed_n
mov dword [esp + 0x10], 0x12a
mov dword [esp + 0xc], str.netconn_secure_connect
mov dword [esp + 8], 0x6cb2d4dd
mov dword [esp + 4], 0x6cb2c098
mov dword [esp], 1
call sym._ros_dbg_log
jmp 0x6cb1400b
call sym._GetProcessHeap_0
mov ebx, dword [ebp - 0xe8]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], ebx
xor ebx, ebx
call sym._HeapFree_12
sub esp, 0xc
jmp 0x6cb1402d
mov esi, 0x2f7d
jmp 0x6cb13f93
test byte [0x6cb2c098], 4
je 0x6cb13f4e
jmp 0x6cb13f16