Function at 0x14000d550
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 - 0x160]
sub rsp, 0x260
mov rbx, r8
mov rdi, rdx
mov ecx, 0x202
lea rdx, [rbp - 0x40]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x14000d5a7
lea rcx, [0x140132030]
call fcn.14000da30
lea rdx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
jmp 0x14000d9d9
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 0x14000d9c0
xor esi, esi
mov dword [rbp - 0x70], esi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov dword [rbp - 0x6c], 2
mov dword [rbp - 0x68], 1
mov dword [rbp - 0x64], 6
mov rax, qword [0x140134070]
test rax, rax
jne 0x14000d60a
xor ecx, ecx
call fcn.140007eb0
mov qword [0x140134070], rax
lea r9, [rbp + 0x190]
lea r8, [rbp - 0x70]
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 0x14000d9b7
mov rdx, qword [rbp + 0x190]
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 0x14000d6a1
nop dword [rax]
mov r9d, 0x10012
mov r8, qword [0x1401371c0]
lea rdx, str.Failed_to_connect_to_an_active_debugger_client.
mov rcx, qword [0x140134240]
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 3
je 0x14000d915
cmp eax, 5
je 0x14000d928
mov rdx, qword [rbp + 0x190]
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 0x14000d650
mov rdi, qword [rbp + 0x190]
mov rax, qword [0x140134068]
test rax, rax
jne 0x14000d6c3
lea ecx, [rax + 2]
call fcn.140007eb0
mov qword [0x140134068], rax
mov rcx, rdi
call rax
test ebx, ebx
jne 0x14000d9b7
mov qword [0x140132050], r14
lea r15, vtable.CKuStringT_wchar_t__class_CKuStringUtilW_.0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x70], sil
lea rdx, str.DBGP_IDEKEY
lea rcx, [rsp + 0x60]
call fcn.14000ecb0
mov rax, qword [rax + 8]
lea rbx, [0x1400fb87c]
mov rcx, rbx
test rax, rax
je 0x14000d71b
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x40], 0
lea r12, vtable.CStringUTF8FromWChar.0
mov qword [rsp + 0x30], r12
mov r8d, 0xffffffff
lea rdx, [rsp + 0x30]
call fcn.1400a9830
nop
mov qword [rsp + 0x60], r15
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x14000d77c
mov edx, dword [rdi + 0x20]
sub edx, 1
mov rax, qword [rsp + 0x68]
mov dword [rax + 0x20], edx
jne 0x14000d77c
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000d76f
call fcn.1400d29a8
mov edx, 0x28
mov rcx, rdi
call fcn.1400c9e40
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rsi
mov byte [rbp - 0x78], 0
lea rdx, str.DBGP_COOKIE
lea rcx, [rsp + 0x78]
call fcn.14000ecb0
mov rax, qword [rax + 8]
test rax, rax
je 0x14000d7ad
mov rax, qword [rax]
test rax, rax
cmovne rbx, rax
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x48], r12
mov r8d, 0xffffffff
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400a9830
nop
mov qword [rsp + 0x78], r15
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x14000d808
mov edx, dword [rbx + 0x20]
sub edx, 1
mov rax, qword [rbp - 0x80]
mov dword [rax + 0x20], edx
jne 0x14000d808
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d7fb
call fcn.1400d29a8
mov edx, 0x28
mov rcx, rbx
call fcn.1400c9e40
mov qword [0x1401320a0], rsi
mov dword [0x1401320a8], esi
mov rsi, qword [rsp + 0x50]
lea rdi, [0x1400fbcd6]
mov r15, rdi
test rsi, rsi
je 0x14000d833
mov rax, qword [rsi]
test rax, rax
cmovne r15, rax
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14000d847
mov rax, qword [rbx]
test rax, rax
cmovne rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [0x1401371c0]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov r9, r15
mov r8, rdi
lea rdx, str._init_appid_PinkHotkey__ide_key__e__session__e__thread__u__parent___language_PinkHotkey__protocol_version_1.0__fileuri__r___
lea rcx, [0x140132090]
call fcn.14000de40
lea rcx, [0x140132030]
call fcn.14000d420
test eax, eax
jne 0x14000d936
mov rax, qword [0x140136ce0]
mov qword [0x140132058], rax
lea rdi, vtable.CKuStringT_char__class_CKuStringUtilA_.0
mov qword [rsp + 0x48], rdi
test rsi, rsi
je 0x14000d8d9
mov eax, dword [rsi + 0x20]
sub eax, 1
mov rbx, qword [rsp + 0x50]
mov dword [rbx + 0x20], eax
jne 0x14000d8d4
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d8c7
call fcn.1400d29a8
mov edx, 0x28
mov rcx, rbx
call fcn.1400c9e40
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x30], rdi
test rbx, rbx
je 0x14000d90e
mov eax, dword [rbx + 0x20]
sub eax, 1
mov rbx, qword [rsp + 0x38]
mov dword [rbx + 0x20], eax
jne 0x14000d90e
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d901
call fcn.1400d29a8
mov edx, 0x28
mov rcx, rbx
call fcn.1400c9e40
xor eax, eax
jmp 0x14000da0f
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [0x140136640]
call fcn.140029c80
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_closesocket]
jmp 0x14000da0a
mov qword [0x140132050], 0xffffffffffffffff
lea rdi, vtable.CKuStringT_char__class_CKuStringUtilA_.0
mov qword [rsp + 0x48], rdi
test rsi, rsi
je 0x14000d982
mov eax, dword [rsi + 0x20]
sub eax, 1
mov rbx, qword [rsp + 0x50]
mov dword [rbx + 0x20], eax
jne 0x14000d97d
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d970
call fcn.1400d29a8
mov edx, 0x28
mov rcx, rbx
call fcn.1400c9e40
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x30], rdi
test rbx, rbx
je 0x14000d9b7
mov eax, dword [rbx + 0x20]
sub eax, 1
mov rbx, qword [rsp + 0x38]
mov dword [rbx + 0x20], eax
jne 0x14000d9b7
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d9aa
call fcn.1400d29a8
mov edx, 0x28
mov rcx, rbx
call fcn.1400c9e40
mov rcx, r14
call qword [sym.imp.WSOCK32.dll_closesocket]
call qword [sym.imp.WSOCK32.dll_WSACleanup]
lea rcx, [0x140132030]
call fcn.14000da30
lea rdx, str.Failed_to_connect_to_an_active_debugger_client._nContinue_running_the_script_without_the_debugger_
mov r9d, 0x10014
mov r8, qword [0x1401371c0]
mov rcx, qword [0x140134240]
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x14000da0a
xor r8d, r8d
lea edx, [rax - 3]
lea rcx, [0x140136640]
call fcn.140029c80
mov eax, 0x3e6
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret