Function at 0x14005a550
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [rsp + 0xd0]
add rax, 0xe8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xdd]
test eax, eax
jne 0x14005a697
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0xa75]
test eax, eax
jne 0x14005a697
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.Content_Length:
mov rcx, qword [rsp + 0xe0]
call fcn.14004e600
test eax, eax
je 0x14005a697
mov eax, 1
imul rax, rax, 0xf
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0xa8]
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call fcn.14007bef0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14005a623
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xa8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
jmp 0x14005a692
cmp dword [rsp + 0x50], 1
jne 0x14005a674
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x700], 0
je 0x14005a65a
lea rdx, [0x1400f1010]
mov rcx, qword [rsp + 0xd0]
call fcn.140046e70
mov eax, 0x3f
jmp 0x14005b1c8
mov edx, 2
mov rcx, qword [rsp + 0xd8]
call fcn.140049b00
xor eax, eax
test eax, eax
jne 0x14005a66c
jmp 0x14005a692
lea rdx, str.Invalid_Content_Length:_value
mov rcx, qword [rsp + 0xd0]
call fcn.140046e70
mov eax, 8
jmp 0x14005b1c8
jmp 0x14005b1c6
mov r8d, recv
lea rdx, str.Content_Type:
mov rcx, qword [rsp + 0xe0]
call fcn.14004e600
test eax, eax
je 0x14005a73d
mov rcx, qword [rsp + 0xe0]
call fcn.140058920
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14005a6dd
mov eax, 0x1b
jmp 0x14005b1c8
mov rax, qword [rsp + 0x68]
movsx eax, byte [rax]
test eax, eax
jne 0x14005a6f6
mov rcx, qword [rsp + 0x68]
call qword [fcn.140095dfc]
jmp 0x14005a738
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x12d0]
call qword [fcn.140095dfc]
mov rax, qword [rsp + 0xd0]
mov qword [rax + 0x12d0], 0
xor eax, eax
test eax, eax
jne 0x14005a6f6
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x12d0], rcx
jmp 0x14005b1c6
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x717]
cmp eax, 0xa
jne 0x14005a7af
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x3a4]
test eax, eax
je 0x14005a7af
mov qword [rsp + 0x20], 0xa
lea r9, [0x1400f1060]
mov r8d, send
lea rdx, [0x1400f1070]
mov rcx, qword [rsp + 0xe0]
call fcn.1400587b0
movzx eax, al
test eax, eax
je 0x14005a7af
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.140049b00
xor eax, eax
test eax, eax
jne 0x14005a7a4
jmp 0x14005b1c6
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x717]
cmp eax, 0xb
jne 0x14005a824
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x3a4]
test eax, eax
je 0x14005a824
mov qword [rsp + 0x20], 5
lea r9, [0x1400f1084]
mov r8d, send
lea rdx, str.Proxy_Connection:
mov rcx, qword [rsp + 0xe0]
call fcn.1400587b0
movzx eax, al
test eax, eax
je 0x14005a824
mov edx, 1
mov rcx, qword [rsp + 0xd8]
call fcn.140049b00
xor eax, eax
test eax, eax
jne 0x14005a819
jmp 0x14005b1c6
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x717]
cmp eax, 0xa
jne 0x14005a883
mov qword [rsp + 0x20], 0xa
lea r9, str.keep_alive
mov r8d, recv
lea rdx, [0x1400f10b8]
mov rcx, qword [rsp + 0xe0]
call fcn.1400587b0
movzx eax, al
test eax, eax
je 0x14005a883
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.140049b00
xor eax, eax
test eax, eax
jne 0x14005a878
jmp 0x14005b1c6
mov qword [rsp + 0x20], 5
lea r9, str.close
mov r8d, recv
lea rdx, str.Connection:
mov rcx, qword [rsp + 0xe0]
call fcn.1400587b0
movzx eax, al
test eax, eax
je 0x14005a8cb
mov edx, 2
mov rcx, qword [rsp + 0xd8]
call fcn.140049b00
jmp 0x14005b1c6
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xdd]
test eax, eax
jne 0x14005a971
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, qword [rsp + 0xe0]
call fcn.14004e600
test eax, eax
je 0x14005a971
mov eax, 1
imul rax, rax, 0x12
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.14004eb20
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14005a93e
mov eax, dword [rsp + 0x30]
jmp 0x14005b1c8
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xde]
test eax, eax
jne 0x14005a96c
mov edx, 1
mov rcx, qword [rsp + 0xd8]
call fcn.140049b00
mov rax, qword [rsp + 0x38]
mov byte [rax + 0xdf], 1
jmp 0x14005b1c6
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xdd]
test eax, eax
jne 0x14005a9fe
mov r8d, send
lea rdx, str.Content_Encoding:
mov rcx, qword [rsp + 0xe0]
call fcn.14004e600
test eax, eax
je 0x14005a9fe
mov eax, 8
imul rax, rax, 9
mov rcx, qword [rsp + 0xd0]
cmp qword [rcx + rax + 0x738], 0
je 0x14005a9fe
mov eax, 1
imul rax, rax, 0x11
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.14004eb20
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14005a9f9
mov eax, dword [rsp + 0x30]
jmp 0x14005b1c8
jmp 0x14005b1c6
mov r8d, recv
lea rdx, str.Retry_After:
mov rcx, qword [rsp + 0xe0]
call fcn.14004e600
test eax, eax
je 0x14005aac2
mov qword [rsp + 0x70], 0
mov eax, 1
imul rax, rax, 0xc
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0x70]
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call fcn.14007bef0
cmp qword [rsp + 0x70], 0
jne 0x14005aaa9
mov eax, 1
imul rax, rax, 0xc
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14007b020
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0xffffffffffffffff
je 0x14005aaa9
xor ecx, ecx
call fcn.140058790
mov rcx, qword [rsp + 0x98]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x12e0], rcx
jmp 0x14005b1c6
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xdd]
test eax, eax
jne 0x14005abd2
mov r8d, send
lea rdx, str.Content_Range:
mov rcx, qword [rsp + 0xe0]
call fcn.14004e600
test eax, eax
je 0x14005abd2
mov eax, 1
imul rax, rax, 0xe
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
test eax, eax
je 0x14005ab56
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x30
jl 0x14005ab3a
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x39
jle 0x14005ab56
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x2a
je 0x14005ab56
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
jmp 0x14005ab14
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x30
jl 0x14005abba
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x39
jg 0x14005abba
mov rax, qword [rsp + 0x38]
add rax, 0x68
mov r9, rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.14007bef0
test eax, eax
jne 0x14005abb8
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x68]
cmp qword [rax + 0x1100], rcx
jne 0x14005abb8
mov rax, qword [rsp + 0x38]
mov byte [rax + 0xda], 1
jmp 0x14005abcd
mov rax, qword [rsp + 0xd0]
mov qword [rax + 0x1100], 0
jmp 0x14005b1c6
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xdd]
test eax, eax
jne 0x14005ac8c
mov r8d, send
lea rdx, str.Last_Modified:
mov rcx, qword [rsp + 0xe0]
call fcn.14004e600
test eax, eax
je 0x14005ac8c
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x558]
test eax, eax
jne 0x14005ac2e
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0xa5f]
test eax, eax
je 0x14005ac8c
mov eax, 1
imul rax, rax, 0xe
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14007b020
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x98], rax
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0xa5f]
test eax, eax
je 0x14005ac87
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x98]
mov qword [rax + 0x12a8], rcx
jmp 0x14005b1c6
mov r8d, send
lea rdx, str.WWW_Authenticate:
mov rcx, qword [rsp + 0xe0]
call fcn.14004e600
test eax, eax
je 0x14005acb8
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x191
je 0x14005acec
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, qword [rsp + 0xe0]
call fcn.14004e600
test eax, eax
je 0x14005ad99
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x197
jne 0x14005ad99
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x197
jne 0x14005ad04
mov dword [rsp + 0x54], 1
jmp 0x14005ad0c
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0x54], 0
jne 0x14005ad1d
mov dword [rsp + 0x58], 0
jmp 0x14005ad25
mov dword [rsp + 0x58], 1
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0xe0]
call fcn.140058920
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x14005ad58
mov eax, 0x1b
jmp 0x14005b1c8
mov r8, qword [rsp + 0x88]
movzx edx, byte [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
call fcn.14005d920
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x88]
call qword [fcn.140095dfc]
cmp dword [rsp + 0x30], 0
je 0x14005ad94
mov eax, dword [rsp + 0x30]
jmp 0x14005b1c8
jmp 0x14005b1c6
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.Persistent_Auth:
mov rcx, qword [rsp + 0xe0]
call fcn.14004e600
test eax, eax
je 0x14005aea1
mov rax, qword [rsp + 0xd8]
add rax, 0x5a8
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xd0]
add rax, 0xd90
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 4], 4
jne 0x14005ae9c
mov rcx, qword [rsp + 0xe0]
call fcn.140058920
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x14005ae23
mov eax, 0x1b
jmp 0x14005b1c8
mov r8d, 5
lea rdx, str.false
mov rcx, qword [rsp + 0x90]
call fcn.14004e600
test eax, eax
je 0x14005ae4b
mov dword [rsp + 0x5c], 1
jmp 0x14005ae53
mov dword [rsp + 0x5c], 0
cmp dword [rsp + 0x5c], 0
jne 0x14005ae64
mov dword [rsp + 0x60], 0
jmp 0x14005ae6c
mov dword [rsp + 0x60], 1
mov rax, qword [rsp + 0xa0]
movzx ecx, byte [rsp + 0x60]
mov byte [rax + 0x78], cl
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x79], 1
xor eax, eax
test eax, eax
jne 0x14005ae88
mov rcx, qword [rsp + 0x90]
call qword [fcn.140095dfc]
jmp 0x14005b1c6
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x12c
jl 0x14005afd8
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x190
jge 0x14005afd8
mov r8d, 9
lea rdx, str.Location:
mov rcx, qword [rsp + 0xe0]
call fcn.14004e600
test eax, eax
je 0x14005afd8
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x190], 0
jne 0x14005afd8
mov rcx, qword [rsp + 0xe0]
call fcn.140058920
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x14005af21
mov eax, 0x1b
jmp 0x14005b1c8
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
test eax, eax
jne 0x14005af3d
mov rcx, qword [rsp + 0x78]
call qword [fcn.140095dfc]
jmp 0x14005afd3
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x190], rcx
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0xa67]
test eax, eax
je 0x14005afd3
xor eax, eax
test eax, eax
jne 0x14005af64
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x190]
call qword [fcn.1400a83d8]
mov rcx, qword [rsp + 0xd0]
mov qword [rcx + 0x198], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x198], 0
jne 0x14005afaa
mov eax, 0x1b
jmp 0x14005b1c8
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.14005fe60
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14005afd3
mov eax, dword [rsp + 0x30]
jmp 0x14005b1c8
jmp 0x14005b1c6
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0xa90], 0
je 0x14005b087
mov r8d, 0x1a
lea rdx, str.Strict_Transport_Security:
mov rcx, qword [rsp + 0xe0]
call fcn.14004e600
test eax, eax
je 0x14005b087
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 0x8c]
and eax, 1
test eax, eax
jne 0x14005b02e
xor eax, eax
test eax, eax
je 0x14005b087
mov eax, 1
imul rax, rax, 0x1a
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rax, qword [rsp + 0xd0]
mov rdx, qword [rax + 0x1130]
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0xa90]
call fcn.14004d350
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x14005b082
xor eax, eax
test eax, eax
jne 0x14005b07c
jmp 0x14005b1c6
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0xa98], 0
je 0x14005b193
mov r8d, 8
lea rdx, str.Alt_Svc:
mov rcx, qword [rsp + 0xe0]
call fcn.14004e600
test eax, eax
je 0x14005b193
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 0x8c]
and eax, 1
test eax, eax
jne 0x14005b0e5
xor eax, eax
test eax, eax
je 0x14005b193
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x717]
cmp eax, 0x14
jne 0x14005b103
mov dword [rsp + 0x64], reloc.WS2_32.dll_recv
jmp 0x14005b10b
mov dword [rsp + 0x64], 8
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rax + 0x708]
call fcn.14004b110
mov ecx, 1
imul rcx, rcx, 8
mov rdx, qword [rsp + 0xe0]
add rdx, rcx
mov rcx, rdx
mov word [rsp + 0x28], ax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x84]
mov r8, rcx
mov rax, qword [rsp + 0xd0]
mov rdx, qword [rax + 0xa98]
mov rcx, qword [rsp + 0xd0]
call fcn.14004be80
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14005b191
mov eax, dword [rsp + 0x30]
jmp 0x14005b1c8
jmp 0x14005b1c6
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 0x84]
and eax, 0x40000
test eax, eax
je 0x14005b1c6
mov dword [rsp + 0x30], 4
cmp dword [rsp + 0x30], 0
je 0x14005b1c6
mov eax, dword [rsp + 0x30]
jmp 0x14005b1c8
xor eax, eax
add rsp, 0xc8
ret