Function at 0x140043fb0
Capabilities:
Check http status code

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x1400a8008]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor r15d, r15d
mov dword [rsp + 0x48], 4
mov ebp, r9d
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x40], r15d
cmp qword [rcx + 0x18], r15
jne 0x140043ffa
xor eax, eax
jmp 0x1400442f5
xor ecx, ecx
mov qword [rsp + 0x268], rbx
call fcn.14002db7c
mov qword [rdi + 0x368], rax
mov rdx, qword [rsi + 8]
mov rbx, rdx
shr rbx, 1
cmp qword [rsi], r15
je 0x140044029
lea rax, [rdx + 2]
cmp rax, qword [rsi + 0x10]
jbe 0x14004403c
add rdx, 0x402
mov rcx, rsi
call fcn.1400029f0
test al, al
je 0x14004404c
mov rax, qword [rsi + 8]
add rax, qword [rsi]
mov word [rax], r15w
add qword [rsi + 8], 2
mov rdx, qword [rsi]
mov r9d, 0xa0000000
mov rcx, qword [rdi + 0x18]
mov r8d, ebx
call qword [0x140076638]
test eax, eax
jne 0x1400440b4
mov rbx, qword [rdi + 0x28]
call qword [0x140076158]
mov r9d, dword [rdi + 0x238]
lea rcx, [rdi + 0x380]
mov r8, rbx
mov dword [rsp + 0x20], eax
lea rdx, str._s:_u_add_header_failed___u_
call fcn.140005320
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400440a9
mov r8, qword [rsi + 8]
test r8, r8
je 0x1400440a9
xor edx, edx
call fcn.140021ce0
mov qword [rsi + 8], r15
xor eax, eax
jmp 0x1400442ed
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400440cc
mov r8, qword [rsi + 8]
test r8, r8
je 0x1400440cc
xor edx, edx
call fcn.140021ce0
mov qword [rsi + 8], r15
mov eax, dword [rdi + 0x238]
cmp eax, 0x1bb
je 0x1400440e4
cmp eax, 0x79e
jne 0x14004413b
mov rcx, qword [rdi + 0x18]
lea r8, [rsp + 0x44]
mov r9d, 4
mov dword [rsp + 0x44], 0x100
lea edx, [r9 + 0x1b]
call qword [0x140076640]
test eax, eax
jne 0x14004413b
mov rbx, qword [rdi + 0x28]
call qword [0x140076158]
mov r9d, dword [rdi + 0x238]
lea rcx, [rdi + 0x380]
mov r8, rbx
mov dword [rsp + 0x20], eax
lea rdx, str._s:_u_set_security_options_failed___u_
call fcn.140005320
xor eax, eax
jmp 0x1400442ed
mov rcx, qword [rdi + 0x18]
mov r9, r14
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov dword [rsp + 0x28], ebp
xor edx, edx
mov dword [rsp + 0x20], ebp
call qword [0x140076630]
test eax, eax
jne 0x140044190
mov rbx, qword [rdi + 0x28]
call qword [0x140076158]
mov r9d, dword [rdi + 0x238]
lea rcx, [rdi + 0x380]
mov r8, rbx
mov dword [rsp + 0x20], eax
lea rdx, str._s:_u_send_request_failed___u_
call fcn.140005320
xor eax, eax
jmp 0x1400442ed
cmp byte [rdi + 0x371], r15b
jne 0x1400441b4
mov eax, dword [rdi + 0x238]
cmp eax, 0x1bb
je 0x1400441ad
cmp eax, 0x79e
jne 0x1400441b4
mov byte [rdi + 0x371], 1
mov rcx, qword [rdi + 0x18]
xor edx, edx
call qword [0x140076628]
test eax, eax
jne 0x1400441f6
mov rbx, qword [rdi + 0x28]
call qword [0x140076158]
mov r9d, dword [rdi + 0x238]
lea rcx, [rdi + 0x380]
mov r8, rbx
mov dword [rsp + 0x20], eax
lea rdx, str._s:_u_receive_response_failed___u_
call fcn.140005320
xor eax, eax
jmp 0x1400442ed
mov rcx, qword [rdi + 0x18]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], r15
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x20000013
call qword [0x140076620]
test eax, eax
jne 0x140044252
mov rbx, qword [rdi + 0x28]
call qword [0x140076158]
mov r9d, dword [rdi + 0x238]
lea rcx, [rdi + 0x380]
mov r8, rbx
mov dword [rsp + 0x20], eax
lea rdx, str._s:_u_query_status_failed___u_
call fcn.140005320
xor eax, eax
jmp 0x1400442ed
cmp dword [rsp + 0x40], 0xc8
je 0x1400442e9
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x200
call fcn.140021ce0
mov rcx, qword [rdi + 0x18]
lea rax, [rsp + 0x44]
xor r8d, r8d
mov qword [rsp + 0x28], r15
lea r9, [rsp + 0x50]
mov dword [rsp + 0x44], 0x200
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x14]
call qword [0x140076620]
mov r9d, dword [rdi + 0x238]
lea rcx, [rdi + 0x380]
mov r8, qword [rdi + 0x28]
test eax, eax
je 0x1400442d5
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str._s:_u_send_failed___u:__s_
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
call fcn.140005320
jmp 0x1400442e9
mov eax, dword [rsp + 0x40]
lea rdx, str._s:_u_send_failed___u_
mov dword [rsp + 0x20], eax
call fcn.140005320
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001e6d0
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret