Function at 0x14000d140
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rbx, rdx
mov rdi, rcx
mov ecx, 0x202
lea rdx, [rbp - 0x20]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x14000d18e
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
jmp 0x14000d60d
mov edx, 1
lea ecx, [rdx + 1]
lea r8d, [rdx + 5]
call qword [sym.imp.WSOCK32.dll_socket]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000d600
xor r13d, r13d
mov dword [rbp - 0x50], r13d
xor edx, edx
lea r8d, [r13 + 0x2c]
lea rcx, [rbp - 0x4c]
call sub.MSVCR100.dll_memset
mov dword [rbp - 0x4c], 2
mov dword [rbp - 0x48], 1
mov dword [rbp - 0x44], 6
mov rax, qword [0x140143fc0]
test rax, rax
jne 0x14000d1f2
xor ecx, ecx
call fcn.140007fb0
mov qword [0x140143fc0], rax
lea r9, [rbp + 0x1c0]
lea r8, [rbp - 0x50]
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 0x14000d5f7
mov rdx, qword [rbp + 0x1c0]
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
mov rcx, rsi
call qword [sym.imp.WSOCK32.dll_connect]
mov ebx, eax
test eax, eax
je 0x14000d2b1
nop word [rax + rax]
mov r9d, 0x10012
mov r8, qword [0x140143cf8]
lea rdx, str.Failed_to_connect_to_an_active_debugger_client.
mov rcx, qword [0x14013f6f8]
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 3
je 0x14000d28b
cmp eax, 5
je 0x14000d29e
mov rdx, qword [rbp + 0x1c0]
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
mov rcx, rsi
call qword [sym.imp.WSOCK32.dll_connect]
mov ebx, eax
test eax, eax
jne 0x14000d240
jmp 0x14000d2b1
xor r8d, r8d
lea edx, [r8 + 7]
lea rcx, [0x140143150]
call fcn.140035b90
mov rcx, rsi
call qword [sym.imp.WSOCK32.dll_closesocket]
mov eax, 0x3e6
jmp 0x14000d612
mov rdi, qword [rbp + 0x1c0]
mov rax, qword [0x140143fc8]
test rax, rax
jne 0x14000d2d3
lea ecx, [rax + 2]
call fcn.140007fb0
mov qword [0x140143fc8], rax
mov rcx, rdi
call rax
test ebx, ebx
jne 0x14000d5f7
mov qword [0x140141ff0], rsi
lea r12, vtable.CKuStringT_wchar_t__class_CKuStringUtilW_.0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r13
mov byte [rbp - 0x60], r13b
lea rdx, str.DBGP_IDEKEY
lea rcx, [rbp - 0x70]
call fcn.14000e880
mov rax, qword [rax + 8]
lea rbx, [0x1401035ac]
mov rcx, rbx
test rax, rax
je 0x14000d327
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x38], r13
mov byte [rsp + 0x40], 0
lea r14, vtable.CStringUTF8FromWChar.0
mov qword [rsp + 0x30], r14
or r8d, 0xffffffff
lea rdx, [rsp + 0x30]
call fcn.1400dd6b0
nop
mov qword [rbp - 0x70], r12
mov rdi, qword [rbp - 0x68]
test rdi, rdi
je 0x14000d37b
mov eax, dword [rdi + 0x20]
dec eax
mov dword [rdi + 0x20], eax
jne 0x14000d37b
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000d372
call qword [sym.imp.MSVCR100.dll_free]
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r13
mov byte [rbp - 0x78], 0
lea rdx, str.DBGP_COOKIE
lea rcx, [rsp + 0x78]
call fcn.14000e880
mov rax, qword [rax + 8]
test rax, rax
je 0x14000d3ac
mov rax, qword [rax]
test rax, rax
cmovne rbx, rax
mov qword [rsp + 0x50], r13
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x48], r14
or r8d, 0xffffffff
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400dd6b0
nop
mov qword [rsp + 0x78], r12
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x14000d3fd
mov eax, dword [rbx + 0x20]
dec eax
mov dword [rbx + 0x20], eax
jne 0x14000d3fd
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d3f4
call qword [sym.imp.MSVCR100.dll_free]
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [0x140142030], r13
mov dword [0x140142038], r13d
mov rbx, qword [rsp + 0x50]
lea rdi, [0x140103a54]
mov r12, rdi
test rbx, rbx
je 0x14000d429
mov rax, qword [rbx]
test rax, rax
cmovne r12, rax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000d43d
mov rax, qword [rcx]
test rax, rax
cmovne rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x20], eax
mov r9, r12
mov r8, rdi
lea rdx, str._init_appid_AutoHotkey__ide_key__e__session__e__thread__u__parent___language_AutoHotkey__protocol_version_1.0__fileuri_
lea rcx, [0x140142020]
call fcn.14000db10
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x70], 0
mov qword [rsp + 0x60], r14
or r8d, 0xffffffff
lea rdx, [rsp + 0x60]
mov rcx, qword [0x140143cf8]
call fcn.1400dd6b0
nop
lea rcx, [rsp + 0x60]
call fcn.140006630
mov rdx, rax
lea rcx, [0x140142020]
call fcn.14000de00
lea rdi, vtable.CKuStringT_char__class_CKuStringUtilA_.0
mov qword [rsp + 0x60], rdi
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000d4e0
mov eax, dword [rcx + 0x20]
dec eax
mov dword [rcx + 0x20], eax
jne 0x14000d4db
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d4d2
call qword [sym.imp.MSVCR100.dll_free]
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov rbx, qword [rsp + 0x50]
or r8, 0xffffffffffffffff
lea rdx, [0x140104344]
lea rcx, [0x140142020]
call fcn.14000da80
lea rcx, [0x140141fd0]
call fcn.14000d050
test eax, eax
jne 0x14000d584
mov rax, qword [0x140143818]
mov qword [0x140141ff8], rax
mov qword [rsp + 0x48], rdi
test rbx, rbx
je 0x14000d547
mov eax, dword [rbx + 0x20]
dec eax
mov dword [rbx + 0x20], eax
jne 0x14000d547
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d53d
call qword [sym.imp.MSVCR100.dll_free]
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
nop
mov qword [rsp + 0x30], rdi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000d57d
mov eax, dword [rcx + 0x20]
dec eax
mov dword [rcx + 0x20], eax
jne 0x14000d57d
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d574
call qword [sym.imp.MSVCR100.dll_free]
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
xor eax, eax
jmp 0x14000d612
mov qword [0x140141ff0], 0xffffffffffffffff
mov qword [rsp + 0x48], rdi
test rbx, rbx
je 0x14000d5c1
mov eax, dword [rbx + 0x20]
dec eax
mov dword [rbx + 0x20], eax
jne 0x14000d5c1
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d5b7
call qword [sym.imp.MSVCR100.dll_free]
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
nop
mov qword [rsp + 0x30], rdi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000d5f7
mov eax, dword [rcx + 0x20]
dec eax
mov dword [rcx + 0x20], eax
jne 0x14000d5f7
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d5ee
call qword [sym.imp.MSVCR100.dll_free]
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, rsi
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.14000d6a0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret