Function at 0x14000cfcc
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov rbx, r8
mov rdi, rdx
mov ecx, 0x202
lea rdx, [rbp - 0x50]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
xor r12d, r12d
test eax, eax
je 0x14000d01e
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
jmp 0x14000d412
mov r15d, 6
mov r8d, r15d
lea r13d, [r15 - 5]
mov edx, r13d
lea esi, [r15 - 4]
mov ecx, esi
call qword [sym.imp.WSOCK32.dll_socket]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000d405
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
mov dword [rsp + 0x7c], esi
mov dword [rbp - 0x80], r13d
mov dword [rbp - 0x7c], r15d
mov rax, qword [0x14012fe50]
test rax, rax
jne 0x14000d07d
xor ecx, ecx
call fcn.1400085b4
mov qword [0x14012fe50], rax
lea r9, [rbp + 0x180]
lea r8, [rsp + 0x78]
mov rdx, rbx
mov rcx, rdi
call rax
mov ebx, eax
mov ecx, eax
call qword [sym.imp.WSOCK32.dll_WSASetLastError]
test ebx, ebx
jne 0x14000d3fc
jmp 0x14000d0d8
mov r9d, 0x10012
mov r8, qword [0x140132110]
lea rdx, str.Failed_to_connect_to_an_active_debugger_client.
mov rcx, qword [0x14012fec8]
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 3
je 0x14000d35e
cmp eax, 5
je 0x14000d36f
mov rdx, qword [rbp + 0x180]
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_connect]
test eax, eax
mov ebx, eax
jne 0x14000d0a5
mov rdi, qword [rbp + 0x180]
mov rax, qword [0x14012fe48]
test rax, rax
jne 0x14000d117
mov ecx, esi
call fcn.1400085b4
mov qword [0x14012fe48], rax
mov rcx, rdi
call rax
test ebx, ebx
jne 0x14000d3fc
mov qword [0x14012bcf0], r14
lea rsi, vtable.CKuStringT_wchar_t__class_CKuStringUtilW_.0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x40], r12b
lea rdx, str.DBGP_IDEKEY
lea rcx, [rsp + 0x30]
call fcn.14000eaf4
mov rdx, qword [rax + 8]
lea rbx, [0x140104c70]
mov rcx, rbx
test rdx, rdx
je 0x14000d16c
cmp qword [rdx], r12
cmovne rcx, qword [rdx]
mov qword [rsp + 0x50], r12
mov byte [rsp + 0x58], r12b
lea r15, vtable.CStringUTF8FromWChar.0
mov qword [rsp + 0x48], r15
or r8d, 0xffffffff
lea rdx, [rsp + 0x48]
call fcn.1400a1360
nop
mov qword [rsp + 0x30], rsi
mov r13d, 0x28
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x14000d1cf
mov edx, dword [rdi + 0x20]
sub edx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x20], edx
jne 0x14000d1cf
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000d1c4
call fcn.1400c83c0
mov rdx, r13
mov rcx, rdi
call fcn.1400c243c
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r12
mov byte [rsp + 0x70], r12b
lea rdx, str.DBGP_COOKIE
lea rcx, [rsp + 0x60]
call fcn.14000eaf4
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000d1ff
cmp qword [rcx], r12
cmovne rbx, qword [rcx]
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x40], r12b
mov qword [rsp + 0x30], r15
or r8d, 0xffffffff
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400a1360
nop
mov qword [rsp + 0x60], rsi
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14000d258
mov edx, dword [rbx + 0x20]
sub edx, 1
mov rax, qword [rsp + 0x68]
mov dword [rax + 0x20], edx
jne 0x14000d258
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d24d
call fcn.1400c83c0
mov rdx, r13
mov rcx, rbx
call fcn.1400c243c
mov qword [0x14012bd40], r12
mov dword [0x14012bd48], r12d
mov rsi, qword [rsp + 0x38]
lea rdi, [0x14010509e]
mov r15, rdi
test rsi, rsi
je 0x14000d281
cmp qword [rsi], r12
cmovne r15, qword [rsi]
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14000d292
cmp qword [rbx], r12
cmovne rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [0x140132110]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov r9, r15
mov r8, rdi
lea rdx, str._init_appid_AutoHotkey__ide_key__e__session__e__thread__u__parent___language_AutoHotkey__protocol_version_1.0__fileuri__r___
lea rcx, [0x14012bd30]
call fcn.14000d914
xor edx, edx
lea rcx, [0x14012bcd0]
call fcn.14000cef8
test eax, eax
jne 0x14000d382
mov rax, qword [0x140132068]
mov qword [0x14012bcf8], rax
lea rdi, vtable.CKuStringT_char__class_CKuStringUtilA_.0
mov qword [rsp + 0x30], rdi
test rsi, rsi
je 0x14000d324
mov eax, dword [rsi + 0x20]
sub eax, 1
mov rbx, qword [rsp + 0x38]
mov dword [rbx + 0x20], eax
jne 0x14000d31f
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d314
call fcn.1400c83c0
mov rdx, r13
mov rcx, rbx
call fcn.1400c243c
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x48], rdi
test rbx, rbx
je 0x14000d357
mov eax, dword [rbx + 0x20]
sub eax, 1
mov rbx, qword [rsp + 0x50]
mov dword [rbx + 0x20], eax
jne 0x14000d357
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d34c
call fcn.1400c83c0
mov rdx, r13
mov rcx, rbx
call fcn.1400c243c
xor eax, eax
jmp 0x14000d417
mov edx, 4
lea rcx, [0x1401319c0]
call fcn.140048890
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_closesocket]
mov eax, 0x3e6
jmp 0x14000d417
or qword [0x14012bcf0], 0xffffffffffffffff
lea rdi, vtable.CKuStringT_char__class_CKuStringUtilA_.0
mov qword [rsp + 0x30], rdi
test rsi, rsi
je 0x14000d3c9
mov eax, dword [rsi + 0x20]
sub eax, 1
mov rbx, qword [rsp + 0x38]
mov dword [rbx + 0x20], eax
jne 0x14000d3c4
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d3b9
call fcn.1400c83c0
mov rdx, r13
mov rcx, rbx
call fcn.1400c243c
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x48], rdi
test rbx, rbx
je 0x14000d3fc
mov eax, dword [rbx + 0x20]
sub eax, 1
mov rbx, qword [rsp + 0x50]
mov dword [rbx + 0x20], eax
jne 0x14000d3fc
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d3f1
call fcn.1400c83c0
mov rdx, r13
mov rcx, rbx
call fcn.1400c243c
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_closesocket]
call qword [sym.imp.WSOCK32.dll_WSACleanup]
lea rcx, str.Failed_to_connect_to_an_active_debugger_client._nContinue_running_the_script_without_the_debugger_
call fcn.14000d504
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret