Function at 0x140045850
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 + 0xd5]
test eax, eax
jne 0x140045997
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0xa65]
test eax, eax
jne 0x140045997
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.Content_Length:
mov rcx, qword [rsp + 0xe0]
call fcn.140039980
test eax, eax
je 0x140045997
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.1400671f0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140045923
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 0x140045992
cmp dword [rsp + 0x50], 1
jne 0x140045974
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x6f8], 0
je 0x14004595a
lea rdx, [0x1400d0000]
mov rcx, qword [rsp + 0xd0]
call fcn.1400321f0
mov eax, 0x3f
jmp 0x1400464c8
mov edx, 2
mov rcx, qword [rsp + 0xd8]
call fcn.140034e80
xor eax, eax
test eax, eax
jne 0x14004596c
jmp 0x140045992
lea rdx, str.Invalid_Content_Length:_value
mov rcx, qword [rsp + 0xd0]
call fcn.1400321f0
mov eax, 8
jmp 0x1400464c8
jmp 0x1400464c6
mov r8d, recv
lea rdx, str.Content_Type:
mov rcx, qword [rsp + 0xe0]
call fcn.140039980
test eax, eax
je 0x140045a3d
mov rcx, qword [rsp + 0xe0]
call fcn.140043c20
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400459dd
mov eax, 0x1b
jmp 0x1400464c8
mov rax, qword [rsp + 0x68]
movsx eax, byte [rax]
test eax, eax
jne 0x1400459f6
mov rcx, qword [rsp + 0x68]
call qword [fcn.14007b6e0]
jmp 0x140045a38
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x12b8]
call qword [fcn.14007b6e0]
mov rax, qword [rsp + 0xd0]
mov qword [rax + 0x12b8], 0
xor eax, eax
test eax, eax
jne 0x1400459f6
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x12b8], rcx
jmp 0x1400464c6
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x717]
cmp eax, 0xa
jne 0x140045aaf
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x3a4]
test eax, eax
je 0x140045aaf
mov qword [rsp + 0x20], 0xa
lea r9, [0x1400d0050]
mov r8d, send
lea rdx, [0x1400d0060]
mov rcx, qword [rsp + 0xe0]
call fcn.140043ab0
movzx eax, al
test eax, eax
je 0x140045aaf
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.140034e80
xor eax, eax
test eax, eax
jne 0x140045aa4
jmp 0x1400464c6
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x717]
cmp eax, 0xb
jne 0x140045b24
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x3a4]
test eax, eax
je 0x140045b24
mov qword [rsp + 0x20], 5
lea r9, [0x1400d0074]
mov r8d, send
lea rdx, str.Proxy_Connection:
mov rcx, qword [rsp + 0xe0]
call fcn.140043ab0
movzx eax, al
test eax, eax
je 0x140045b24
mov edx, 1
mov rcx, qword [rsp + 0xd8]
call fcn.140034e80
xor eax, eax
test eax, eax
jne 0x140045b19
jmp 0x1400464c6
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x717]
cmp eax, 0xa
jne 0x140045b83
mov qword [rsp + 0x20], 0xa
lea r9, str.keep_alive
mov r8d, recv
lea rdx, [0x1400d00a8]
mov rcx, qword [rsp + 0xe0]
call fcn.140043ab0
movzx eax, al
test eax, eax
je 0x140045b83
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.140034e80
xor eax, eax
test eax, eax
jne 0x140045b78
jmp 0x1400464c6
mov qword [rsp + 0x20], 5
lea r9, str.close
mov r8d, recv
lea rdx, str.Connection:
mov rcx, qword [rsp + 0xe0]
call fcn.140043ab0
movzx eax, al
test eax, eax
je 0x140045bcb
mov edx, 2
mov rcx, qword [rsp + 0xd8]
call fcn.140034e80
jmp 0x1400464c6
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xd5]
test eax, eax
jne 0x140045c71
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, qword [rsp + 0xe0]
call fcn.140039980
test eax, eax
je 0x140045c71
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.140039ea0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140045c3e
mov eax, dword [rsp + 0x30]
jmp 0x1400464c8
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xd6]
test eax, eax
jne 0x140045c6c
mov edx, 1
mov rcx, qword [rsp + 0xd8]
call fcn.140034e80
mov rax, qword [rsp + 0x38]
mov byte [rax + 0xd7], 1
jmp 0x1400464c6
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xd5]
test eax, eax
jne 0x140045cfe
mov r8d, send
lea rdx, str.Content_Encoding:
mov rcx, qword [rsp + 0xe0]
call fcn.140039980
test eax, eax
je 0x140045cfe
mov eax, 8
imul rax, rax, 9
mov rcx, qword [rsp + 0xd0]
cmp qword [rcx + rax + 0x730], 0
je 0x140045cfe
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.140039ea0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140045cf9
mov eax, dword [rsp + 0x30]
jmp 0x1400464c8
jmp 0x1400464c6
mov r8d, recv
lea rdx, str.Retry_After:
mov rcx, qword [rsp + 0xe0]
call fcn.140039980
test eax, eax
je 0x140045dc2
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.1400671f0
cmp qword [rsp + 0x70], 0
jne 0x140045da9
mov eax, 1
imul rax, rax, 0xc
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140066320
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0xffffffffffffffff
je 0x140045da9
xor ecx, ecx
call fcn.140043a90
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 + 0x12c8], rcx
jmp 0x1400464c6
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xd5]
test eax, eax
jne 0x140045ed2
mov r8d, send
lea rdx, str.Content_Range:
mov rcx, qword [rsp + 0xe0]
call fcn.140039980
test eax, eax
je 0x140045ed2
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 0x140045e56
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x30
jl 0x140045e3a
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x39
jle 0x140045e56
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x2a
je 0x140045e56
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
jmp 0x140045e14
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x30
jl 0x140045eba
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x39
jg 0x140045eba
mov rax, qword [rsp + 0x38]
add rax, 0x68
mov r9, rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400671f0
test eax, eax
jne 0x140045eb8
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x68]
cmp qword [rax + 0x10e8], rcx
jne 0x140045eb8
mov rax, qword [rsp + 0x38]
mov byte [rax + 0xd2], 1
jmp 0x140045ecd
mov rax, qword [rsp + 0xd0]
mov qword [rax + 0x10e8], 0
jmp 0x1400464c6
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xd5]
test eax, eax
jne 0x140045f8c
mov r8d, send
lea rdx, str.Last_Modified:
mov rcx, qword [rsp + 0xe0]
call fcn.140039980
test eax, eax
je 0x140045f8c
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x550]
test eax, eax
jne 0x140045f2e
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0xa4f]
test eax, eax
je 0x140045f8c
mov eax, 1
imul rax, rax, 0xe
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140066320
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x98], rax
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0xa4f]
test eax, eax
je 0x140045f87
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x98]
mov qword [rax + 0x1290], rcx
jmp 0x1400464c6
mov r8d, send
lea rdx, str.WWW_Authenticate:
mov rcx, qword [rsp + 0xe0]
call fcn.140039980
test eax, eax
je 0x140045fb8
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x191
je 0x140045fec
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, qword [rsp + 0xe0]
call fcn.140039980
test eax, eax
je 0x140046099
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x197
jne 0x140046099
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x197
jne 0x140046004
mov dword [rsp + 0x54], 1
jmp 0x14004600c
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0x54], 0
jne 0x14004601d
mov dword [rsp + 0x58], 0
jmp 0x140046025
mov dword [rsp + 0x58], 1
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0xe0]
call fcn.140043c20
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x140046058
mov eax, 0x1b
jmp 0x1400464c8
mov r8, qword [rsp + 0x88]
movzx edx, byte [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
call fcn.140048c20
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x88]
call qword [fcn.14007b6e0]
cmp dword [rsp + 0x30], 0
je 0x140046094
mov eax, dword [rsp + 0x30]
jmp 0x1400464c8
jmp 0x1400464c6
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.Persistent_Auth:
mov rcx, qword [rsp + 0xe0]
call fcn.140039980
test eax, eax
je 0x1400461a1
mov rax, qword [rsp + 0xd8]
add rax, 0x5a8
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xd0]
add rax, 0xd78
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 4], 4
jne 0x14004619c
mov rcx, qword [rsp + 0xe0]
call fcn.140043c20
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x140046123
mov eax, 0x1b
jmp 0x1400464c8
mov r8d, 5
lea rdx, str.false
mov rcx, qword [rsp + 0x90]
call fcn.140039980
test eax, eax
je 0x14004614b
mov dword [rsp + 0x5c], 1
jmp 0x140046153
mov dword [rsp + 0x5c], 0
cmp dword [rsp + 0x5c], 0
jne 0x140046164
mov dword [rsp + 0x60], 0
jmp 0x14004616c
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 0x140046188
mov rcx, qword [rsp + 0x90]
call qword [fcn.14007b6e0]
jmp 0x1400464c6
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x12c
jl 0x1400462d8
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x190
jge 0x1400462d8
mov r8d, 9
lea rdx, str.Location:
mov rcx, qword [rsp + 0xe0]
call fcn.140039980
test eax, eax
je 0x1400462d8
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x190], 0
jne 0x1400462d8
mov rcx, qword [rsp + 0xe0]
call fcn.140043c20
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140046221
mov eax, 0x1b
jmp 0x1400464c8
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
test eax, eax
jne 0x14004623d
mov rcx, qword [rsp + 0x78]
call qword [fcn.14007b6e0]
jmp 0x1400462d3
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x190], rcx
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0xa57]
test eax, eax
je 0x1400462d3
xor eax, eax
test eax, eax
jne 0x140046264
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x190]
call qword [fcn.1400913e8]
mov rcx, qword [rsp + 0xd0]
mov qword [rcx + 0x198], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x198], 0
jne 0x1400462aa
mov eax, 0x1b
jmp 0x1400464c8
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.14004b160
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400462d3
mov eax, dword [rsp + 0x30]
jmp 0x1400464c8
jmp 0x1400464c6
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0xa78], 0
je 0x140046387
mov r8d, 0x1a
lea rdx, str.Strict_Transport_Security:
mov rcx, qword [rsp + 0xe0]
call fcn.140039980
test eax, eax
je 0x140046387
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 0x8c]
and eax, 1
test eax, eax
jne 0x14004632e
xor eax, eax
test eax, eax
je 0x140046387
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 + 0x1118]
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0xa78]
call fcn.1400386d0
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x140046382
xor eax, eax
test eax, eax
jne 0x14004637c
jmp 0x1400464c6
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0xa80], 0
je 0x140046493
mov r8d, 8
lea rdx, str.Alt_Svc:
mov rcx, qword [rsp + 0xe0]
call fcn.140039980
test eax, eax
je 0x140046493
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 0x8c]
and eax, 1
test eax, eax
jne 0x1400463e5
xor eax, eax
test eax, eax
je 0x140046493
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x717]
cmp eax, 0x14
jne 0x140046403
mov dword [rsp + 0x64], reloc.WS2_32.dll_recv
jmp 0x14004640b
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.140036490
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 + 0xa80]
mov rcx, qword [rsp + 0xd0]
call fcn.140037200
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140046491
mov eax, dword [rsp + 0x30]
jmp 0x1400464c8
jmp 0x1400464c6
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 0x84]
and eax, 0x40000
test eax, eax
je 0x1400464c6
mov dword [rsp + 0x30], 4
cmp dword [rsp + 0x30], 0
je 0x1400464c6
mov eax, dword [rsp + 0x30]
jmp 0x1400464c8
xor eax, eax
add rsp, 0xc8
ret