Function at 0x4a3a14
Capabilities:
Connect socket

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x390
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov rax, qword [rbp + 0x18]
mov ecx, dword [rax]
movsxd rcx, ecx
lea rax, [rsp + 0x20]
mov edx, 0x6e
mov r8, rdx
mov rdx, qword [rbp + 0x20]
mov r11, rdx
mov r10, rax
mov qword [rbp - 0x10], rcx
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
lea r10, [rsp + 0x20]
mov rcx, r10
call fcn.004995ef
mov r8, rax
mov rax, qword [rbp + 0x20]
mov r11, rax
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.ws2_32.dll_connect
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
cmp eax, 0
jne 0x4a3adc
mov eax, 0
mov byte [rbp - 0x40], al
movabs rax, 0x2f
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x3f]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov rax, qword [rbp + 0x10]
mov ecx, 0x30
mov r8, rcx
lea rcx, [rbp - 0x40]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x4a4006
call fcn.0049c6b2
mov dword [rbp - 0x44], eax
movzx eax, byte [0x00512788]
cmp eax, 0
je 0x4a3b05
mov eax, dword [rbp - 0x44]
mov ecx, dword [0x0051278c]
cmp eax, ecx
je 0x4a3b32
movzx eax, byte [0x00512788]
cmp eax, 0
jne 0x4a3f01
mov eax, dword [rbp - 4]
cmp eax, 0xffffffff
jne 0x4a3f01
mov eax, dword [rbp - 0x44]
mov ecx, dword [0x00512790]
cmp eax, ecx
jne 0x4a3f01
mov rax, qword [0x005129e0]
mov r9, rax
mov eax, 1
mov r8, rax
mov rax, qword [rbp + 0x18]
mov r11, rax
lea rax, [rbp - 0xa8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.004a3982
mov eax, 0x30
mov r8, rax
lea rax, [rbp - 0xa8]
mov r11, rax
lea rax, [rbp - 0x78]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
movzx eax, byte [rbp - 0x78]
cmp eax, 0
je 0x4a3be3
movabs rax, 0x28
mov r8, rax
lea rax, [rbp - 0x78]
mov r11, rax
lea rax, [rbp - 0xd8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp + 0x10]
mov ecx, 0x30
mov r8, rcx
lea rcx, [rbp - 0xd8]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x4a4006
movzx eax, byte [rbp - 0x50]
mov byte [rbp - 0xd9], al
mov eax, 0
mov dword [rbp - 0xe0], eax
mov eax, 4
mov dword [rbp - 0xe4], eax
mov rax, qword [rbp + 0x18]
mov ecx, dword [rax]
movsxd rcx, ecx
lea rax, [rbp - 0xe4]
mov qword [rsp + 0x20], rax
lea rax, [rbp - 0xe0]
mov r9, rax
mov eax, 0x1007
mov r8, rax
mov eax, 0xffff
mov r11, rax
mov r10, rcx
mov rcx, r10
mov rdx, r11
call sub.ws2_32.dll_getsockopt
mov dword [rbp - 0xe8], eax
mov eax, dword [rbp - 0xe8]
cmp eax, 0
jne 0x4a3cc2
mov eax, dword [rbp - 0xe0]
cmp eax, 0
jne 0x4a3cc2
mov eax, 0
mov byte [rbp - 0x118], al
movabs rax, 0x2f
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x117]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov rax, qword [rbp + 0x10]
mov ecx, 0x30
mov r8, rcx
lea rcx, [rbp - 0x118]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x4a4006
movzx eax, byte [rbp - 0xd9]
cmp eax, 0
je 0x4a3e47
mov eax, dword [rbp - 0xe8]
cmp eax, 0
jne 0x4a3de9
mov eax, dword [rbp - 0xe0]
mov r11, rax
lea rax, [rbp - 0x178]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0049c386
mov eax, 0x30
mov r8, rax
lea rax, [rbp - 0x178]
mov r11, rax
lea rax, [rbp - 0x148]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
movzx eax, byte [rbp - 0x148]
cmp eax, 0
je 0x4a3d8b
movabs rax, 0x28
mov r8, rax
lea rax, [rbp - 0x148]
mov r11, rax
lea rax, [rbp - 0x1a8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp + 0x10]
mov ecx, 0x30
mov r8, rcx
lea rcx, [rbp - 0x1a8]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x4a4006
mov eax, 0
mov byte [rbp - 0x1d8], al
movabs rax, 0x2f
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x1d7]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov rax, qword [rbp + 0x10]
mov ecx, 0x30
mov r8, rcx
lea rcx, [rbp - 0x1d8]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x4a4006
mov eax, 0
mov byte [rbp - 0x208], al
movabs rax, 0x2f
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x207]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov rax, qword [rbp + 0x10]
mov ecx, 0x30
mov r8, rcx
lea rcx, [rbp - 0x208]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x4a4006
mov eax, 1
mov byte [rbp - 0x238], al
movabs rax, 7
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x237]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0x20
mov r8, rax
lea rax, [0x00512978]
mov r11, rax
lea rax, [rbp - 0x230]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0
mov byte [rbp - 0x210], al
movabs rax, 7
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x20f]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov rax, qword [rbp + 0x10]
mov ecx, 0x30
mov r8, rcx
lea rcx, [rbp - 0x238]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x4a4006
mov eax, dword [rbp - 0x44]
mov r11, rax
lea rax, [rbp - 0x298]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0049c386
mov eax, 0x30
mov r8, rax
lea rax, [rbp - 0x298]
mov r11, rax
lea rax, [rbp - 0x268]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
movzx eax, byte [rbp - 0x268]
cmp eax, 0
je 0x4a3fa8
movabs rax, 0x28
mov r8, rax
lea rax, [rbp - 0x268]
mov r11, rax
lea rax, [rbp - 0x2c8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp + 0x10]
mov ecx, 0x30
mov r8, rcx
lea rcx, [rbp - 0x2c8]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x4a4006
mov eax, 0
mov byte [rbp - 0x2f8], al
movabs rax, 0x2f
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x2f7]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov rax, qword [rbp + 0x10]
mov ecx, 0x30
mov r8, rcx
lea rcx, [rbp - 0x2f8]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x4a4006
leave
ret