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

Disassembly:
mov eax, 0x42a8
call fcn.140002710
sub rsp, rax
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0x42a0], rax
mov dword [rsp + 0x58], r8d
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rcx
cmp dword [rsp + 0x58], 0
je 0x140001e0c
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
cmp eax, dword [rcx + 0x30]
jae 0x140001c08
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x30], eax
jmp 0x140001c14
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x48]
add eax, dword [rcx + 0x30]
mov rcx, qword [rsp + 0x48]
add eax, dword [rcx + 0x2c]
mov eax, eax
mov ecx, eax
mov al, 1
cmp rcx, 0x4200
mov byte [rsp + 0x2f], al
jbe 0x140001c6a
lea rcx, str.s__sizes.cbHeader__s__sizes.cbMaximumMessage__s__sizes.cbTrailer___sizeof_wbuffer_
lea rdx, str.main.c
mov r8d, 0x145
call fcn.140006474
xor eax, eax
mov byte [rsp + 0x2f], al
mov al, byte [rsp + 0x2f]
mov dword [rsp + 0x74], 7
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x84], 1
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x28]
add rax, rcx
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x94], 6
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x28]
add rax, rcx
movsxd rcx, dword [rsp + 0x44]
add rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x2c]
mov dword [rsp + 0x90], eax
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x50]
movsxd r8, dword [rsp + 0x44]
call fcn.14001a8e0
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x64], 3
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x48]
add rcx, 0x18
xor r9d, r9d
lea r8, [rsp + 0x60]
mov edx, r9d
call sub.Secur32.dll_EncryptMessage
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140001d63
mov dword [rsp + 0x5c], 0xffffffff
jmp 0x140001e14
mov eax, dword [rsp + 0x70]
add eax, dword [rsp + 0x80]
add eax, dword [rsp + 0x90]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
cmp eax, dword [rsp + 0x3c]
je 0x140001de7
mov r8d, dword [rsp + 0x3c]
sub r8d, dword [rsp + 0x38]
lea rdx, [rsp + 0xa0]
movsxd rax, dword [rsp + 0x38]
add rdx, rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jg 0x140001dd6
mov dword [rsp + 0x5c], 0xffffffff
jmp 0x140001e14
mov eax, dword [rsp + 0x34]
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x38], eax
jmp 0x140001d81
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rsp + 0x44]
add rax, rcx
mov qword [rsp + 0x50], rax
mov ecx, dword [rsp + 0x44]
mov eax, dword [rsp + 0x58]
sub eax, ecx
mov dword [rsp + 0x58], eax
jmp 0x140001bde
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x42a0]
xor rcx, rsp
call fcn.1400026e0
mov eax, dword [rsp + 0x28]
add rsp, 0x42a8
ret