Function at 0x14003d7e8
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp byte [rcx + 0x1bd], r14b
jne 0x14003d8b5
cmp byte [rcx + 0x97d], r14b
jne 0x14003d8b5
lea r8d, [r14 + 0xf]
mov rcx, rdi
lea rdx, str.Content_Length:
call fcn.1400383a8
test eax, eax
je 0x14003d8b5
lea rcx, [rdi + 0xf]
xor edx, edx
lea r9, [rsp + 0x50]
lea r8d, [r14 + 0xa]
call fcn.14004b754
test eax, eax
jne 0x14003d877
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0xe8], rax
mov qword [rbx + 0xf0], rax
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
cmp eax, 1
jne 0x14003d89f
cmp qword [rbx + 0x618], r14
je 0x14003d966
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.140035bf4
mov eax, 0x3f
jmp 0x14003d864
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rbx
call fcn.140035bf4
mov eax, 8
jmp 0x14003d864
mov r8d, select
lea rdx, str.Content_Type:
mov rcx, rdi
call fcn.1400383a8
test eax, eax
je 0x14003d908
mov rcx, rdi
call fcn.14003cbe4
mov rdi, rax
test rax, rax
je 0x14003dd0a
cmp byte [rax], r14b
jne 0x14003d8ef
mov rcx, rax
jmp 0x14003dc7d
mov rcx, qword [rbx + 0x11c0]
call qword [fcn.140057674]
mov qword [rbx + 0x11c0], rdi
jmp 0x14003d862
cmp byte [rsi + 0x5ff], 0xa
mov ebp, ntohs
jne 0x14003d940
lea r9, str.keep_alive
mov qword [rsp + 0x20], 0xa
mov r8d, ebp
lea rdx, str.Connection:
mov rcx, rdi
call fcn.14003cb34
test al, al
je 0x14003d940
xor edx, edx
jmp 0x14003d96b
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8, rbp
lea rdx, str.Connection:
mov rcx, rdi
call fcn.14003cb34
test al, al
je 0x14003d978
mov edx, 2
mov rcx, rsi
call fcn.1400365fc
jmp 0x14003d862
cmp byte [rbx + 0x1bd], r14b
jne 0x14003da23
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, rdi
call fcn.1400383a8
test eax, eax
je 0x14003d9dc
lea rdx, [rdi + 0x12]
mov r8d, 1
mov rcx, rbx
call fcn.140038548
test eax, eax
jne 0x14003d864
cmp byte [rbx + 0x1be], r14b
jne 0x14003d862
lea edx, [rax + 1]
mov rcx, rsi
call fcn.1400365fc
mov byte [rbx + 0x1bf], 1
jmp 0x14003d862
cmp byte [rbx + 0x1bd], r14b
jne 0x14003da23
mov r8d, select
lea rdx, str.Content_Encoding:
mov rcx, rdi
call fcn.1400383a8
test eax, eax
je 0x14003da23
cmp qword [rbx + 0x690], r14
je 0x14003da23
lea rdx, [rdi + 0x11]
xor r8d, r8d
mov rcx, rbx
call fcn.140038548
test eax, eax
je 0x14003d862
jmp 0x14003d864
mov r8d, ntohs
lea rdx, str.Retry_After:
mov rcx, rdi
call fcn.1400383a8
test eax, eax
je 0x14003da90
xor edx, edx
mov qword [rsp + 0x50], r14
lea rsi, [rdi + 0xc]
lea r9, [rsp + 0x50]
mov rcx, rsi
lea r8d, [rdx + 0xa]
call fcn.14004b754
mov rdi, qword [rsp + 0x50]
test rdi, rdi
jne 0x14003da84
mov rcx, rsi
call fcn.14004b6cc
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14003da7f
xor ecx, ecx
call fcn.14005fe88
sub rdi, rax
jmp 0x14003da84
mov rdi, qword [rsp + 0x50]
mov qword [rbx + 0x11d0], rdi
jmp 0x14003d862
mov ebp, select
cmp byte [rbx + 0x1bd], r14b
jne 0x14003db89
mov r8d, ebp
lea rdx, str.Content_Range:
mov rcx, rdi
call fcn.1400383a8
test eax, eax
je 0x14003db2f
add rdi, rbp
mov al, byte [rdi]
test al, al
je 0x14003dae1
mov cl, al
cmp cl, 0x30
jl 0x14003dacf
mov al, cl
cmp cl, 0x39
jle 0x14003dae1
mov al, cl
cmp cl, 0x2a
je 0x14003dae1
inc rdi
mov al, byte [rdi]
mov cl, al
test al, al
jne 0x14003dac3
sub al, 0x30
cmp al, 9
ja 0x14003db23
xor edx, edx
lea rsi, [rbx + 0x150]
mov r9, rsi
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.14004b754
test eax, eax
jne 0x14003d862
mov rax, qword [rsi]
cmp qword [rbx + 0xff0], rax
jne 0x14003d862
mov byte [rbx + 0x1ba], 1
jmp 0x14003d862
mov qword [rbx + 0xff0], r14
jmp 0x14003d862
cmp byte [rbx + 0x1bd], r14b
jne 0x14003db89
mov r8, rbp
lea rdx, str.Last_Modified:
mov rcx, rdi
call fcn.1400383a8
test eax, eax
je 0x14003db89
cmp byte [rbx + 0x528], r14b
jne 0x14003db60
cmp byte [rbx + 0x967], r14b
je 0x14003db89
lea rcx, [rdi + 0xe]
call fcn.14004b6cc
mov qword [rbx + 0x180], rax
cmp byte [rbx + 0x967], r14b
je 0x14003d862
mov qword [rbx + 0x1198], rax
jmp 0x14003d862
mov r8d, select
lea rdx, str.WWW_Authenticate:
mov rcx, rdi
call fcn.1400383a8
test eax, eax
je 0x14003dbb0
mov ebp, dword [rbx + 0x158]
cmp ebp, 0x191
je 0x14003dbd7
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, rdi
call fcn.1400383a8
test eax, eax
je 0x14003dc19
mov ebp, dword [rbx + 0x158]
cmp ebp, 0x197
jne 0x14003dc19
mov rcx, rdi
call fcn.14003cbe4
mov rdi, rax
test rax, rax
je 0x14003dd0a
cmp ebp, 0x197
mov r8, rax
mov rcx, rbx
sete dl
call fcn.14003def4
mov rcx, rdi
mov ebx, eax
call qword [fcn.140057674]
test ebx, ebx
je 0x14003d862
mov eax, ebx
jmp 0x14003d864
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.Persistent_Auth:
mov rcx, rdi
call fcn.1400383a8
test eax, eax
je 0x14003dc88
cmp dword [rbx + 0xc84], 4
jne 0x14003d862
mov rcx, rdi
call fcn.14003cbe4
mov rbx, rax
test rax, rax
je 0x14003dd0a
mov r8d, 5
lea rdx, str.false
mov rcx, rax
call fcn.1400383a8
test eax, eax
mov byte [rsi + 0x509], 1
setne cl
mov byte [rsi + 0x508], cl
mov rcx, rbx
call qword [fcn.140057674]
jmp 0x14003d862
mov eax, dword [rbx + 0x158]
sub eax, 0x12c
cmp eax, 0x63
ja 0x14003dd14
mov r8d, 9
lea rdx, str.Location:
mov rcx, rdi
call fcn.1400383a8
test eax, eax
je 0x14003dd14
cmp qword [rbx + 0x190], r14
jne 0x14003dd14
mov rcx, rdi
call fcn.14003cbe4
test rax, rax
je 0x14003dd0a
cmp byte [rax], r14b
jne 0x14003dcd1
mov rcx, rax
jmp 0x14003dc7d
mov qword [rbx + 0x190], rax
cmp byte [rbx + 0x96f], r14b
je 0x14003d862
mov rcx, rax
call qword [fcn.140067e08]
mov qword [rbx + 0x198], rax
test rax, rax
je 0x14003dd0a
mov rdx, rsi
mov rcx, rbx
call fcn.14003f3a4
jmp 0x14003da16
mov eax, 0x1b
jmp 0x14003d864
mov rax, qword [rsi + 0x2c8]
test dword [rax + 0x84], 0x40000
je 0x14003d862
mov eax, 4
jmp 0x14003d864