Function at 0x14000cae0
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbx, r8
mov rdi, rdx
mov ecx, 0x202
lea rdx, [rbp - 0x20]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x14000cb37
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
jmp 0x14000d021
mov edx, 1
lea ecx, [rdx + 1]
lea r8d, [rdx + 5]
call qword [sym.imp.WSOCK32.dll_socket]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000d014
xor r12d, r12d
mov dword [rbp - 0x58], r12d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
mov dword [rbp - 0x54], 2
mov dword [rbp - 0x50], 1
mov dword [rbp - 0x4c], 6
mov rax, qword [0x140119598]
test rax, rax
jne 0x14000cb9c
xor ecx, ecx
call fcn.140008050
mov qword [0x140119598], rax
lea r9, [rbp + 0x1b0]
lea r8, [rbp - 0x58]
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 0x14000d00b
mov rdx, qword [rbp + 0x1b0]
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_connect]
mov ebx, eax
test eax, eax
je 0x14000cc31
nop
mov r9d, 0x10012
mov r8, qword [0x140117b60]
lea rdx, str.Failed_to_connect_to_an_active_debugger_client.
mov rcx, qword [0x140113a50]
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 3
je 0x14000ce2f
cmp eax, 5
je 0x14000ce42
mov rdx, qword [rbp + 0x1b0]
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_connect]
mov ebx, eax
test eax, eax
jne 0x14000cbe0
mov rdi, qword [rbp + 0x1b0]
mov rax, qword [0x140119590]
test rax, rax
jne 0x14000cc53
lea ecx, [rax + 2]
call fcn.140008050
mov qword [0x140119590], rax
mov rcx, rdi
call rax
test ebx, ebx
jne 0x14000d00b
mov qword [0x140112970], r14
lea rsi, vtable.CKuStringT_wchar_t__class_CKuStringUtilW_.0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r12
mov byte [rsp + 0x70], r12b
lea rdx, str.DBGP_IDEKEY
lea rcx, [rsp + 0x60]
call fcn.14000e160
mov rax, qword [rax + 8]
lea rbx, [0x1400da7a4]
mov rcx, rbx
test rax, rax
je 0x14000ccab
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x50], r12
mov byte [rsp + 0x58], 0
lea r13, vtable.CStringUTF8FromWChar.0
mov qword [rsp + 0x48], r13
mov r8d, 0xffffffff
lea rdx, [rsp + 0x48]
call fcn.1400b75d0
nop
mov qword [rsp + 0x60], rsi
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x14000cd08
mov eax, dword [rdi + 0x20]
sub eax, 1
mov dword [rdi + 0x20], eax
jne 0x14000cd08
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000ccfb
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, rdi
call fcn.1400d6c90
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], r12
mov byte [rbp - 0x78], 0
lea rdx, str.DBGP_COOKIE
lea rcx, [rsp + 0x78]
call fcn.14000e160
mov rax, qword [rax + 8]
test rax, rax
je 0x14000cd39
mov rax, qword [rax]
test rax, rax
cmovne rbx, rax
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x30], r13
mov r8d, 0xffffffff
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400b75d0
nop
mov qword [rsp + 0x78], rsi
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x14000cd91
mov eax, dword [rbx + 0x20]
sub eax, 1
mov dword [rbx + 0x20], eax
jne 0x14000cd91
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000cd84
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, rbx
call fcn.1400d6c90
mov qword [0x1401129b0], r12
mov dword [0x1401129b8], r12d
mov rbx, qword [rsp + 0x38]
lea rdi, [0x1400dad4e]
mov rsi, rdi
test rbx, rbx
je 0x14000cdbd
mov rax, qword [rbx]
test rax, rax
cmovne rsi, rax
mov rcx, qword [rsp + 0x50]
mov r15, rdi
test rcx, rcx
je 0x14000cdd4
mov rax, qword [rcx]
test rax, rax
cmovne r15, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x20], eax
mov r9, rsi
mov r8, r15
lea rdx, str._init_appid_AutoHotkey__ide_key__e__session__e__thread__u__parent___language_AutoHotkey__protocol_version_1.0__fileuri_
lea rcx, [0x1401129a0]
call fcn.14000d3e0
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x60], 0
mov qword [rbp - 0x70], r13
mov r8d, 0xffffffff
lea rdx, [rbp - 0x70]
mov rcx, qword [0x140117b60]
call fcn.1400b75d0
nop
mov rsi, qword [rbp - 0x68]
test rsi, rsi
je 0x14000ce55
mov rax, qword [rsi]
test rax, rax
cmovne rdi, rax
jmp 0x14000ce58
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [0x140116fb0]
call fcn.140035eb0
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_closesocket]
mov eax, 0x3e6
jmp 0x14000d026
mov rsi, r12
mov rdx, rdi
lea rcx, [0x1401129a0]
call fcn.14000d6a0
lea rdi, vtable.CKuStringT_char__class_CKuStringUtilA_.0
mov qword [rbp - 0x70], rdi
test rsi, rsi
je 0x14000cea3
mov eax, dword [rsi + 0x20]
sub eax, 1
mov dword [rsi + 0x20], eax
jne 0x14000ce9e
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14000ce91
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, rsi
call fcn.1400d6c90
mov rbx, qword [rsp + 0x38]
cmp dword [0x1401129b8], 0
jne 0x14000cef3
mov rdx, qword [0x1401129b0]
add rdx, 3
lea rcx, [0x1401129a0]
call fcn.14000daf0
test eax, eax
jne 0x14000cef3
mov rcx, qword [0x1401129a0]
mov rdx, qword [0x1401129b0]
movzx eax, word [0x1400db5f4]
mov word [rdx + rcx], ax
movzx eax, byte [0x1400db5f6]
mov byte [rdx + rcx + 2], al
add qword [0x1401129b0], 3
lea rcx, [0x140112950]
call fcn.14000c9f0
test eax, eax
jne 0x14000cf8e
mov rax, qword [0x140117680]
mov qword [0x140112978], rax
mov qword [rsp + 0x30], rdi
test rbx, rbx
je 0x14000cf4c
mov eax, dword [rbx + 0x20]
sub eax, 1
mov dword [rbx + 0x20], eax
jne 0x14000cf4c
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000cf3e
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, rbx
call fcn.1400d6c90
nop
mov qword [rsp + 0x48], rdi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000cf87
mov eax, dword [rcx + 0x20]
sub eax, 1
mov dword [rcx + 0x20], eax
jne 0x14000cf87
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000cf7a
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, rbx
call fcn.1400d6c90
xor eax, eax
jmp 0x14000d026
mov qword [0x140112970], 0xffffffffffffffff
mov qword [rsp + 0x30], rdi
test rbx, rbx
je 0x14000cfd0
mov eax, dword [rbx + 0x20]
sub eax, 1
mov dword [rbx + 0x20], eax
jne 0x14000cfd0
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000cfc2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, rbx
call fcn.1400d6c90
nop
mov qword [rsp + 0x48], rdi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000d00b
mov eax, dword [rcx + 0x20]
sub eax, 1
mov dword [rcx + 0x20], eax
jne 0x14000d00b
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000cffe
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, rbx
call fcn.1400d6c90
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.14000d0d0
lea r11, [rsp + 0x280]
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