Function at 0x1401f24a0
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x770
mov rax, qword [rsp + 0x780]
add rax, 0x78
mov qword [rsp + 0x3e0], rax
mov edx, 0x4200
mov rcx, qword [rsp + 0x3e0]
call fcn.1400c5110
mov rax, qword [rsp + 0x780]
add rax, 0x78
mov qword [rsp + 0x130], rax
mov edx, 0x4200
mov rcx, qword [rsp + 0x130]
call fcn.1400c50c0
lea rax, [rsp + 0x5d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x198
rep stosb byte [rdi], al
lea rdx, [rsp + 0x5d0]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1401f2557
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cdqe
mov rcx, qword [rsp + 0x780]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x780]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x780]
call fcn.1401f36d0
xor al, al
jmp 0x1401f36a3
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, qword [rsp + 0x780]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x780]
cmp qword [rax + 0x18], 0xffffffffffffffff
jne 0x1401f25bf
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cdqe
mov rcx, qword [rsp + 0x780]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x780]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x780]
call fcn.1401f36d0
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x1401f36a3
mov rax, qword [rsp + 0x780]
add rax, 0x60
mov rcx, rax
call fcn.14003b490
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x780]
add rax, 0x58
mov rcx, rax
call fcn.14003b490
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x780]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
call sub.WS2_32.dll_WSAConnectByNameW
test eax, eax
jne 0x1401f26a8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cdqe
mov rcx, qword [rsp + 0x780]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x780]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x780]
call fcn.1401f36d0
mov rax, qword [rsp + 0x780]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x1401f36a3
lea rax, [rsp + 0x440]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov dword [rsp + 0x440], 4
mov dword [rsp + 0x488], 0x400030
mov dword [rsp + 0x478], 0xc00
mov rax, qword [rsp + 0x780]
add rax, 0x20
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x440]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 2
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
xor ecx, ecx
call qword [sym.imp.Secur32.dll_AcquireCredentialsHandleW]
test eax, eax
je 0x1401f277e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cdqe
mov rcx, qword [rsp + 0x780]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x780]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x780]
call fcn.1401f36d0
mov rax, qword [rsp + 0x780]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x1401f36a3
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x3b8], 0
xor eax, eax
cmp eax, 1
je 0x1401f3637
mov dword [rsp + 0x110], 0
lea rax, [rsp + 0x114]
mov rdi, rax
xor eax, eax
mov ecx, 0x1c
rep stosb byte [rdi], al
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov dword [rsp + rax + 0x114], 2
mov rax, qword [rsp + 0x780]
add rax, 0x78
mov rcx, rax
call fcn.140028b50
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x118], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rcx, qword [rsp + 0x780]
mov ecx, dword [rcx + 0x68]
mov dword [rsp + rax + 0x110], ecx
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov dword [rsp + rax + 0x114], 0
mov dword [rsp + 0x100], 0
lea rax, [rsp + 0x104]
mov rdi, rax
xor eax, eax
mov ecx, reloc.SHLWAPI.dll_SHCreateMemStream
rep stosb byte [rdi], al
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov dword [rsp + rax + 0x104], 2
mov dword [rsp + 0x3c0], 0
mov dword [rsp + 0x3c4], 2
lea rax, [rsp + 0x110]
mov qword [rsp + 0x3c8], rax
mov dword [rsp + 0x3d0], 0
mov dword [rsp + 0x3d4], 1
lea rax, [rsp + 0x100]
mov qword [rsp + 0x3d8], rax
mov dword [rsp + 0x80], 0x819c
cmp qword [rsp + 0x78], 0
je 0x1401f28c4
mov qword [rsp + 0xc0], 0
jmp 0x1401f28d8
mov rax, qword [rsp + 0x780]
add rax, 0x30
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0x78], 0
je 0x1401f28f2
lea rax, [rsp + 0x3c0]
mov qword [rsp + 0xc8], rax
jmp 0x1401f28fe
mov qword [rsp + 0xc8], 0
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x84], eax
cmp qword [rsp + 0x78], 0
je 0x1401f2922
mov qword [rsp + 0xd0], 0
jmp 0x1401f293e
mov rax, qword [rsp + 0x780]
add rax, 0x58
mov rcx, rax
call fcn.14003b490
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x780]
add rax, 0x20
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x3d0]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], 0
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x84]
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x78]
mov rcx, rax
call qword [sym.imp.Secur32.dll_InitializeSecurityContextW]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x780]
add rax, 0x30
mov qword [rsp + 0x78], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
cmp dword [rsp + rax + 0x114], 5
jne 0x1401f2a97
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x110]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x780]
add rax, 0x78
mov rcx, rax
call fcn.140028b50
mov ecx, reloc.WS2_32.dll_recv
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x780]
mov ecx, dword [rsp + rcx + 0x110]
mov edx, dword [rdx + 0x68]
sub edx, ecx
mov ecx, edx
mov ecx, ecx
add rax, rcx
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x780]
add rax, 0x78
mov rcx, rax
call fcn.140028b50
mov qword [rsp + 0x160], rax
mov r8, qword [rsp + 0x150]
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x160]
call fcn.140293240
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 1
mov rcx, qword [rsp + 0x780]
mov eax, dword [rsp + rax + 0x110]
mov dword [rcx + 0x68], eax
jmp 0x1401f2aa6
mov rax, qword [rsp + 0x780]
mov dword [rax + 0x68], 0
cmp dword [rsp + 0x64], 0
jne 0x1401f2ab7
jmp 0x1401f3637
cmp dword [rsp + 0x64], 0x90320
jne 0x1401f2bc2
mov rax, qword [rsp + 0x780]
mov qword [rax + 8], 0x90320
lea rax, [rsp + 0x490]
mov qword [rsp + 0x168], rax
lea rdx, str.SEC_I_INCOMPLETE_CREDENTIALS
mov rcx, qword [rsp + 0x168]
call fcn.140014930
mov qword [rsp + 0x170], rax
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x90]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x418]
mov qword [rsp + 0x178], rax
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x178]
call fcn.1400133e0
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x198]
call fcn.1400aa010
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x780]
add rax, 0x10
mov rdx, qword [rsp + 0x190]
mov rcx, rax
call fcn.1400179c0
nop
lea rcx, [rsp + 0x198]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x90]
call fcn.1400165c0
nop
jmp 0x1401f3637
cmp dword [rsp + 0x64], 0x90312
jne 0x1401f2d68
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov rax, qword [rsp + rax + 0x108]
mov qword [rsp + 0x98], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x100]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1401f2c60
xor r9d, r9d
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x780]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
jg 0x1401f2c33
jmp 0x1401f2c60
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
jmp 0x1401f2bfd
cmp dword [rsp + 0x60], 0
je 0x1401f2d63
mov rax, qword [rsp + 0x780]
mov qword [rax + 8], 0xffffffffffffffff
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x1a0], rax
lea rdx, str.failed_to_fully_send_data_to_server
mov rcx, qword [rsp + 0x1a0]
call fcn.140014930
mov qword [rsp + 0x1a8], rax
mov rdx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0xa0]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x420]
mov qword [rsp + 0x1b0], rax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x1b0]
call fcn.1400133e0
mov qword [rsp + 0x1b8], rax
mov rdx, qword [rsp + 0x1b8]
lea rcx, [rsp + 0x1d0]
call fcn.1400aa010
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x780]
add rax, 0x10
mov rdx, qword [rsp + 0x1c8]
mov rcx, rax
call fcn.1400179c0
nop
lea rcx, [rsp + 0x1d0]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xa0]
call fcn.1400165c0
nop
jmp 0x1401f3637
jmp 0x1401f3341
cmp dword [rsp + 0x64], 0x80090318
je 0x1401f3341
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0x80090322
je 0x1401f2eaf
cmp dword [rsp + 0x68], 0x80090325
je 0x1401f2f99
cmp dword [rsp + 0x68], 0x80090326
je 0x1401f3083
cmp dword [rsp + 0x68], 0x80090328
je 0x1401f2dc5
cmp dword [rsp + 0x68], 0x80090331
je 0x1401f316d
jmp 0x1401f3257
mov rax, qword [rsp + 0x780]
mov qword [rax + 8], 0xffffffff80090328
lea rax, [rsp + 0x4d0]
mov qword [rsp + 0x1d8], rax
lea rdx, str.SEC_E_CERT_EXPIRED
mov rcx, qword [rsp + 0x1d8]
call fcn.140014930
mov qword [rsp + 0x1e0], rax
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0xd8]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x428]
mov qword [rsp + 0x1e8], rax
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x1e8]
call fcn.1400133e0
mov qword [rsp + 0x1f0], rax
mov rdx, qword [rsp + 0x1f0]
lea rcx, [rsp + 0x208]
call fcn.1400aa010
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x780]
add rax, 0x10
mov rdx, qword [rsp + 0x200]
mov rcx, rax
call fcn.1400179c0
nop
lea rcx, [rsp + 0x208]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xd8]
call fcn.1400165c0
nop
jmp 0x1401f333c
mov rax, qword [rsp + 0x780]
mov qword [rax + 8], 0xffffffff80090322
lea rax, [rsp + 0x4f0]
mov qword [rsp + 0x210], rax
lea rdx, str.SEC_E_WRONG_PRINCIPAL
mov rcx, qword [rsp + 0x210]
call fcn.140014930
mov qword [rsp + 0x218], rax
mov rdx, qword [rsp + 0x218]
lea rcx, [rsp + 0xe0]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x430]
mov qword [rsp + 0x220], rax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x220]
call fcn.1400133e0
mov qword [rsp + 0x228], rax
mov rdx, qword [rsp + 0x228]
lea rcx, [rsp + 0x240]
call fcn.1400aa010
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x780]
add rax, 0x10
mov rdx, qword [rsp + 0x238]
mov rcx, rax
call fcn.1400179c0
nop
lea rcx, [rsp + 0x240]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xe0]
call fcn.1400165c0
nop
jmp 0x1401f333c
mov rax, qword [rsp + 0x780]
mov qword [rax + 8], 0xffffffff80090325
lea rax, [rsp + 0x510]
mov qword [rsp + 0x248], rax
lea rdx, str.SEC_E_UNTRUSTED_ROOT
mov rcx, qword [rsp + 0x248]
call fcn.140014930
mov qword [rsp + 0x250], rax
mov rdx, qword [rsp + 0x250]
lea rcx, [rsp + 0xe8]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x3e8]
mov qword [rsp + 0x258], rax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x258]
call fcn.1400133e0
mov qword [rsp + 0x260], rax
mov rdx, qword [rsp + 0x260]
lea rcx, [rsp + 0x278]
call fcn.1400aa010
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x780]
add rax, 0x10
mov rdx, qword [rsp + 0x270]
mov rcx, rax
call fcn.1400179c0
nop
lea rcx, [rsp + 0x278]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xe8]
call fcn.1400165c0
nop
jmp 0x1401f333c
mov rax, qword [rsp + 0x780]
mov qword [rax + 8], 0xffffffff80090326
lea rax, [rsp + 0x530]
mov qword [rsp + 0x280], rax
lea rdx, str.SEC_E_ILLEGAL_MESSAGE
mov rcx, qword [rsp + 0x280]
call fcn.140014930
mov qword [rsp + 0x288], rax
mov rdx, qword [rsp + 0x288]
lea rcx, [rsp + 0xf0]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0x290], rax
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x290]
call fcn.1400133e0
mov qword [rsp + 0x298], rax
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0x2b0]
call fcn.1400aa010
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x780]
add rax, 0x10
mov rdx, qword [rsp + 0x2a8]
mov rcx, rax
call fcn.1400179c0
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xf0]
call fcn.1400165c0
nop
jmp 0x1401f333c
mov rax, qword [rsp + 0x780]
mov qword [rax + 8], 0xffffffff80090331
lea rax, [rsp + 0x550]
mov qword [rsp + 0x2b8], rax
lea rdx, str.SEC_E_ALGORITHM_MISMATCH
mov rcx, qword [rsp + 0x2b8]
call fcn.140014930
mov qword [rsp + 0x2c0], rax
mov rdx, qword [rsp + 0x2c0]
lea rcx, [rsp + 0xf8]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x3f8]
mov qword [rsp + 0x2c8], rax
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x2c8]
call fcn.1400133e0
mov qword [rsp + 0x2d0], rax
mov rdx, qword [rsp + 0x2d0]
lea rcx, [rsp + 0x2e8]
call fcn.1400aa010
mov qword [rsp + 0x2d8], rax
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x780]
add rax, 0x10
mov rdx, qword [rsp + 0x2e0]
mov rcx, rax
call fcn.1400179c0
nop
lea rcx, [rsp + 0x2e8]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xf8]
call fcn.1400165c0
nop
jmp 0x1401f333c
mov rax, qword [rsp + 0x780]
mov qword [rax + 8], 0xffffffffffffffff
lea rax, [rsp + 0x570]
mov qword [rsp + 0x2f0], rax
lea rdx, str.Unhandled_error
mov rcx, qword [rsp + 0x2f0]
call fcn.140014930
mov qword [rsp + 0x2f8], rax
mov rdx, qword [rsp + 0x2f8]
lea rcx, [rsp + 0xb8]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x400]
mov qword [rsp + 0x300], rax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x300]
call fcn.1400133e0
mov qword [rsp + 0x308], rax
mov rdx, qword [rsp + 0x308]
lea rcx, [rsp + 0x320]
call fcn.1400aa010
mov qword [rsp + 0x310], rax
mov rax, qword [rsp + 0x310]
mov qword [rsp + 0x318], rax
mov rax, qword [rsp + 0x780]
add rax, 0x10
mov rdx, qword [rsp + 0x318]
mov rcx, rax
call fcn.1400179c0
nop
lea rcx, [rsp + 0x320]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xb8]
call fcn.1400165c0
nop
jmp 0x1401f3637
mov rax, qword [rsp + 0x780]
mov eax, dword [rax + 0x68]
mov qword [rsp + 0x328], rax
mov rcx, qword [rsp + 0x780]
add rcx, 0x78
call fcn.1400c5370
mov rcx, qword [rsp + 0x328]
cmp rcx, rax
jne 0x1401f346e
mov rax, qword [rsp + 0x780]
mov qword [rax + 8], 0xffffffffffffffff
lea rax, [rsp + 0x590]
mov qword [rsp + 0x330], rax
lea rdx, str.Server_is_sending_too_much_data_instead_of_proper_handshake
mov rcx, qword [rsp + 0x330]
call fcn.140014930
mov qword [rsp + 0x338], rax
mov rdx, qword [rsp + 0x338]
lea rcx, [rsp + 0xa8]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x408]
mov qword [rsp + 0x340], rax
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x340]
call fcn.1400133e0
mov qword [rsp + 0x348], rax
mov rdx, qword [rsp + 0x348]
lea rcx, [rsp + 0x360]
call fcn.1400aa010
mov qword [rsp + 0x350], rax
mov rax, qword [rsp + 0x350]
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x780]
add rax, 0x10
mov rdx, qword [rsp + 0x358]
mov rcx, rax
call fcn.1400179c0
nop
lea rcx, [rsp + 0x360]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xa8]
call fcn.1400165c0
nop
jmp 0x1401f3637
mov rax, qword [rsp + 0x780]
add rax, 0x78
mov rcx, rax
call fcn.1400c5370
mov rcx, qword [rsp + 0x780]
mov ecx, dword [rcx + 0x68]
sub rax, rcx
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x780]
mov eax, dword [rax + 0x68]
mov qword [rsp + 0x368], rax
mov rcx, qword [rsp + 0x780]
add rcx, 0x78
call fcn.140028b50
mov rcx, qword [rsp + 0x368]
add rax, rcx
mov qword [rsp + 0x370], rax
mov rax, qword [rsp + 0x780]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x378], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x370]
mov rcx, qword [rsp + 0x378]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jne 0x1401f3518
jmp 0x1401f3637
cmp dword [rsp + 0x70], 0
jge 0x1401f3618
mov rax, qword [rsp + 0x780]
mov qword [rax + 8], 0xffffffffffffffff
lea rax, [rsp + 0x5b0]
mov qword [rsp + 0x380], rax
lea rdx, str.socket_error
mov rcx, qword [rsp + 0x380]
call fcn.140014930
mov qword [rsp + 0x388], rax
mov rdx, qword [rsp + 0x388]
lea rcx, [rsp + 0xb0]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x410]
mov qword [rsp + 0x390], rax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x390]
call fcn.1400133e0
mov qword [rsp + 0x398], rax
mov rdx, qword [rsp + 0x398]
lea rcx, [rsp + 0x3b0]
call fcn.1400aa010
mov qword [rsp + 0x3a0], rax
mov rax, qword [rsp + 0x3a0]
mov qword [rsp + 0x3a8], rax
mov rax, qword [rsp + 0x780]
add rax, 0x10
mov rdx, qword [rsp + 0x3a8]
mov rcx, rax
call fcn.1400179c0
nop
lea rcx, [rsp + 0x3b0]
call fcn.1400165c0
nop
lea rcx, [rsp + 0xb0]
call fcn.1400165c0
nop
jmp 0x1401f3637
mov rax, qword [rsp + 0x780]
mov eax, dword [rax + 0x68]
add eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x780]
mov dword [rcx + 0x68], eax
jmp 0x1401f2792
mov rax, qword [rsp + 0x780]
cmp qword [rax + 8], 0
je 0x1401f3682
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.Secur32.dll_DeleteSecurityContext]
mov rax, qword [rsp + 0x780]
add rax, 0x20
mov rcx, rax
call qword [sym.imp.Secur32.dll_FreeCredentialsHandle]
mov rax, qword [rsp + 0x780]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x1401f36a3
mov rax, qword [rsp + 0x780]
add rax, 0x40
mov r8, rax
mov edx, 4
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.Secur32.dll_QueryContextAttributesW]
mov al, 1
add rsp, 0x770
pop rdi
ret