Function at 0x14004fb10
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 0x14004fc57
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0xa75]
test eax, eax
jne 0x14004fc57
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.Content_Length:
mov rcx, qword [rsp + 0xe0]
call fcn.140043bc0
test eax, eax
je 0x14004fc57
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.140071830
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14004fbe3
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 0x14004fc52
cmp dword [rsp + 0x50], 1
jne 0x14004fc34
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x700], 0
je 0x14004fc1a
lea rdx, [0x1400dd000]
mov rcx, qword [rsp + 0xd0]
call fcn.14003c430
mov eax, 0x3f
jmp 0x140050788
mov edx, 2
mov rcx, qword [rsp + 0xd8]
call fcn.14003f0c0
xor eax, eax
test eax, eax
jne 0x14004fc2c
jmp 0x14004fc52
lea rdx, str.Invalid_Content_Length:_value
mov rcx, qword [rsp + 0xd0]
call fcn.14003c430
mov eax, 8
jmp 0x140050788
jmp 0x140050786
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.Content_Type:
mov rcx, qword [rsp + 0xe0]
call fcn.140043bc0
test eax, eax
je 0x14004fcfd
mov rcx, qword [rsp + 0xe0]
call fcn.14004dee0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14004fc9d
mov eax, 0x1b
jmp 0x140050788
mov rax, qword [rsp + 0x68]
movsx eax, byte [rax]
test eax, eax
jne 0x14004fcb6
mov rcx, qword [rsp + 0x68]
call qword [fcn.140088170]
jmp 0x14004fcf8
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x12d0]
call qword [fcn.140088170]
mov rax, qword [rsp + 0xd0]
mov qword [rax + 0x12d0], 0
xor eax, eax
test eax, eax
jne 0x14004fcb6
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x12d0], rcx
jmp 0x140050786
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x717]
cmp eax, 0xa
jne 0x14004fd6f
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x3a4]
test eax, eax
je 0x14004fd6f
mov qword [rsp + 0x20], 0xa
lea r9, [0x1400dd050]
mov r8d, send
lea rdx, [0x1400dd060]
mov rcx, qword [rsp + 0xe0]
call fcn.14004dd70
movzx eax, al
test eax, eax
je 0x14004fd6f
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.14003f0c0
xor eax, eax
test eax, eax
jne 0x14004fd64
jmp 0x140050786
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x717]
cmp eax, 0xb
jne 0x14004fde4
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x3a4]
test eax, eax
je 0x14004fde4
mov qword [rsp + 0x20], 5
lea r9, [0x1400dd074]
mov r8d, send
lea rdx, str.Proxy_Connection:
mov rcx, qword [rsp + 0xe0]
call fcn.14004dd70
movzx eax, al
test eax, eax
je 0x14004fde4
mov edx, 1
mov rcx, qword [rsp + 0xd8]
call fcn.14003f0c0
xor eax, eax
test eax, eax
jne 0x14004fdd9
jmp 0x140050786
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x717]
cmp eax, 0xa
jne 0x14004fe43
mov qword [rsp + 0x20], 0xa
lea r9, str.keep_alive
mov r8d, listen
lea rdx, [0x1400dd0a8]
mov rcx, qword [rsp + 0xe0]
call fcn.14004dd70
movzx eax, al
test eax, eax
je 0x14004fe43
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.14003f0c0
xor eax, eax
test eax, eax
jne 0x14004fe38
jmp 0x140050786
mov qword [rsp + 0x20], 5
lea r9, str.close
mov r8d, listen
lea rdx, str.Connection:
mov rcx, qword [rsp + 0xe0]
call fcn.14004dd70
movzx eax, al
test eax, eax
je 0x14004fe8b
mov edx, 2
mov rcx, qword [rsp + 0xd8]
call fcn.14003f0c0
jmp 0x140050786
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xdd]
test eax, eax
jne 0x14004ff31
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, qword [rsp + 0xe0]
call fcn.140043bc0
test eax, eax
je 0x14004ff31
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.1400440e0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14004fefe
mov eax, dword [rsp + 0x30]
jmp 0x140050788
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xde]
test eax, eax
jne 0x14004ff2c
mov edx, 1
mov rcx, qword [rsp + 0xd8]
call fcn.14003f0c0
mov rax, qword [rsp + 0x38]
mov byte [rax + 0xdf], 1
jmp 0x140050786
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xdd]
test eax, eax
jne 0x14004ffbe
mov r8d, send
lea rdx, str.Content_Encoding:
mov rcx, qword [rsp + 0xe0]
call fcn.140043bc0
test eax, eax
je 0x14004ffbe
mov eax, 8
imul rax, rax, 9
mov rcx, qword [rsp + 0xd0]
cmp qword [rcx + rax + 0x738], 0
je 0x14004ffbe
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.1400440e0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14004ffb9
mov eax, dword [rsp + 0x30]
jmp 0x140050788
jmp 0x140050786
mov r8d, listen
lea rdx, str.Retry_After:
mov rcx, qword [rsp + 0xe0]
call fcn.140043bc0
test eax, eax
je 0x140050082
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.140071830
cmp qword [rsp + 0x70], 0
jne 0x140050069
mov eax, 1
imul rax, rax, 0xc
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140070960
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0xffffffffffffffff
je 0x140050069
xor ecx, ecx
call fcn.14004dd50
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 0x140050786
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xdd]
test eax, eax
jne 0x140050192
mov r8d, send
lea rdx, str.Content_Range:
mov rcx, qword [rsp + 0xe0]
call fcn.140043bc0
test eax, eax
je 0x140050192
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 0x140050116
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x30
jl 0x1400500fa
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x39
jle 0x140050116
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x2a
je 0x140050116
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
jmp 0x1400500d4
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x30
jl 0x14005017a
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x39
jg 0x14005017a
mov rax, qword [rsp + 0x38]
add rax, 0x68
mov r9, rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.140071830
test eax, eax
jne 0x140050178
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x68]
cmp qword [rax + 0x1100], rcx
jne 0x140050178
mov rax, qword [rsp + 0x38]
mov byte [rax + 0xda], 1
jmp 0x14005018d
mov rax, qword [rsp + 0xd0]
mov qword [rax + 0x1100], 0
jmp 0x140050786
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xdd]
test eax, eax
jne 0x14005024c
mov r8d, send
lea rdx, str.Last_Modified:
mov rcx, qword [rsp + 0xe0]
call fcn.140043bc0
test eax, eax
je 0x14005024c
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x558]
test eax, eax
jne 0x1400501ee
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0xa5f]
test eax, eax
je 0x14005024c
mov eax, 1
imul rax, rax, 0xe
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140070960
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x98], rax
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0xa5f]
test eax, eax
je 0x140050247
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x98]
mov qword [rax + 0x12a8], rcx
jmp 0x140050786
mov r8d, send
lea rdx, str.WWW_Authenticate:
mov rcx, qword [rsp + 0xe0]
call fcn.140043bc0
test eax, eax
je 0x140050278
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x191
je 0x1400502ac
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, qword [rsp + 0xe0]
call fcn.140043bc0
test eax, eax
je 0x140050359
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x197
jne 0x140050359
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x197
jne 0x1400502c4
mov dword [rsp + 0x54], 1
jmp 0x1400502cc
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0x54], 0
jne 0x1400502dd
mov dword [rsp + 0x58], 0
jmp 0x1400502e5
mov dword [rsp + 0x58], 1
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0xe0]
call fcn.14004dee0
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x140050318
mov eax, 0x1b
jmp 0x140050788
mov r8, qword [rsp + 0x88]
movzx edx, byte [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
call fcn.140052ee0
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x88]
call qword [fcn.140088170]
cmp dword [rsp + 0x30], 0
je 0x140050354
mov eax, dword [rsp + 0x30]
jmp 0x140050788
jmp 0x140050786
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.Persistent_Auth:
mov rcx, qword [rsp + 0xe0]
call fcn.140043bc0
test eax, eax
je 0x140050461
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 0x14005045c
mov rcx, qword [rsp + 0xe0]
call fcn.14004dee0
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x1400503e3
mov eax, 0x1b
jmp 0x140050788
mov r8d, 5
lea rdx, str.false
mov rcx, qword [rsp + 0x90]
call fcn.140043bc0
test eax, eax
je 0x14005040b
mov dword [rsp + 0x5c], 1
jmp 0x140050413
mov dword [rsp + 0x5c], 0
cmp dword [rsp + 0x5c], 0
jne 0x140050424
mov dword [rsp + 0x60], 0
jmp 0x14005042c
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 0x140050448
mov rcx, qword [rsp + 0x90]
call qword [fcn.140088170]
jmp 0x140050786
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x12c
jl 0x140050598
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x190
jge 0x140050598
mov r8d, 9
lea rdx, str.Location:
mov rcx, qword [rsp + 0xe0]
call fcn.140043bc0
test eax, eax
je 0x140050598
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x190], 0
jne 0x140050598
mov rcx, qword [rsp + 0xe0]
call fcn.14004dee0
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x1400504e1
mov eax, 0x1b
jmp 0x140050788
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
test eax, eax
jne 0x1400504fd
mov rcx, qword [rsp + 0x78]
call qword [fcn.140088170]
jmp 0x140050593
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 0x140050593
xor eax, eax
test eax, eax
jne 0x140050524
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x190]
call qword [fcn.14009df08]
mov rcx, qword [rsp + 0xd0]
mov qword [rcx + 0x198], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x198], 0
jne 0x14005056a
mov eax, 0x1b
jmp 0x140050788
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140055420
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140050593
mov eax, dword [rsp + 0x30]
jmp 0x140050788
jmp 0x140050786
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0xa90], 0
je 0x140050647
mov r8d, 0x1a
lea rdx, str.Strict_Transport_Security:
mov rcx, qword [rsp + 0xe0]
call fcn.140043bc0
test eax, eax
je 0x140050647
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 0x8c]
and eax, 1
test eax, eax
jne 0x1400505ee
xor eax, eax
test eax, eax
je 0x140050647
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.140042910
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x140050642
xor eax, eax
test eax, eax
jne 0x14005063c
jmp 0x140050786
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0xa98], 0
je 0x140050753
mov r8d, 8
lea rdx, str.Alt_Svc:
mov rcx, qword [rsp + 0xe0]
call fcn.140043bc0
test eax, eax
je 0x140050753
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 0x8c]
and eax, 1
test eax, eax
jne 0x1400506a5
xor eax, eax
test eax, eax
je 0x140050753
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x717]
cmp eax, 0x14
jne 0x1400506c3
mov dword [rsp + 0x64], reloc.WS2_32.dll_recv
jmp 0x1400506cb
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.1400406d0
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.140041440
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140050751
mov eax, dword [rsp + 0x30]
jmp 0x140050788
jmp 0x140050786
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 0x84]
and eax, 0x40000
test eax, eax
je 0x140050786
mov dword [rsp + 0x30], 4
cmp dword [rsp + 0x30], 0
je 0x140050786
mov eax, dword [rsp + 0x30]
jmp 0x140050788
xor eax, eax
add rsp, 0xc8
ret