Function at 0x140031170
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
movsx eax, byte [rdx]
mov rsi, r8
mov rbp, qword [rcx + 0x20]
add eax, 0xffffffbf
mov rdi, rdx
mov rbx, rcx
cmp eax, 0x36
ja case.0x1400311ba.66
lea rcx, [0x140000000]
cdqe
movzx eax, byte [rcx + rax + 0x31c0c]
mov r8d, dword [rcx + rax*4 + 0x31be8]
add r8, rcx
jmp r8
cmp qword [rbx + 0xa78], 0
je case.0x1400311ba.66
mov rax, qword [rbp + 0x360]
test byte [rax + 0x94], 1
je case.0x1400311ba.66
cmp rsi, 8
jb case.0x1400311ba.66
mov esi, 8
lea rcx, str.Alt_Svc:
mov r8d, esi
call fcn.140029a60
test eax, eax
je case.0x1400311ba.66
lea r14, [rdi + 8]
test r14, r14
je case.0x1400311ba.66
movzx eax, byte [rbp + 0x778]
cmp al, 0x1e
jne 0x140031224
mov esi, reloc.WLDAP32.dll_Ordinal_32
jmp 0x140031230
cmp al, 0x14
mov r8d, reloc.WS2_32.dll_recv
cmove esi, r8d
mov ecx, dword [rbp + 0x764]
call fcn.1400271f0
mov rdx, qword [rbx + 0xa78]
mov r9d, esi
mov word [rsp + 0x28], ax
mov r8, r14
mov rax, qword [rbp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140027bb0
jmp 0x14003131c
cmp byte [rbx + 0x1db], 0
jne 0x14003138d
cmp byte [rbx + 0xa53], 0
jne 0x140031345
cmp rsi, 0xf
jb 0x140031345
mov r8d, reloc.WS2_32.dll_ntohs
lea rcx, str.Content_Length:
call fcn.140029a60
test eax, eax
je 0x140031345
lea rcx, [rdi + 0xf]
test rcx, rcx
je 0x140031345
lea r9, [rsp + 0x60]
xor edx, edx
mov r8d, 0xa
call fcn.140038750
test eax, eax
jne 0x1400312d9
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0xf0], rax
mov qword [rbx + 0xf8], rax
jmp 0x14003131a
cmp eax, 1
jne 0x14003132f
cmp qword [rbx + 0x6f0], 0
je 0x1400312fe
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rbx
call fcn.140023420
mov eax, 0x3f
jmp 0x14003131c
mov edx, 2
mov rcx, rbp
call fcn.140025e80
lea rdx, str.Overflow_Content_Length:_value
mov rcx, rbx
call fcn.140023510
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rbx
call fcn.140023420
mov eax, 8
jmp 0x14003131c
cmp byte [rbx + 0x1db], 0
jne 0x14003138d
cmp qword [rbx + 0x818], 0
je 0x14003138d
cmp rsi, 0x11
jb 0x14003138d
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Content_Encoding:
mov rdx, rdi
call fcn.140029a60
test eax, eax
je 0x140031393
lea rdx, [rdi + 0x11]
test rdx, rdx
je 0x140031393
xor r8d, r8d
mov rcx, rbx
call fcn.140029de0
jmp 0x14003131c
cmp rsi, 0xd
jb 0x1400313f5
mov r8d, reloc.WS2_32.dll_listen
lea rcx, str.Content_Type:
mov rdx, rdi
call fcn.140029a60
test eax, eax
je 0x1400313f5
lea rax, [rdi + 0xd]
test rax, rax
je 0x1400313fb
mov rcx, rdi
call fcn.140030860
mov rdi, rax
test rax, rax
je 0x140031bd5
cmp byte [rax], 0
jne 0x1400313dc
mov rcx, rax
call qword [case.0x140016705.0]
jmp 0x14003131a
mov rcx, qword [rbx + 0x12d8]
call qword [case.0x140016705.0]
mov qword [rbx + 0x12d8], rdi
jmp 0x14003131a
cmp rsi, 0xb
jb 0x140031455
mov r8d, ntohs
lea rcx, str.Connection:
mov rdx, rdi
call fcn.140029a60
test eax, eax
je 0x140031455
cmp rsi, 0x10
jbe 0x140031455
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, ntohs
lea rdx, str.Connection:
mov rcx, rdi
call fcn.140030780
test al, al
je 0x140031455
mov edx, 2
mov rcx, rbp
call fcn.140025e80
jmp 0x14003131a
cmp byte [rbp + 0x778], 0xa
jne 0x1400314c2
cmp rsi, 0xb
jb 0x1400314c2
mov r8d, ntohs
lea rcx, str.Connection:
mov rdx, rdi
call fcn.140029a60
test eax, eax
je 0x1400314c2
cmp rsi, 0x15
jbe 0x1400314c2
lea r9, str.keep_alive
mov qword [rsp + 0x20], 0xa
mov r8d, ntohs
lea rdx, str.Connection:
mov rcx, rdi
call fcn.140030780
test al, al
je 0x1400314c2
xor edx, edx
mov rcx, rbp
call fcn.140025e80
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive
jmp 0x140031312
cmp byte [rbx + 0x1db], 0
jne case.0x1400311ba.66
cmp rsi, 0xe
jb case.0x1400311ba.66
mov r8d, recvfrom
lea rcx, str.Content_Range:
mov rdx, rdi
call fcn.140029a60
test eax, eax
je case.0x1400311ba.66
lea rcx, [rdi + 0xe]
test rcx, rcx
je case.0x1400311ba.66
movzx eax, byte [rcx]
test al, al
je 0x14003152c
nop word [rax + rax]
cmp al, 0x30
movzx eax, byte [rcx]
jl 0x14003151d
cmp al, 0x39
jle 0x14003152c
jmp 0x140031521
cmp al, 0x2a
je 0x14003152c
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x140031510
cmp al, 0x30
jl 0x140031571
cmp byte [rcx], 0x39
jg 0x140031571
lea r9, [rbx + 0x130]
xor edx, edx
mov r8d, 0xa
call fcn.140038750
test eax, eax
jne case.0x1400311ba.66
mov rax, qword [rbx + 0x130]
cmp qword [rbx + 0x1090], rax
jne case.0x1400311ba.66
mov byte [rbx + 0x1d3], 1
jmp case.0x1400311ba.66
cmp dword [rbx + 0x13c], 0x12c
jge case.0x1400311ba.66
xor ecx, ecx
mov qword [rbx + 0x1090], rcx
jmp case.0x1400311ba.66
cmp byte [rbx + 0x1db], 0
jne 0x1400315f4
cmp byte [rbx + 0x530], 0
jne 0x1400315aa
cmp byte [rbx + 0xa39], 0
je 0x1400315f4
cmp rsi, 0xe
jb 0x1400315f4
mov r8d, recvfrom
lea rcx, str.Last_Modified:
call fcn.140029a60
test eax, eax
je 0x1400315f4
lea rcx, [rdi + 0xe]
test rcx, rcx
je 0x1400315f4
call fcn.140038940
mov qword [rbx + 0x1a0], rax
cmp byte [rbx + 0xa39], 0
je 0x14003131a
mov qword [rbx + 0x12b8], rax
jmp 0x14003131a
mov eax, dword [rbx + 0x13c]
sub eax, 0x12c
cmp eax, 0x63
ja case.0x1400311ba.66
cmp rsi, 9
jb case.0x1400311ba.66
mov r8d, 9
lea rcx, str.Location:
mov rdx, rdi
call fcn.140029a60
test eax, eax
je case.0x1400311ba.66
cmp qword [rbx + 0x1b0], 0
jne case.0x1400311ba.66
mov rcx, rdi
call fcn.140030860
test rax, rax
je 0x140031bd5
cmp byte [rax], 0
jne 0x140031673
mov rcx, rax
call qword [case.0x140016705.0]
mov rax, qword [rbp + 0x360]
test dword [rax + 0x8c], 0x40000
je 0x14003131a
mov rdx, rdi
mov rcx, rbx
call fcn.14004f800
jmp 0x14003131c
cmp byte [rbx + 0xa47], 0
mov qword [rbx + 0x1b0], rax
je case.0x1400311ba.66
mov rcx, rax
call qword [case.0x140016705.2]
mov qword [rbx + 0x1b8], rax
test rax, rax
je 0x140031bd5
mov rdx, rbp
mov rcx, rbx
call fcn.140033b00
test eax, eax
jne 0x14003131c
mov byte [rbx + 0x128d], 1
jmp case.0x1400311ba.66
cmp rsi, 0x11
jb 0x1400317e0
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Proxy_Connection:
call fcn.140029a60
test eax, eax
je 0x1400317e0
lea rax, [rdi + 0x11]
test rax, rax
je 0x1400317e0
cmp byte [rbp + 0x778], 0xa
jne 0x140031759
cmp byte [rbp + 0x340], 0
je 0x140031759
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Proxy_Connection:
mov rdx, rdi
call fcn.140029a60
test eax, eax
je 0x140031759
cmp rsi, 0x1b
jbe 0x140031759
lea r9, str.keep_alive
mov qword [rsp + 0x20], 0xa
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, rdi
call fcn.140030780
test al, al
je 0x140031759
xor edx, edx
mov rcx, rbp
call fcn.140025e80
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive
jmp 0x140031312
cmp byte [rbp + 0x778], 0xb
jne 0x14003131a
cmp byte [rbp + 0x340], 0
je 0x14003131a
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.Proxy_Connection:
mov rdx, rdi
call fcn.140029a60
test eax, eax
je 0x14003131a
cmp rsi, 0x16
jbe 0x14003131a
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.Proxy_Connection:
mov rcx, rdi
call fcn.140030780
test al, al
je 0x14003131a
mov edx, 1
mov rcx, rbp
call fcn.140025e80
lea rdx, str.HTTP_1.1_proxy_connection_set_close
jmp 0x140031312
cmp dword [rbx + 0x13c], 0x197
jne 0x14003183e
cmp rsi, 0x13
jb 0x14003183e
mov r8d, reloc.WS2_32.dll_send
lea rcx, str.Proxy_authenticate:
mov rdx, rdi
call fcn.140029a60
test eax, eax
je 0x140031848
mov rcx, rdi
call fcn.140030860
mov rdi, rax
test rax, rax
je 0x140031bd5
mov dl, 1
mov r8, rdi
mov rcx, rbx
call fcn.140031ef0
mov rcx, rdi
mov ebx, eax
call qword [case.0x140016705.0]
mov eax, ebx
jmp 0x14003131c
cmp rsi, 0x10
jb case.0x1400311ba.66
mov r8d, reloc.WS2_32.dll_recv
lea rcx, str.Persistent_Auth:
mov rdx, rdi
call fcn.140029a60
test eax, eax
je case.0x1400311ba.66
cmp dword [rbx + 0xcfc], 4
jne case.0x1400311ba.66
mov rcx, rdi
call fcn.140030860
mov rsi, rax
test rax, rax
je 0x140031bd5
mov r8d, 5
lea rdx, str.false
mov rcx, rax
call fcn.140029a60
test eax, eax
mov byte [rbp + 0x5a1], 1
mov r9, rsi
lea rdx, str.Negotiate:_noauthpersist_____d__header_part:__s
setne cl
mov byte [rbp + 0x5a0], cl
movzx r8d, cl
mov rcx, rbx
call fcn.140023510
mov rcx, rsi
jmp 0x140031646
cmp rsi, 0xc
jb case.0x1400311ba.66
mov r8d, recvfrom
lea rcx, str.Retry_After:
call fcn.140029a60
test eax, eax
je case.0x1400311ba.66
lea rsi, [rdi + 0xc]
test rsi, rsi
je case.0x1400311ba.66
xor ecx, ecx
lea r9, [rsp + 0x60]
mov qword [rsp + 0x60], rcx
xor edx, edx
mov rcx, rsi
mov r8d, 0xa
call fcn.140038750
mov rdi, qword [rsp + 0x60]
test rdi, rdi
jne 0x14003194e
mov rcx, rsi
call fcn.140038940
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140031949
xor ecx, ecx
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
sub rdi, rax
mov qword [rbx + 0x12e8], rdi
jmp 0x14003131a
mov rdi, qword [rsp + 0x60]
mov qword [rbx + 0x12e8], rdi
jmp 0x14003131a
cmp qword [rbx + 0xa68], 0
je 0x140031a6d
cmp byte [rbx + 0x1297], 0
je 0x140031a6d
cmp rsi, 0xb
jb 0x140031a6d
mov r8d, ntohs
lea rcx, str.Set_Cookie:
call fcn.140029a60
test eax, eax
je 0x140031a6d
lea r14, [rdi + 0xb]
test r14, r14
je 0x140031a6d
mov rdi, qword [rbx + 0x1248]
test rdi, rdi
jne 0x1400319b6
mov rdi, qword [rbp + 0x50]
mov rax, qword [rbp + 0x360]
test byte [rax + 0x8c], 2
jne 0x140031a13
mov rdx, rdi
lea rcx, str.localhost
call fcn.1400299f0
test eax, eax
jne 0x140031a13
lea rdx, str.127.0.0.1
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140031a13
xor ecx, ecx
lea rdx, [0x1400740c8]
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140031a68
cmp rcx, 4
jne 0x140031a00
mov sil, 1
mov edx, 2
mov rcx, rbx
mov r8d, edx
call fcn.14002a0d0
mov rax, qword [rbx + 0x1118]
xor r9d, r9d
mov rdx, qword [rbx + 0xa68]
mov r8b, 1
mov byte [rsp + 0x38], sil
mov rcx, rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r14
call fcn.140012cf0
mov edx, 2
mov rcx, rbx
call fcn.14002a110
jmp 0x14003131a
xor sil, sil
jmp 0x140031a16
cmp qword [rbx + 0xa70], 0
je case.0x1400311ba.66
mov rax, qword [rbp + 0x360]
test byte [rax + 0x94], 1
je case.0x1400311ba.66
cmp rsi, 0x1a
jb case.0x1400311ba.66
mov r8d, reloc.WLDAP32.dll_Ordinal_26
lea rcx, str.Strict_Transport_Security:
mov rdx, rdi
call fcn.140029a60
test eax, eax
je case.0x1400311ba.66
lea r8, [rdi + 0x1a]
test r8, r8
je case.0x1400311ba.66
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbx + 0xa70]
call fcn.140029030
test eax, eax
je case.0x1400311ba.66
lea rdx, str.Illegal_STS_header_skipped
mov rcx, rbx
call fcn.140023510
jmp case.0x1400311ba.66
cmp byte [rbx + 0x1db], 0
jne case.0x1400311ba.66
cmp byte [rbx + 0x128a], 5
je case.0x1400311ba.66
cmp dword [rbx + 0x13c], 0x130
je case.0x1400311ba.66
cmp rsi, 0x12
jb case.0x1400311ba.66
mov r8d, reloc.WS2_32.dll_select
lea rcx, str.Transfer_Encoding:
call fcn.140029a60
test eax, eax
je case.0x1400311ba.66
lea rdx, [rdi + 0x12]
test rdx, rdx
je case.0x1400311ba.66
mov r8d, 1
mov rcx, rbx
call fcn.140029de0
test eax, eax
jne 0x14003131c
cmp byte [rbx + 0x1dc], al
jne 0x14003131a
cmp byte [rbx + 0xa48], al
je 0x14003131a
mov edx, 1
mov rcx, rbp
call fcn.140025e80
mov byte [rbx + 0x1dd], 1
jmp 0x14003131a
cmp dword [rbx + 0x13c], 0x191
jne case.0x1400311ba.66
cmp rsi, 0x11
jb case.0x1400311ba.66
mov r8d, reloc.WS2_32.dll_recvfrom
lea rcx, str.WWW_Authenticate:
call fcn.140029a60
test eax, eax
je case.0x1400311ba.66
mov rcx, rdi
call fcn.140030860
mov rdi, rax
test rax, rax
jne 0x140031bdf
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14003131c
xor edx, edx
jmp 0x140031821