Function at 0x1400f9dc0
Capabilities:
Check http status code

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
lea rbp, [r11 - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x1401d5408]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov eax, dword [rdx + 8]
mov rbx, rcx
mov qword [rbp - 0x29], rcx
sub eax, 9
mov dword [rbp - 0x39], r8d
lea rcx, [rdx + 8]
mov qword [rbp - 0x31], rcx
mov rdi, rdx
cmp eax, 6
ja 0x1400fa13f
mov qword [r11 + 0x20], rsi
mov rdx, rcx
mov qword [r11 - 0x20], r12
mov rcx, rbx
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
call fcn.1400f6c30
cmp dword [rbx + 0x10], 0x2c
mov r14d, 1
jne 0x1400f9e66
cmp dword [rbx + 0x20], 0x120
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
je 0x1400f9e52
movups xmm0, xmmword [rbx + 0x20]
mov dword [rbx + 0x20], 0x120
mov eax, r14d
movups xmmword [rbx + 0x10], xmm0
jmp 0x1400f9e68
lea rdx, [rbx + 0x18]
mov rcx, rbx
call fcn.1400ef870
mov dword [rbx + 0x10], eax
mov eax, r14d
jmp 0x1400f9e68
xor eax, eax
test eax, eax
je 0x1400f9fc1
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x21], rdi
mov rcx, rbx
call fcn.1400f9160
mov ecx, dword [rbp - 0x19]
lea eax, [rcx - 0xc]
cmp eax, 3
jbe 0x1400f9f70
mov rsi, qword [rbx + 0x30]
movzx r9d, byte [rsi + 0x44]
test rdi, rdi
je 0x1400f9f70
mov edx, dword [rbp - 0x11]
xor ebx, ebx
nop word [rax + rax]
mov r8d, dword [rdi + 8]
lea eax, [r8 - 0xc]
cmp eax, 3
ja 0x1400f9f16
cmp r8d, 0xd
jne 0x1400f9edd
cmp ecx, 0xa
jne 0x1400f9f16
movzx eax, byte [rdi + 0x12]
cmp eax, edx
jne 0x1400f9f16
mov dword [rdi + 8], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x12], r9b
jmp 0x1400f9f0d
cmp ecx, 9
jne 0x1400f9ef4
cmp byte [rdi + 0x12], dl
jne 0x1400f9ef4
mov byte [rdi + 0x12], r9b
mov ebx, r14d
mov edx, dword [rbp - 0x11]
mov ecx, dword [rbp - 0x19]
cmp r8d, 0xc
jne 0x1400f9f16
cmp ecx, 9
jne 0x1400f9f16
movzx eax, dl
cmp word [rdi + 0x10], ax
jne 0x1400f9f16
mov word [rdi + 0x10], r9w
mov ecx, dword [rbp - 0x19]
mov ebx, r14d
mov edx, dword [rbp - 0x11]
mov rdi, qword [rdi]
test rdi, rdi
jne 0x1400f9eb0
test ebx, ebx
mov rbx, qword [rbp - 0x29]
je 0x1400f9f70
cmp ecx, 9
jne 0x1400f9f39
movzx edx, dl
shl edx, 9
or edx, r9d
shl edx, 7
jmp 0x1400f9f45
shl edx, 9
or edx, r9d
shl edx, 7
or edx, 9
mov rcx, rsi
call fcn.1400df670
mov rdx, qword [rsi]
movzx ecx, byte [rsi + 0x44]
inc ecx
movzx eax, byte [rdx + 0xc]
cmp ecx, eax
jbe 0x1400f9f6d
cmp ecx, 0xff
jae 0x1400fa14f
mov byte [rdx + 0xc], cl
inc byte [rsi + 0x44]
mov rcx, qword [rbx + 0x38]
mov eax, dword [rcx + 0xb0]
inc eax
movzx edx, ax
mov dword [rcx + 0xb0], eax
cmp edx, 0xc8
jb 0x1400f9f9f
je 0x1400fa160
cmp edx, 0xdc
jae 0x1400fa16d
mov r8d, dword [rbp - 0x39]
lea rdx, [rbp - 0x21]
inc r8d
mov rcx, rbx
call fcn.1400f9dc0
mov rax, qword [rbx + 0x38]
dec dword [rax + 0xb0]
jmp 0x1400fa072
cmp dword [rbx + 0x10], 0x3d
jne 0x1400fa178
cmp dword [rbx + 0x20], 0x120
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
je 0x1400f9feb
movups xmm0, xmmword [rbx + 0x20]
mov dword [rbx + 0x20], 0x120
movups xmmword [rbx + 0x10], xmm0
jmp 0x1400f9ffa
lea rdx, [rbx + 0x18]
mov rcx, rbx
call fcn.1400ef870
mov dword [rbx + 0x10], eax
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.1400f9d10
cmp dword [rbx + 0x10], 0x2c
jne 0x1400fa059
cmp dword [rbx + 0x20], 0x120
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
je 0x1400fa02c
movups xmm0, xmmword [rbx + 0x20]
mov dword [rbx + 0x20], 0x120
movups xmmword [rbx + 0x10], xmm0
jmp 0x1400fa03b
lea rdx, [rbx + 0x18]
mov rcx, rbx
call fcn.1400ef870
mov dword [rbx + 0x10], eax
mov rcx, qword [rbx + 0x30]
lea rdx, [rbp - 1]
call fcn.1400e03b0
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.1400f9d10
inc r14d
jmp 0x1400fa006
mov eax, dword [rbp - 0x39]
cmp r14d, eax
je 0x1400fa0da
lea r9, [rbp - 1]
mov r8d, r14d
mov edx, eax
mov rcx, rbx
call fcn.1400f7300
mov rcx, qword [rbx + 0x30]
lea r8, [rbp - 1]
mov rdx, qword [rbp - 0x31]
movzx eax, byte [rcx + 0x44]
dec eax
mov qword [rbp + 0xf], 0xffffffffffffffff
mov dword [rbp + 7], eax
mov dword [rbp - 1], 8
call fcn.1400e0650
mov r14, qword [rsp + 0x88]
mov r13, qword [rsp + 0x90]
mov r12, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xd8]
mov r15, qword [rsp + 0x80]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140115c10
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret
mov eax, dword [rbp - 1]
mov rcx, qword [rbx + 0x30]
cmp eax, 0x12
jne 0x1400fa112
movsxd rdx, dword [rbp + 7]
lea r8, [rbp - 1]
mov dword [rbp - 1], 8
mov rax, qword [rcx]
mov rcx, qword [rax + 0x40]
mov eax, dword [rcx + rdx*4]
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbx + 0x30]
shr eax, 7
movzx eax, al
mov dword [rbp + 7], eax
jmp 0x1400fa096
cmp eax, 0x13
jne 0x1400fa12e
mov rax, qword [rcx]
movsxd rdx, dword [rbp + 7]
mov rcx, qword [rax + 0x40]
mov byte [rcx + rdx*4 + 3], 2
mov dword [rbp - 1], setsockopt
mov rdx, qword [rbp - 0x31]
lea r8, [rbp - 1]
mov rcx, qword [rbx + 0x30]
jmp 0x1400fa096
lea rdx, str.syntax_error
mov rcx, rbx
call fcn.1400eea50
int3
mov rcx, qword [rsi + 0x10]
lea rdx, str.function_or_expression_needs_too_many_registers
call fcn.1400eea50
int3
lea rdx, str.C_stack_overflow
call fcn.1400e6300
int3
mov edx, 5
call fcn.1400e65e0
int3
mov edx, 0x3d
mov rcx, rbx
call fcn.1400f6990
int3