Function at 0x14018ec90
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x40
xor edi, edi
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp byte [rcx + 0x1c4], dil
jne 0x14018ed7d
cmp byte [rcx + 0xb17], dil
jne 0x14018ed7d
lea r8d, [rdi + 0xf]
mov rcx, rbp
lea rdx, str.Content_Length:
call fcn.1401a1a0c
test eax, eax
je 0x14018ed7d
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, [rdi + 0xa]
lea rcx, [rax + rbp]
call fcn.1401a8980
test eax, eax
jne 0x14018ed24
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0xe8], rax
mov qword [rsi + 0xf0], rax
xor eax, eax
jmp 0x14018f4d4
cmp eax, 1
jne 0x14018ed64
cmp qword [rsi + 0x740], rdi
je 0x14018ed4b
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rsi
call fcn.1401991f8
mov eax, 0x3f
jmp 0x14018f4d4
mov edx, 2
mov rcx, r14
call fcn.14019698c
lea rdx, str.Overflow_Content_Length:_value
jmp 0x14018f42e
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rsi
call fcn.1401991f8
mov eax, 8
jmp 0x14018f4d4
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.Content_Type:
mov rcx, rbp
call fcn.1401a1a0c
test eax, eax
je 0x14018edcc
mov rcx, rbp
call fcn.14018dcc4
mov rbx, rax
test rax, rax
je 0x14018f3c0
cmp byte [rax], dil
je 0x14018f330
mov rcx, qword [rsi + 0x1370]
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1370], rbx
jmp 0x14018ed1d
mov ebx, reloc.WS2_32.dll_recvfrom
lea r15d, [rbx - 7]
cmp byte [r14 + 0x1b8], r15b
jne 0x14018ee1f
cmp byte [r14 + 0x3e4], dil
je 0x14018ee1f
lea r9, str.keep_alive
mov qword [rsp + 0x20], r15
mov r8d, ebx
lea rdx, str.Proxy_Connection:
mov rcx, rbp
call fcn.14018dc18
test al, al
je 0x14018ee1f
xor edx, edx
mov rcx, r14
call fcn.14019698c
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive
jmp 0x14018f42e
mov r13d, listen
cmp byte [r14 + 0x1b8], r13b
jne 0x14018ee75
cmp byte [r14 + 0x3e4], dil
je 0x14018ee75
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8, rbx
lea rdx, str.Proxy_Connection:
mov rcx, rbp
call fcn.14018dc18
test al, al
je 0x14018ee75
lea edx, [r13 - 0xa]
mov rcx, r14
call fcn.14019698c
lea rdx, str.HTTP_1.1_proxy_connection_set_close
jmp 0x14018f42e
cmp byte [r14 + 0x1b8], r15b
jne 0x14018eeb6
lea r9, str.keep_alive
mov qword [rsp + 0x20], r15
mov r8, r13
lea rdx, str.Connection:
mov rcx, rbp
call fcn.14018dc18
test al, al
je 0x14018eeb6
xor edx, edx
mov rcx, r14
call fcn.14019698c
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive
jmp 0x14018f42e
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8, r13
lea rdx, str.Connection:
mov rcx, rbp
call fcn.14018dc18
test al, al
je 0x14018eeee
mov edx, 2
mov rcx, r14
call fcn.14019698c
jmp 0x14018ed1d
cmp byte [rsi + 0x1c4], dil
jne 0x14018efae
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, rbp
call fcn.1401a1a0c
test eax, eax
je 0x14018ef5e
lea rcx, str.Transfer_Encoding:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8d, 1
mov rcx, rsi
lea rdx, [rax + rbp]
call fcn.1401a1ee4
test eax, eax
jne 0x14018f4d4
cmp byte [rsi + 0x1c5], dil
jne 0x14018ed1d
lea edx, [rax + 1]
mov rcx, r14
call fcn.14019698c
mov byte [rsi + 0x1c6], 1
jmp 0x14018ed1d
cmp byte [rsi + 0x1c4], dil
jne 0x14018efae
mov r8, rbx
lea rdx, str.Content_Encoding:
mov rcx, rbp
call fcn.1401a1a0c
test eax, eax
je 0x14018efae
cmp qword [rsi + 0x7c0], rdi
je 0x14018efae
lea rcx, str.Content_Encoding:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
xor r8d, r8d
mov rcx, rsi
lea rdx, [rax + rbp]
call fcn.1401a1ee4
test eax, eax
je 0x14018ed1d
jmp 0x14018f4d4
mov r8d, listen
lea rdx, str.Retry_After:
mov rcx, rbp
call fcn.1401a1a0c
test eax, eax
je 0x14018f027
lea rcx, str.Retry_After:
mov qword [rsp + 0x70], rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rax + rbp]
call fcn.1401acbfc
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14018f010
lea rcx, str.Retry_After:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea r9, [rsp + 0x70]
mov r8d, r15d
xor edx, edx
lea rcx, [rax + rbp]
call fcn.1401a8980
mov rbx, qword [rsp + 0x70]
jmp 0x14018f01b
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
sub rbx, rax
mov qword [rsi + 0x1380], rbx
jmp 0x14018ed1d
mov ebx, recvfrom
cmp byte [rsi + 0x1c4], dil
jne 0x14018f0ce
mov r8d, ebx
lea rdx, str.Content_Range:
mov rcx, rbp
call fcn.1401a1a0c
test eax, eax
je 0x14018f0ce
lea rcx, str.Content_Range:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rbx, [rax + rbp]
jmp 0x14018f075
movzx ecx, al
call fcn.1401a2544
test eax, eax
jne 0x14018f07b
cmp byte [rbx], 0x2a
je 0x14018f07b
inc rbx
mov al, byte [rbx]
test al, al
jne 0x14018f061
movzx ecx, byte [rbx]
call fcn.1401a2544
test eax, eax
je 0x14018f0c2
lea r14, [rsi + 0x150]
mov r8d, r15d
mov r9, r14
xor edx, edx
mov rcx, rbx
call fcn.1401a8980
test eax, eax
jne 0x14018ed1d
mov rax, qword [r14]
cmp qword [rsi + 0x1178], rax
jne 0x14018ed1d
mov byte [rsi + 0x1c1], 1
jmp 0x14018ed1d
mov qword [rsi + 0x1178], rdi
jmp 0x14018ed1d
cmp qword [rsi + 0xb38], rdi
je 0x14018f1c0
cmp byte [rsi + 0x132f], dil
je 0x14018f1c0
mov r8, r13
lea rdx, str.Set_Cookie:
mov rcx, rbp
call fcn.1401a1a0c
test eax, eax
je 0x14018f1c0
mov r15, qword [rsi + 0x12e8]
test r15, r15
jne 0x14018f115
mov r15, qword [r14 + 0xa0]
mov rax, qword [r14 + 0x428]
mov ebx, 2
test byte [rax + 0x84], bl
jne 0x14018f162
mov rdx, r15
lea rcx, str.localhost
call fcn.1401a186c
test eax, eax
jne 0x14018f162
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 0x14018f162
lea rdx, str._::1_
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14018f165
mov dil, 1
mov r8d, ebx
mov edx, ebx
mov rcx, rsi
call fcn.1401990a0
lea rcx, str.Set_Cookie:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [rsi + 0x11f8]
add rax, rbp
mov rdx, qword [rsi + 0xb38]
xor r9d, r9d
mov byte [rsp + 0x38], dil
mov r8b, 1
mov qword [rsp + 0x30], rcx
mov rcx, rsi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.14019d598
mov edx, ebx
mov rcx, rsi
call fcn.1401990d8
jmp 0x14018ed1d
cmp byte [rsi + 0x1c4], dil
jne 0x14018f225
mov r8, rbx
lea rdx, str.Last_Modified:
mov rcx, rbp
call fcn.1401a1a0c
test eax, eax
je 0x14018f225
cmp dword [rsi + 0x568], edi
jne 0x14018f1f0
cmp byte [rsi + 0xb01], dil
je 0x14018f225
lea rcx, str.Last_Modified:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rax + rbp]
call fcn.1401acbfc
mov qword [rsi + 0x180], rax
cmp byte [rsi + 0xb01], dil
je 0x14018ed1d
mov qword [rsi + 0x1348], rax
jmp 0x14018ed1d
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.WWW_Authenticate:
mov rcx, rbp
call fcn.1401a1a0c
mov r15d, 0x197
test eax, eax
je 0x14018f252
mov ebx, dword [rsi + 0x158]
cmp ebx, 0x191
je 0x14018f276
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, rbp
call fcn.1401a1a0c
test eax, eax
je 0x14018f2b5
mov ebx, dword [rsi + 0x158]
cmp ebx, r15d
jne 0x14018f2b5
mov rcx, rbp
call fcn.14018dcc4
mov rbp, rax
test rax, rax
je 0x14018f3c0
cmp ebx, r15d
mov r8, rax
mov rcx, rsi
sete dl
call fcn.14018f758
mov rcx, rbp
mov ebx, eax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
test ebx, ebx
je 0x14018ed1d
mov eax, ebx
jmp 0x14018f4d4
mov ebx, reloc.WS2_32.dll_recv
lea rdx, str.Persistent_Auth:
mov r8d, ebx
mov rcx, rbp
call fcn.1401a1a0c
test eax, eax
je 0x14018f33e
cmp dword [rsi + 0xe3c], 4
jne 0x14018ed1d
mov rcx, rbp
call fcn.14018dcc4
mov rbx, rax
test rax, rax
je 0x14018f3c0
mov r8d, 5
lea rdx, str.false
mov rcx, rax
call fcn.1401a1a0c
test eax, eax
mov byte [r14 + 0x571], 1
mov r9, rbx
lea rdx, str.Negotiate:_noauthpersist_____d__header_part:__s
setne cl
mov byte [r14 + 0x570], cl
movzx r8d, cl
mov rcx, rsi
call fcn.1401992c4
mov rcx, rbx
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14018ed1d
mov eax, dword [rsi + 0x158]
sub eax, 0x12c
cmp eax, 0x63
ja 0x14018f3ca
mov r8d, 9
lea rdx, str.Location:
mov rcx, rbp
call fcn.1401a1a0c
test eax, eax
je 0x14018f3ca
cmp qword [rsi + 0x190], rdi
jne 0x14018f3ca
mov rcx, rbp
call fcn.14018dcc4
test rax, rax
je 0x14018f3c0
cmp byte [rax], dil
jne 0x14018f387
mov rcx, rax
jmp 0x14018f333
mov qword [rsi + 0x190], rax
cmp byte [rsi + 0xb09], dil
je 0x14018ed1d
mov rcx, rax
call qword [0x1404195f0]
mov qword [rsi + 0x198], rax
test rax, rax
je 0x14018f3c0
mov rdx, r14
mov rcx, rsi
call fcn.140191028
jmp 0x14018efa1
mov eax, 0x1b
jmp 0x14018f4d4
cmp qword [rsi + 0xb40], rdi
je 0x14018f43b
mov r8d, 0x1a
lea rdx, str.Strict_Transport_Security:
mov rcx, rbp
call fcn.1401a1a0c
test eax, eax
je 0x14018f43b
mov rax, qword [r14 + 0x428]
test byte [rax + 0x8c], 1
je 0x14018f43b
lea rcx, str.Strict_Transport_Security:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rdx, qword [rsi + 0x11d0]
mov rcx, qword [rsi + 0xb40]
lea r8, [rax + rbp]
call fcn.1401a1054
test eax, eax
je 0x14018ed1d
lea rdx, str.Illegal_STS_header_skipped
mov rcx, rsi
call fcn.1401992c4
jmp 0x14018ed1d
cmp qword [rsi + 0xb48], rdi
je 0x14018f4c3
mov r15d, 8
lea rdx, str.Alt_Svc:
mov r8d, r15d
mov rcx, rbp
call fcn.1401a1a0c
test eax, eax
je 0x14018f4c3
mov rax, qword [r14 + 0x428]
test byte [rax + 0x8c], 1
je 0x14018f4c3
cmp byte [r14 + 0x1b8], 0x14
mov ecx, dword [r14 + 0x154]
cmove r15d, ebx
call fcn.140199f78
lea rcx, str.Alt_Svc:
movzx ebx, ax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [r14 + 0xa0]
mov r9d, r15d
mov rdx, qword [rsi + 0xb48]
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], rcx
lea r8, [rax + rbp]
mov rcx, rsi
call fcn.1401a0270
jmp 0x14018efa1
mov rax, qword [r14 + 0x428]
movzx eax, word [rax + 0x86]
and eax, 4
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret