Function at 0x140127670
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
xor r14d, r14d
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp byte [rcx + 0x1c6], r14b
jne 0x140127755
cmp byte [rcx + 0x9f6], r14b
jne 0x140127755
lea r8d, [r14 + 0xf]
mov rcx, rdi
lea rdx, str.Content_Length:
call fcn.1401354e0
test eax, eax
je 0x140127755
lea rcx, str.Content_Length:
call fcn.140155580
lea r9, [rsp + 0x60]
xor edx, edx
lea r8d, [r14 + 0xa]
lea rcx, [rdi + rax]
call fcn.14013a340
test eax, eax
jne 0x140127717
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0xf0], rax
mov qword [rbx + 0xf8], rax
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
cmp eax, 1
jne 0x14012773f
cmp qword [rbx + 0x6a8], r14
je 0x140127884
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.140132250
mov eax, 0x3f
jmp 0x140127700
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rbx
call fcn.140132250
mov eax, 8
jmp 0x140127700
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.Content_Type:
mov rcx, rdi
call fcn.1401354e0
test eax, eax
je 0x1401277ae
mov rcx, rdi
call fcn.140126990
mov rdi, rax
test rax, rax
je 0x140127c1d
cmp byte [rax], r14b
jne 0x140127795
mov rcx, rax
call qword [fcn.1401509a0]
jmp 0x1401276fe
mov rcx, qword [rbx + 0x12b8]
call qword [fcn.1401509a0]
mov qword [rbx + 0x12b8], rdi
jmp 0x1401276fe
mov ebp, 0xa
lea r12d, [rbp + 7]
cmp byte [rsi + 0x399], bpl
jne 0x1401277eb
cmp byte [rsi + 0x2c8], r14b
je 0x1401277eb
lea r9, str.keep_alive
mov qword [rsp + 0x20], rbp
mov r8d, r12d
lea rdx, str.Proxy_Connection:
mov rcx, rdi
call fcn.1401268e0
test al, al
jne 0x14012785a
mov r15d, reloc.WS2_32.dll_inet_addr
cmp byte [rsi + 0x399], r15b
jne 0x14012782f
cmp byte [rsi + 0x2c8], r14b
je 0x14012782f
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8, r12
lea rdx, str.Proxy_Connection:
mov rcx, rdi
call fcn.1401268e0
test al, al
je 0x14012782f
lea edx, [r15 - 0xa]
jmp 0x140127889
cmp byte [rsi + 0x399], bpl
jne 0x14012785e
lea r9, str.keep_alive
mov qword [rsp + 0x20], rbp
mov r8, r15
lea rdx, str.Connection:
mov rcx, rdi
call fcn.1401268e0
test al, al
je 0x14012785e
xor edx, edx
jmp 0x140127889
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8, r15
lea rdx, str.Connection:
mov rcx, rdi
call fcn.1401268e0
test al, al
je 0x140127896
mov edx, 2
mov rcx, rsi
call fcn.140130bb0
jmp 0x1401276fe
cmp byte [rbx + 0x1c6], r14b
jne 0x140127963
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, rdi
call fcn.1401354e0
test eax, eax
je 0x140127913
lea rcx, str.Transfer_Encoding:
call fcn.140155580
mov r8d, 1
mov rcx, rbx
lea rdx, [rdi + rax]
call fcn.140135710
test eax, eax
jne 0x140127700
cmp byte [rbx + 0x1c7], r14b
jne 0x1401276fe
cmp byte [rbx + 0x9ea], r14b
je 0x1401276fe
lea edx, [rax + 1]
mov rcx, rsi
call fcn.140130bb0
mov byte [rbx + 0x1c8], 1
jmp 0x1401276fe
cmp byte [rbx + 0x1c6], r14b
jne 0x140127963
mov r8, r12
lea rdx, str.Content_Encoding:
mov rcx, rdi
call fcn.1401354e0
test eax, eax
je 0x140127963
cmp qword [rbx + 0x700], r14
je 0x140127963
lea rcx, str.Content_Encoding:
call fcn.140155580
xor r8d, r8d
mov rcx, rbx
lea rdx, [rdi + rax]
call fcn.140135710
test eax, eax
je 0x1401276fe
jmp 0x140127700
lea r15, str.Retry_After:
mov r8d, reloc.WS2_32.dll_inet_ntoa
mov rdx, r15
mov rcx, rdi
call fcn.1401354e0
test eax, eax
je 0x1401279e0
mov rcx, r15
mov qword [rsp + 0x60], r14
call fcn.140155580
lea r9, [rsp + 0x60]
mov r8d, ebp
xor edx, edx
lea rcx, [rdi + rax]
call fcn.14013a340
mov rsi, qword [rsp + 0x60]
test rsi, rsi
jne 0x1401279d4
mov rcx, r15
call fcn.140155580
lea rcx, [rdi + rax]
call fcn.1400097d0
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1401279cf
xor ecx, ecx
call fcn.140149f20
sub rsi, rax
jmp 0x1401279d4
mov rsi, qword [rsp + 0x60]
mov qword [rbx + 0x12c8], rsi
jmp 0x1401276fe
mov r15d, reloc.WS2_32.dll_ntohl
cmp byte [rbx + 0x1c6], r14b
jne 0x140127af8
mov r8d, r15d
lea rdx, str.Content_Range:
mov rcx, rdi
call fcn.1401354e0
test eax, eax
je 0x140127a92
lea rcx, str.Content_Range:
call fcn.140155580
lea r10, [rdi + rax]
mov al, byte [r10]
test al, al
je 0x140127a45
mov cl, al
cmp cl, 0x30
jl 0x140127a32
mov al, cl
cmp cl, 0x39
jle 0x140127a45
mov al, cl
cmp cl, 0x2a
je 0x140127a45
inc r10
mov al, byte [r10]
mov cl, al
test al, al
jne 0x140127a26
sub al, 0x30
cmp al, 9
ja 0x140127a86
lea rdi, [rbx + 0x148]
mov r8d, ebp
mov r9, rdi
xor edx, edx
mov rcx, r10
call fcn.14013a340
test eax, eax
jne 0x1401276fe
mov rax, qword [rdi]
cmp qword [rbx + 0x10b8], rax
jne 0x1401276fe
mov byte [rbx + 0x1c3], 1
jmp 0x1401276fe
mov qword [rbx + 0x10b8], r14
jmp 0x1401276fe
cmp byte [rbx + 0x1c6], r14b
jne 0x140127af8
mov r8, r15
lea rdx, str.Last_Modified:
mov rcx, rdi
call fcn.1401354e0
test eax, eax
je 0x140127af8
cmp byte [rbx + 0x4e8], r14b
jne 0x140127ac3
cmp byte [rbx + 0x9e1], r14b
je 0x140127af8
lea rcx, str.Last_Modified:
call fcn.140155580
lea rcx, [rdi + rax]
call fcn.1400097d0
mov qword [rbx + 0x178], rax
cmp byte [rbx + 0x9e1], r14b
je 0x1401276fe
mov qword [rbx + 0x1290], rax
jmp 0x1401276fe
mov r8, r12
lea rdx, str.WWW_Authenticate:
mov rcx, rdi
call fcn.1401354e0
mov r15d, 0x197
test eax, eax
je 0x140127b22
mov ebp, dword [rbx + 0x150]
cmp ebp, 0x191
je 0x140127b46
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, rdi
call fcn.1401354e0
test eax, eax
je 0x140127b85
mov ebp, dword [rbx + 0x150]
cmp ebp, r15d
jne 0x140127b85
mov rcx, rdi
call fcn.140126990
mov rdi, rax
test rax, rax
je 0x140127c1d
cmp ebp, r15d
mov r8, rax
mov rcx, rbx
sete dl
call fcn.140127e00
mov rcx, rdi
mov ebx, eax
call qword [fcn.1401509a0]
test ebx, ebx
je 0x1401276fe
mov eax, ebx
jmp 0x140127700
mov eax, dword [rbx + 0x150]
sub eax, 0x12c
cmp eax, 0x63
ja 0x140127c27
mov r8d, 9
lea rdx, str.Location:
mov rcx, rdi
call fcn.1401354e0
test eax, eax
je 0x140127c27
cmp qword [rbx + 0x188], r14
jne 0x140127c27
mov rcx, rdi
call fcn.140126990
test rax, rax
je 0x140127c1d
cmp byte [rax], r14b
jne 0x140127bd5
mov rcx, rax
jmp 0x14012778a
mov qword [rbx + 0x188], rax
cmp byte [rbx + 0x9e9], r14b
je 0x1401276fe
mov rcx, rax
call qword [fcn.140151530]
mov qword [rbx + 0x190], rax
test rax, rax
je 0x140127c1d
mov rdx, rsi
mov rcx, rbx
call fcn.1401294a0
test eax, eax
jne 0x140127700
mov byte [rbx + 0x1265], 1
jmp 0x1401276fe
mov eax, 0x1b
jmp 0x140127700
mov rax, qword [rsi + 0x2e0]
test dword [rax + 0x84], 0x40000
je 0x1401276fe
mov eax, 4
jmp 0x140127700