Function at 0x1400044f0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
movdqa xmm0, xmmword [0x140007960]
movdqu xmmword [rbp + 0x38], xmm0
movdqa xmm1, xmmword [0x1400079b0]
movdqu xmmword [rbp + 0x48], xmm1
movdqa xmm0, xmmword [0x140007950]
movdqu xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], rdx
mov qword [rbp + 0x110], 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
mov ecx, 0x202
lea rdx, [rbp + 0x128]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400045b4
lea rdx, str.WSAStartup_failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140003bc0
lea rdx, [0x140003d90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400045ef
mov edx, 1
lea ecx, [rdx + 1]
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x110], rax
cmp rax, 0xffffffffffffffff
je 0x1400045ef
lea rcx, [rbp + 0x100]
call fcn.140001470
test al, al
je 0x1400045ef
lea rcx, [rbp + 0x100]
call fcn.1400024e0
movdqa xmm0, xmmword [0x1400078d0]
movdqu xmmword [rbp + 0xc8], xmm0
movdqa xmm1, xmmword [0x140007970]
movdqu xmmword [rbp + 0xd8], xmm1
movdqa xmm0, xmmword [0x140007980]
movdqu xmmword [rbp + 0xe8], xmm0
mov dword [rbp + 0xf8], socket
mov dword [rbp + 0xfc], 0x1a
movdqa xmm0, xmmword [0x140007990]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1400079a0]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [0x140007940]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x140007930]
movdqa xmmword [rbp], xmm1
mov dword [rbp + 0x10], 4
mov dword [rbp + 0x14], 2
mov dword [rbp + 0x18], reloc.WS2_32.dll_send
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov rcx, r15
mov qword [rbp + 0x98], rcx
mov edx, recv
mov qword [rbp + 0xa0], rdx
mov byte [rbp + 0x88], cl
mov dword [rsp + 0x50], 1
mov rbx, r15
nop dword [rax]
movsxd rax, dword [rbp + rbx*4 + 0xc8]
movzx r9d, byte [rax + rdi]
cmp rcx, rdx
jae 0x1400046eb
lea rax, [rcx + 1]
mov qword [rbp + 0x98], rax
lea rax, [rbp + 0x88]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x88]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400046f7
lea rcx, [rbp + 0x88]
call fcn.140001240
inc rbx
cmp rbx, 0xe
jge 0x140004710
mov rdx, qword [rbp + 0xa0]
mov rcx, qword [rbp + 0x98]
jmp 0x1400046b0
lea rsi, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0xf
cmova rsi, qword [rbp + 0x88]
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
mov rcx, r15
mov qword [rbp + 0x78], rcx
mov edx, recv
mov qword [rbp + 0x80], rdx
mov byte [rbp + 0x68], cl
mov dword [rsp + 0x50], 3
mov rbx, r15
nop
movsxd rax, dword [rbp + rbx*4 + 0x38]
movzx r9d, byte [rax + rdi]
cmp rcx, rdx
jae 0x14000477f
lea rax, [rcx + 1]
mov qword [rbp + 0x78], rax
lea rax, [rbp + 0x68]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x68]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140004788
lea rcx, [rbp + 0x68]
call fcn.140001240
inc rbx
cmp rbx, 0xc
jge 0x14000479e
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x78]
jmp 0x140004750
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0xf
cmova rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov rdx, qword [rbp + 0x80]
cmp rdx, 0xf
jbe 0x140004805
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004800
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004800
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ea4
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], recv
mov byte [rbp + 0x68], 0
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0xf
jbe 0x14000485c
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004857
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004857
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ea4
mov qword [rbp + 0x98], r15
mov qword [rbp + 0xa0], recv
mov byte [rbp + 0x88], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov rcx, r15
mov qword [rbp + 0xd8], rcx
mov edx, recv
mov qword [rbp + 0xe0], rdx
mov byte [rbp + 0xc8], cl
mov dword [rsp + 0x50], 4
mov rbx, r15
nop word [rax + rax]
movsxd rax, dword [rbp + rbx*4 - 0x30]
movzx r9d, byte [rax + rdi]
cmp rcx, rdx
jae 0x1400048e8
lea rax, [rcx + 1]
mov qword [rbp + 0xd8], rax
lea rax, [rbp + 0xc8]
cmp rdx, 0xf
cmova rax, qword [rbp + 0xc8]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400048f4
lea rcx, [rbp + 0xc8]
call fcn.140001240
inc rbx
cmp rbx, 0x13
jge 0x14000490d
mov rdx, qword [rbp + 0xe0]
mov rcx, qword [rbp + 0xd8]
jmp 0x1400048b0
lea rsi, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0xf
cmova rsi, qword [rbp + 0xc8]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov rcx, r15
mov qword [rbp + 0xb8], rcx
mov edx, recv
mov qword [rbp + 0xc0], rdx
mov byte [rbp + 0xa8], cl
mov dword [rsp + 0x50], recv
mov rbx, r15
nop word [rax + rax]
movsxd rax, dword [rbp + rbx*4 + 0x38]
movzx r9d, byte [rax + rdi]
cmp rcx, rdx
jae 0x140004998
lea rax, [rcx + 1]
mov qword [rbp + 0xb8], rax
lea rax, [rbp + 0xa8]
cmp rdx, 0xf
cmova rax, qword [rbp + 0xa8]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400049a4
lea rcx, [rbp + 0xa8]
call fcn.140001240
inc rbx
cmp rbx, 0xc
jge 0x1400049bd
mov rdx, qword [rbp + 0xc0]
mov rcx, qword [rbp + 0xb8]
jmp 0x140004960
lea rcx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x140004a2d
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ea4
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xc0], recv
mov byte [rbp + 0xa8], 0
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x140004a8a
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ea4
mov qword [rbp + 0xd8], r15
mov qword [rbp + 0xe0], recv
mov byte [rbp + 0xc8], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov dword [rsp + 0x60], WSAGetLastError
mov dword [rbp - 0x64], 0x100
mov rax, qword [rbp + 0x110]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rax
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], recv
mov byte [rbp + 0x38], 0
mov dword [rsp + 0x50], reloc.WS2_32.dll_recv
movzx eax, byte [rdi + 2]
mov qword [rbp + 0x48], 1
lea rcx, [rbp + 0x38]
mov byte [rcx], al
mov byte [rcx + 1], 0
movzx r9d, byte [rdi + 0xc]
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x50]
cmp rcx, rdx
jae 0x140004b46
lea rax, [rcx + 1]
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140004b4f
lea rcx, [rbp + 0x38]
call fcn.140001240
movzx r9d, byte [rdi + 3]
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x50]
cmp rcx, rdx
jae 0x140004b81
lea rax, [rcx + 1]
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140004b8a
lea rcx, [rbp + 0x38]
call fcn.140001240
movzx r9d, byte [rdi + 0x34]
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x50]
cmp rcx, rdx
jae 0x140004bbc
lea rax, [rcx + 1]
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140004bc5
lea rcx, [rbp + 0x38]
call fcn.140001240
movzx r9d, byte [rdi + 4]
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x50]
cmp rcx, rdx
jae 0x140004bf7
lea rax, [rcx + 1]
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140004c00
lea rcx, [rbp + 0x38]
call fcn.140001240
movzx r9d, byte [rdi + 0x17]
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x50]
cmp rcx, rdx
jae 0x140004c32
lea rax, [rcx + 1]
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140004c3b
lea rcx, [rbp + 0x38]
call fcn.140001240
movzx r9d, byte [rdi + 4]
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x50]
cmp rcx, rdx
jae 0x140004c6d
lea rax, [rcx + 1]
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140004c76
lea rcx, [rbp + 0x38]
call fcn.140001240
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova rdx, qword [rbp + 0x38]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call r14
mov ebx, eax
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140004cf9
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004cf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004cf4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004ea4
test ebx, ebx
je 0x140004d2b
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x20]
call rsi
lea rdx, str.Process_started_successfully_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003bc0
lea rdx, [0x140003d90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140004e40
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret