Function at 0x14004c260
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 0x14004c3a7
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0xa7d]
test eax, eax
jne 0x14004c3a7
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.Content_Length:
mov rcx, qword [rsp + 0xe0]
call fcn.14003fe60
test eax, eax
je 0x14004c3a7
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.14006f990
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14004c333
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 0x14004c3a2
cmp dword [rsp + 0x50], 1
jne 0x14004c384
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x700], 0
je 0x14004c36a
lea rdx, [0x140115ff0]
mov rcx, qword [rsp + 0xd0]
call fcn.140038400
mov eax, 0x3f
jmp 0x14004ced8
mov edx, 2
mov rcx, qword [rsp + 0xd8]
call fcn.14003b1d0
xor eax, eax
test eax, eax
jne 0x14004c37c
jmp 0x14004c3a2
lea rdx, str.Invalid_Content_Length:_value
mov rcx, qword [rsp + 0xd0]
call fcn.140038400
mov eax, 8
jmp 0x14004ced8
jmp 0x14004ced6
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.Content_Type:
mov rcx, qword [rsp + 0xe0]
call fcn.14003fe60
test eax, eax
je 0x14004c44d
mov rcx, qword [rsp + 0xe0]
call fcn.14004a630
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14004c3ed
mov eax, 0x1b
jmp 0x14004ced8
mov rax, qword [rsp + 0x68]
movsx eax, byte [rax]
test eax, eax
jne 0x14004c406
mov rcx, qword [rsp + 0x68]
call qword [fcn.1400901f0]
jmp 0x14004c448
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x12d8]
call qword [fcn.1400901f0]
mov rax, qword [rsp + 0xd0]
mov qword [rax + 0x12d8], 0
xor eax, eax
test eax, eax
jne 0x14004c406
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x12d8], rcx
jmp 0x14004ced6
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x71b]
cmp eax, 0xa
jne 0x14004c4bf
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x3a4]
test eax, eax
je 0x14004c4bf
mov qword [rsp + 0x20], 0xa
lea r9, [0x140116040]
mov r8d, send
lea rdx, [0x140116050]
mov rcx, qword [rsp + 0xe0]
call fcn.14004a4c0
movzx eax, al
test eax, eax
je 0x14004c4bf
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.14003b1d0
xor eax, eax
test eax, eax
jne 0x14004c4b4
jmp 0x14004ced6
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x71b]
cmp eax, 0xb
jne 0x14004c534
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x3a4]
test eax, eax
je 0x14004c534
mov qword [rsp + 0x20], 5
lea r9, [0x140116064]
mov r8d, send
lea rdx, str.Proxy_Connection:
mov rcx, qword [rsp + 0xe0]
call fcn.14004a4c0
movzx eax, al
test eax, eax
je 0x14004c534
mov edx, 1
mov rcx, qword [rsp + 0xd8]
call fcn.14003b1d0
xor eax, eax
test eax, eax
jne 0x14004c529
jmp 0x14004ced6
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x71b]
cmp eax, 0xa
jne 0x14004c593
mov qword [rsp + 0x20], 0xa
lea r9, str.keep_alive
mov r8d, listen
lea rdx, [0x140116098]
mov rcx, qword [rsp + 0xe0]
call fcn.14004a4c0
movzx eax, al
test eax, eax
je 0x14004c593
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call fcn.14003b1d0
xor eax, eax
test eax, eax
jne 0x14004c588
jmp 0x14004ced6
mov qword [rsp + 0x20], 5
lea r9, str.close
mov r8d, listen
lea rdx, str.Connection:
mov rcx, qword [rsp + 0xe0]
call fcn.14004a4c0
movzx eax, al
test eax, eax
je 0x14004c5db
mov edx, 2
mov rcx, qword [rsp + 0xd8]
call fcn.14003b1d0
jmp 0x14004ced6
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xdd]
test eax, eax
jne 0x14004c681
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Transfer_Encoding:
mov rcx, qword [rsp + 0xe0]
call fcn.14003fe60
test eax, eax
je 0x14004c681
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.140040380
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14004c64e
mov eax, dword [rsp + 0x30]
jmp 0x14004ced8
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xde]
test eax, eax
jne 0x14004c67c
mov edx, 1
mov rcx, qword [rsp + 0xd8]
call fcn.14003b1d0
mov rax, qword [rsp + 0x38]
mov byte [rax + 0xdf], 1
jmp 0x14004ced6
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xdd]
test eax, eax
jne 0x14004c70e
mov r8d, send
lea rdx, str.Content_Encoding:
mov rcx, qword [rsp + 0xe0]
call fcn.14003fe60
test eax, eax
je 0x14004c70e
mov eax, 8
imul rax, rax, 9
mov rcx, qword [rsp + 0xd0]
cmp qword [rcx + rax + 0x738], 0
je 0x14004c70e
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.140040380
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14004c709
mov eax, dword [rsp + 0x30]
jmp 0x14004ced8
jmp 0x14004ced6
mov r8d, listen
lea rdx, str.Retry_After:
mov rcx, qword [rsp + 0xe0]
call fcn.14003fe60
test eax, eax
je 0x14004c7d2
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.14006f990
cmp qword [rsp + 0x70], 0
jne 0x14004c7b9
mov eax, 1
imul rax, rax, 0xc
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14006eac0
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0xffffffffffffffff
je 0x14004c7b9
xor ecx, ecx
call fcn.14004a4a0
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 + 0x12e8], rcx
jmp 0x14004ced6
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xdd]
test eax, eax
jne 0x14004c8e2
mov r8d, send
lea rdx, str.Content_Range:
mov rcx, qword [rsp + 0xe0]
call fcn.14003fe60
test eax, eax
je 0x14004c8e2
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 0x14004c866
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x30
jl 0x14004c84a
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x39
jle 0x14004c866
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x2a
je 0x14004c866
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
jmp 0x14004c824
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x30
jl 0x14004c8ca
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax]
cmp eax, 0x39
jg 0x14004c8ca
mov rax, qword [rsp + 0x38]
add rax, 0x68
mov r9, rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.14006f990
test eax, eax
jne 0x14004c8c8
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x68]
cmp qword [rax + 0x1108], rcx
jne 0x14004c8c8
mov rax, qword [rsp + 0x38]
mov byte [rax + 0xda], 1
jmp 0x14004c8dd
mov rax, qword [rsp + 0xd0]
mov qword [rax + 0x1108], 0
jmp 0x14004ced6
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0xdd]
test eax, eax
jne 0x14004c99c
mov r8d, send
lea rdx, str.Last_Modified:
mov rcx, qword [rsp + 0xe0]
call fcn.14003fe60
test eax, eax
je 0x14004c99c
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x558]
test eax, eax
jne 0x14004c93e
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0xa67]
test eax, eax
je 0x14004c99c
mov eax, 1
imul rax, rax, 0xe
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14006eac0
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x98], rax
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0xa67]
test eax, eax
je 0x14004c997
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x98]
mov qword [rax + 0x12b0], rcx
jmp 0x14004ced6
mov r8d, send
lea rdx, str.WWW_Authenticate:
mov rcx, qword [rsp + 0xe0]
call fcn.14003fe60
test eax, eax
je 0x14004c9c8
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x191
je 0x14004c9fc
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Proxy_authenticate:
mov rcx, qword [rsp + 0xe0]
call fcn.14003fe60
test eax, eax
je 0x14004caa9
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x197
jne 0x14004caa9
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x197
jne 0x14004ca14
mov dword [rsp + 0x54], 1
jmp 0x14004ca1c
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0x54], 0
jne 0x14004ca2d
mov dword [rsp + 0x58], 0
jmp 0x14004ca35
mov dword [rsp + 0x58], 1
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0xe0]
call fcn.14004a630
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x14004ca68
mov eax, 0x1b
jmp 0x14004ced8
mov r8, qword [rsp + 0x88]
movzx edx, byte [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
call fcn.14004f630
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x88]
call qword [fcn.1400901f0]
cmp dword [rsp + 0x30], 0
je 0x14004caa4
mov eax, dword [rsp + 0x30]
jmp 0x14004ced8
jmp 0x14004ced6
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.Persistent_Auth:
mov rcx, qword [rsp + 0xe0]
call fcn.14003fe60
test eax, eax
je 0x14004cbb1
mov rax, qword [rsp + 0xd8]
add rax, 0x5a8
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xd0]
add rax, 0xd98
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 4], 4
jne 0x14004cbac
mov rcx, qword [rsp + 0xe0]
call fcn.14004a630
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x14004cb33
mov eax, 0x1b
jmp 0x14004ced8
mov r8d, 5
lea rdx, str.false
mov rcx, qword [rsp + 0x90]
call fcn.14003fe60
test eax, eax
je 0x14004cb5b
mov dword [rsp + 0x5c], 1
jmp 0x14004cb63
mov dword [rsp + 0x5c], 0
cmp dword [rsp + 0x5c], 0
jne 0x14004cb74
mov dword [rsp + 0x60], 0
jmp 0x14004cb7c
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 0x14004cb98
mov rcx, qword [rsp + 0x90]
call qword [fcn.1400901f0]
jmp 0x14004ced6
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x12c
jl 0x14004cce8
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x70], 0x190
jge 0x14004cce8
mov r8d, 9
lea rdx, str.Location:
mov rcx, qword [rsp + 0xe0]
call fcn.14003fe60
test eax, eax
je 0x14004cce8
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x190], 0
jne 0x14004cce8
mov rcx, qword [rsp + 0xe0]
call fcn.14004a630
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x14004cc31
mov eax, 0x1b
jmp 0x14004ced8
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
test eax, eax
jne 0x14004cc4d
mov rcx, qword [rsp + 0x78]
call qword [fcn.1400901f0]
jmp 0x14004cce3
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x190], rcx
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0xa6f]
test eax, eax
je 0x14004cce3
xor eax, eax
test eax, eax
jne 0x14004cc74
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0x190]
call qword [fcn.1400bd170]
mov rcx, qword [rsp + 0xd0]
mov qword [rcx + 0x198], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x198], 0
jne 0x14004ccba
mov eax, 0x1b
jmp 0x14004ced8
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140051b70
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14004cce3
mov eax, dword [rsp + 0x30]
jmp 0x14004ced8
jmp 0x14004ced6
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0xa98], 0
je 0x14004cd97
mov r8d, 0x1a
lea rdx, str.Strict_Transport_Security:
mov rcx, qword [rsp + 0xe0]
call fcn.14003fe60
test eax, eax
je 0x14004cd97
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 0x8c]
and eax, 1
test eax, eax
jne 0x14004cd3e
xor eax, eax
test eax, eax
je 0x14004cd97
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 + 0x1138]
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax + 0xa98]
call fcn.14003ebb0
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x14004cd92
xor eax, eax
test eax, eax
jne 0x14004cd8c
jmp 0x14004ced6
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0xaa0], 0
je 0x14004cea3
mov r8d, 8
lea rdx, str.Alt_Svc:
mov rcx, qword [rsp + 0xe0]
call fcn.14003fe60
test eax, eax
je 0x14004cea3
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 0x8c]
and eax, 1
test eax, eax
jne 0x14004cdf5
xor eax, eax
test eax, eax
je 0x14004cea3
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x71b]
cmp eax, 0x14
jne 0x14004ce13
mov dword [rsp + 0x64], reloc.WS2_32.dll_recv
jmp 0x14004ce1b
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.14003c970
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 + 0xaa0]
mov rcx, qword [rsp + 0xd0]
call fcn.14003d6e0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14004cea1
mov eax, dword [rsp + 0x30]
jmp 0x14004ced8
jmp 0x14004ced6
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 0x84]
and eax, 0x40000
test eax, eax
je 0x14004ced6
mov dword [rsp + 0x30], 4
cmp dword [rsp + 0x30], 0
je 0x14004ced6
mov eax, dword [rsp + 0x30]
jmp 0x14004ced8
xor eax, eax
add rsp, 0xc8
ret