Function at 0x180001b80
Capabilities:
Initialize winsock library
Resolve dns
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x18000e010]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x70], rdx
xor r15d, r15d
mov dword [rsp + 0x68], r15d
mov qword [rsp + 0x50], rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], recv
mov byte [rcx], r15b
lea rbx, [rcx + 0x30]
mov qword [rsp + 0x58], rbx
lea rax, [0x18000a7c8]
mov qword [rbx], rax
lea rcx, [rbx + 0xb0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x68], 1
lea rdi, [rbx + 0x10]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rcx + rbx], rax
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rcx + rbx - 4], edx
mov qword [rsp + 0x60], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rdi], rax
mov byte [rdi + 0x7c], r15b
mov byte [rdi + 0x71], r15b
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rdi + 0x80], r15
mov rax, qword [0x18000eef0]
mov qword [rdi + 0x74], rax
mov qword [rdi + 0x68], r15
lea rcx, [r14 + 0x140]
call fcn.180002340
nop
mov ecx, 0x102
lea rdx, [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x180001ca6
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x98], xmm0
mov dword [rsp + 0x80], 1
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x180001cd6
mov rcx, qword [rsi]
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x78]
lea rdx, str.http
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebp, 2
test eax, eax
je 0x180001d44
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x400
lea rbx, [0x18000eae0]
mov qword [rsp + 0x20], rbx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x12ff
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, ebp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8, rbx
lea rdx, str.getaddrinfo:__s_n
call fcn.180001270
jmp 0x180001dee
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x180001d81
nop
mov rax, qword [rbx + 0x20]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
mov edx, 0x41
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x180001d50
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
lea rax, [rsp + 0x250]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180001da0
mov rax, qword [rsi + 0x18]
cmp rbx, rax
ja 0x180001ddb
mov rdi, rsi
cmp rax, 0x10
jb 0x180001dbe
mov rdi, qword [rsi]
mov qword [rsi + 0x10], rbx
mov r8, rbx
lea rdx, [rsp + 0x250]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x180001dee
lea r9, [rsp + 0x250]
mov rdx, rbx
mov rcx, rsi
call fcn.180003bc0
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x180001dfb
mov rcx, qword [rsi]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [r14 + 0x2254], eax
mov ecx, 0xac5a
call qword [sym.imp.WS2_32.dll_htons]
mov word [r14 + 0x2252], ax
mov word [r14 + 0x2250], bp
mov qword [0x18000eab8], r14
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x180001e60
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x180001e5b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180001e99
mov rcx, r8
call fcn.1800083bc
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], recv
mov byte [rsi], 0
mov rax, r14
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.180008360
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3