Function at 0x1800018d0
Capabilities:
Connect socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x1e0
mov rax, qword [0x180025010]
xor rax, rsp
mov qword [rsp + 0x1d8], rax
mov rsi, rdx
mov rbx, rcx
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1800019a7
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180001948
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180001943
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180001bd9
mov rcx, r8
call fcn.180009570
xor ebp, ebp
mov qword [rbx + 0x10], rbp
mov byte [rbx], bpl
mov qword [rbx + 0x18], send
mov rcx, qword [rsi]
test rcx, rcx
je 0x18000199d
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x18000198d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180001bd9
mov rcx, r8
call fcn.180009570
mov qword [rsi], rbp
mov qword [rsi + 8], rbp
mov qword [rsi + 0x10], rbp
mov eax, 1
jmp 0x180001bbb
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x1800019b4
mov rcx, qword [rbx]
call qword [sym.imp.WS2_32.dll_gethostbyname]
xor ebp, ebp
mov edi, 2
mov qword [rsp + 0x28], rbp
mov word [rsp + 0x20], di
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, 0xea5f
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_htons]
xor r8d, r8d
lea edx, [rbp + 1]
mov ecx, edi
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, rax
lea r8d, [rbp + 0x10]
lea rdx, [rsp + 0x20]
mov r15, rax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x180001abf
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180001a62
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180001a5d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180001bd9
mov rcx, r8
call fcn.180009570
mov qword [rbx + 0x10], rbp
mov byte [rbx], bpl
mov qword [rbx + 0x18], send
mov rcx, qword [rsi]
test rcx, rcx
je 0x180001ab5
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x180001aa5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180001bd9
mov rcx, r8
call fcn.180009570
mov qword [rsi], rbp
mov qword [rsi + 8], rbp
mov qword [rsi + 0x10], rbp
mov eax, 0xffffffff
jmp 0x180001bbb
mov edi, dword [rsi + 8]
lea rdx, [rsp + 0x1d0]
sub edi, dword [rsi]
xor r9d, r9d
mov rcx, r15
mov qword [rsp + 0x220], r14
mov dword [rsp + 0x1d0], edi
mov dword [rsp + 0x1d4], 0x2710
lea r8d, [r9 + 8]
call qword [sym.imp.WS2_32.dll_send]
mov r14, qword [rsi]
sub edi, eax
add edi, 8
je 0x180001b1d
xor r9d, r9d
mov r8d, edi
mov rdx, r14
mov rcx, r15
call qword [sym.imp.WS2_32.dll_send]
sub edi, eax
cdqe
add r14, rax
test edi, edi
jne 0x180001b00
mov rcx, r15
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rdx, qword [rbx + 0x18]
mov r14, qword [rsp + 0x220]
cmp rdx, 0x10
jb 0x180001b6a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180001b65
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180001bd9
mov rcx, r8
call fcn.180009570
mov qword [rbx + 0x10], rbp
mov byte [rbx], bpl
mov qword [rbx + 0x18], send
mov rcx, qword [rsi]
test rcx, rcx
je 0x180001bb9
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x180001ba9
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180001bd9
mov rcx, r8
call fcn.180009570
mov qword [rsi], rbp
mov qword [rsi + 8], rbp
mov qword [rsi + 0x10], rbp
xor eax, eax
mov rcx, qword [rsp + 0x1d8]
xor rcx, rsp
call fcn.1800091f0
add rsp, 0x1e0
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18000e20c
int3