Function at 0x14000d210
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rbx, r8
mov rdi, rdx
mov ecx, 0x202
lea rdx, [rbp - 0x20]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x14000d25b
lea rcx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
jmp 0x14000d753
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 0x14000d746
xor r14d, r14d
mov dword [rbp - 0x58], r14d
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 [0x14012d5a8]
test rax, rax
jne 0x14000d2c0
xor ecx, ecx
call fcn.1400084c0
mov qword [0x14012d5a8], 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 0x14000d73d
mov rdx, qword [rbp + 0x1b0]
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 0x14000d354
mov r9d, 0x10012
mov r8, qword [0x14012bb70]
lea rdx, str.Failed_to_connect_to_an_active_debugger_client.
mov rcx, qword [0x140127a60]
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 3
je 0x14000d59b
cmp eax, 5
je 0x14000d5ae
mov rdx, qword [rbp + 0x1b0]
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 0x14000d303
mov rdi, qword [rbp + 0x1b0]
mov rax, qword [0x14012d5a0]
test rax, rax
jne 0x14000d376
lea ecx, [rax + 2]
call fcn.1400084c0
mov qword [0x14012d5a0], rax
mov rcx, rdi
call rax
test ebx, ebx
jne 0x14000d73d
mov qword [0x140126980], rsi
lea r15, vtable.CKuStringT_wchar_t__class_CKuStringUtilW_.0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r14
mov byte [rbp - 0x78], r14b
lea rdx, str.DBGP_IDEKEY
lea rcx, [rsp + 0x78]
call fcn.14000e970
mov rax, qword [rax + 8]
lea rbx, [0x1400ef7e4]
mov rcx, rbx
test rax, rax
je 0x14000d3cc
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x50], r14
mov byte [rsp + 0x58], 0
lea r12, vtable.CStringUTF8FromWChar.0
mov qword [rsp + 0x48], r12
mov r8d, 0xffffffff
lea rdx, [rsp + 0x48]
call fcn.1400cad90
nop
mov qword [rsp + 0x78], r15
mov rdi, qword [rbp - 0x80]
test rdi, rdi
je 0x14000d428
mov eax, dword [rdi + 0x20]
sub eax, 1
mov dword [rdi + 0x20], eax
jne 0x14000d428
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000d41b
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, rdi
call fcn.1400ec0a0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r14
mov byte [rbp - 0x60], 0
lea rdx, str.DBGP_COOKIE
lea rcx, [rbp - 0x70]
call fcn.14000e970
mov rax, qword [rax + 8]
test rax, rax
je 0x14000d457
mov rax, qword [rax]
test rax, rax
cmovne rbx, rax
mov qword [rsp + 0x38], r14
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x30], r12
mov r8d, 0xffffffff
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400cad90
nop
mov qword [rbp - 0x70], r15
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x14000d4ae
mov eax, dword [rbx + 0x20]
sub eax, 1
mov dword [rbx + 0x20], eax
jne 0x14000d4ae
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d4a1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, rbx
call fcn.1400ec0a0
mov qword [0x1401269c0], r14
mov dword [0x1401269c8], r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov rbx, qword [rsp + 0x38]
lea rdi, [0x1400efd8e]
mov r9, rdi
test rbx, rbx
je 0x14000d4e2
mov rcx, qword [rbx]
test rcx, rcx
cmovne r9, rcx
mov rcx, qword [rsp + 0x50]
mov r8, rdi
test rcx, rcx
je 0x14000d4f9
mov rax, qword [rcx]
test rax, rax
cmovne r8, rax
mov dword [rsp + 0x20], edx
lea rdx, str._init_appid_AutoHotkey__ide_key__e__session__e__thread__u__parent___language_AutoHotkey__protocol_version_1.0__fileuri_
lea rcx, [0x1401269b0]
call fcn.14000db70
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x70], 0
mov qword [rsp + 0x60], r12
mov r8d, 0xffffffff
lea rdx, [rsp + 0x60]
mov rcx, qword [0x14012bb70]
call fcn.1400cad90
nop
mov r14, qword [rsp + 0x68]
lea rcx, [0x1401269b0]
test r14, r14
je 0x14000d5c1
mov rax, qword [r14]
test rax, rax
cmovne rdi, rax
mov rdx, rdi
call fcn.14000de30
lea rdi, vtable.CKuStringT_char__class_CKuStringUtilA_.0
mov qword [rsp + 0x60], rdi
test r14, r14
je 0x14000d5d5
mov eax, dword [r14 + 0x20]
sub eax, 1
mov dword [r14 + 0x20], eax
jne 0x14000d594
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x14000d587
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, r14
call fcn.1400ec0a0
mov rbx, qword [rsp + 0x38]
jmp 0x14000d5d5
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [0x14012afc0]
call fcn.140038210
mov rcx, rsi
call qword [sym.imp.WSOCK32.dll_closesocket]
mov eax, 0x3e6
jmp 0x14000d758
mov rdx, rdi
call fcn.14000de30
lea rdi, vtable.CKuStringT_char__class_CKuStringUtilA_.0
mov qword [rsp + 0x60], rdi
cmp dword [0x1401269c8], 0
jne 0x14000d625
mov rdx, qword [0x1401269c0]
add rdx, 3
lea rcx, [0x1401269b0]
call fcn.14000e280
test eax, eax
jne 0x14000d625
mov rcx, qword [0x1401269b0]
mov rdx, qword [0x1401269c0]
movzx eax, word [0x1400f0634]
mov word [rdx + rcx], ax
movzx eax, byte [0x1400f0636]
mov byte [rdx + rcx + 2], al
add qword [0x1401269c0], 3
lea rcx, [0x140126960]
call fcn.14000d120
test eax, eax
jne 0x14000d6c0
mov rax, qword [0x14012b690]
mov qword [0x140126988], rax
mov qword [rsp + 0x30], rdi
test rbx, rbx
je 0x14000d67e
mov eax, dword [rbx + 0x20]
sub eax, 1
mov dword [rbx + 0x20], eax
jne 0x14000d67e
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d670
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, rbx
call fcn.1400ec0a0
nop
mov qword [rsp + 0x48], rdi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000d6b9
mov eax, dword [rcx + 0x20]
sub eax, 1
mov dword [rcx + 0x20], eax
jne 0x14000d6b9
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d6ac
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, rbx
call fcn.1400ec0a0
xor eax, eax
jmp 0x14000d758
mov qword [0x140126980], 0xffffffffffffffff
mov qword [rsp + 0x30], rdi
test rbx, rbx
je 0x14000d702
mov eax, dword [rbx + 0x20]
sub eax, 1
mov dword [rbx + 0x20], eax
jne 0x14000d702
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d6f4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, rbx
call fcn.1400ec0a0
nop
mov qword [rsp + 0x48], rdi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000d73d
mov eax, dword [rcx + 0x20]
sub eax, 1
mov dword [rcx + 0x20], eax
jne 0x14000d73d
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d730
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x28
mov rcx, rbx
call fcn.1400ec0a0
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.14000d850
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret