Function at 0x1401f4600
Capabilities:
Encrypt data via sspi
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x188
cmp qword [rsp + 0x1a0], 0
je 0x1401f4ac8
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x48]
cmp qword [rsp + 0x1a0], rax
jae 0x1401f4649
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x50], rax
jmp 0x1401f4659
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x48]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x38]
call fcn.140015210
nop
mov edx, 0x4200
lea rcx, [rsp + 0x38]
call fcn.1400c50c0
mov edx, 0x4200
lea rcx, [rsp + 0x38]
call fcn.1400c5110
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov dword [rsp + rax + 0x6c], 7
lea rcx, [rsp + 0x38]
call fcn.140028b50
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x70], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x190]
mov ecx, dword [rcx + 0x40]
mov dword [rsp + rax + 0x68], ecx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov dword [rsp + rax + 0x6c], 1
lea rcx, [rsp + 0x38]
call fcn.140028b50
mov rcx, qword [rsp + 0x190]
mov ecx, dword [rcx + 0x40]
add rax, rcx
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 1
mov qword [rsp + rcx + 0x70], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov ecx, dword [rsp + 0x28]
mov dword [rsp + rax + 0x68], ecx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 2
mov dword [rsp + rax + 0x6c], 6
lea rcx, [rsp + 0x38]
call fcn.140028b50
mov rcx, qword [rsp + 0x190]
mov ecx, dword [rcx + 0x40]
add rax, rcx
movsxd rcx, dword [rsp + 0x28]
add rax, rcx
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 2
mov qword [rsp + rcx + 0x70], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 2
mov rcx, qword [rsp + 0x190]
mov ecx, dword [rcx + 0x44]
mov dword [rsp + rax + 0x68], ecx
movsxd rax, dword [rsp + 0x28]
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 1
mov r8, rax
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + rcx + 0x70]
call fcn.140293240
mov dword [rsp + 0x108], 0
mov dword [rsp + 0x10c], 3
lea rax, [rsp + 0x68]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x190]
add rax, 0x30
xor r9d, r9d
lea r8, [rsp + 0x108]
xor edx, edx
mov rcx, rax
call sub.Secur32.dll_EncryptMessage
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1401f48d5
mov rax, qword [rsp + 0x190]
mov qword [rax + 8], 0xffffffffffffffff
lea rax, [rsp + 0x138]
mov qword [rsp + 0x98], rax
lea rdx, str.this_should_not_happen__but_just_in_case_check_it
mov rcx, qword [rsp + 0x98]
call fcn.140014930
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x58]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x128]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xa8]
call fcn.1400133e0
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x120]
call fcn.1400aa010
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x190]
add rax, 0x10
mov rdx, qword [rsp + 0x118]
mov rcx, rax
call fcn.1400179c0
nop
lea rcx, [rsp + 0x120]
call fcn.1400165c0
nop
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x58]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x38]
call fcn.1400173b0
movzx eax, byte [rsp + 0x20]
jmp 0x1401f4aca
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 1
mov eax, dword [rsp + rax + 0x68]
add eax, dword [rsp + rcx + 0x68]
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 2
add eax, dword [rsp + rcx + 0x68]
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x24], eax
je 0x1401f4a82
lea rcx, [rsp + 0x38]
call fcn.140028b50
movsxd rcx, dword [rsp + 0x24]
add rax, rcx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jg 0x1401f4a6d
mov rax, qword [rsp + 0x190]
mov qword [rax + 8], 0xffffffffffffffff
lea rax, [rsp + 0x158]
mov qword [rsp + 0xd0], rax
lea rdx, str.error_sending_data_to_socket__or_server_disconnected
mov rcx, qword [rsp + 0xd0]
call fcn.140014930
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x60]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x130]
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0xe0]
call fcn.1400133e0
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x100]
call fcn.1400aa010
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x190]
add rax, 0x10
mov rdx, qword [rsp + 0xf8]
mov rcx, rax
call fcn.1400179c0
nop
lea rcx, [rsp + 0x100]
call fcn.1400165c0
nop
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x60]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x38]
call fcn.1400173b0
movzx eax, byte [rsp + 0x21]
jmp 0x1401f4aca
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x1401f4908
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x198]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x198], rax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x1a0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x38]
call fcn.1400173b0
nop
jmp 0x1401f4616
mov al, 1
add rsp, 0x188
ret