Function at 0x1400e74f0
Capabilities:
Check http status code

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x10], rdx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x3f0
mov qword [r11 - 0x210], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rsi, r9
mov rbx, r8
mov rdi, rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov rax, qword [r8]
test rax, rax
je 0x1400e7e12
cmp dword [rax + 0x20], 0xc8
jne 0x1400e7c3c
lea rax, [r11 - 0x68]
mov qword [r11 + 0x18], rax
mov qword [r11 - 0x30], r12
mov rdx, qword [r8]
add rdx, 0x38
lea rcx, [r11 - 0x2a0]
call fcn.1400d8a30
nop
mov r9b, 1
lea r8, [rsp + 0x3b0]
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0xb8]
call fcn.1400f8e00
nop
mov rbx, qword [rsp + 0x180]
test rbx, rbx
je 0x1400e75c0
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400e75c0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400e75c0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea rax, [rsp + 0x100]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x430], r12d
mov dword [rsp + 0x434], 4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x100], xmm0
mov qword [rsp + 0x110], r12
movzx r9d, byte [rsp + 0x430]
lea r8, [rsp + 0x438]
lea rdx, [rsp + 0x430]
lea rcx, [rsp + 0x100]
call fcn.140069500
nop
mov byte [rsp + 0x20], 0
mov r9b, 0x20
mov r8d, 0xffffffff
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0xb8]
call fcn.1400f1130
nop
mov r9d, 0x1a
lea r8, str.Got_response_from_daemon:
xor edx, edx
mov rcx, rax
call fcn.140048a80
mov qword [rsp + 0x198], r12
mov qword [rsp + 0x1a0], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x188], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x198], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], setsockopt
mov byte [rax], 0
mov dword [rsp + 0x30], 2
lea r9, [rsp + 0x100]
mov r8d, 5
lea rdx, [rsp + 0x188]
lea rcx, [0x14035dff0]
call fcn.140197c10
nop
mov rdx, qword [rsp + 0x240]
cmp rdx, 0x10
jb 0x1400e76fa
inc rdx
mov rcx, qword [rsp + 0x228]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e76f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e7eca
call fcn.1401de460
cmp byte [rsp + 0x448], 0
je 0x1400e7af9
movdqa xmm0, xmmword [0x140256c60]
movdqu xmmword [rsp + 0x1b8], xmm0
mov byte [rsp + 0x1a8], 0
mov r8d, 6
lea rdx, str.status
lea rcx, [rsp + 0x1a8]
call fcn.140024bb0
nop
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0xb8]
call fcn.1400efc20
lea rdx, [rsp + 0x98]
mov rcx, rax
call fcn.1400df5f0
nop
mov rdx, qword [rsp + 0x1c0]
cmp rdx, 0x10
jb 0x1400e77a5
inc rdx
mov rcx, qword [rsp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e77a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e7ed0
call fcn.1401de460
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x98]
mov r8, qword [rsp + 0xb0]
cmp r8, 0x10
cmovae rdx, rcx
cmp qword [rsp + 0xa8], 2
jne 0x1400e7832
movzx eax, byte [rdx]
cmp al, byte [0x14027003c]
jne 0x1400e77ec
movzx eax, byte [rdx + 1]
cmp al, byte [0x14027003d]
jne 0x1400e77ec
mov eax, r12d
jmp 0x1400e77f1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400e7832
cmp r8, 0x10
jb 0x1400e7af9
lea rdx, [r8 + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e7828
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e7ed6
call fcn.1401de460
jmp 0x1400e7af9
lea rax, [rsp + 0x118]
mov qword [rsp + 0x430], rax
mov dword [rsp + 0x88], r12d
mov dword [rsp + 0x8c], 4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x118], xmm0
mov qword [rsp + 0x128], r12
movzx r9d, byte [rsp + 0x430]
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x118]
call fcn.140069500
nop
movdqa xmm0, xmmword [0x140256c60]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov dword [rsp + 0x30], 6
mov rdx, qword [rsi + 0x10]
add rdx, 0x1d
lea rcx, [rsp + 0x68]
call fcn.140028dd0
mov r14, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x1400e78cb
mov rsi, qword [rsi]
mov r15, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
sub rax, r15
cmp r14, rax
ja 0x1400e7915
lea rax, [r15 + r14]
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0x68]
cmp rcx, 0x10
cmovae rbx, qword [rsp + 0x68]
lea rcx, [rbx + r15]
mov r8, r14
mov rdx, rsi
call fcn.1401fc480
lea rax, [r14 + rbx]
mov byte [rax + r15], 0
jmp 0x1400e792d
mov qword [rsp + 0x20], r14
mov r9, rsi
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.14001eab0
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1d
jb 0x1400e797c
lea rax, [rcx + 0x1d]
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0x68]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x68]
add rbx, rcx
mov r8d, 0x1d
lea rdx, str.___Expected_status__OK___got
mov rcx, rbx
call fcn.1401fc480
mov byte [rbx + 0x1d], 0
jmp 0x1400e799d
mov qword [rsp + 0x20], 0x1d
lea r9, str.___Expected_status__OK___got
xor r8d, r8d
lea edx, [r8 + 0x1d]
lea rcx, [rsp + 0x68]
call fcn.14001eab0
lea rdx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 0x10
cmovae rdx, qword [rsp + 0x98]
mov r8, qword [rsp + 0xa8]
lea rcx, [rsp + 0x68]
call fcn.140024b20
mov qword [rsp + 0x1d8], r12
mov qword [rsp + 0x1e0], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x1c8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x1d8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], setsockopt
mov byte [rax], 0
mov dword [rsp + 0x30], reloc.WS2_32.dll_ntohl
lea r9, [rsp + 0x118]
mov r8d, 3
lea rdx, [rsp + 0x1c8]
lea rcx, [0x14035dff0]
call fcn.140197c10
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0x10
jb 0x1400e7a6a
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e7a65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e7edc
call fcn.1401de460
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov byte [rdi], al
mov byte [rdi + 0x18], al
mov dword [rsp + 0x30], ntohl
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0x10
jb 0x1400e7acb
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e7ac6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e7ee2
call fcn.1401de460
movdqa xmm0, xmmword [0x140256c60]
movdqu xmmword [rsp + 0xa8], xmm0
mov byte [rsp + 0x98], 0
lea rcx, [rsp + 0xb8]
call fcn.1400ea850
mov rax, rdi
jmp 0x1400e7eb2
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x218]
call fcn.1400e9290
mov rbx, rax
mov qword [rsp + 0x430], rax
movdqa xmm0, xmmword [0x140256c60]
movdqu xmmword [rsp + 0x1f8], xmm0
mov byte [rsp + 0x1e8], 0
mov r8d, 4
lea rdx, str.outs
lea rcx, [rsp + 0x1e8]
call fcn.140024bb0
nop
lea rdx, [rsp + 0x1e8]
mov rcx, rbx
call fcn.1400efc20
nop
mov qword [rsp + 0xc8], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xd0], xmm0
mov dword [rsp + 0x30], 0x22
lea rdx, [rsp + 0xc8]
mov rcx, rax
call fcn.1400de450
nop
mov rdx, qword [rsp + 0x200]
cmp rdx, 0x10
jb 0x1400e7bcf
inc rdx
mov rcx, qword [rsp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e7bc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e7ee8
call fcn.1401de460
nop
mov rcx, rbx
call fcn.1400ea850
mov rax, qword [rsp + 0xc8]
mov qword [rdi], rax
mov rax, qword [rsp + 0xd0]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rdi + 0x10], rax
mov qword [rsp + 0xc8], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xd0], xmm0
mov byte [rdi + 0x18], 1
mov dword [rsp + 0x30], reloc.WS2_32.dll_send
lea rcx, [rsp + 0xb8]
call fcn.1400ea850
mov rax, rdi
jmp 0x1400e7eb2
lea rax, [0x140257f00]
mov qword [rsp + 0x270], rax
lea rax, [0x140257f08]
mov qword [rsp + 0x280], rax
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x308], rax
mov dword [rsp + 0x30], 0x80
xor r8d, r8d
lea rdx, [rsp + 0x288]
lea rcx, [rsp + 0x270]
call fcn.14002d300
nop
mov rax, qword [rsp + 0x270]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x270], rax
mov rax, qword [rsp + 0x270]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x26c], edx
lea rcx, [rsp + 0x288]
call fcn.1400204c0
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x288], rax
mov qword [rsp + 0x2f0], r12
mov dword [rsp + 0x2f8], r12d
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x1400e7cf8
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rsp + 0x280]
call fcn.14001e510
lea rdx, str.___got_status_code
mov rcx, rax
call fcn.14001c2a0
mov rcx, qword [rbx]
mov edx, dword [rcx + 0x20]
mov rcx, rax
call fcn.1400217f0
mov rax, qword [rbx]
cmp qword [rax + 0x48], 0
je 0x1400e7d60
lea rdx, str.__body:
lea rcx, [rsp + 0x280]
call fcn.14001c2a0
mov rdx, qword [rbx]
add rdx, 0x38
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400e7d58
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14001e510
lea rax, [rsp + 0x148]
mov qword [rsp + 0x430], rax
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x44], 4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x148], xmm0
mov qword [rsp + 0x158], r12
movzx r9d, byte [rsp + 0x430]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x148]
call fcn.140069500
nop
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x288]
call fcn.140034330
nop
lea r9, [rsp + 0x148]
mov r8d, 3
lea rdx, [rsp + 0x248]
lea rcx, [0x14035dff0]
call fcn.140197c10
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov byte [rdi], al
mov byte [rdi + 0x18], al
lea rcx, [rsp + 0x270]
call fcn.14002e040
jmp 0x1400e7eaf
lea rax, [rsp + 0x160]
mov qword [rsp + 0x430], rax
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x3c], 4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x160], xmm0
mov qword [rsp + 0x170], r12
movzx r9d, byte [rsp + 0x430]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x160]
call fcn.140069500
nop
lea r8, str.___failed_to_open_socket_or_timed_out.
mov rdx, rsi
lea rcx, [rsp + 0x390]
call fcn.140042e40
nop
lea r9, [rsp + 0x160]
mov r8d, 3
mov rdx, rax
lea rcx, [0x14035dff0]
call fcn.140197c10
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov byte [rdi], al
mov byte [rdi + 0x18], al
mov rax, rdi
mov rbx, qword [rsp + 0x420]
add rsp, 0x3f0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140205adc
nop
call fcn.140205adc
nop
call fcn.140205adc
nop
call fcn.140205adc
nop
call fcn.140205adc
nop
call fcn.140205adc
int3