Function at 0x180086128
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 0x18008621b
cmp byte [rcx + 0xa26], sil
jne 0x18008621b
lea r8d, [rsi + 0xf]
mov rcx, rbp
lea rdx, str.Content_Length:
call fcn.180080030
test eax, eax
je 0x18008621b
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.18008c320
test eax, eax
jne 0x1800861c2
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0xe8], rax
mov qword [rdi + 0xf0], rax
xor eax, eax
jmp 0x1800869a4
cmp eax, 1
jne 0x180086202
cmp qword [rdi + 0x6d8], rsi
je 0x1800861e9
lea rdx, str.Maximum_file_size_exceeded
mov rcx, rdi
call fcn.18007c340
mov eax, 0x3f
jmp 0x1800869a4
mov edx, 2
mov rcx, r14
call fcn.18007d074
lea rdx, str.Overflow_Content_Length:_value
jmp 0x1800868f0
lea rdx, str.Invalid_Content_Length:_value
mov rcx, rdi
call fcn.18007c340
mov eax, 8
jmp 0x1800869a4
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.Content_Type:
mov rcx, rbp
call fcn.180080030
test eax, eax
je 0x18008626a
mov rcx, rbp
call fcn.180085198
mov rbx, rax
test rax, rax
je 0x180086885
cmp byte [rax], sil
je 0x1800867e2
mov rcx, qword [rdi + 0x12e0]
call qword [fcn.1800a348e]
mov qword [rdi + 0x12e0], rbx
jmp 0x1800861bb
mov ebx, 0xa
lea r13d, [rbx + 7]
cmp byte [r14 + 0x60d], bl
jne 0x1800862bd
cmp byte [r14 + 0x2c8], sil
je 0x1800862bd
lea r9, str.keep_alive
mov qword [rsp + 0x20], rbx
mov r8d, r13d
lea rdx, str.Proxy_Connection:
mov rcx, rbp
call fcn.1800850e8
test al, al
je 0x1800862bd
xor edx, edx
mov rcx, r14
call fcn.18007d074
lea rdx, str.HTTP_1.0_proxy_connection_set_to_keep_alive
jmp 0x1800868f0
mov r15d, 5
lea r12d, [r15 + 6]
cmp byte [r14 + 0x60d], r12b
jne 0x180086313
cmp byte [r14 + 0x2c8], sil
je 0x180086313
lea r9, str.close
mov qword [rsp + 0x20], r15
mov r8, r13
lea rdx, str.Proxy_Connection:
mov rcx, rbp
call fcn.1800850e8
test al, al
je 0x180086313
lea edx, [r15 - 4]
mov rcx, r14
call fcn.18007d074
lea rdx, str.HTTP_1.1_proxy_connection_set_close
jmp 0x1800868f0
cmp byte [r14 + 0x60d], bl
jne 0x180086354
lea r9, str.keep_alive
mov qword [rsp + 0x20], rbx
mov r8, r12
lea rdx, str.Connection:
mov rcx, rbp
call fcn.1800850e8
test al, al
je 0x180086354
xor edx, edx
mov rcx, r14
call fcn.18007d074
lea rdx, str.HTTP_1.0_connection_set_to_keep_alive
jmp 0x1800868f0
lea r9, str.close
mov qword [rsp + 0x20], r15
mov r8, r12
lea rdx, str.Connection:
mov rcx, rbp
call fcn.1800850e8
test al, al
je 0x180086388
mov edx, 2
mov rcx, r14
call fcn.18007d074
jmp 0x1800861bb
cmp byte [rdi + 0x1c6], sil
jne 0x180086455
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, rbp
call fcn.180080030
test eax, eax
je 0x180086405
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.18008026c
test eax, eax
jne 0x1800869a4
cmp byte [rdi + 0x1c7], sil
jne 0x1800861bb
cmp byte [rdi + 0xa1a], sil
je 0x1800861bb
lea edx, [rax + 1]
mov rcx, r14
call fcn.18007d074
mov byte [rdi + 0x1c8], 1
jmp 0x1800861bb
cmp byte [rdi + 0x1c6], sil
jne 0x180086455
mov r8, r13
lea rdx, str.Content_Encoding:
mov rcx, rbp
call fcn.180080030
test eax, eax
je 0x180086455
cmp qword [rdi + 0x730], rsi
je 0x180086455
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.18008026c
test eax, eax
je 0x1800861bb
jmp 0x1800869a4
lea r15, str.Retry_After:
mov r8d, recv
mov rdx, r15
mov rcx, rbp
call fcn.180080030
test eax, eax
je 0x1800864d3
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.18008c320
mov rbx, qword [rsp + 0x70]
test rbx, rbx
jne 0x1800864c7
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rax + rbp]
call fcn.18008c4ac
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800864c2
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
sub rbx, rax
jmp 0x1800864c7
mov rbx, qword [rsp + 0x70]
mov qword [rdi + 0x12f0], rbx
jmp 0x1800861bb
mov r15d, recv
cmp byte [rdi + 0x1c6], sil
jne 0x180086585
mov r8d, r15d
lea rdx, str.Content_Range:
mov rcx, rbp
call fcn.180080030
test eax, eax
je 0x180086585
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 0x180086538
mov cl, al
cmp cl, 0x30
jl 0x180086525
mov al, cl
cmp cl, 0x39
jle 0x180086538
mov al, cl
cmp cl, 0x2a
je 0x180086538
inc r10
mov al, byte [r10]
mov cl, al
test al, al
jne 0x180086519
sub al, 0x30
cmp al, 9
ja 0x180086579
lea r14, [rdi + 0x140]
mov r8d, ebx
mov r9, r14
xor edx, edx
mov rcx, r10
call fcn.18008c320
test eax, eax
jne 0x1800861bb
mov rax, qword [r14]
cmp qword [rdi + 0x10e0], rax
jne 0x1800861bb
mov byte [rdi + 0x1c3], 1
jmp 0x1800861bb
mov qword [rdi + 0x10e0], rsi
jmp 0x1800861bb
cmp qword [rdi + 0xa40], rsi
je 0x180086674
cmp byte [rdi + 0x1299], sil
je 0x180086674
mov r8, r12
lea rdx, str.Set_Cookie:
mov rcx, rbp
call fcn.180080030
test eax, eax
je 0x180086674
mov r15, qword [rdi + 0x1250]
test r15, r15
jne 0x1800865c9
mov r15, qword [r14 + 0x70]
mov rax, qword [r14 + 0x2e8]
mov ebx, 2
test byte [rax + 0x84], bl
jne 0x180086616
mov rdx, r15
lea rcx, str.localhost
call fcn.180080014
test eax, eax
jne 0x180086616
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 0x180086616
lea rdx, [0x1800a90c8]
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180086619
mov sil, 1
mov r8d, ebx
mov edx, ebx
mov rcx, rdi
call fcn.18008059c
lea rcx, str.Set_Cookie:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [rdi + 0x1138]
add rax, rbp
mov rdx, qword [rdi + 0xa40]
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.1800716f0
mov edx, ebx
mov rcx, rdi
call fcn.1800805d4
jmp 0x1800861bb
cmp byte [rdi + 0x1c6], sil
jne 0x1800866da
mov r8, r15
lea rdx, str.Last_Modified:
mov rcx, rbp
call fcn.180080030
test eax, eax
je 0x1800866da
cmp byte [rdi + 0x518], sil
jne 0x1800866a5
cmp byte [rdi + 0xa11], sil
je 0x1800866da
lea rcx, str.Last_Modified:
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rax + rbp]
call fcn.18008c4ac
mov qword [rdi + 0x170], rax
cmp byte [rdi + 0xa11], sil
je 0x1800861bb
mov qword [rdi + 0x12b8], rax
jmp 0x1800861bb
mov r8, r13
lea rdx, str.WWW_Authenticate:
mov rcx, rbp
call fcn.180080030
mov r15d, 0x197
test eax, eax
je 0x180086704
mov ebx, dword [rdi + 0x148]
cmp ebx, 0x191
je 0x180086728
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, rbp
call fcn.180080030
test eax, eax
je 0x180086767
mov ebx, dword [rdi + 0x148]
cmp ebx, r15d
jne 0x180086767
mov rcx, rbp
call fcn.180085198
mov rbp, rax
test rax, rax
je 0x180086885
cmp ebx, r15d
mov r8, rax
mov rcx, rdi
sete dl
call fcn.180086c28
mov rcx, rbp
mov ebx, eax
call qword [fcn.1800a348e]
test ebx, ebx
je 0x1800861bb
mov eax, ebx
jmp 0x1800869a4
mov ebx, reloc.WS2_32.dll_recv
lea rdx, str.Persistent_Auth:
mov r8d, ebx
mov rcx, rbp
call fcn.180080030
test eax, eax
je 0x1800867f0
cmp dword [rdi + 0xd4c], 4
jne 0x1800861bb
mov rcx, rbp
call fcn.180085198
mov rbx, rax
test rax, rax
je 0x180086885
mov r8d, 5
lea rdx, str.false
mov rcx, rax
call fcn.180080030
test eax, eax
mov byte [r14 + 0x529], 1
mov r9, rbx
lea rdx, str.Negotiate:_noauthpersist_____d__header_part:__s
setne cl
mov byte [r14 + 0x528], cl
movzx r8d, cl
mov rcx, rdi
call fcn.18007c40c
mov rcx, rbx
call qword [fcn.1800a348e]
jmp 0x1800861bb
mov eax, dword [rdi + 0x148]
sub eax, 0x12c
cmp eax, 0x63
ja 0x18008688f
mov r8d, 9
lea rdx, str.Location:
mov rcx, rbp
call fcn.180080030
test eax, eax
je 0x18008688f
cmp qword [rdi + 0x180], rsi
jne 0x18008688f
mov rcx, rbp
call fcn.180085198
test rax, rax
je 0x180086885
cmp byte [rax], sil
jne 0x18008683d
mov rcx, rax
jmp 0x1800867e5
mov qword [rdi + 0x180], rax
cmp byte [rdi + 0xa19], sil
je 0x1800861bb
mov rcx, rax
call qword [case.0x180078642.1]
mov qword [rdi + 0x188], rax
test rax, rax
je 0x180086885
mov rdx, r14
mov rcx, rdi
call fcn.1800884e4
test eax, eax
jne 0x1800869a4
mov byte [rdi + 0x128d], 1
jmp 0x1800861bb
mov eax, 0x1b
jmp 0x1800869a4
cmp qword [rdi + 0xa48], rsi
je 0x1800868fd
mov r8d, 0x1a
lea rdx, str.Strict_Transport_Security:
mov rcx, rbp
call fcn.180080030
test eax, eax
je 0x1800868fd
mov rax, qword [r14 + 0x2e8]
test byte [rax + 0x8c], 1
je 0x1800868fd
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 + 0xa48]
lea r8, [rax + rbp]
call fcn.18007f518
test eax, eax
je 0x1800861bb
lea rdx, str.Illegal_STS_header_skipped
mov rcx, rdi
call fcn.18007c40c
jmp 0x1800861bb
cmp qword [rdi + 0xa50], rsi
je 0x180086993
mov r15d, 8
lea rdx, str.Alt_Svc:
mov r8d, r15d
mov rcx, rbp
call fcn.180080030
test eax, eax
je 0x180086993
mov rax, qword [r14 + 0x2e8]
test byte [rax + 0x8c], 1
je 0x180086993
mov al, byte [r14 + 0x60d]
cmp al, 0x1e
jne 0x180086949
mov r15d, 0x20
jmp 0x18008694f
cmp al, 0x14
cmove r15d, ebx
mov ecx, dword [r14 + 0x5f8]
call fcn.18007dff8
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 + 0xa50]
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], rcx
lea r8, [rax + rbp]
mov rcx, rdi
call fcn.18007e664
jmp 0x180086448
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