Function at 0x1401d86a0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor esi, esi
mov rbp, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x1c6], sil
jne 0x1401d8793
cmp byte [rcx + 0xa4d], sil
jne 0x1401d8793
lea r8d, [rsi + 0xf]
mov rcx, rbp
lea rdx, str.Content_Length:
call fcn.1401e8f3c
test eax, eax
je 0x1401d8793
lea rcx, str.Content_Length:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea r9, [rsp + 0x70]
xor edx, edx
lea r8d, [rsi + 0xa]
lea rcx, [rax + rbp]
call fcn.1401f5ec4
test eax, eax
jne 0x1401d873a
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0xf0], rax
mov qword [rdi + 0xf8], rax
xor eax, eax
jmp 0x1401d8f1c
cmp eax, 1
jne 0x1401d877a
cmp qword [rdi + 0x6d8], rsi
je 0x1401d8761
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rdi
call fcn.1401e3ae0
mov eax, 0x3f
jmp 0x1401d8f1c
mov edx, 2
mov rcx, r14
call fcn.1401e1d94
lea rdx, str.Overflow_Content_Length:_value
jmp 0x1401d8e68
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rdi
call fcn.1401e3ae0
mov eax, 8
jmp 0x1401d8f1c
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.Content_Type:
mov rcx, rbp
call fcn.1401e8f3c
test eax, eax
je 0x1401d87e2
mov rcx, rbp
call fcn.1401d7228
mov rbx, rax
test rax, rax
je 0x1401d8dfd
cmp byte [rax], sil
je 0x1401d8d5a
mov rcx, qword [rdi + 0x1328]
call qword [0x14047b588]
mov qword [rdi + 0x1328], rbx
jmp 0x1401d8733
mov ebx, 0xa
lea r13d, [rbx + 7]
cmp byte [r14 + 0x525], bl
jne 0x1401d8835
cmp byte [r14 + 0x2c8], sil
je 0x1401d8835
lea r9, str.keep_alive
mov qword [rsp + 0x20], rbx
mov r8d, r13d
lea rdx, str.Proxy_Connection:
mov rcx, rbp
call fcn.1401d7178
test al, al
je 0x1401d8835
xor edx, edx
mov rcx, r14
call fcn.1401e1d94
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive
jmp 0x1401d8e68
mov r15d, 5
lea r12d, [r15 + 6]
cmp byte [r14 + 0x525], r12b
jne 0x1401d888b
cmp byte [r14 + 0x2c8], sil
je 0x1401d888b
lea r9, str.close
mov qword [rsp + 0x20], r15
mov r8, r13
lea rdx, str.Proxy_Connection:
mov rcx, rbp
call fcn.1401d7178
test al, al
je 0x1401d888b
lea edx, [r15 - 4]
mov rcx, r14
call fcn.1401e1d94
lea rdx, str.HTTP_1.1_proxy_connection_set_close
jmp 0x1401d8e68
cmp byte [r14 + 0x525], bl
jne 0x1401d88cc
lea r9, str.keep_alive
mov qword [rsp + 0x20], rbx
mov r8, r12
lea rdx, str.Connection:
mov rcx, rbp
call fcn.1401d7178
test al, al
je 0x1401d88cc
xor edx, edx
mov rcx, r14
call fcn.1401e1d94
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive
jmp 0x1401d8e68
lea r9, str.close
mov qword [rsp + 0x20], r15
mov r8, r12
lea rdx, str.Connection:
mov rcx, rbp
call fcn.1401d7178
test al, al
je 0x1401d8900
mov edx, 2
mov rcx, r14
call fcn.1401e1d94
jmp 0x1401d8733
cmp byte [rdi + 0x1c6], sil
jne 0x1401d89cd
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, rbp
call fcn.1401e8f3c
test eax, eax
je 0x1401d897d
lea rcx, str.Transfer_Encoding:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8d, 1
mov rcx, rdi
lea rdx, [rax + rbp]
call fcn.1401e9494
test eax, eax
jne 0x1401d8f1c
cmp byte [rdi + 0x1c7], sil
jne 0x1401d8733
cmp byte [rdi + 0xa41], sil
je 0x1401d8733
lea edx, [rax + 1]
mov rcx, r14
call fcn.1401e1d94
mov byte [rdi + 0x1c8], 1
jmp 0x1401d8733
cmp byte [rdi + 0x1c6], sil
jne 0x1401d89cd
mov r8, r13
lea rdx, str.Content_Encoding:
mov rcx, rbp
call fcn.1401e8f3c
test eax, eax
je 0x1401d89cd
cmp qword [rdi + 0x730], rsi
je 0x1401d89cd
lea rcx, str.Content_Encoding:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
xor r8d, r8d
mov rcx, rdi
lea rdx, [rax + rbp]
call fcn.1401e9494
test eax, eax
je 0x1401d8733
jmp 0x1401d8f1c
lea r15, str.Retry_After:
mov r8d, recvfrom
mov rdx, r15
mov rcx, rbp
call fcn.1401e8f3c
test eax, eax
je 0x1401d8a4b
mov rcx, r15
mov qword [rsp + 0x70], rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea r9, [rsp + 0x70]
mov r8d, ebx
xor edx, edx
lea rcx, [rax + rbp]
call fcn.1401f5ec4
mov rbx, qword [rsp + 0x70]
test rbx, rbx
jne 0x1401d8a3f
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rax + rbp]
call fcn.1401f57d4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401d8a3a
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
sub rbx, rax
jmp 0x1401d8a3f
mov rbx, qword [rsp + 0x70]
mov qword [rdi + 0x1338], rbx
jmp 0x1401d8733
mov r15d, recvfrom
cmp byte [rdi + 0x1c6], sil
jne 0x1401d8afd
mov r8d, r15d
lea rdx, str.Content_Range:
mov rcx, rbp
call fcn.1401e8f3c
test eax, eax
je 0x1401d8afd
lea rcx, str.Content_Range:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea r10, [rax + rbp]
mov al, byte [r10]
test al, al
je 0x1401d8ab0
mov cl, al
cmp cl, 0x30
jl 0x1401d8a9d
mov al, cl
cmp cl, 0x39
jle 0x1401d8ab0
mov al, cl
cmp cl, 0x2a
je 0x1401d8ab0
inc r10
mov al, byte [r10]
mov cl, al
test al, al
jne 0x1401d8a91
sub al, 0x30
cmp al, 9
ja 0x1401d8af1
lea r14, [rdi + 0x140]
mov r8d, ebx
mov r9, r14
xor edx, edx
mov rcx, r10
call fcn.1401f5ec4
test eax, eax
jne 0x1401d8733
mov rax, qword [r14]
cmp qword [rdi + 0x1110], rax
jne 0x1401d8733
mov byte [rdi + 0x1c3], 1
jmp 0x1401d8733
mov qword [rdi + 0x1110], rsi
jmp 0x1401d8733
cmp qword [rdi + 0xa68], rsi
je 0x1401d8bec
cmp byte [rdi + 0x12f1], sil
je 0x1401d8bec
mov r8, r12
lea rdx, str.Set_Cookie:
mov rcx, rbp
call fcn.1401e8f3c
test eax, eax
je 0x1401d8bec
mov r15, qword [rdi + 0x12a8]
test r15, r15
jne 0x1401d8b41
mov r15, qword [r14 + 0x70]
mov rax, qword [r14 + 0x2e8]
mov ebx, 2
test byte [rax + 0x84], bl
jne 0x1401d8b8e
mov rdx, r15
lea rcx, str.localhost
call fcn.1401e8ed0
test eax, eax
jne 0x1401d8b8e
lea rdx, str.127.0.0.1
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1401d8b8e
lea rdx, [0x14043f348]
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1401d8b91
mov sil, 1
mov r8d, ebx
mov edx, ebx
mov rcx, rdi
call fcn.1401e3990
lea rcx, str.Set_Cookie:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [rdi + 0x1180]
add rax, rbp
mov rdx, qword [rdi + 0xa68]
xor r9d, r9d
mov byte [rsp + 0x38], sil
mov r8b, 1
mov qword [rsp + 0x30], rcx
mov rcx, rdi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.1401e43c4
mov edx, ebx
mov rcx, rdi
call fcn.1401e39c8
jmp 0x1401d8733
cmp byte [rdi + 0x1c6], sil
jne 0x1401d8c52
mov r8, r15
lea rdx, str.Last_Modified:
mov rcx, rbp
call fcn.1401e8f3c
test eax, eax
je 0x1401d8c52
cmp byte [rdi + 0x518], sil
jne 0x1401d8c1d
cmp byte [rdi + 0xa39], sil
je 0x1401d8c52
lea rcx, str.Last_Modified:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rax + rbp]
call fcn.1401f57d4
mov qword [rdi + 0x170], rax
cmp byte [rdi + 0xa39], sil
je 0x1401d8733
mov qword [rdi + 0x1308], rax
jmp 0x1401d8733
mov r8, r13
lea rdx, str.WWW_Authenticate:
mov rcx, rbp
call fcn.1401e8f3c
mov r15d, 0x197
test eax, eax
je 0x1401d8c7c
mov ebx, dword [rdi + 0x148]
cmp ebx, 0x191
je 0x1401d8ca0
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, rbp
call fcn.1401e8f3c
test eax, eax
je 0x1401d8cdf
mov ebx, dword [rdi + 0x148]
cmp ebx, r15d
jne 0x1401d8cdf
mov rcx, rbp
call fcn.1401d7228
mov rbp, rax
test rax, rax
je 0x1401d8dfd
cmp ebx, r15d
mov r8, rax
mov rcx, rdi
sete dl
call fcn.1401d9180
mov rcx, rbp
mov ebx, eax
call qword [0x14047b588]
test ebx, ebx
je 0x1401d8733
mov eax, ebx
jmp 0x1401d8f1c
mov ebx, reloc.WS2_32.dll_recv
lea rdx, str.Persistent_Auth:
mov r8d, ebx
mov rcx, rbp
call fcn.1401e8f3c
test eax, eax
je 0x1401d8d68
cmp dword [rdi + 0xd7c], 4
jne 0x1401d8733
mov rcx, rbp
call fcn.1401d7228
mov rbx, rax
test rax, rax
je 0x1401d8dfd
mov r8d, 5
lea rdx, str.false
mov rcx, rax
call fcn.1401e8f3c
test eax, eax
mov byte [r14 + 0x431], 1
mov r9, rbx
lea rdx, str.Negotiate:_noauthpersist_____d__header_part:__s
setne cl
mov byte [r14 + 0x430], cl
movzx r8d, cl
mov rcx, rdi
call fcn.1401e3bac
mov rcx, rbx
call qword [0x14047b588]
jmp 0x1401d8733
mov eax, dword [rdi + 0x148]
sub eax, 0x12c
cmp eax, 0x63
ja 0x1401d8e07
mov r8d, 9
lea rdx, str.Location:
mov rcx, rbp
call fcn.1401e8f3c
test eax, eax
je 0x1401d8e07
cmp qword [rdi + 0x180], rsi
jne 0x1401d8e07
mov rcx, rbp
call fcn.1401d7228
test rax, rax
je 0x1401d8dfd
cmp byte [rax], sil
jne 0x1401d8db5
mov rcx, rax
jmp 0x1401d8d5d
mov qword [rdi + 0x180], rax
cmp byte [rdi + 0xa40], sil
je 0x1401d8733
mov rcx, rax
call qword [case.0x1401dde7e.1]
mov qword [rdi + 0x188], rax
test rax, rax
je 0x1401d8dfd
mov rdx, r14
mov rcx, rdi
call fcn.1401db184
test eax, eax
jne 0x1401d8f1c
mov byte [rdi + 0x12e5], 1
jmp 0x1401d8733
mov eax, 0x1b
jmp 0x1401d8f1c
cmp qword [rdi + 0xa70], rsi
je 0x1401d8e75
mov r8d, 0x1a
lea rdx, str.Strict_Transport_Security:
mov rcx, rbp
call fcn.1401e8f3c
test eax, eax
je 0x1401d8e75
mov rax, qword [r14 + 0x2e8]
test byte [rax + 0x8c], 1
je 0x1401d8e75
lea rcx, str.Strict_Transport_Security:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rdx, qword [r14 + 0x70]
mov rcx, qword [rdi + 0xa70]
lea r8, [rax + rbp]
call fcn.1401e85ec
test eax, eax
je 0x1401d8733
lea rdx, str.Illegal_STS_header_skipped
mov rcx, rdi
call fcn.1401e3bac
jmp 0x1401d8733
cmp qword [rdi + 0xa78], rsi
je 0x1401d8f0b
mov r15d, 8
lea rdx, str.Alt_Svc:
mov r8d, r15d
mov rcx, rbp
call fcn.1401e8f3c
test eax, eax
je 0x1401d8f0b
mov rax, qword [r14 + 0x2e8]
test byte [rax + 0x8c], 1
je 0x1401d8f0b
mov al, byte [r14 + 0x525]
cmp al, 0x1e
jne 0x1401d8ec1
mov r15d, 0x20
jmp 0x1401d8ec7
cmp al, 0x14
cmove r15d, ebx
mov ecx, dword [r14 + 0x510]
call fcn.1401e422c
lea rcx, str.Alt_Svc:
movzx ebx, ax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [r14 + 0x70]
mov r9d, r15d
mov rdx, qword [rdi + 0xa78]
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], rcx
lea r8, [rax + rbp]
mov rcx, rdi
call fcn.1401e75d0
jmp 0x1401d89c0
mov rax, qword [r14 + 0x2e8]
movzx eax, word [rax + 0x86]
and eax, 4
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret