Function at 0x140094110
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp byte [rcx + 0x1bd], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
jne 0x1400941cc
cmp byte [rcx + 0x985], 0
jne 0x1400941cc
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.Content_Length:
mov rcx, rdi
call fcn.14008def0
test eax, eax
je 0x1400941cc
xor edx, edx
lea rcx, [rdi + 0xf]
lea r9, [rsp + 0x40]
lea r8d, [rdx + 0xa]
call fcn.1400a4570
test eax, eax
jne 0x14009418d
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0xe8], rax
mov qword [rbx + 0xf0], rax
jmp 0x140094207
cmp eax, 1
jne 0x1400941b6
cmp qword [rbx + 0x618], 0
je 0x14009429b
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.14008afe0
mov eax, 0x3f
jmp 0x140094209
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rbx
call fcn.14008afe0
mov eax, 8
jmp 0x140094209
mov r8d, select
lea rdx, str.Content_Type:
mov rcx, rdi
call fcn.14008def0
test eax, eax
je 0x140094234
mov rcx, rdi
call fcn.140093440
mov rdi, rax
test rax, rax
je 0x14009466d
cmp byte [rax], 0
jne 0x14009421e
mov rcx, rax
call qword [fcn.1400baeb8]
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx + 0x11c8]
call qword [fcn.1400baeb8]
mov qword [rbx + 0x11c8], rdi
jmp 0x140094207
cmp byte [rsi + 0x603], 0xa
jne 0x140094272
lea r9, str.keep_alive
mov qword [rsp + 0x20], 0xa
mov r8d, ntohs
lea rdx, str.Connection:
mov rcx, rdi
call fcn.140093370
test al, al
je 0x140094272
xor edx, edx
mov rcx, rsi
call fcn.14008bc20
jmp 0x140094207
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, ntohs
lea rdx, str.Connection:
mov rcx, rdi
call fcn.140093370
test al, al
je 0x1400942ad
mov edx, 2
mov rcx, rsi
call fcn.14008bc20
jmp 0x140094207
cmp byte [rbx + 0x1bd], 0
jne 0x140094358
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, rdi
call fcn.14008def0
test eax, eax
je 0x140094310
lea rdx, [rdi + 0x12]
mov r8d, 1
mov rcx, rbx
call fcn.14008e120
test eax, eax
jne 0x140094209
cmp byte [rbx + 0x1be], al
jne 0x140094207
lea edx, [rax + 1]
mov rcx, rsi
call fcn.14008bc20
mov byte [rbx + 0x1bf], 1
jmp 0x140094207
cmp byte [rbx + 0x1bd], 0
jne 0x140094358
mov r8d, select
lea rdx, str.Content_Encoding:
mov rcx, rdi
call fcn.14008def0
test eax, eax
je 0x140094358
cmp qword [rbx + 0x690], 0
je 0x140094358
lea rdx, [rdi + 0x11]
xor r8d, r8d
mov rcx, rbx
call fcn.14008e120
test eax, eax
je 0x140094207
jmp 0x140094209
mov r8d, ntohs
lea rdx, str.Retry_After:
mov rcx, rdi
call fcn.14008def0
test eax, eax
je 0x1400943d3
xor edx, edx
mov qword [rsp + 0x40], 0
lea rsi, [rdi + 0xc]
lea r9, [rsp + 0x40]
mov rcx, rsi
lea r8d, [rdx + 0xa]
call fcn.1400a4570
mov rdi, qword [rsp + 0x40]
test rdi, rdi
jne 0x1400943c7
mov rcx, rsi
call fcn.1400a4470
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400943c2
xor ecx, ecx
call fcn.1400ebe88
sub rdi, rax
mov qword [rbx + 0x11d8], rdi
jmp 0x140094207
mov rdi, qword [rsp + 0x40]
mov qword [rbx + 0x11d8], rdi
jmp 0x140094207
cmp byte [rbx + 0x1bd], 0
jne 0x1400944e2
mov r8d, select
lea rdx, str.Content_Range:
mov rcx, rdi
call fcn.14008def0
test eax, eax
je 0x140094485
movzx ecx, byte [rdi + 0xe]
add rdi, 0xe
test cl, cl
je 0x140094430
movzx eax, cl
nop dword [rax]
cmp al, 0x30
jl 0x14009441b
movzx ecx, al
cmp al, 0x39
jle 0x140094430
movzx ecx, al
cmp al, 0x2a
je 0x140094430
movzx ecx, byte [rdi + 1]
inc rdi
movzx eax, cl
test cl, cl
jne 0x140094410
sub cl, 0x30
cmp cl, 9
ja 0x140094475
xor edx, edx
lea r9, [rbx + 0x150]
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.1400a4570
test eax, eax
jne 0x140094207
mov rax, qword [rbx + 0x150]
cmp qword [rbx + 0xff8], rax
jne 0x140094207
mov byte [rbx + 0x1ba], 1
jmp 0x140094207
mov qword [rbx + 0xff8], 0
jmp 0x140094207
cmp byte [rbx + 0x1bd], 0
jne 0x1400944e2
mov r8d, select
lea rdx, str.Last_Modified:
mov rcx, rdi
call fcn.14008def0
test eax, eax
je 0x1400944e2
cmp byte [rbx + 0x528], 0
jne 0x1400944b9
cmp byte [rbx + 0x96f], 0
je 0x1400944e2
lea rcx, [rdi + 0xe]
call fcn.1400a4470
mov qword [rbx + 0x180], rax
cmp byte [rbx + 0x96f], 0
je 0x140094207
mov qword [rbx + 0x11a0], rax
jmp 0x140094207
mov r8d, select
lea rdx, str.WWW_Authenticate:
mov rcx, rdi
call fcn.14008def0
test eax, eax
je 0x140094509
mov ebp, dword [rbx + 0x158]
cmp ebp, 0x191
je 0x140094530
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, rdi
call fcn.14008def0
test eax, eax
je 0x140094572
mov ebp, dword [rbx + 0x158]
cmp ebp, 0x197
jne 0x140094572
mov rcx, rdi
call fcn.140093440
mov rdi, rax
test rax, rax
je 0x14009466d
cmp ebp, 0x197
mov r8, rax
mov rcx, rbx
sete dl
call fcn.140094890
mov rcx, rdi
mov ebx, eax
call qword [fcn.1400baeb8]
test ebx, ebx
je 0x140094207
mov eax, ebx
jmp 0x140094209
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.Persistent_Auth:
mov rcx, rdi
call fcn.14008def0
test eax, eax
je 0x1400945db
cmp dword [rbx + 0xc8c], 4
jne 0x140094207
mov rcx, rdi
call fcn.140093440
mov rbx, rax
test rax, rax
je 0x14009466d
mov r8d, 5
lea rdx, str.false
mov rcx, rax
call fcn.14008def0
test eax, eax
mov byte [rsi + 0x509], 1
setne cl
mov byte [rsi + 0x508], cl
mov rcx, rbx
jmp 0x140094201
mov eax, dword [rbx + 0x158]
sub eax, 0x12c
cmp eax, 0x63
ja 0x140094677
mov r8d, 9
lea rdx, str.Location:
mov rcx, rdi
call fcn.14008def0
test eax, eax
je 0x140094677
cmp qword [rbx + 0x190], 0
jne 0x140094677
mov rcx, rdi
call fcn.140093440
test rax, rax
je 0x14009466d
cmp byte [rax], 0
jne 0x14009462c
mov rcx, rax
jmp 0x140094201
cmp byte [rbx + 0x977], 0
mov qword [rbx + 0x190], rax
je 0x140094207
mov rcx, rax
call qword [fcn.1400f451c]
mov qword [rbx + 0x198], rax
test rax, rax
je 0x14009466d
mov rdx, rsi
mov rcx, rbx
call fcn.140095ec0
test eax, eax
je 0x140094207
jmp 0x140094209
mov eax, 0x1b
jmp 0x140094209
mov rax, qword [rsi + 0x2c8]
test dword [rax + 0x84], 0x40000
je 0x140094207
mov eax, 4
jmp 0x140094209